deltacloud-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Dies Koper (JIRA)" <j...@apache.org>
Subject [jira] [Created] (DTACLOUD-390) cimi: volume name is not set
Date Wed, 05 Dec 2012 01:38:58 GMT
Dies Koper created DTACLOUD-390:
-----------------------------------

             Summary: 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


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