[
https://issues.apache.org/jira/browse/DTACLOUD-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Joseph J. VLcek reassigned DTACLOUD-390:
----------------------------------------
Assignee: Joseph J. VLcek
> cimi: volume name is not set
> ----------------------------
>
> Key: DTACLOUD-390
> URL: https://issues.apache.org/jira/browse/DTACLOUD-390
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Environment: any driver, reproducible with mock
> Reporter: Dies Koper
> Assignee: Joseph J. VLcek
>
> To reproduce, in mock driver, add debugging statement:
> def create_storage_volume(credentials, opts={})
> p opts # print passed-in options
> d:\>curl --user "mockuser:mockpassword"
> http://localhost:3001/cimi/volumes?format=xml -X POST -H "Content-Type:
> application/json" [email protected]
> with create-volume.json:
> { "resourceURI": "http://schemas.dmtf.org/cimi/1/VolumeCreate", "name":
> "myVolume1", "description": "My first new volume", "volumeTemplate": {
> "volumeConfig": { "href": "http://example.com/vConfigs/small" } } }
> server outputs:
> {:capacity=>0, :snapshot_id=>nil}
> Note no 'name'. Also note that doing a GET on volumes does list the name
> correctly, don't let it fool you.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira