-
Bug
-
Resolution: Done
-
Minor
-
None
-
None
-
None
-
3
-
False
-
None
-
False
-
-
-
3
2 issues:
- Our CI has a bunch of staled volumes that were left attached and therefore can't be removed without manually removing the attachment(s). Ideally, the e2e would clean the volumes.
openstack volume show 3ab72cc4-76b5-4660-9b35-f960d463d1be +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | Field | Value | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+ | attachments | [{'id': '3ab72cc4-76b5-4660-9b35-f960d463d1be', 'attachment_id': '41dc3480-3e3d-4c0b-978c-b8b55f53b945', 'volume_id': '3ab72cc4-76b5-4660-9b35-f960d463d1be', 'server_id': 'ebc3cb4b-1802-4c0f-bd8d-33b404262252', 'host_name': None, 'device': '/dev/vdd', 'attached_at': '2023-11-01T20:19:04.000000'}] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2023-11-01T19:16:32.000000 | | description | Created by OpenStack Cinder CSI driver | | encrypted | False | | id | 3ab72cc4-76b5-4660-9b35-f960d463d1be | | multiattach | False | | name | pvc-24b5c0ea-a6a8-4ab6-826f-1229806bdfd6 | | os-vol-tenant-attr:tenant_id | 0693e2bb538c42b79a49fe6d2e61b0fc | | properties | cinder.csi.openstack.org/cluster='cgsi0i3k-ac890-4wwqr' | | replication_status | None | | size | 21 | | snapshot_id | None | | source_volid | None | | status | in-use | | type | rbd | | updated_at | 2023-11-01T20:19:05.000000 | | user_id | b66fe33199a6424bb6dc50f213c69d8a | +------------------------------+-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------+
- Volumes in reserved state are never cleaned up:
❯ openstack volume show 18737498-9620-4a66-a2b3-6e5558070566 +------------------------------+---------------------------------------------------------+ | Field | Value | +------------------------------+---------------------------------------------------------+ | attachments | [] | | availability_zone | nova | | bootable | false | | consistencygroup_id | None | | created_at | 2023-11-01T20:49:15.000000 | | description | Created by OpenStack Cinder CSI driver | | encrypted | False | | id | 18737498-9620-4a66-a2b3-6e5558070566 | | multiattach | False | | name | pvc-9c5e5a45-b087-43fd-b663-4df0ef6230b1 | | os-vol-tenant-attr:tenant_id | 0693e2bb538c42b79a49fe6d2e61b0fc | | properties | cinder.csi.openstack.org/cluster='g58vp9yy-95692-vrdvj' | | replication_status | None | | size | 20 | | snapshot_id | None | | source_volid | None | | status | reserved | | type | rbd | | updated_at | 2023-11-01T22:24:21.000000 | | user_id | b66fe33199a6424bb6dc50f213c69d8a | +------------------------------+---------------------------------------------------------+