[
https://issues.apache.org/jira/browse/DTACLOUD-135?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ronelle Landy closed DTACLOUD-135.
----------------------------------
Tested that this patch works to remove storage_snapshots and storage-volumes
for vsphere:
curl -X GET --user 'xxx:xxx' "http://server:3002/api?format=xml"
<api driver='vsphere' version='0.5.0'>
<link href='http://server:3002/api/images' rel='images'>
</link>
<link href='http:/server:3002/api/instances' rel='instances'>
<feature name='user_iso'>
</feature>
<feature name='user_data'>
</feature>
<feature name='user_name'>
</feature>
</link>
<link href='http://server:3002/api/hardware_profiles' rel='hardware_profiles'>
</link>
<link href='http://server:3002/api/instance_states' rel='instance_states'>
</link>
<link href='http://server:3002/api/realms' rel='realms'>
</link>
<link href='http://server:3002/api/drivers' rel='drivers'>
</link>
</api>
[rlandy@localhost ~]$
Closing out this JIRA with QE: ACK. Please push this patch to the brew nightly.
> Storage volumes and storage snapshots need to be removed from Deltacloud API
> for Vsphere - not supported
> --------------------------------------------------------------------------------------------------------
>
> Key: DTACLOUD-135
> URL: https://issues.apache.org/jira/browse/DTACLOUD-135
> Project: DeltaCloud
> Issue Type: Bug
> Components: Server
> Environment: deltacloud-core-0.5.0 rc2
> Reporter: Ronelle Landy
> Assignee: Ronelle Landy
> Attachments:
> 0001-Fix-for-DTACLOUD_135-storage_volumes-and-storage_sna.patch
>
>
> The API lists storage_volume and storage snapshots but accessing these
> collections shows that they are not supported:
> curl -X GET --user 'user:pswd' "http://server:3001/api/?format=xml"
> <api driver='vsphere' version='0.5.0'>
> <link href='http://server:3001/api/images' rel='images'>
> </link>
> <link href='http://server:3001/api/instances' rel='instances'>
> <feature name='user_iso'>
> </feature>
> <feature name='user_data'>
> </feature>
> <feature name='user_name'>
> </feature>
> </link>
> <link href='http://server:3001/api/storage_snapshots'
> rel='storage_snapshots'>
> </link>
> <link href='http://server:3001/api/drivers' rel='drivers'>
> </link>
> <link href='http://server:3001/api/hardware_profiles'
> rel='hardware_profiles'>
> </link>
> <link href='http://server:3001/api/instance_states' rel='instance_states'>
> </link>
> <link href='http:/server:3001/api/realms' rel='realms'>
> </link>
> <link href='http:/server:3001/api/storage_volumes' rel='storage_volumes'>
> </link>
> </api>
> Deltacloud::BackendCapability::Failure - storage_snapshots capability not
> supported by backend Deltacloud::Drivers::VSphere::VSphereDriver
> Deltacloud::BackendCapability::Failure - storage_volumes capability not
> supported by backend Deltacloud::Drivers::VSphere::VSphereDriver
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira