← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1040694] Re: in-progress queries are intolerant of mysql restarts

 

** Also affects: oslo.db
   Importance: Undecided
       Status: New

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

Title:
  in-progress queries are intolerant of mysql restarts

Status in OpenStack Image Registry and Delivery Service (Glance):
  In Progress
Status in OpenStack Compute (Nova):
  Triaged
Status in Oslo Database library:
  New

Bug description:
  Glance is intolerant of mysql restarts with running queries and the currently ping_listener/wrap_db_error mechanism does not work for running queries.  This was logged in Bug #954971 and a solution (using wrap_db for queries)  merged.  The  fix was  removed in Bug #967887 as it did not work with later versions of sqlalchemy.  
  An alternative approach is to use the sqlalchemy  create_engine "module" parameter to override the engine behaviour and do the wrapping there.   (Mike Bayer of sqlalchemys recommended solution)   I will attach a patch which  does this

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