Uploaded image for project: 'DeltaCloud'
  1. DeltaCloud
  2. DTACLOUD-61

Unable to destroy EBS based instance in EC2

    XMLWordPrintableJSON

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major
    • Resolution: Fixed
    • Component/s: Server
    • Labels:
    • Environment:
      deltacloud-core-0.3.0

      Description

      State machine currently defined for EC2 drivers allow client to 'stop' non-EBS instance which mean that this instance will be destroyed. But this only works for non-EBS instance. If you have EBS instance stop action will just 'stop' the instance and this instance will remain in 'STOPPED' state and need to be destroyed manually using Amazon web interface.

      So far I have this solutions:

      • Replace 'stop' with destroy, where this action will 'stop' non-EBS instance and 'destroy' EBS instance
      • Add 'destroy' action to state machine, where in non-EBS instance this action will return 202 (Accepted) which is AFAIK ok for client.
      • Make separate state machine for non-EBS and EBS instances

        Attachments

          Activity

            People

            • Assignee:
              lutter David Lutterkort
              Reporter:
              mfojtik Michal Fojtik
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: