Julia Kreger bb9b9001ad DB: Select upon delete for allocations
When an allocation has been created, it is still being created
in the background. The client may request deletion of the
allocation *prior* to the creation of the allocation is entirely
completed. That is fine, but the challenge is we may encounter a
locked row if we're asked to delete while in process.

So, we'll query with with_for_update[0] which should be held until
the lock is released, which is only released when the original
locking transaction closes out[1][2].

[0]: https://docs.sqlalchemy.org/en/14/core/selectable.html#sqlalchemy.sql.expression.GenerativeSelect.with_for_update
[1]: https://dev.mysql.com/doc/refman/5.7/en/select.html
[2]: https://dev.mysql.com/doc/refman/5.7/en/innodb-locking-reads.html

Change-Id: I0b68f054c951655b01f0cd776feb5a8c768471ab
Closes-Bug: #2028866
2023-07-28 20:16:52 +00:00
2023-07-11 07:39:15 -03:00
2023-07-28 05:16:26 +00:00
2023-07-28 05:16:26 +00:00
2023-06-30 14:34:26 -07:00
2023-07-11 09:08:41 +00:00
2019-04-19 19:40:53 +00:00
2020-04-13 07:29:37 -07:00
2022-06-10 20:42:46 +03:00
2013-05-02 14:55:43 -04:00
2023-02-23 11:39:07 -08:00
2023-07-11 07:39:15 -03:00
2023-01-04 12:01:18 +00:00

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

Description
A service for managing and provisioning Bare Metal servers.
Readme 306 MiB
Languages
Python 98.2%
Shell 1.8%