Unable to import overcloud node configurations from instack.json file when using pxe_ucs

Solution Verified - Updated -


  • pxe_ucs ironic driver not working (pxe ucs)
  • While trying to import baremetal nodes configuration from instack.json file :
$ openstack baremetal import --json ~/instackenv.json
...(output truncated)...
DEBUG: openstackclient.shell clean_up ImportBaremetal
DEBUG: openstackclient.shell got an error: 'pm_addr'
ERROR: openstackclient.shell Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/openstackclient/shell.py", line 176, in run
    return super(OpenStackShell, self).run(argv)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 230, in run
    result = self.run_subcommand(remainder)
  File "/usr/lib/python2.7/site-packages/cliff/app.py", line 295, in run_subcommand
    result = cmd.run(parsed_args)
  File "/usr/lib/python2.7/site-packages/cliff/command.py", line 53, in run
  File "/usr/lib/python2.7/site-packages/rdomanager_oscplugin/v1/baremetal.py", line 181, in take_action
  File "/usr/lib/python2.7/site-packages/os_cloud_config/nodes.py", line 326, in register_all_nodes
    glance_ids['kernel'], glance_ids['ramdisk'])
  File "/usr/lib/python2.7/site-packages/os_cloud_config/nodes.py", line 290, in _register_list_of_nodes
    client=client, blocking=blocking)
  File "/usr/lib/python2.7/site-packages/os_cloud_config/nodes.py", line 213, in _update_or_register_ironic_node
    node_uuid = _get_node_id(node, node_map)
  File "/usr/lib/python2.7/site-packages/os_cloud_config/nodes.py", line 192, in _get_node_id
    if node['pm_addr'] in node_map['pm_addr']:
KeyError: 'pm_addr'


  • Red Hat Enterprise Linux 7.2
  • Red Hat Enterprise Linux Openstack 7
[On undercloud system]
  • python-UcsSdk-
  • os-collect-config-0.1.35-2.el7ost.noarch

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content