I've updated the packages to the required version manually (unattended-upgrades was stuck in configuration prompt and did not update the packages itself) and restarted the services. The problem still remains that when instance is deleted volume is not deleted and stuck in attached state. Error in nova-compute states:
ERROR nova.volume.cinder [req-73a404fd-92dd-4458-a951-b784fccb6515 c23a1dcf89be43aea4102a4a225ee45e b2f401016d434d3e82636ea595703be4 - 31b5b42eb1a6430da321f73f400f5b5b 31b5b42eb1a6430da321f73f400f5b5b] Delete attachment failed for attachment 2c680876-e37a-4249-966a-6039296e73d2. Error: ConflictNovaUsingAttachment: Detach volume from instance 2cef6a3d-61ea-4851-a1ff-b968171de874 using the Compute API (HTTP 409) (Request-ID: req-43d628f7-5ee1-43dc-9b1e-12004362df14) Code: 409: cinderclient.exceptions.ClientException: ConflictNovaUsingAttachment: Detach volume from instance 2cef6a3d-61ea-4851-a1ff-b968171de874 using the Compute API (HTTP 409) (Request-ID: req-43d628f7-5ee1-43dc-9b1e-12004362df14)
I've updated the packages to the required version manually (unattended- upgrades was stuck in configuration prompt and did not update the packages itself) and restarted the services. The problem still remains that when instance is deleted volume is not deleted and stuck in attached state. Error in nova-compute states:
ERROR nova.volume.cinder [req-73a404fd- 92dd-4458- a951-b784fccb65 15 c23a1dcf89be43a ea4102a4a225ee4 5e b2f401016d434d3 e82636ea595703b e4 - 31b5b42eb1a6430 da321f73f400f5b 5b 31b5b42eb1a6430 da321f73f400f5b 5b] Delete attachment failed for attachment 2c680876- e37a-4249- 966a-6039296e73 d2. Error: ConflictNovaUsi ngAttachment: Detach volume from instance 2cef6a3d- 61ea-4851- a1ff-b968171de8 74 using the Compute API (HTTP 409) (Request-ID: req-43d628f7- 5ee1-43dc- 9b1e-12004362df 14) Code: 409: cinderclient. exceptions. ClientException : ConflictNovaUsi ngAttachment: Detach volume from instance 2cef6a3d- 61ea-4851- a1ff-b968171de8 74 using the Compute API (HTTP 409) (Request-ID: req-43d628f7- 5ee1-43dc- 9b1e-12004362df 14)