Bug 1241199

Summary: openstack baremetal configure boot is not safe to run a second time
Product: Red Hat OpenStack Reporter: Brad P. Crochet <brad>
Component: python-rdomanager-oscpluginAssignee: Brad P. Crochet <brad>
Status: CLOSED ERRATA QA Contact: Alexander Chuzhoy <sasha>
Severity: unspecified Docs Contact:
Priority: high    
Version: DirectorCC: calfonso, dmacpher, gkeegan, jslagle, mburns, rhel-osp-director-maint, rhosp-bugs-internal, sasha, sclewis
Target Milestone: y1Keywords: Triaged, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-10-08 12:10:34 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

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