Red Hat Bugzilla – Bug 1261920
introspection should skip nodes that are in maintenance mode
Last modified: 2016-04-07 17:39:34 EDT
Description of problem:
I had 2 nodes in set with maintenance=true in ironic, due to the fact that their ipmi password in instackenv.json was wrong. They were skipped properly by "openstack baremetal configure boot", but when I ran introspection they were not skipped - and of course introspection failed for these 2 nodes.
Version-Release number of selected component (if applicable):
Steps to Reproduce:
1. Register nodes and put a few in maintenance mode
2. Run the "configure boot" and introspection commands
The system attempts to introspect the nodes that are in maintenance
Nodes in maintenance should be skipped by introspection
dmitry, I believe this fix would be in the inspector client?
Hi! Maintenance mode is accepted by ironic-inspector for compatibility reason, this will be removed in Mitaka. The real problem is that 'introspection bulk start' command tries to use this nodes, which seems to be a problem in rdomanager-oscclient and should be fixed there.
Fixed in stable/liberty upstream, not sure what state to assign..
The fix is available now
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.