Bug 1290338 - [Director] pxe_ucs Ironic drivers not working
Summary: [Director] pxe_ucs Ironic drivers not working
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: os-cloud-config
Version: 7.0 (Kilo)
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Dmitry Tantsur
QA Contact: mlammon
URL:
Whiteboard:
: 1417302 (view as bug list)
Depends On:
Blocks: 1440781 1440782
TreeView+ depends on / blocked
 
Reported: 2015-12-10 09:32 UTC by Anand Nande
Modified: 2020-12-11 11:59 UTC (History)
21 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of: 1274579
: 1417302 (view as bug list)
Environment:
Last Closed: 2018-09-11 20:37:45 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
OpenStack gerrit 370773 0 None None None 2016-09-15 12:41:35 UTC

Comment 2 Dan Macpherson 2016-03-13 23:12:16 UTC
It looks like os-cloud-config is mapping pm_addr to ucs_hostname:

https://github.com/openstack/os-cloud-config/blob/master/os_cloud_config/nodes.py#L84

However, in ironic, the ucs_helper requires ucs_address to be set. There doesn't seem to be a param called ucs_hostname anymore:

https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/ucs/helper.py#L97

Got a report of this happening in https://bugzilla.redhat.com/show_bug.cgi?id=1274579

Comment 5 Lucas Alvares Gomes 2016-03-24 16:18:40 UTC
(In reply to Dan Macpherson from comment #2)
> It looks like os-cloud-config is mapping pm_addr to ucs_hostname:
> 
> https://github.com/openstack/os-cloud-config/blob/master/os_cloud_config/
> nodes.py#L84
> 
> However, in ironic, the ucs_helper requires ucs_address to be set. There
> doesn't seem to be a param called ucs_hostname anymore:
> 
> https://github.com/openstack/ironic/blob/master/ironic/drivers/modules/ucs/
> helper.py#L97
> 
> Got a report of this happening in
> https://bugzilla.redhat.com/show_bug.cgi?id=1274579

Right, that seems to be the problem indeed. I'm reassign this bug to the os-cloud-config component since the error is there.

Comment 6 Mike Burns 2016-04-07 21:00:12 UTC
This bug did not make the OSP 8.0 release.  It is being deferred to OSP 10.

Comment 12 Lucas Alvares Gomes 2016-09-15 12:41:36 UTC
FWIW I've upload a fix for this upstream: https://review.openstack.org/#/c/370773/

Comment 13 Lucas Alvares Gomes 2016-09-15 15:09:05 UTC
Backported to rhosp8 and 9 as well

Comment 15 Jeremy 2016-12-21 19:57:11 UTC
https://github.com/openstack/os-cloud-config/blob/stable/newton/os_cloud_config/nodes.py

Newton still seems to be ucs_hostname and not ucs_address in spite of https://review.openstack.org/#/c/370773/2/os_cloud_config/nodes.py

(Not in master either) , seems the patch did not make it so we should re-open this BZ.

Comment 17 Dmitry Tantsur 2017-10-20 10:28:14 UTC
Moving to 8. I've prepared downstream backports for both 8 and 9, but I will need OtherQA on them.

Comment 18 Dmitry Tantsur 2017-10-20 11:31:52 UTC
*** Bug 1417302 has been marked as a duplicate of this bug. ***


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