<!-- Verify first that your issue/request is not already reported on GitHub. Also test if the latest release and main branch are affected too. Always add information AFTER of these HTML comments, but no need to delete the comments. --> cleaning up remnance of component test runs, some resources can't be cleaned. Inthis case uploaded volumes. As it was a full component test run, I don't know which tests left these behind but it were 6 Volumes in total. only workaround AFAICS, is to edit in the DB. ##### ISSUE TYPE <!-- Pick one below and delete the rest --> * Bug Report ##### COMPONENT NAME <!-- Categorize the issue, e.g. API, VR, VPN, UI, etc. --> ~~~ ~~~ ##### CLOUDSTACK VERSION <!-- New line separated list of affected versions, commit ID for issues on main branch. --> ~~~ 4.16/main ~~~ ##### CONFIGURATION <!-- Information about the configuration if relevant, e.g. basic network, advanced networking, etc. N/A otherwise --> ##### OS / ENVIRONMENT <!-- Information about the environment if relevant, N/A otherwise --> ##### SUMMARY <!-- Explain the problem/feature briefly --> ##### STEPS TO REPRODUCE <!-- For bugs, show exactly how to reproduce the problem, using a minimal test-case. Use Screenshots if accurate. For new features, show how the feature would be used. --> <!-- Paste example playbooks or commands between quotes below --> ~~~ (localcloud) SBCM5> > list volumes listall=true id=d49c18c2-bdc1-4592-bfd1-d7cc0477bd17 { "count": 1, "volume": [ { "account": "test-a-TestPrimaryResourceLimitsVolume-test_attach_volume_exceeding_primary_limits-KL4DYO", "created": "2021-06-04T15:22:22+0000", "destroyed": false, "diskofferingdisplaytext": "Custom Disk", "diskofferingid": "68470172-5e0c-4f39-9cdd-793e51c9c1b3", "diskofferingname": "Custom", "displayvolume": true, "domain": "domain-W2XAX7", "domainid": "56038ea7-bd45-4da7-8a54-bdce352255a0", "hypervisor": "Hyperv", "id": "d49c18c2-bdc1-4592-bfd1-d7cc0477bd17", "isextractable": true, "name": "UploadVol", "provisioningtype": "thin", "quiescevm": false, "size": 5368709120, "state": "Uploaded", "storagetype": "shared", "supportsstoragesnapshot": false, "tags": [], "type": "DATADISK", "zoneid": "67198992-a643-41bd-aeaf-26286c23bd4c", "zonename": "ref-trl-1030-k-M7-daan-hoogland" } ] } (localcloud) SBCM5> > delete volume id=d49c18c2-bdc1-4592-bfd1-d7cc0477bd17 { "success": true } ~~~ <!-- You can also paste gist.github.com links for larger files --> ##### EXPECTED RESULTS <!-- What did you expect to happen when running the steps above? --> ~~~ (localcloud) SBCM5> > list volumes listall=true id=d49c18c2-bdc1-4592-bfd1-d7cc0477bd17 filter=id ~~~ no output ##### ACTUAL RESULTS <!-- What actually happened? --> <!-- Paste verbatim command output between quotes below --> ~~~ (localcloud) SBCM5> > list volumes listall=true id=d49c18c2-bdc1-4592-bfd1-d7cc0477bd17 filter=id { "count": 1, "volume": [ { "id": "d49c18c2-bdc1-4592-bfd1-d7cc0477bd17" } ] } ~~~
Activity
yadvr commentedon Jun 17, 2021
Deja-vu cc @Pearl1594 @shwstppr ?
Pearl1594 commentedon Jun 17, 2021
seems like it destroys it on the secondary store (volume_store_ref table) but fails to update the volumes table
Deleted on secondary storage:
Fails to update removed field in 'volumes' table: