Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1244001 - bulk introspection with active nodes fails
bulk introspection with active nodes fails
Status: CLOSED ERRATA
Product: Red Hat OpenStack
Classification: Red Hat
Component: python-rdomanager-oscplugin (Show other bugs)
Director
Unspecified Unspecified
high Severity unspecified
: y1
: 7.0 (Kilo)
Assigned To: Lennart Regebro
Marius Cornea
: Rebase, Triaged, ZStream
Depends On:
Blocks:
  Show dependency treegraph
 
Reported: 2015-07-16 16:30 EDT by Ben Nemec
Modified: 2015-10-08 08:15 EDT (History)
11 users (show)

See Also:
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.
Story Points: ---
Clone Of:
Environment:
Last Closed: 2015-10-08 08:15:11 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Gerrithub.io 241351 None None None Never
Red Hat Product Errata RHSA-2015:1862 normal SHIPPED_LIVE Moderate: Red Hat Enterprise Linux OpenStack Platform 7 director update 2015-10-08 12:05:50 EDT

  None (edit)
Description Ben Nemec 2015-07-16 16:30:45 EDT
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 10:29:01 EDT
Created attachment 1074060 [details]
ironic nodes

Attaching log with the verification steps output.
Comment 6 errata-xmlrpc 2015-10-08 08:15:11 EDT
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.