nova/nova/tests/functional/db
Mohammed Naser 91160c4238 Make quotas respect instance_list_per_project_cells
This option was introduced in order to limit queries to cells which only
belong to the project we're interacting with.  However, The nova quota
code was not respecting it and therefore it was always trying to get the
cells assigned to a project even with that option disabled.

This patch makes the quota code respect that option and adds testing to
ensure that enabling the option does make sure it doesn't search all
cells but only the ones for this project.

Closes-Bug: #1878979
Change-Id: I2e0d48e799e70d550f912ad8a424c86df3ade3a2
(cherry picked from commit ab16946885)
(cherry picked from commit fa2bfac862)
2020-05-20 20:16:22 +02:00
..
api Simplfy test setup for TestNovaMigrations* tests 2019-06-03 14:02:34 +02:00
__init__.py Add second migrate_repo for cells v2 database migrations 2015-03-03 15:41:40 -05:00
test_aggregate_model.py Add aggregates tables to the API db. 2016-06-01 12:00:56 -05:00
test_aggregate.py DB API changes to get non-matching aggregates from metadata 2019-09-12 16:56:32 -05:00
test_archive.py nova-manage db archive_deleted_rows is not multi-cell aware 2019-08-27 06:01:58 +00:00
test_build_request.py Fix misuse of nova.objects.base.obj_equal_prims 2019-08-13 09:38:54 +09:00
test_cell_mapping.py Address feedback from instance_list smart-cell behavior 2018-05-10 09:59:36 -07:00
test_compute_api.py Create request spec, build request and mappings in one transaction 2019-04-24 19:24:50 +00:00
test_compute_node.py Fix invalid assertIsNone states 2019-06-28 17:37:15 +08:00
test_connection_switch.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_console_auth_token.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_flavor_model.py Add Flavor.description attribute 2017-11-05 01:24:01 -05:00
test_flavor.py Remove old flavor_get_all db api method 2018-02-14 15:53:18 -05:00
test_host_mapping.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_instance_group.py Use uuidsentinel from oslo.utils 2018-09-05 09:08:54 -05:00
test_instance_mapping.py Add get_counts() to InstanceMappingList 2019-04-10 22:15:16 +00:00
test_instance.py Add Instance.hidden field 2019-08-07 17:56:01 -04:00
test_keypair.py Drop migrate_keypairs_to_api_db data migration 2019-04-03 11:42:48 -04:00
test_quota_model.py Add quota related tables to the api database. 2016-10-12 07:40:00 +00:00
test_quota.py Make quotas respect instance_list_per_project_cells 2020-05-20 20:16:22 +02:00
test_quotas.py Add online migration to move quotas to API database 2017-07-24 18:36:46 -04:00
test_request_spec.py Drop request spec migration code 2018-12-17 13:54:48 -05:00
test_security_group.py Add SecurityGroupList.get_counts() 2017-06-19 21:51:46 +00:00
test_virtual_interface.py Populate InstanceMapping.user_id during migrations and schedules 2019-03-08 19:01:25 -05:00