[
https://issues.apache.org/jira/browse/CLOUDSTACK-9341?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Pierre-Luc Dion updated CLOUDSTACK-9341:
----------------------------------------
Description:
h3. 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.
h3. 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
was:
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
> Cannot upload volume when using Swift as secondary storage
> ----------------------------------------------------------
>
> Key: CLOUDSTACK-9341
> URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9341
> Project: CloudStack
> Issue Type: Bug
> Security Level: Public(Anyone can view this level - this is the
> default.)
> Components: Secondary Storage
> Affects Versions: 4.4.4, 4.7.0, Future
> Reporter: Pierre-Luc Dion
> Assignee: Patrick D.
> Priority: Minor
>
> h3. 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.
> h3. 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
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)