[SRU] config OPENSTACK_INSTANCE_RETRIEVE_IP_ADDRESSES does not apply to instance detail page
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Dashboard (Horizon) |
Fix Committed
|
Undecided
|
Unassigned | ||
Ubuntu Cloud Archive |
New
|
Undecided
|
Unassigned | ||
Antelope |
New
|
Undecided
|
Unassigned | ||
Bobcat |
New
|
Undecided
|
Unassigned | ||
Ussuri |
New
|
Undecided
|
Unassigned | ||
Victoria |
New
|
Undecided
|
Unassigned | ||
Wallaby |
New
|
Undecided
|
Unassigned | ||
Xena |
New
|
Undecided
|
Unassigned | ||
Yoga |
New
|
Undecided
|
Unassigned | ||
Zed |
New
|
Undecided
|
Unassigned | ||
horizon (Ubuntu) |
New
|
Undecided
|
Unassigned | ||
Focal |
New
|
Undecided
|
Unassigned | ||
Jammy |
New
|
Undecided
|
Unassigned | ||
Mantic |
New
|
Undecided
|
Unassigned |
Bug Description
Setting the config option OPENSTACK_
The usage of the config option in the code could be adjusted to also be used when loading the instance details page, thus speeding up the page loading there as well.
===============
SRU Description
===============
[Impact]
Environments that have too many neutron ports struggle to load the instance list and instance detail pages. The existing config OPENSTACK_
[Test case]
1. Setting up the env
1a. Deploy openstack env with horizon/
1b. Declare and set OPENSTACK_
2. Prepare to reproduce the bug
2a. Create a single VM successfully
2b. As we cannot easily create enough ports in the lab to replicate the slowness, we will rely on the message being present in the logs. Therefore, at this step we enable debug in horizon to see the messages. Set DEBUG to True in /etc/openstack-
3. Reproducing the bug
3a. Load the instance list page and verify that the following messages are not present in the logs:
GET /v2.0/floatingi
GET /v2.0/ports?
GET /v2.0/networks?
GET /v2.0/subnets
3b. Click on the instance to load the detail page and verify that the following messages ARE present in the logs:
GET /v2.0/floatingi
GET /v2.0/ports?
GET /v2.0/networks?
GET /v2.0/subnets
5. Install package that contains the fixed code
6. Confirm fix
6a. Repeat step 3a.
6b. Click on the instance to load the detail page and verify that the following messages are NOT present in the logs:
GET /v2.0/floatingi
GET /v2.0/ports?
GET /v2.0/networks?
GET /v2.0/subnets
[Regression Potential]
The code has tested in upstream CI (without the addition of bug-specific functional tests) from master(Caracal) to stable/zed without any issue captured. Side effects documented at [1]. The code itself is a simple 2-liner with minimal to none chance of regression due to narrow scope of code change impact.
[Other Info]
None.
description: | updated |
summary: |
- config OPENSTACK_INSTANCE_RETRIEVE_IP_ADDRESSES does not apply to + [SRU] config OPENSTACK_INSTANCE_RETRIEVE_IP_ADDRESSES does not apply to instance detail page |
tags: | added: sts sts-sru-needed |
Patches already merged
https:/ /review. opendev. org/#/q/ I3e71a208a1c721 2e168d63a259f2a dddf27dbabf