Bug 1655776 - Incorrect capabilities handling on node update (OSP-14)
Summary: Incorrect capabilities handling on node update (OSP-14)
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 14.0 (Rocky)
Hardware: Unspecified
OS: Unspecified
medium
medium
Target Milestone: z1
: 14.0 (Rocky)
Assignee: Dmitry Tantsur
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On: 1647931
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-12-03 21:40 UTC by Bob Fournier
Modified: 2019-03-18 13:03 UTC (History)
5 users (show)

Fixed In Version: openstack-tripleo-common-9.4.1-0.20181012010891.el7ost
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1647931
Environment:
Last Closed: 2019-03-18 13:03:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1802318 0 None None None 2018-12-03 21:40:22 UTC
OpenStack gerrit 616577 0 None None None 2018-12-03 21:40:22 UTC
Red Hat Product Errata RHBA-2019:0446 0 None None None 2019-03-18 13:03:31 UTC

Description Bob Fournier 2018-12-03 21:40:22 UTC
+++ This bug was initially created as a clone of Bug #1647931 +++

Capabilities provided as a dict are not converted into string representation.

Comment 4 Bob Fournier 2019-03-04 18:07:42 UTC
Sasha - see the original bug:
https://bugzilla.redhat.com/show_bug.cgi?id=1647931#c10

Comment 5 Alexander Chuzhoy 2019-03-04 22:35:32 UTC
Verified:


Environment:
openstack-tripleo-common-9.4.1-0.20190119050432.261de49.el7ost.noarch

(undercloud) [stack@undercloud-0 ~]$ openstack baremetal node show controller-1 -c properties
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                         |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------+
| properties | {u'memory_mb': u'20480', u'cpu_arch': u'x86_64', u'local_gb': u'39', u'cpus': u'4', u'capabilities': u'profile:controller,boot_option:local'} |
+------------+-----------------------------------------------------------------------------------------------------------------------------------------------+


Added the following line under controller-1 in instackenv.json:
      "capabilities": {"profile": "controller", "boot_option": "local", "boot_mode": "uefi"},

Executed "openstack overcloud node import instackenv.json"


(undercloud) [stack@undercloud-0 ~]$ openstack baremetal node show controller-1 -c properties
+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| Field      | Value                                                                                                                                                        |
+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+
| properties | {u'memory_mb': u'20480', u'cpu_arch': u'x86_64', u'local_gb': u'40', u'cpus': u'4', u'capabilities': u'profile:controller,boot_mode:uefi,boot_option:local'} |
+------------+--------------------------------------------------------------------------------------------------------------------------------------------------------------+

Comment 7 errata-xmlrpc 2019-03-18 13:03:24 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/RHBA-2019:0446


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