← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1244092] Re: db connection retrying doesn't work against db2

 

** Also affects: nova/havana
   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/1244092

Title:
  db connection retrying doesn't work against db2

Status in Cinder:
  Confirmed
Status in Cinder havana series:
  Fix Committed
Status in Orchestration API (Heat):
  Fix Released
Status in OpenStack Compute (Nova):
  Fix Released
Status in OpenStack Compute (nova) havana series:
  New
Status in Oslo - a Library of Common OpenStack Code:
  Fix Released

Bug description:
  When I start Openstack following below steps, Openstack services can't be started without db2 connection:
  1, start openstack services;
  2, start db2 service.

  I checked codes in session.py under
  nova/openstack/common/db/sqlalchemy, the root cause is db2 connection
  error code "-30081" isn't in conn_err_codes in _is_db_connection_error
  function, connection retrying codes are skipped against db2, in order
  to enable connection retrying function against db2, we need add db2
  support in _is_db_connection_error function

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