DeltaCloud
  1. DeltaCloud
  2. DTACLOUD-189

Disable the create image button(webui)/ method(api) for stopped ebs instance in ec2 setup

    Details

    • Type: Bug Bug
    • Status: Open
    • Priority: Major Major
    • Resolution: Unresolved
    • Component/s: Client (Ruby), Server
    • Labels:
      None
    • Environment:
      Deltacloud API - 0.5.0
      commit - 452ca54f2f9124291dc8af290d87f2323102a9a5
      OS - Fedora 15, 16, RHEL 6.1
      Setup - EC2

      Description

      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]$

      1. webui.png
        40 kB
        Ramesh A

        Activity

        There are no comments yet on this issue.

          People

          • Assignee:
            David Lutterkort
            Reporter:
            Ramesh A
          • Votes:
            0 Vote for this issue
            Watchers:
            0 Start watching this issue

            Dates

            • Created:
              Updated:

              Development