← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1214341] Re: Not all db.sqal.session methods are wrapped by wrap_db_error

 

This bug also affects Keystone and Ironic, because these project checks
for the sqlalchemy.exc.IntegrityError exception (instead of
oslo.db.exception.DBDuplicateEntry), when they checks unit constrains in
migration testing.

** Also affects: ironic
   Importance: Undecided
       Status: New

-- 
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to Keystone.
https://bugs.launchpad.net/bugs/1214341

Title:
  Not all db.sqal.session methods are wrapped by wrap_db_error

Status in OpenStack Bare Metal Provisioning Service (Ironic):
  New
Status in OpenStack Identity (Keystone):
  In Progress
Status in Oslo - a Library of Common OpenStack Code:
  Fix Committed

Bug description:
  first(), all(), begin(), commit() and other public methods could
  produce amount of exceptions, that should be wrapped in exception in
  any case.

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