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

Cannot upload volume when using Swift as secondary storage

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Open
    • Priority: Minor
    • Resolution: Unresolved
    • Affects Version/s: 4.4.4, 4.7.0, Future
    • Fix Version/s: None
    • Component/s: Secondary Storage
    • Security Level: Public (Anyone can view this level - this is the default.)
    • Labels:
      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

          Activity

            People

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

              Dates

              • Created:
                Updated: