OpenStack resource provider inventory allocation service
Go to file
Stephen Finucane 5a97e855f5 db: Replace implicit conversion of SELECT into FROM
Resolve the following warnings issued in recent versions of SQLAlchemy:

  SADeprecationWarning: Implicit coercion of SELECT and textual SELECT
  constructs into FROM clauses is deprecated; please call .subquery() on
  any Core select or ORM Query object in order to produce a subquery
  object.

The resolution is simple: instead of using 'FromClause.alias', use
'Query.subquery'. A warning filter is included to prevent us
reintroducing this issue in the future. It can be dropped once we start
using SQLAlchemy 2.0 where this behavior will be removed.

This change requires bumping SQLAlchemy to 1.4.0, which is the first
version to introduce the selectable '.subquery()' method. We must also
bump oslo.db to 8.6.0, which is the first version to support SQLAlchemy
1.4.x. The alternative would be to introduce a switch based on
SQLAlchemy versions, but that's tech debt that'll have to be cleaned up.

Change-Id: I6300be962dc3ce391f70d7c7e8af7cb4d6ce9baf
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2022-04-07 15:31:53 +01:00
api-ref Add microversion 1.39 to support any-trait queries 2022-02-10 11:09:20 +01:00
doc Add zed spec directory 2022-03-19 08:23:55 +00:00
etc/placement Enable HTTPProxyToWSGI middleware to find actual client ips 2021-08-01 20:56:44 +09:00
gate Fix perfload jobs after consumer_types 2022-02-07 16:47:17 +01:00
placement db: Replace implicit conversion of SELECT into FROM 2022-04-07 15:31:53 +01:00
placement_db_tools Add --skip-locks flag to mysql-migrate-db.sh 2019-10-07 09:59:07 -04:00
playbooks Move non-nested perfload shell commands to script 2019-06-20 12:38:08 +01:00
releasenotes Update master for stable/yoga 2022-03-10 08:21:32 +00:00
tools [goal] Migrate testing to ubuntu focal 2020-08-16 21:07:26 +00:00
.coveragerc Use both unit and functional for coverage testing 2018-09-14 13:30:14 -06:00
.gitignore Clean up document's index 2019-09-24 15:45:11 +00:00
.gitreview OpenDev Migration Patch 2019-04-19 19:41:22 +00:00
.stestr.conf Put stestr group_regex in .stestr.conf 2018-09-14 13:30:14 -06:00
.zuul.yaml Add Python3 zed unit tests 2022-03-10 08:21:35 +00:00
bindep.txt Merge "Bindep does not catch missing libpcre3-dev on Ubuntu" 2018-02-14 07:31:09 +00:00
CONTRIBUTING.rst [Community goal] Update contributor documentation 2020-04-21 05:45:05 +00:00
LICENSE initial commit 2010-05-27 23:05:26 -07:00
lower-constraints.txt db: Replace implicit conversion of SELECT into FROM 2022-04-07 15:31:53 +01:00
README.rst Start README.rst with a better title 2019-11-28 09:58:34 +08:00
requirements.txt db: Replace implicit conversion of SELECT into FROM 2022-04-07 15:31:53 +01:00
setup.cfg setup: Replace dashes with underscores 2022-02-06 02:00:06 +09:00
setup.py Cleanup py27 support 2020-04-07 17:30:34 +00:00
test-requirements.txt Add 'cryptography' package to test-requirements.txt 2021-04-21 01:08:38 +00:00
tox.ini tox: Remove psycopg2 warning filter 2022-02-06 02:00:06 +09:00

If you are viewing this README on GitHub, please be aware that placement development happens on OpenStack git and OpenStack gerrit.

OpenStack Placement

image

OpenStack Placement provides an HTTP service for managing, selecting, and claiming providers of classes of inventory representing available resources in a cloud.

API

To learn how to use Placement's API, consult the documentation available online at:

For more information on OpenStack APIs, SDKs and CLIs in general, refer to:

Operators

To learn how to deploy and configure OpenStack Placement, consult the documentation available online at:

In the unfortunate event that bugs are discovered, they should be reported to the appropriate bug tracker. If you obtained the software from a 3rd party operating system vendor, it is often wise to use their own bug tracker for reporting problems. In all other cases use the master OpenStack bug tracker, available at:

Developers

For information on how to contribute to Placement, please see the contents of CONTRIBUTING.rst.

Further developer focused documentation is available at: