commit 50b5d22acba7cc63c53496b3b00c624eb5f5dd59 Author: Zuul Date: Sun Oct 18 04:48:04 2020 +0000 Update git submodules * Update nova from branch 'master' - Merge "Prevent archiving of pci_devices records because of 'instance_uuid'" - Prevent archiving of pci_devices records because of 'instance_uuid' Currently in the archive_deleted_rows code, we will attempt to clean up "residue" of deleted instance records by assuming any table with a 'instance_uuid' column represents data tied to an instance's lifecycle and delete such records. This behavior poses a problem in the case where an instance has a PCI device allocated and someone deletes the instance. The 'instance_uuid' column in the pci_devices table is used to track the allocation association of a PCI with an instance. There is a small time window during which the instance record has been deleted but the PCI device has not yet been freed from a database record perspective as PCI devices are freed during the _complete_deletion method in the compute manager as part of the resource tracker update call. Records in the pci_devices table are anyway not related to the lifecycle of instances so they should not be considered residue to clean up if an instance is deleted. This adds a condition to avoid archiving pci_devices on the basis of an instance association. Closes-Bug: #1899541 Change-Id: Ie62d3566230aa3e2786d129adbb2e3570b06e4c6 diff --git a/nova b/nova index 7f4afc1..20ca7c4 160000 --- a/nova +++ b/nova @@ -1 +1 @@ -Subproject commit 7f4afc1a0fbc721731a0c88bb91cada8f4e4ed11 +Subproject commit 20ca7c4337adb58d9290521fb20803d789f2b574