Public bug reported:

Getting the list of AVZs can take several seconds (~30 secs. in our case)
This is noticeable in Horizon when creating a new instance because the user 
can't select an AVZ until this completes.

workflow:
- get all services from all cells (~10000 for us)
- fetch all aggregates which are tagged as an AVZ
- construct a dict of {'service['host']: avz.value}
- return a dict of {'avz_value': list of hosts}
- separate available and not available zones.

Reproducible in Queens, Rocky

** Affects: nova
     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/1801897

Title:
  List AVZs can take several seconds

Status in OpenStack Compute (nova):
  New

Bug description:
  Getting the list of AVZs can take several seconds (~30 secs. in our case)
  This is noticeable in Horizon when creating a new instance because the user 
can't select an AVZ until this completes.

  workflow:
  - get all services from all cells (~10000 for us)
  - fetch all aggregates which are tagged as an AVZ
  - construct a dict of {'service['host']: avz.value}
  - return a dict of {'avz_value': list of hosts}
  - separate available and not available zones.

  Reproducible in Queens, Rocky

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

-- 
Mailing list: https://launchpad.net/~yahoo-eng-team
Post to     : [email protected]
Unsubscribe : https://launchpad.net/~yahoo-eng-team
More help   : https://help.launchpad.net/ListHelp

Reply via email to