davidjumani opened a new issue, #7093:
URL: https://github.com/apache/cloudstack/issues/7093

   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
   
   
   ##### COMPONENT NAME
   Storage
   
   ##### CLOUDSTACK VERSION
   4.17.2 (maybe before as well)
   
   ##### OS / ENVIRONMENT
   VMware 6.7.3
   
   
   ##### SUMMARY
   When a primary storage is deleted, the corresponding record in the 
snapshot_store_ref table is not deleted
   Noted specifically in VMware
   
   
   ##### STEPS TO REPRODUCE
   
   - Take ROOT volume snapshot(This primary storage is Storage1.)
   - Migrate ROOT volume to other storage(as Storage2) with the API - 
migrateVirtualMachine -
   - Confirm the snapshot has two entries in cloud.snapshot_store_ref - one for 
primary and one for image.
   - Then remove Storage1.
   - Confirm that two entries remain in cloud.snapshot_store_ref.
   - Do a listSnapshots API call against the snapshot and observe Error:(HTTP 
530, error code 9999) - Due to an NPE in the DB record refering to the deleted 
storage pool
   
   ##### EXPECTED RESULTS
   
   The record in the table pointing to the now deleted primary storage is still 
present
   
   ##### ACTUAL RESULTS
   
   The DB record is deleted
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to