skattoju4 opened a new issue #4874:
URL: https://github.com/apache/cloudstack/issues/4874


   <!--
   Verify first that your issue/request is not already reported on GitHub.
   Also test if the latest release and master branch are affected too.
   Always add information AFTER of these HTML comments, but no need to delete 
the comments.
   -->
   
   ##### ISSUE TYPE
   <!-- Pick one below and delete the rest -->
    * Bug Report
    * Improvement Request
   
   ##### COMPONENT NAME
   <!--
   Categorize the issue, e.g. API, VR, VPN, UI, etc.
   -->
   ~~~
   Secondary Storage
   ~~~
   
   ##### CLOUDSTACK VERSION
   <!--
   New line separated list of affected versions, commit ID for issues on master 
branch.
   -->
   
   ~~~
   4.7 and above
   ~~~
   
   ##### CONFIGURATION
   <!--
   Information about the configuration if relevant, e.g. basic network, 
advanced networking, etc.  N/A otherwise
   -->
   CloudStack 4.12, XenServer and Swift as Secondary Storage.
   
   ##### OS / ENVIRONMENT
   <!--
   Information about the environment if relevant, N/A otherwise
   -->
   N/A
   
   ##### SUMMARY
   <!-- Explain the problem/feature briefly -->
   *Uploading a volume fails when using swift as secondary storage.
   The error returned is: org.apache.cloudstack.storage.to.VolumeObjectTO 
cannot be cast to org.apache.cloudstack.storage.to.TemplateObjectTO
   *Exporting or downloading a volume fails when using swift as secondary 
storage.
   Cloudstack shows a url that points to a symlink on the secondary stroage vm 
however the symlink's path is incorrect path so the volume is not downloaded.
   
   ##### 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.
   -->
   1. Upload a volume from a url when using swift as secondary storage. This 
will fail.
   2. Download a volume when using swift as secondary storage. This will fail.
   
   <!-- Paste example playbooks or commands between quotes below -->
   ~~~
   
   ~~~
   
   <!-- You can also paste gist.github.com links for larger files -->
   
   ##### EXPECTED RESULTS
   <!-- What did you expect to happen when running the steps above? -->
   1. Volume is successfully uploaded and eventually gets to ready state.
   2. A url is shown which points to the volume to download.
   ~~~
   
   ~~~
   
   ##### ACTUAL RESULTS
   <!-- What actually happened? -->
   
   <!-- Paste verbatim command output between quotes below -->
   1. The error returned is: 
   ~~~
   org.apache.cloudstack.storage.to.VolumeObjectTO cannot be cast to 
org.apache.cloudstack.storage.to.TemplateObjectTO
   ~~~
   2. The url shown points at a broken symlink.


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

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


Reply via email to