Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1230142

Summary: Can't query boot device on DRAC 11g hardware
Product: Red Hat OpenStack Reporter: Imre Farkas <ifarkas>
Component: openstack-ironicAssignee: Imre Farkas <ifarkas>
Status: CLOSED ERRATA QA Contact: Toure Dunnon <tdunnon>
Severity: unspecified Docs Contact:
Priority: high    
Version: DirectorCC: arkady_kanevsky, athomas, calfonso, christopher_dearborn, johfulto, mburns, mlopes, morazi, ohochman, rrosa, yeylon
Target Milestone: gaKeywords: Triaged
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
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.
Story Points: ---
Clone Of: Environment:
Last Closed: 2015-08-05 13:25:28 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:
Attachments:
Description Flags
ironic-conductor.log none

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