Bulk introspection applied to all nodes including active nodes. However, bulk introspection failed on active nodes. This fix no longer applies introspection to active nodes.
Description of problem: Running "openstack baremetal introspection bulk start" fails if there are already nodes active. This is a problem if, for example, you try to add more nodes to an existing cloud. Each new node must be introspected individually, which can be painful for large numbers of nodes.
Version-Release number of selected component (if applicable): beta 2
How reproducible: Always
Steps to Reproduce:
1. Deploy a cloud
2. Register additional ironic nodes
3. Attempt bulk introspection on new nodes.
Actual results: Failure due to attempt to introspect an active node.
Expected results: Introspection of nodes in manageable state.
Additional info: Note that the same bug applies to introspection bulk status.
https://github.com/rdo-management/python-rdomanager-oscplugin/blob/master/rdomanager_oscplugin/v1/baremetal.py#L138 should only be iterating over the nodes in manageable state, not all nodes.
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.
https://access.redhat.com/errata/RHSA-2015:1862