deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Joseph J. VLcek (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (DTACLOUD-390) cimi: volume name is not set
Date Mon, 17 Dec 2012 14:14:26 GMT

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

Joseph J. VLcek updated DTACLOUD-390:
-------------------------------------

    Attachment: 0001-DTACLOUD-390-Add-name-when-creating-volume.patch

I still need to better test this patch but I think this is the correct fix.
                
> 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

Mime
View raw message