A service for managing and provisioning Bare Metal servers.
Go to file
Julia Kreger 36f3105016 Remove redfish cache entry upon errors
Some transient errors can ultimately cause the client to need to be
completely restarted due to cached connection data.

Ironic now explicitly removes the cache entry when a sushy
AccessError or python AttributeError is detected originating
from the library. This will now result in the prior cached connection
object to be discarded, and upon the next attempt to interact with
the same node, a new connection will be launched.

This will result in new sessions being created, but in all likelihood
the prior session had already timed out or had been administratively
removed. Sushy's code, as of
https://review.opendev.org/c/openstack/sushy/+/820076
will raise SessionService lookup access errors as AccessErrors.
Prior to that change, they should have been raised as AttributeError
as the previous call sould have returned None to be used as an object.

*Also* Includes follow-up change Ia59f774c9340e3a6fa63418afedf12098c709052
squashed into this change, and necessary backport friendly mock of
AccessError which had changed since this release of ironic.

Change-Id: Icc6e5dd74d9f15e679a7e764fe49238ed6b8dc1e
Story: 2009719
Task: 44107
(cherry picked from commit 1439af27ba)
(cherry picked from commit 01997c8418)
(cherry picked from commit e3e7deaf48)
(cherry picked from commit ab5495eecb)
(cherry picked from commit e57aa7598b)
(cherry picked from commit 3e3afc3254)
(cherry picked from commit 4b6b63ac66)
2022-03-15 20:52:22 +00:00
api-ref Merge "Add api-ref for allocation update" 2019-06-07 14:11:35 +00:00
devstack CI: Work around tinyipa build issues 2021-11-22 14:02:51 +00:00
doc Use shim-signed on Ubuntu, shim is empty now 2021-09-16 20:11:07 +00:00
etc Remove sample policy and config files 2018-02-02 11:21:29 +00:00
ironic Remove redfish cache entry upon errors 2022-03-15 20:52:22 +00:00
playbooks CI: Patch to fix CI jobs in bugfix/stable branches 2020-09-23 07:31:22 -07:00
releasenotes Remove redfish cache entry upon errors 2022-03-15 20:52:22 +00:00
tools Stop using md5 for __repr__ of objects 2020-07-09 16:04:28 +00:00
zuul.d Fix Train CI 2022-03-15 12:16:09 -07:00
.gitignore Migrate to stestr as unit tests runner 2017-09-22 08:56:34 +00:00
.gitreview Update .gitreview for stable/train 2019-09-25 08:43:29 +00:00
.mailmap Update mailmap for Joe Gordon 2013-10-28 10:19:15 +00:00
.stestr.conf Migrate to stestr as unit tests runner 2017-09-22 08:56:34 +00:00
CONTRIBUTING.rst Update Launchpad references to Storyboard 2018-04-09 12:37:14 -07:00
LICENSE Added project infrastructure needs. 2013-05-02 14:55:43 -04:00
README.rst Add ironic-specs link to readme.rst 2019-08-30 17:16:09 +08:00
babel.cfg Run extract_messages 2013-07-22 09:51:10 +02:00
bindep.txt Use shim-signed on Ubuntu, shim is empty now 2021-09-16 20:11:07 +00:00
driver-requirements.txt opt: Enhance old stable branches to use latest python-ibmcclient 2020-10-22 02:09:38 +00:00
lower-constraints.txt Build pdf doc 2019-09-06 14:50:02 +08:00
reno.yaml tell reno to ignore the kilo branch 2020-02-10 10:36:13 +00:00
requirements.txt Merge "Support power state change callbacks to nova using ksa_adapter" 2019-08-24 02:20:13 +00:00
setup.cfg Add Redfish inspect interface to idrac HW type 2019-09-17 15:34:54 -04:00
setup.py Updated from global requirements 2017-03-02 11:45:27 +00:00
test-requirements.txt [stable-only] Fix bandit upper constraint 2021-01-08 19:15:49 +01:00
tox.ini Update TOX/UPPER_CONSTRAINTS_FILE for stable/train 2019-09-25 08:43:32 +00:00

README.rst

Ironic

Team and repository tags

image

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

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