A service for managing and provisioning Bare Metal servers.
Go to file
Richard Pioso 6d6cf18f31 DRAC get_bios_config() passthru causes exception
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_settings() as containing named tuples.
When it calls the namedtuple _asdict() method, an AttributeError
exception is raised.

Revert get_bios_config()'s handling of the return value to use __dict__.
Remove the comment that is not consistent with the implementation.

Also revert the unit test case for a successful call to use mock to
create the return value. Use mock.NonCallableMock with an empty
specification (spec) to catch this type of bug in the future.

Change-Id: I94afaa72a1ef25efc1b622e29e3a92a5d27f1892
Closes-Bug: #1637671
2016-10-31 15:00:32 -04:00
api-ref fix a typo in document 2016-10-14 13:03:17 +07:00
devstack Merge "Remove use of 'vconfig' command in devstack ironic script" 2016-10-26 11:05:49 +00:00
doc/source Trivial fix of notifications doc 2016-10-19 11:11:47 +03:00
etc Change 'writeable' to 'writable' 2016-10-26 17:15:28 +08:00
install-guide/source Merge "Change 'decom' to clean/cleaning" 2016-10-16 16:29:52 +00:00
ironic DRAC get_bios_config() passthru causes exception 2016-10-31 15:00:32 -04:00
ironic_tempest_plugin Merge "Remove unused argument in Tempest Plugin" 2016-10-13 00:15:54 +00:00
releasenotes DRAC get_bios_config() passthru causes exception 2016-10-31 15:00:32 -04:00
tools Have bashate run for entire project 2016-09-27 11:19:33 -07:00
.gitignore Add reno for release notes management 2015-11-13 03:22:32 -08:00
.gitreview Added project infrastructure needs. 2013-05-02 14:55:43 -04:00
.mailmap Update mailmap for Joe Gordon 2013-10-28 10:19:15 +00:00
.testr.conf Prepare for functional testing 2015-09-28 21:27:01 +00:00
babel.cfg Run extract_messages 2013-07-22 09:51:10 +02:00
CONTRIBUTING.rst Workflow documentation is now in infra-manual 2014-12-05 16:55:23 +01:00
driver-requirements.txt Add inspection feature for the OneView drivers 2016-09-28 20:50:38 -03:00
LICENSE Added project infrastructure needs. 2013-05-02 14:55:43 -04:00
README.rst Documentation update 2016-08-23 12:49:04 -07:00
RELEASE-NOTES Add release notes for 4.0.0 2015-08-31 21:43:58 +00:00
requirements.txt Updated from global requirements 2016-10-27 12:14:33 +00:00
setup.cfg Add entry_point for oslo policy scripts 2016-10-04 11:32:21 +03:00
setup.py Updated from global requirements 2015-09-22 03:33:28 +00:00
test-requirements.txt Updated from global requirements 2016-10-22 01:19:46 +00:00
tox.ini Merge "Have bashate run for entire project" 2016-10-06 17:48:07 +00:00
vagrant.yaml Added CORS support middleware to Ironic 2015-09-01 19:45:01 +00:00
Vagrantfile Change vagrant.yml to vagrant.yaml 2015-08-07 09:51:32 +00:00

Ironic

Ironic consists of an API and plug-ins for managing and provisioning physical machines in a security-aware and fault-tolerant manner. It can be used with nova as a hypervisor driver, or standalone service using bifrost. By default, it will use PXE and IPMI to interact with bare metal machines. Ironic also supports vendor-specific plug-ins which may implement additional functionality.

Ironic is distributed under the terms of the Apache License, Version 2.0. The full terms and conditions of this license are detailed in the LICENSE file.

Project resources

Project status, bugs, and requests for feature enhancements (RFEs) are tracked on Launchpad: http://launchpad.net/ironic

For information on how to contribute to ironic, see http://docs.openstack.org/developer/ironic/dev/code-contribution-guide.html