Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-9341

Cannot upload volume when using Swift as secondary storage

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Open
    • Minor
    • Resolution: Unresolved
    • 4.4.4, 4.7.0, Future
    • None
    • Secondary Storage
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      API: uploadVolume

      This capability allow import of volume in CloudStack from an URL, This can be used to clone volume from a zone to another.

      the issue:

      tested on 4.4.4 and 4.7.1:

      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
      The code related to this issue:

      https://github.com/apache/cloudstack/blob/master/plugins/storage/image/swift/src/org/apache/cloudstack/storage/datastore/driver/SwiftImageStoreDriverImpl.java#L105

      Attachments

        Issue Links

          Activity

            People

              pdube Patrick D.
              pdion Pierre-Luc Dion
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated: