[
https://issues.apache.org/jira/browse/DTACLOUD-385?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13509874#comment-13509874
]
Ronelle Landy commented on DTACLOUD-385:
----------------------------------------
Creating a volume using an inline volume config works with the attached patches:
<Volume xmlns="http://schemas.dmtf.org/cimi/1"
resourceURI="http://schemas.dmtf.org/cimi/1/Volume">
<id>http://qeblade39.rhq.lab.eng.bos.redhat.com:3001/cimi/volumes/Volume1354641041</id>
<name>inline_config_volume</name>
<description>test volume</description>
<created>2012-12-04T12:10:41-05:00</created>
<state>AVAILABLE</state>
<type>http://schemas.dmtf.org/cimi/1/mapped</type>
<capacity>1024</capacity>
<bootable>false</bootable>
<operation rel="delete"
href="http://qeblade39.rhq.lab.eng.bos.redhat.com:3001/cimi/volumes/Volume1354641041"
/>
</Volume>
AcK'ed patches... will close this JIRA record after the patches are pushed.
> Can not create volume with inlined volume config
> ------------------------------------------------
>
> Key: DTACLOUD-385
> URL: https://issues.apache.org/jira/browse/DTACLOUD-385
> Project: DeltaCloud
> Issue Type: Bug
> Components: CIMI/Frontend
> Reporter: David Lutterkort
> Assignee: Marios Andreou
> Attachments:
> 0001-CIMI-Adds-Volume-creation-with-template-and-config-b.patch,
> 0002-CIMI-collections-use-grab_content_type-helper-to-gue.patch
>
>
> The volme creation code in lib/cimi/models/volume.rb assumes that the
> volumConfig that is passed in has an href. It is legal to pass in a
> volumeConfig that is entirely inline, i.e. does not refer to an existing
> volumeConfig and only conists of values.
--
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