diff options
author | Dan Smith <dansmith@redhat.com> | 2015-11-06 11:01:19 -0800 |
---|---|---|
committer | Matthew Booth <mbooth@redhat.com> | 2017-12-17 14:28:35 +0000 |
commit | cd3901c0673620794fb2240a448c9fc14b608172 (patch) | |
tree | 975f9a8fe7f89686da21657906efdd0e8dc852fb /nova/block_device.py | |
parent | 0fe71a9a7d4c0367c345eb381489d11f96205376 (diff) | |
download | nova-cd3901c0673620794fb2240a448c9fc14b608172.tar.gz |
Add uuid column to BlockDeviceMapping
This adds a uuid column to the block_device_mapping table,
and makes it semi-optional for graceful upgrade of existing rows
without a uuid.
Part of bp local-disk-serial-numbers
Co-Authored-By: Lee Yarwood <lyarwood@redhat.com>
Co-Authored-By: Matthew Booth <mbooth@redhat.com>
Partial-Bug: #1489581
Change-Id: Ibf0db6ad5b8367fc3267ac309516c08547d47e8c
Diffstat (limited to 'nova/block_device.py')
-rw-r--r-- | nova/block_device.py | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/nova/block_device.py b/nova/block_device.py index 99c13933dd..11644c1c68 100644 --- a/nova/block_device.py +++ b/nova/block_device.py @@ -48,7 +48,7 @@ bdm_new_fields = set(['source_type', 'destination_type', 'connection_info', 'tag']) -bdm_db_only_fields = set(['id', 'instance_uuid', 'attachment_id']) +bdm_db_only_fields = set(['id', 'instance_uuid', 'attachment_id', 'uuid']) bdm_db_inherited_fields = set(['created_at', 'updated_at', |