← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1322025] Re: [EC2] Terminateinstance returns incorrect current state name

 

** Changed in: nova
       Status: Fix Committed => Fix Released

** Changed in: nova
    Milestone: None => juno-3

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to OpenStack Compute (nova).
https://bugs.launchpad.net/bugs/1322025

Title:
  [EC2] Terminateinstance returns incorrect current state name

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  TerminateInstance returns the currentstate name and previousstate name are same.
  In the below sample response elements show the currnentstate name and previoustate name as "running". 
  Ideally the currentstate name should be "terminated".
  ==
  <TerminateInstancesResponse xmlns="http://ec2.amazonaws.com/doc/2013-10-15/";>
    <requestId>req-c15f5c7d-2551-4a08-b8b8-255462a09592</requestId>
    <instancesSet>
      <item>
        <instanceId>i-00000001</instanceId>
        <currentState>
          <code>16</code>
          <name>running</name>
        </currentState>
        <previousState>
          <code>16</code>
          <name>running</name>
        </previousState>
      </item>
    </instancesSet>
  </TerminateInstancesResponse>
  ==

To manage notifications about this bug go to:
https://bugs.launchpad.net/nova/+bug/1322025/+subscriptions


References