← Back to team overview

yahoo-eng-team team mailing list archive

[Bug 1815692] [NEW] minimum nova-compute service version is not cached in nova-api when running under wsgi

 

Public bug reported:

Running nova-api with eventlet would cache the minimum nova-compute
service version for faster lookup in the API:

https://github.com/openstack/nova/blob/0bed18ffbb46c4f2d0ec87e64a39188c165398eb/nova/cmd/api.py#L47

But that doesn't happen when running under wsgi:

https://github.com/openstack/nova/blob/0bed18ffbb46c4f2d0ec87e64a39188c165398eb/nova/api/openstack/wsgi_app.py#L44

** Affects: nova
     Importance: Low
         Status: Triaged

** Affects: nova/pike
     Importance: Low
         Status: Confirmed

** Affects: nova/queens
     Importance: Low
         Status: New

** Affects: nova/rocky
     Importance: Low
         Status: Confirmed


** Tags: api performance

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

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

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

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

** Changed in: nova/rocky
       Status: New => Confirmed

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

** Changed in: nova/rocky
   Importance: Undecided => Low

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

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

Title:
  minimum nova-compute service version is not cached in nova-api when
  running under wsgi

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

Bug description:
  Running nova-api with eventlet would cache the minimum nova-compute
  service version for faster lookup in the API:

  https://github.com/openstack/nova/blob/0bed18ffbb46c4f2d0ec87e64a39188c165398eb/nova/cmd/api.py#L47

  But that doesn't happen when running under wsgi:

  https://github.com/openstack/nova/blob/0bed18ffbb46c4f2d0ec87e64a39188c165398eb/nova/api/openstack/wsgi_app.py#L44

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


Follow ups