DRAC get_bios_config() vendor passthru causes AttributeError exception
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Ironic |
Fix Released
|
Medium
|
Richard G. Pioso | ||
Ubuntu Cloud Archive |
Fix Released
|
Undecided
|
Unassigned | ||
Newton |
Triaged
|
Medium
|
Unassigned | ||
ironic (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned |
Bug Description
Seen in stable/newton.
The DRAC driver's (pxe_drac) get_bios_config() vendor passthru method raises an AttributeError exception. It no longer returns the current BIOS configuration. This is a regression from stable/mitaka.
Triage found that get_bios_config() mistakenly treats the value returned by python-dracclient's list_bios_
It shows up in the ironic-
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base [req-45370baa-
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base Traceback (most recent call last):
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base File "/usr/lib/
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base return func(*args, **kwargs)
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base File "/usr/lib/
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base bios_attrs[name] = bios_attr._asdict()
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base AttributeError: 'BIOSStringAttr
2016-10-27 16:04:13.147 1573 ERROR ironic.drivers.base
2016-10-27 16:04:13.153 1573 DEBUG ironic.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
2016-10-27 16:04:13.153 1573 ERROR oslo_messaging.
Changed in ironic: | |
status: | New → In Progress |
assignee: | nobody → Richard G. Pioso (richard.pioso) |
Changed in ironic: | |
importance: | Undecided → Medium |
tags: | added: drac |
description: | updated |
description: | updated |
Fix proposed to branch: master /review. openstack. org/391571
Review: https:/