[
https://issues.apache.org/jira/browse/DTACLOUD-189?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Ramesh A updated DTACLOUD-189:
------------------------------
Attachment: webui.png
> Disable the create image button(webui)/ method(api) for stopped ebs instance
> in ec2 setup
> -----------------------------------------------------------------------------------------
>
> Key: DTACLOUD-189
> URL: https://issues.apache.org/jira/browse/DTACLOUD-189
> Project: DeltaCloud
> Issue Type: Bug
> Components: Client (Ruby), Server
> Environment: Deltacloud API - 0.5.0
> commit - 452ca54f2f9124291dc8af290d87f2323102a9a5
> OS - Fedora 15, 16, RHEL 6.1
> Setup - EC2
> Reporter: Ramesh A
> Assignee: David Lutterkort
> Attachments: webui.png
>
>
> Disable the create image button(webui)/ method(api) for stopped ebs instance
> in ec2 setup. Though this is not supported from Amazon EC2, Deltacloud API
> seems to show this option in both Web UI and curl. Refer webui.png and curl
> output for more details
> Curl o/p:
> ======
> [rananda@rananda deltacloud]$ curl -X GET --user "user:password" -H
> "Accept:application/xml" "http://localhost:3003/api/instances/i-8d64a3ea"
> <?xml version='1.0' encoding='utf-8' ?>
> <instance href='http://localhost:3003/api/instances/i-8d64a3ea'
> id='i-8d64a3ea'>
> <name>ami-30f30659</name>
> <owner_id>owner-id</owner_id>
> <image href='http://localhost:3003/api/images/ami-30f30659'
> id='ami-30f30659'></image>
> <realm href='http://localhost:3003/api/realms/us-east-1a'
> id='us-east-1a'></realm>
> <state>STOPPED</state>
> <hardware_profile
> href='http://localhost:3003/api/hardware_profiles/m1.small' id='m1.small'>
> </hardware_profile>
> <actions>
> <link href='http://localhost:3003/api/instances/i-8d64a3ea/start'
> method='post' rel='start' />
> <link
> href='http://localhost:3003/api/instances/i-8d64a3ea/run;id=i-8d64a3ea'
> method='post' rel='run' />
> <link href='http://localhost:3003/api/images;instance_id=i-8d64a3ea'
> method='post' rel='create_image' />
> </actions>
> <launch_time>2012-04-05T13:38:07.000Z</launch_time>
> <public_addresses><address type='unavailable'></address></public_addresses>
> <private_addresses><address
> type='unavailable'></address></private_addresses>
> <firewalls><firewall href='http://localhost:3003/api/firewalls/default'
> id='default'></firewall></firewalls>
> <storage_volumes></storage_volumes>
> <authentication>
> <login>
> <keyname></keyname>
> </login>
> </authentication>
> </instance>
> [rananda@rananda deltacloud]$
--
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