950acaaf17
When the power update was written [1] to use nova's os-server-external-events API, the internals of that method had a bug (see the related bug). Fortunately, the code was written so it works against the nova side with or without the fix. However, for the sake of propriety, this commit refactors the code to reflect nova's behavior more accurately. Specifically: Previously, it was impossible for nova to respond 207 when the client sent a single event (as ironic does). The code path accounting for that 207 existed, but always returned True ("success") rather than returning False ("failure") if the event code was >=400. Fortunately, the return value is only ever used in unit test, not production code, so it didn't matter. With this commit, the 207 path is handled correctly, such that the method "succeeds" if the event code is <400 (which would never happen in real life) and "fails" if the event code is >=400. [1] I6d105524e1645d9a40dfeae2850c33cf2d110826 Related-Bug: #1855752 Change-Id: I13744175127e9956fb785a9efc82193c333b2bdc |
||
---|---|---|
api-ref | ||
devstack | ||
doc | ||
etc | ||
ironic | ||
playbooks | ||
releasenotes | ||
tools | ||
zuul.d | ||
.gitignore | ||
.gitreview | ||
.mailmap | ||
.stestr.conf | ||
babel.cfg | ||
bindep.txt | ||
CONTRIBUTING.rst | ||
driver-requirements.txt | ||
LICENSE | ||
lower-constraints.txt | ||
README.rst | ||
requirements.txt | ||
setup.cfg | ||
setup.py | ||
test-requirements.txt | ||
tox.ini |
Ironic
Team and repository tags
Overview
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
- Documentation: https://docs.openstack.org/ironic/latest
- Source: https://opendev.org/openstack/ironic
- Bugs: https://storyboard.openstack.org/#!/project/943
- Wiki: https://wiki.openstack.org/wiki/Ironic
- APIs: https://docs.openstack.org/api-ref/baremetal/index.html
- Release Notes: https://docs.openstack.org/releasenotes/ironic/
- Design Specifications: https://specs.openstack.org/openstack/ironic-specs/
Project status, bugs, and requests for feature enhancements (RFEs) are tracked in StoryBoard: https://storyboard.openstack.org/#!/project/943
For information on how to contribute to ironic, see https://docs.openstack.org/ironic/latest/contributor