Bug 1230142 - Can't query boot device on DRAC 11g hardware
Summary: Can't query boot device on DRAC 11g hardware
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-ironic
Version: Director
Hardware: Unspecified
OS: Unspecified
high
unspecified
Target Milestone: ga
: 7.0 (Kilo)
Assignee: Imre Farkas
QA Contact: Toure Dunnon
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2015-06-10 10:55 UTC by Imre Farkas
Modified: 2016-09-20 05:03 UTC (History)
11 users (show)

Fixed In Version: openstack-ironic-2015.1.0-9.el7ost
Doc Type: Bug Fix
Doc Text:
Previously, the WSMAN interface on the DRAC card would change between 11g and 12g hardware. Consequently, `get_boot_device` and `set_boot_device` calls would fail in OpenStack Bare Metal Provisioning (Ironic) when using the DRAC driver on 11g hardware. With this update, the DRAC driver checks the Lifecycle controller version, and uses alternate methods on different versions to manage the boot device. As a result, `get_boot_device` and `set_boot_device` operations succeed on 11g nodes.
Clone Of:
Environment:
Last Closed: 2015-08-05 13:25:28 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
ironic-conductor.log (9.27 KB, text/plain)
2015-06-10 10:55 UTC, Imre Farkas
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Launchpad 1413949 0 None None None Never
Red Hat Product Errata RHEA-2015:1548 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2015-08-05 17:07:06 UTC

Description Imre Farkas 2015-06-10 10:55:32 UTC
Created attachment 1037214 [details]
ironic-conductor.log

Description of problem:
Can't query boot device on DRAC 11g hardware with pxe_drac driver

Version-Release number of selected component (if applicable):


How reproducible:


Steps to Reproduce:
1. $ ironic node-get-boot-device $NODE

Actual results:
'NoneType' object has no attribute 'text' (HTTP 500)

Expected results:
Should return the actual boot device


Additional info:
There's also an upstream bug reported: https://bugs.launchpad.net/ironic/+bug/1413949

Comment 3 Imre Farkas 2015-06-10 10:58:12 UTC
The issue is caused by missing the BootSourceType from the DCIM_BootSourceSetting resource on 11g. That attribute is present on both 12g and 13g hardware.

Comment 4 Mike Orazi 2015-06-12 16:48:55 UTC
Akrady,

FYI re: the change in older 11g hardware series.  Thoughts?

Comment 5 Imre Farkas 2015-06-13 16:07:25 UTC
Patch proposed upstream: https://review.openstack.org/#/c/191177/

Comment 8 Chris Dearborn 2015-06-17 17:59:41 UTC
Not sure what the ask is here.  Unfortunately I don't have insight into the implementation of the DRAC software, so can't really comment on it.  It looks like Imre has a proposed patch out there now.

Comment 10 Toure Dunnon 2015-07-21 19:53:50 UTC
verified that this bug has been resolved, ironic can probe server boot devices.

Comment 12 errata-xmlrpc 2015-08-05 13:25:28 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/RHEA-2015:1548


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