Red Hat Bugzilla – Bug 1256752
Cannot import nodes from multiple files that share an IPMI IP
Last modified: 2016-08-22 07:10:53 EDT
Description of problem:
I encountered this problem when trying to import HP Moonshot nodes. Importing a single node [moonshot-solo.json) succeeded, and I attempted to import a second file (moonshot-all.json) but the second import failed.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Make two inventory JSON files, with one IPMI-bridged node in each
2. Import the first JSON file
3. Attempt to import the second
Exception due to the nodes in the second file sharing an IPMI IP address with an existing ironic node. When importing all nodes in a single file, this works fine and they are allowed to share IPs.
Import all the nodes
It may be valuable to validate that nodes sharing an IPMI address have a MAC address present, or that they have IPMI bridging information (once that's supported in instackenv.json).
This bug did not make the OSP 8.0 release. It is being deferred to OSP 10.
How was the files being imported?
I'm afraid this bug should be against the tooling that helps with enrolling nodes in Ironic because Ironic does not natively support importing nodes from files.
There are 2 problems here: with importing and with introspection. I believe both are fixed, could you please check it?
Closing as fixed, until proved otherwise :)