Comment 7 for bug 824008

Revision history for this message
John Tran (jtran) wrote : RE: [Bug 824008] Re: euca-describe-instances shows all instances in all states (even terminated)

Should I delete the merge proposal?
________________________________________
From: <email address hidden> [<email address hidden>] On Behalf Of Vladimir Popovski [<email address hidden>]
Sent: Tuesday, August 16, 2011 3:10 PM
To: John Tran
Subject: [Bug 824008] Re: euca-describe-instances shows all instances in all states (even terminated)

John,

Seems like fix was delivered together with rev. 1445 and this issue
might be already fixed.

http://bazaar.launchpad.net/~hudson-openstack/nova/trunk/revision/1445

However, looking at "changes-since" functionality of Openstack API it
seems like we may have another issue there... without setting proper
context it may not retrieve recently deleted instances.

--
You received this bug notification because you are a bug assignee.
Matching subscriptions: bugs
https://bugs.launchpad.net/bugs/824008

Title:
  euca-describe-instances shows all instances in all states (even
  terminated)

Status in OpenStack Compute (Nova):
  In Progress

Bug description:
  Running 2011.3~d4~20110809.1411-0ubuntu0ppa1~natty1 and it doesn't
  look to filter out terminated instances properly. When I run euca-
  describe-instances it shows everything, they're all just
  "terminating":

  INSTANCE i-00000009 ami-00000004 terminating None (sandbox, enc2b11) 5 m1.small 2011-06-23T21:33:01Z plano-trunk0 aki-00000003 ami-00000000
  INSTANCE i-0000000a ami-00000004 terminating None (sandbox, enc2b14) 6 m1.small 2011-06-23T21:33:01Z plano-trunk0 aki-00000003 ami-00000000
  INSTANCE i-0000000b ami-00000004 terminating None (sandbox, enc2b14) 7 m1.small 2011-06-23T21:33:01Z plano-trunk0 aki-00000003 ami-00000000
  INSTANCE i-0000000c ami-00000004 shutdown None (sandbox, enc2b11) 8 m1.small 2011-06-23T21:33:01Z plano-trunk0 aki-00000003 ami-00000000
  INSTANCE i-0000000d ami-00000004 terminating None (sandbox, enc2b12) 9 m1.small 2011-06-23T21:33:02Z plano-trunk0 aki-00000003 ami-00000000

  However, if I try to euca-terminate the instances, I'm told its an
  invalid instance:

  i-0000000b
  InstanceNotFound: Instance %(instance_id)s could not be found.
  i-0000000c
  InstanceNotFound: Instance %(instance_id)s could not be found.
  i-0000000d
  InstanceNotFound: Instance %(instance_id)s could not be found.

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