← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1181865] Re: The recent soft_deleted filter that was added to db method instance_get_all_by_filters() has an error

 

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

** Changed in: nova
    Milestone: None => havana-2

-- 
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/1181865

Title:
  The recent soft_deleted filter that was added to db method
  instance_get_all_by_filters() has an error

Status in OpenStack Compute (Nova):
  Fix Released

Bug description:
  While working on added unit tests coverage for the changes introduced
  in commit 0f56d8ddb02f54ae389380dcd0790e55f2dcb479, I discovered a
  small error where the default value of the soft_deleted filter, when
  not given, would be False when deleted is set to True. The correct
  behavior in this case, should be for both to be True.

  This to retain the original behavior that when setting the deleted
  filter, it should include or exclude both soft- and hard-deleted
  instances.

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