Bug 1596763 - [RHOSP13] Not able to register baremetal nodes when using pxe_ucs driver
Summary: [RHOSP13] Not able to register baremetal nodes when using pxe_ucs driver
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-tripleo-common
Version: 13.0 (Queens)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: z2
: 13.0 (Queens)
Assignee: Ilya Etingof
QA Contact: Alexander Chuzhoy
URL:
Whiteboard:
Depends On: 1583893 1613645
Blocks:
TreeView+ depends on / blocked
 
Reported: 2018-06-29 16:28 UTC by Bob Fournier
Modified: 2021-12-10 16:35 UTC (History)
10 users (show)

Fixed In Version: openstack-tripleo-common-8.6.3-7.el7ost
Doc Type: Bug Fix
Doc Text:
When the undercloud imported bare metal nodes from the instackenv.json file and if the UCS driver was being configured, ironic nodes that only differ in `pm_service_profile` (or `ucs_service_profile`) fields overrode one another in ironic configuration. This resulted in just one of such ironic nodes ending up in the ironic configuration. An update to openstack-tripleo-common ensures that ironic nodes that only differ in `pm_service_profile` (or `ucs_service_profile`) fields are still considered distinct. All of the ironic nodes that only differ in `pm_service_profile` or `ucs_service_profile` fields get imported into ironic.
Clone Of: 1583893
Environment:
Last Closed: 2018-08-29 16:37:54 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1739024 0 None None None 2018-06-29 16:28:33 UTC
OpenStack gerrit 528726 0 None master: MERGED tripleo-common: ensure unique ironic node ID with UCS driver (Ibabe216d3e2b1ea33adc1feaae7095e76cfad19d) 2018-07-19 02:10:28 UTC
OpenStack gerrit 583985 0 None None None 2018-07-19 15:33:24 UTC
Red Hat Bugzilla 1518388 0 high CLOSED pxe_ucs driver replaces newly imported nodes instead of adding additional ironic nodes 2022-08-09 12:06:27 UTC
Red Hat Issue Tracker OSP-11428 0 None None None 2021-12-10 16:35:17 UTC
Red Hat Product Errata RHBA-2018:2574 0 None None None 2018-08-29 16:38:52 UTC

Internal Links: 1518388

Comment 1 Bob Fournier 2018-07-30 17:10:48 UTC
wrong bug updated.

Comment 3 Alexander Chuzhoy 2018-08-08 14:20:52 UTC
Environment:
openstack-tripleo-common-8.6.3-8.el7ost.noarch

In undercloud.conf I added the following line:
enabled_hardware_types = ipmi,redfish,ilo,idrac,cisco-ucs-managed
Before running 'openstack undercloud install'

Here's the instackenv.json I had to use, note the use of "pm_type": "cisco-ucs-managed" and pm_service_profile.
{
  "nodes": [
    {
      "name": "osmg01",
      "mac":[
          "00:25:b5:02:a1:2f"
      ],
      "pm_type": "cisco-ucs-managed",
      "pm_user": "openstack",
      "pm_password": "foo",
      "pm_addr": "10.48.50.10",
      "pm_service_profile": "org-root/org-OpenStack/ls-osmg01"
    },
        {
      "name": "osmg02",
      "mac":[
          "00:25:b5:02:a1:4f"
      ],
      "pm_type": "cisco-ucs-managed",
      "pm_user": "openstack",
      "pm_password": "foo",
      "pm_addr": "10.48.50.10",
      "pm_service_profile": "org-root/org-OpenStack/ls-osmg02"
    }
  ]
}

The reported error didn't reproduce.

Comment 4 Alexander Chuzhoy 2018-08-08 18:01:34 UTC
Verifying based on comment #3

Comment 5 Joanne O'Flynn 2018-08-15 07:51:32 UTC
This bug is marked for inclusion in the errata but does not currently contain draft documentation text. To ensure the timely release of this advisory please provide draft documentation text for this bug as soon as possible.

If you do not think this bug requires errata documentation, set the requires_doc_text flag to "-".


To add draft documentation text:

* Select the documentation type from the "Doc Type" drop down field.

* A template will be provided in the "Doc Text" field based on the "Doc Type" value selected. Enter draft text in the "Doc Text" field.

Comment 7 errata-xmlrpc 2018-08-29 16:37:54 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-2018:2574


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