harikrishna-patnala opened a new issue #5372:
URL: https://github.com/apache/cloudstack/issues/5372


   Creating a snapshot of volume attached to a stopped VM (VM is just migrated 
to a different cluster) is failing with the below error.
   
   2021-08-25 09:33:36,270 ERROR [o.a.c.s.v.VolumeServiceImpl] 
(Work-Job-Executor-10:ctx-9f22db0f job-445/job-446 ctx-05260d9e) 
(logid:89f585a1) Take snapshot: 63 failed
   com.cloud.utils.exception.CloudRuntimeException: backup snapshot exception: 
Exception: java.lang.Exception
   Message: Unable to find related disk device for volume. volume path: 
bb3b5a94ca474c2ab678c40391d70ab5
           at 
org.apache.cloudstack.storage.snapshot.SnapshotServiceImpl.backupSnapshot(SnapshotServiceImpl.java:301)
           at 
org.apache.cloudstack.storage.snapshot.DefaultSnapshotStrategy.backupSnapshot(DefaultSnapshotStrategy.java:171)
           at 
com.cloud.storage.snapshot.SnapshotManagerImpl.backupSnapshotToSecondary(SnapshotManagerImpl.java:1213)
   
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
    * Improvement Request
    * Enhancement Request
    * Feature Idea
    * Documentation Report
    * Other
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Volume snapshots
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on main 
branch.
   -->
   
   ~~~
   4.11, 4.16
   ~~~
   
   ##### 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 -->
   ~~~
   1. Create a VM in Cluster1
   2. Stop the VM
   3. Migrate the VM to a different storage pool in another cluster Cluster2
   4. Create a data disk
   5. Attach the data volume to the stopped VM above
   6. Create snapshot of data volume
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   
   ~~~
   Successful snapshot creation.
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   ~~~
   Failed to create snapshot
   ~~~
   


-- 
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