← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1757472] Re: Required to define database/connection when running services for nova_api cell

 

The problem is this code is not cell-aware:

https://github.com/openstack/nova/blob/2ecb99939ec15057904d1b86c4478def29e193db/nova/api/openstack/wsgi_app.py#L48

It should lookup the cell0 mapping and then use that context for finding
the service record entry and creating it in the cell0 DB.

** Changed in: nova
       Status: New => Triaged

** Changed in: nova
   Importance: Undecided => Medium

** Also affects: nova/pike
   Importance: Undecided
       Status: New

** Also affects: nova/queens
   Importance: Undecided
       Status: New

** Changed in: nova/pike
       Status: New => Triaged

** Changed in: nova/queens
   Importance: Undecided => Medium

** Changed in: nova/queens
       Status: New => Triaged

** Changed in: nova/pike
   Importance: Undecided => Medium

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

Title:
  Required to define database/connection when running  services for
  nova_api cell

Status in OpenStack Compute (nova):
  Triaged
Status in OpenStack Compute (nova) pike series:
  Triaged
Status in OpenStack Compute (nova) queens series:
  Triaged

Bug description:
  Services in nova_api cell fail to run if database/connection is not defined.
  These services should only use api_database/connection. 

  In devstack database/connection is defined with the cell0 DB endpoint.
  This shouldn't be required because the cell0 is set in nova_api DB.

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


References