[Bug 2011998] Re: [SRU] Flavor: Not Available on Instance View
Heitor Alves de Siqueira
2011998 at bugs.launchpad.net
Thu May 15 09:51:04 UTC 2025
Thanks for the patches, Rodrigo! Your debdiff has some cruft in it, but
the actual patches look good. Given Focal is almost EOL, it'd be great
if we could get this tested as soon as it hits proposed.
Sponsored for Focal.
** Changed in: horizon (Ubuntu Focal)
Status: New => In Progress
--
You received this bug notification because you are a member of Ubuntu
OpenStack, which is subscribed to horizon in Ubuntu.
https://bugs.launchpad.net/bugs/2011998
Title:
[SRU] Flavor: Not Available on Instance View
Status in Ubuntu Cloud Archive:
Fix Released
Status in Ubuntu Cloud Archive ussuri series:
New
Status in OpenStack Dashboard (Horizon):
Fix Released
Status in horizon package in Ubuntu:
Fix Released
Status in horizon source package in Focal:
In Progress
Status in horizon source package in Jammy:
Fix Released
Bug description:
************* SRU TEMPLATE AT THE BOTTOM ************
OpenStack/Horizon: Yoga
After creating an instance
# openstack server show test2 | egrep 'flavor| id '
| flavor | gen.medium (gen.medium)
| id | 95ce0962-64b2-4e38-9af7-af2932c9f192
# openstack flavor show gen.medium | grep flavor-access
| os-flavor-access:is_public | True
In Horizon:
This flavor is shown on (Instances) view for the project as both Admin/User correctly (/project/instances/):
Instance Name Image Name IP Address Flavor Key Pair Status Availability Zone
test2 Ubuntu 22.04 (Jammy) 192.168.0.237 gen.medium key1 Active nova None Running 22 minutes
However when going to the Instance detail view (/project/instances/95ce0962-64b2-4e38-9af7-af2932c9f192/)
The Specs category shows:
Specs
Flavor Not available
Let me know if any additional info can be provided to assist with troubleshooting.
Patches from https://bugs.launchpad.net/horizon/+bug/1940834 appear to already be present.
This appears to be mainly a visual/cosmetic issue in Instance detail view.
===============
SRU DESCRIPTION
===============
[Impact]
The instance detail page will not display flavor information about a
specific instance. This issue affects the user experience when trying
to see the flavor information of an instance through the dashboard.
The flavor name can still be seen in the instance list though.
[Test case]
1. Deploy openstack with dashboard
2. login and create an instance
3. check that the instance is displayed in the list and the correct
flavor is displayed
4. click the instance to open the instance detail page, and check that
the flavor field says "not available"
5. install the fixed package
6. reload the dashboard and navigate to the instance detail page
again, the flavor field should show the correct flavor now
[Where problems could occur]
The code only modifies the instance detail page, so if there is any
problem with the modification, the instance page detail page will fail
to load. The package will have to be reverted to restore the previous
functionality.
[Other Info]
None
To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/2011998/+subscriptions
More information about the Ubuntu-openstack-bugs
mailing list