yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #78153
[Bug 1801897] Re: List AVZs can take several seconds
Note that the scatter/gather routine when fetching services from the
HostAPI was already backported to pike:
https://review.opendev.org/#/q/I90b488102eb265d971cade29892279a22d3b5273
** Also affects: nova/queens
Importance: Undecided
Status: New
** Also affects: nova/rocky
Importance: Undecided
Status: New
** Also affects: nova/stein
Importance: Undecided
Status: New
** Changed in: nova/stein
Importance: Undecided => Medium
** Changed in: nova/stein
Status: New => Confirmed
** Changed in: nova
Importance: High => Medium
** Changed in: nova/rocky
Status: New => Confirmed
** Changed in: nova/rocky
Importance: Undecided => Medium
** Changed in: nova/queens
Importance: Undecided => Medium
** Changed in: nova/queens
Status: New => Confirmed
--
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):
In Progress
Status in OpenStack Compute (nova) queens series:
Confirmed
Status in OpenStack Compute (nova) rocky series:
Confirmed
Status in OpenStack Compute (nova) stein series:
Confirmed
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
References