You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@deltacloud.apache.org by "Marios Andreou (JIRA)" <ji...@apache.org> on 2012/12/18 15:32:14 UTC

[jira] [Resolved] (DTACLOUD-390) cimi: volume name is not set

     [ https://issues.apache.org/jira/browse/DTACLOUD-390?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Marios Andreou resolved DTACLOUD-390.
-------------------------------------

    Resolution: Fixed
    
> 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
>         Attachments: 0001-DTACLOUD-390-Add-name-when-creating-volume.patch
>
>
> 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"  -d@create-volume.json
> 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