Ronelle Landy created DTACLOUD-278:
--------------------------------------
Summary: CIMI: create_image operation is missing from ec2 (and
maybe other) machines
Key: DTACLOUD-278
URL: https://issues.apache.org/jira/browse/DTACLOUD-278
Project: DeltaCloud
Issue Type: Bug
Components: Server
Environment: deltacloud git commit:
714c474d240945ec07f39873bac148ce966a2246
ec2 provider
Fedora 16
Reporter: Ronelle Landy
Started deltacloud using the cimi frontend, targeting the ec2 provider:
>> ./bin/deltacloudd -i ec2 -f cimi -r <hostname> -p 3007
Executing GET /cimi/machines/<machine name> returns two operations: stop and
restart. There is no 'create_image' operation. ec2 allow you to create an image
from a running instance.
[root@dell-pe2900-02 ~]# curl -X GET --user "A<un:pw>" -H "Content-Type:
application/xml"
"http://dell-pe2900-02.rhts.eng.bos.redhat.com:3007/cimi/machines/i-ce45cdb6?format=xml"
<Machine xmlns="http://www.dmtf.org/cimi">
<operation
href="http://dell-pe2900-02.rhts.eng.bos.redhat.com:3007/cimi/restart_machines/i-ce45cdb6"
rel="http://www.dmtf.org/cimi/action/restart" />
<operation
href="http://dell-pe2900-02.rhts.eng.bos.redhat.com:3007/cimi/machines/i-ce45cdb6/stop"
rel="http://www.dmtf.org/cimi/action/stop" />
<created>2012-07-11T23:31:11.000Z</created>
<networkInterface>
<protocol>IPv4</protocol>
<allocation>Static</allocation>
<state>Active</state>
<hostname>......</hostname>
</networkInterface>
<networkInterface>
<protocol>IPv4</protocol>
<allocation>Static</allocation>
<state>Active</state>
<hostname>i.....</hostname>
</networkInterface>
<state>STARTED</state>
<volume
href="http://dell-pe2900-02.rhts.eng.bos.redhat.com:3007/cimi/volumes/vol-4cb06b2d"
attachmentPoint="/dev/sda1" />
<memory units="MB" quantity="1740.8" />
<property
name="machine_image">http://dell-pe2900-02.rhts.eng.bos.redhat.com:3007/cimi/machine_images/ami-2770dc4e</property>
<property
name="machine_admin">http://dell-pe2900-02.rhts.eng.bos.redhat.com:3007/cimi/machine_admins/rlandyKey1207</property>
<description>ami-2770dc4e</description>
<name>i-ce45cdb6</name>
<disk>
<capacity units="GB" quantity="160" />
</disk>
<cpu>1</cpu>
<id>http://dell-pe2900-02.rhts.eng.bos.redhat.com:3007/cimi/machines/i-ce45cdb6</id>
</Machine>
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators:
https://issues.apache.org/jira/secure/ContactAdministrators!default.jspa
For more information on JIRA, see: http://www.atlassian.com/software/jira