first load of launch instance is missing tabs if LAUNCH_INSTANCE_DEFAULTS.enable_scheduler_hints is False

Bug #1794534 reported by Albert Beauregard
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Dashboard (Horizon)
Expired
Undecided
Unassigned

Bug Description

If LAUNCH_INSTANCE_DEFAULTS.enable_scheduler_hints = False in local_settings.py, the first time launch instance is used, some tabs are missing.

This seems to be intermittent with Chrome browser, but reproducible every time with MS Edge browser.

Closing the launch instance dialog, and opening it again almost always results in proper display.

Full refresh of the instances page, and clicking the launch instance dialog again reintroduces the issue.

It appears that this issue may have been introduced by the code for "Choose a server group when booting a VM with NF Launch instance" https://github.com/openstack/horizon/commit/cf91124d0c97ae80c565ba0b03a41aa2579b998c#diff-925f277526c87432c7733408f990be2f

The server group code appears to share some of the scheduler hints code and variables, but there is no LAUNCH_INSTANCE_DEFAULTS configuration option to disable the server group tab.

I've been able to reproduce this with a fresh install of RDO packages for Queens on CentOS, with only required environment configuration changes.

Not seeing any error messages logged in horizon logs, or javascript errors in the browser.

Revision history for this message
Albert Beauregard (albeauregard) wrote :
Revision history for this message
Albert Beauregard (albeauregard) wrote :
Revision history for this message
Albert Beauregard (albeauregard) wrote :

I just tested the RDO packaged version for Rocky and have not been able to reproduce the issue in this version.

It looks like it may have already be fixed, but I don't see a specific merge request where this is called out, or an backports available.

Revision history for this message
Albert Beauregard (albeauregard) wrote :
Revision history for this message
Ivan Kolodyazhny (e0ne) wrote :

Albert is this issue reproducible with upstream horizon?

Changed in horizon:
status: New → Incomplete
assignee: nobody → Albert Beauregard (albeauregard)
Revision history for this message
Albert Beauregard (albeauregard) wrote :

It was reproducible in upstream pike and queens, but it appears to be fixed in rocky.
It looks like the fix was the commit I linked above.
I suspect this is such an edge usage case that a backport won't be provided, and the work-around for older versions will be "don't disable scheduler hints"
If that's true, this bug can be closed.

Akihiro Motoki (amotoki)
Changed in horizon:
assignee: Albert Beauregard (albeauregard) → nobody
Revision history for this message
Launchpad Janitor (janitor) wrote :

[Expired for OpenStack Dashboard (Horizon) because there has been no activity for 60 days.]

Changed in horizon:
status: Incomplete → Expired
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.