nova/nova
Stephen Finucane 76e8653ba1 db: Compact Mitaka database migrations
Compact Mitaka database migrations into a single migration,
'319_mitaka.py'.

Users will now need to update to Mitaka before updating to Newton or
later.

Specific changes include:

- Add 'parent_addr' column to 'pci_devices' table
- Add 'resource_providers', 'inventories', and 'allocations' tables
- Add 'memory_total', 'memory_processed', 'memory_remaining', 'disk_total',
  'disk_processed', and 'disk_remaining' columns to 'migrations' table
- Add 'disk_allocation_ratio' column to 'compute_nodes' table
- Add 'uuid' column and corresponding index to 'aggregates' table
- Add 'name', 'generation' and 'can_host' columns to
  'resource_providers' table
- Add unique constraint on 'name' column of 'resource_providers' table
- Add index on 'name' column of 'resource_providers' table
- Add 'resource_provider_aggregates' table

Some tests that depended on some of these migrations are removed.

When testing, the previous base version was 301. It is now 318.

Change-Id: Ib0c9229899e9a83992757270503e0e1a988f2402
Signed-off-by: Stephen Finucane <stephenfin@redhat.com>
2021-01-07 11:47:43 +00:00
..
accelerator Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
api Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
cmd Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
compute Merge "Remove six.text_type (1/2)" 2020-12-22 00:45:56 +00:00
conductor Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
conf Merge "Ignore PCI devices with 32bit domain" 2020-12-23 13:26:43 +00:00
console Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
db db: Compact Mitaka database migrations 2021-01-07 11:47:43 +00:00
hacking Add a hacking rule for assert_has_calls 2020-09-28 23:08:15 +09:00
image Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
keymgr
locale Imported Translations from Zanata 2020-04-26 07:51:21 +00:00
network Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
notifications virt: Remove 'get_all_bw_counters' API 2020-11-24 15:29:21 +00:00
objects Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
pci Merge "Ignore PCI devices with 32bit domain" 2020-12-23 13:26:43 +00:00
policies virt: Remove 'reset_network' API 2020-11-23 15:55:50 +00:00
privsep Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
scheduler Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
servicegroup Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
storage Merge "rbd: Only log import failures when the RbdDriver is used" 2020-11-09 23:51:46 +00:00
tests db: Compact Mitaka database migrations 2021-01-07 11:47:43 +00:00
virt Merge "Remove six.text_type (1/2)" 2020-12-22 00:45:56 +00:00
volume Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
__init__.py
availability_zones.py Remove six.PY2 and six.PY3 2020-08-15 07:45:23 +00:00
baserpc.py
block_device.py virt: Remove 'is_xenapi' helper 2020-09-11 14:09:06 +01:00
cache_utils.py trivial: Remove unused 'cache_utils' APIs 2020-02-05 17:20:28 +00:00
config.py Fix config option default value for sample config file 2020-11-25 00:05:08 +00:00
context.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
crypto.py crypto: Add support for creating, destroying vTPM secrets 2020-07-16 17:58:36 +01:00
debugger.py trivial: Remove remaining '_LW' instances 2020-05-18 17:00:41 +01:00
exception.py Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
exception_wrapper.py Use 'Exception.__traceback__' for versioned notifications 2020-06-08 14:38:33 +01:00
filters.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
i18n.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00
loadables.py trivial: Remove dead code 2019-12-12 10:55:02 +00:00
manager.py Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
middleware.py Rename 'nova.common.config' module to 'nova.middleware' 2019-08-16 00:53:03 +01:00
monkey_patch.py Correctly disable greendns 2020-09-11 12:42:04 -04:00
policy.py Migrate default policy file from JSON to YAML 2020-09-09 08:09:38 -05:00
profiler.py
quota.py Make quotas respect instance_list_per_project_cells 2020-05-15 17:21:29 -04:00
rpc.py Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
safe_utils.py
service.py Restore retrying the RPC connection to conductor 2020-11-13 18:02:00 +01:00
service_auth.py
test.py Remove six.binary_type/integer_types/string_types 2020-12-13 11:25:14 +00:00
utils.py Remove six.text_type (1/2) 2020-12-13 11:25:31 +00:00
version.py Remove six.moves 2020-11-07 03:25:02 +00:00
weights.py Remove six.add_metaclass 2020-08-15 07:45:39 +00:00
wsgi.py trivial: Remove remaining '_LI' instances 2020-05-18 17:00:57 +01:00