Bug 1241199 - openstack baremetal configure boot is not safe to run a second time
Summary: openstack baremetal configure boot is not safe to run a second time
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: Brad P. Crochet
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-07-08 17:38 UTC by Brad P. Crochet
Modified: 2015-10-08 12:10 UTC (History)
9 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Running "openstack baremetal configure boot" overwrote the "capabilities" property of bare metal nodes. This removed the profile information for existing nodes. This fix changes the overwrite method to an append method. This no longer removes the profile information.
Clone Of:
Environment:
Last Closed: 2015-10-08 12:10:34 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Gerrithub.io 241158 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 Brad P. Crochet 2015-07-08 17:38:09 UTC
If openstack baremetal configure boot is run again after setting any additional properties/capabilities, it will clobber them. It should just ensure that boot_option:local is present or just append it.

Comment 5 Brad P. Crochet 2015-07-23 16:18:46 UTC
Patch available: https://review.gerrithub.io/241158

Comment 6 bigswitch 2015-09-14 18:17:55 UTC
*** Bug 1258651 has been marked as a duplicate of this bug. ***

Comment 7 bigswitch 2015-09-16 23:15:59 UTC
Chris,  Can you please change the severity to "High"?

Comment 9 Alexander Chuzhoy 2015-09-24 16:51:50 UTC
Verified:

instack-undercloud-2.1.2-26.el7ost.noarch
python-rdomanager-oscplugin-0.0.10-5.el7ost.noarch


Ran "openstack baremetal configure boot" after setting properties and verified that the properties are still there.

Comment 11 errata-xmlrpc 2015-10-08 12:10:34 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.