Return-Path: X-Original-To: apmail-deltacloud-dev-archive@www.apache.org Delivered-To: apmail-deltacloud-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 0D723E8D8 for ; Wed, 5 Dec 2012 16:47:02 +0000 (UTC) Received: (qmail 62884 invoked by uid 500); 5 Dec 2012 16:47:01 -0000 Delivered-To: apmail-deltacloud-dev-archive@deltacloud.apache.org Received: (qmail 62508 invoked by uid 500); 5 Dec 2012 16:47:01 -0000 Mailing-List: contact dev-help@deltacloud.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@deltacloud.apache.org Delivered-To: mailing list dev@deltacloud.apache.org Received: (qmail 62381 invoked by uid 99); 5 Dec 2012 16:47:00 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Wed, 05 Dec 2012 16:47:00 +0000 Date: Wed, 5 Dec 2012 16:47:00 +0000 (UTC) From: "Joseph J. VLcek (JIRA)" To: dev@deltacloud.apache.org Message-ID: <1849016359.63873.1354726020311.JavaMail.jiratomcat@arcas> In-Reply-To: <1578805475.61597.1354671538585.JavaMail.jiratomcat@arcas> Subject: [jira] [Assigned] (DTACLOUD-390) cimi: volume name is not set MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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" -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