Bug 1244001 - bulk introspection with active nodes fails
Summary: bulk introspection with active nodes fails
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-rdomanager-oscplugin
Version: Director
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: y1
: 7.0 (Kilo)
Assignee: Lennart Regebro
QA Contact: Marius Cornea
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-16 20:30 UTC by Ben Nemec
Modified: 2015-10-08 12:15 UTC (History)
11 users (show)

Fixed In Version: python-rdomanager-oscplugin-0.0.9-1.el7ost
Doc Type: Rebase: Bug Fixes and Enhancements
Doc Text:
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.
Clone Of:
Environment:
Last Closed: 2015-10-08 12:15:11 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ironic nodes (7.72 KB, text/plain)
2015-09-16 14:29 UTC, Marius Cornea
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Gerrithub.io 241351 0 None None None Never
Red Hat Product Errata RHSA-2015:1862 0 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 16:05:50 UTC

Description Ben Nemec 2015-07-16 20:30:45 UTC
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.

Comment 4 Marius Cornea 2015-09-16 14:29:01 UTC
Created attachment 1074060 [details]
ironic nodes

Attaching log with the verification steps output.

Comment 6 errata-xmlrpc 2015-10-08 12:15:11 UTC
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


Note You need to log in before you can comment on or make changes to this bug.