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

** Changed in: nova
    Milestone: None => havana-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/1197242

Title:
  ec2-api: describe instances filter by tag should filter out the
  deleted tags

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  it works wrong when describing instances filter by a deleted tag.

  # euca-describe-instances 
  RESERVATION   r-o1oa5ya9      7dd8607e7d294efc845ccf68f8d282b7        default
  INSTANCE      i-00001898      ami-00000133    xxx-2   xxx-2   running         
0               m1.tiny 2013-06-28T03:24:53.000Z        nova                    
        monitoring-disabled     10.0.0.5        10.0.0.5                        
instance-store
  RESERVATION   r-0kvdz3qm      7dd8607e7d294efc845ccf68f8d282b7        default
  INSTANCE      i-00001897      ami-00000133    xxx-1   xxx-1   running         
0               m1.tiny 2013-06-28T03:24:50.000Z        nova                    
        monitoring-disabled     10.0.0.4        10.0.0.4                        
instance-store

  # euca-describe-tags 
  TAG   i-00001897      instance        xxxx    xxx-1
  TAG   i-00001898      instance        xxxx    xxx-2

  # euca-describe-instances --filter tag:xxxx=xxx-1
  RESERVATION   r-0kvdz3qm      7dd8607e7d294efc845ccf68f8d282b7        default
  INSTANCE      i-00001897      ami-00000133    xxx-1   xxx-1   running         
0               m1.tiny 2013-06-28T03:24:50.000Z        nova                    
        monitoring-disabled     10.0.0.4        10.0.0.4                        
instance-store

  # euca-delete-tags i-00001897 --tag xxxx
  # euca-describe-tags 
  TAG   i-00001898      instance        xxxx    xxx-2

  # euca-describe-instances --filter tag:xxxx=xxx-1
  RESERVATION   r-0kvdz3qm      7dd8607e7d294efc845ccf68f8d282b7        default
  INSTANCE      i-00001897      ami-00000133    xxx-1   xxx-1   running         
0               m1.tiny 2013-06-28T03:24:50.000Z        nova                    
        monitoring-disabled     10.0.0.4        10.0.0.4                        
instance-store

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to