← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1172167] Re: sql down error in logs

 

Sorry for the noise it has a with clause it should close the connection

** Changed in: keystone
       Status: New => Invalid

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

Title:
  sql down error in logs

Status in OpenStack Identity (Keystone):
  Invalid

Bug description:
  We are experiencing some errors in authentication and looking into the
  logs we discover mysql server down messages from time to time in the
  keystone log.

  Having a look into the code, we observed that all sql operations proceed in this way:
  1) Open a session with sqlalchemy
  2) Does the operation (select, add, ... )

  It leaves to the garbage collector the procedure of freeing the
  resources. In my opinion if you don't use the resources anymore you
  should free them.

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