Reservation Service for OpenStack
Go to file
John Garbutt b7d4b08624 Fix up read session handling
Firstly, we raise exceptions during the database tear down which makes
unit tests fail when the "database is locked" error is generated.

The first test failing was model_query which was executing a query
outside of the facade context handler. This meant the session wasn't
being closed, which blocks future writes when using sqlite.

This was spotted, because it was causing issues with the DB tests for
the blazar flavor plugin, when a bad read was later followed by a write
that failed due to the read that was still holding the lock.

Finally we fix up all the other failing unit tests, where similarly
there were read queries being made outside the scope of the context
manager that created the read session.

Change-Id: Ifec8cc37e029656537a080245269e0d3b5ccbe2c
2024-06-07 10:06:10 +02:00
api-ref/source Update configuration for compatibility with Sphinx 5 2022-06-06 20:11:32 +02:00
blazar Fix up read session handling 2024-06-07 10:06:10 +02:00
devstack Remove call to enable_python3_package 2024-05-27 18:27:44 +02:00
doc Merge "[docs] Rewrite the architecture description" 2022-10-06 15:30:29 +00:00
etc/blazar Register and document policy in code 2018-06-11 17:36:13 +09:00
releasenotes reno: Update master for unmaintained/zed 2024-04-29 10:57:57 +00:00
tools Make test-setup.sh compatible with mysql8 2020-09-22 11:09:15 +02:00
.gitignore Switch to stestr 2022-04-14 09:23:56 +02:00
.gitreview OpenDev Migration Patch 2019-04-19 19:47:59 +00:00
.stestr.conf Switch to stestr 2022-04-14 09:23:56 +02:00
.zuul.yaml Revert "CI: Remove tempest jobs temporarily" 2024-05-27 15:48:32 +02:00
bindep.txt Update bindep package list for Debian Bookworm 2023-09-29 09:46:36 +02:00
CONTRIBUTING.rst Add CONTRIBUTING.rst file for blazar 2020-03-04 09:07:59 +01:00
HACKING.rst Use LOG.warning instead of deprecated LOG.warn 2022-01-19 17:49:31 +09:00
LICENSE Add LICENSE and MANIFEST.in files 2014-02-04 23:02:01 +04:00
MANIFEST.in Migrate climate namespace to blazar 2017-03-02 09:36:14 +00:00
pylintrc Add pylint check for Climate project 2014-02-17 15:03:21 +04:00
README.rst Add blazar-specs link to README.rst 2019-09-05 14:20:47 +00:00
requirements.txt Bump SQLAlchemy requirement 2024-05-30 21:28:32 +02:00
setup.cfg Update python classifier in setup.cfg 2024-01-03 21:22:52 -08:00
setup.py Cleanup py27 support 2020-04-13 18:18:44 +02:00
test-requirements.txt Add WebTest as a test dependency 2022-08-03 10:40:51 +00:00
tox.ini Fix tox.ini for tox4 2023-02-24 06:23:38 +01:00

Team and repository tags

image

Blazar

Blazar is a resource reservation service for OpenStack. Blazar enables users to reserve a specific type/amount of resources for a specific time period and it leases these resources to users based on their reservations.

The following two resource types are currently supported:

  • Compute host: reserve and lease with a unit of a whole host
  • Instance: reserve and lease with a unit of a flavor

Please see the following resources to learn more.

API

See Blazar API reference.

Operators

To learn how to deploy and configure Blazar, see the installation guide and the configuration reference.

Developers

To learn how to contribute to Blazar, see the contributor guide.

Other Resources