openstack baremetal import returns Couldn't apply patch error
Issue
When a baremetal node is being registered the following error is returned:
$ openstack baremetal import --json ~/instackenv.json
Request returned failure status.
Couldn't apply patch '[{'path': '/driver_info/ipmi_password', 'value': u'MYPASSWORD', 'op': 'replace'}, {'path': '/driver_info/ipmi_address', 'value': u'172.1.1.2', 'op': 'replace'}, {'path': '/properties/memory_mb', 'value': u'48', 'op': 'replace'}, {'path': '/properties/local_gb', 'value': u'200', 'op': 'replace'}, {'path': '/properties/cpu_arch', 'value': u'x86_64', 'op': 'replace'}, {'path': '/properties/cpus', 'value': u'8', 'op': 'replace'}, {'path': '/driver_info/ipmi_username', 'value': u'ROOT', 'op': 'replace'}]'. Reason: can't replace non-existant object 'memory_mb' (HTTP 400)
Environment
- Red Hat Openstack Platform 7
- Red Hat Openstack Platform 8
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.