← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1480226] [NEW] SAWarning: The IN-predicate on tags.tag was invoked with an empty sequence

 

Public bug reported:

When the 'to_delete' list of instance tags in db method
instance_tag_set() is empty, warnings are printed in the nova logs:

SAWarning: The IN-predicate on "tags.tag" was invoked with an empty
sequence. This results in a contradiction, which nonetheless can be
expensive to evaluate. Consider alternative strategies for improved
performance.

The fix is to not query the DB in that case.

** Affects: nova
     Importance: Undecided
     Assignee: Sergey Nikitin (snikitin)
         Status: New

** Changed in: nova
     Assignee: (unassigned) => Sergey Nikitin (snikitin)

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

Title:
  SAWarning: The IN-predicate on tags.tag was invoked with an empty
  sequence

Status in OpenStack Compute (nova):
  New

Bug description:
  When the 'to_delete' list of instance tags in db method
  instance_tag_set() is empty, warnings are printed in the nova logs:

  SAWarning: The IN-predicate on "tags.tag" was invoked with an empty
  sequence. This results in a contradiction, which nonetheless can be
  expensive to evaluate. Consider alternative strategies for improved
  performance.

  The fix is to not query the DB in that case.

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


Follow ups