-
Bug
-
Resolution: Done
-
Major
-
None
-
None
-
None
-
False
-
-
False
-
?
-
None
-
-
-
-
Critical
Environment:
in the middle of minor update from 16.1 to 16.2.
most steps were completed including controller node reboot.
compute node reboot remains for completion of minor update.
Issue:
deleting volume from instance fails.
Error message:
2025-01-14 08:29:47.439 7 ERROR nova.volume.cinder [req-11111111-1111-1111-1111-111111111111 22222222222222222222222222222222 33333333333333333333333333333333 - default default] Delete attachment failed for attachment 44444444-4444-4444-4444-444444444444. Error: ConflictNovaUsingAttachment: Detach volume from instance 55555555-5555-5555-5555-555555555555 using the Compute API (HTTP 409) (Request-ID: req-66666666-6666-6666-6666-666666666666) Code: 409: cinderclient.exceptions.ClientException: ConflictNovaUsingAttachment: Detach volume from instance 55555555-5555-5555-5555-555555555555 using the Compute API (HTTP 409) (Request-ID: req-66666666-6666-6666-6666-666666666666)
Volume attachment:
multiple attachment IDs for the same instance and volume
(overcloud) [stack@undercloud ~]$ cinder --os-volume-api-version 3.50 attachment-list --volume 77777777-7777-7777-7777-777777777777 +--------------------------------------+--------------------------------------+----------+--------------------------------------+ | ID | Volume ID | Status | Server ID | +--------------------------------------+--------------------------------------+----------+--------------------------------------+ | 88888888-8888-8888-8888-888888888888 | 77777777-7777-7777-7777-777777777777 | reserved | 55555555-5555-5555-5555-555555555555 | | 44444444-4444-4444-4444-444444444444 | 77777777-7777-7777-7777-777777777777 | attached | 55555555-5555-5555-5555-555555555555 | | 99999999-9999-9999-9999-999999999999 | 77777777-7777-7777-7777-777777777777 | reserved | 55555555-5555-5555-5555-555555555555 | | 00000000-0000-0000-0000-000000000000 | 77777777-7777-7777-7777-777777777777 | reserved | 55555555-5555-5555-5555-555555555555 | +--------------------------------------+--------------------------------------+----------+--------------------------------------+
Others:
Other volume related operations also fail.
There are a lot of inconsistencies happening with a few instances / volumes according to DB dump.
Supporting data:
sosreports from controller nodes and hosting compute node
DB dump from overcloud