nova/nova/api/openstack
Jay Pipes 03d80cf0de placement: always create consumer records
Adds objects for Consumer, Project, and User data models, in their own
files. They do not contain logic that comes from the API microversions
and are meant to be plain-old-data objects that represent the current
schema in the database. Project, user and consumer information all are
stored in separate tables in the DB and represent actual things in the
placement data modeling. Giving them actual objects makes that
consistent with the other objects in the data model, including resource
providers, allocations, inventories, resource classes and traits.

The patch modifies the allocation handler to always ensure that a
consumer record exists for the supplied consumer UUID and an associated
projects and users table record exists for that consumer. If an
allocation is created using API microversion <1.8, which doesn't supply
the project or user for the consumer, we use the value of two new CONF
options that indicate the project and user ID for incomplete consumer
records.

Includes an online data migration for the nova-manage
online_data_migrations command that creates consumer records for
incomplete consumers.

Change-Id: Id609789ef6b4a4c745550cde80dd49cabe03869a
2018-06-11 12:45:41 -04:00
..
compute Merge "Remove support for /os-virtual-interfaces REST API" 2018-06-11 04:19:16 +00:00
placement placement: always create consumer records 2018-06-11 12:45:41 -04:00
__init__.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00
api_version_request.py Add host/hostId to instance action events API 2018-04-26 14:17:02 +00:00
auth.py Noauth should also use request_id from compute_req_id.py 2018-04-04 14:21:01 -04:00
common.py conf: Remove deprecated 'allow_instance_snapshots' opt 2018-03-12 14:40:11 +00:00
identity.py Use ksa adapter for keystone conf & requests 2017-11-30 22:33:01 +00:00
requestlog.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00
urlmap.py Use of six.PY3 should be forward compatible 2016-01-17 03:32:34 +00:00
versioned_method.py Implement microversion support on api methods 2014-12-05 09:54:41 +08:00
wsgi.py Refactor WSGI apps and utils to limit imports 2018-03-06 22:05:12 +00:00
wsgi_app.py Remove deprecated monkey_patch config options 2018-05-16 11:40:41 -04:00