Project

General

Profile

Bug #15355

Interface selection screen sometimes unusable when provisioning VMWare hosts

Added by Josh Baird over 4 years ago. Updated over 2 years ago.

Status:
Closed
Priority:
Normal
Assignee:
Category:
Web Interface
Target version:
Difficulty:
Triaged:
Bugzilla link:
Fixed in Releases:
Found in Releases:

Description

This tends to happen more frequently when provisioning to our larger VMWare clusters.

After selecting the VMWare CR to deploy to on the 'Host' tab of 'New Hosts,' if you don't wait 1+ minute sometimes, when the user selects the 'Interfaces' tab, it becomes 'greyed' out which renders the screen useless since it puts the buttons in the background and won't allow the user to click anything. The only option at this point is to reload the entire page forcing the user to start over.

I have attached an image of when the screen becomes greyed out. I do not know if this is specific to VMWare or not since that is the only CR that we use.

foreman_network_vmware.png View foreman_network_vmware.png 40.9 KB Josh Baird, 06/08/2016 03:15 PM
Foreman network vmware

Related issues

Related to Foreman - Bug #15387: Interface modal backdrop not hidden when Compute Resource changesDuplicate2016-06-13

Associated revisions

Revision a45a87fe (diff)
Added by Timo Goebel over 4 years ago

fixes #15355 - close interface modal at cr change

When creating a new host and selecting the compute resource, an XHR
request is initiated. When a user opens the interface modal before the
XHR request finishes, the open modal is destroyed at the time the
request finishes.
This does not close the modal correctly and the backdrop is not hidden.
The user is now locked in and can not click anything.
This commit closes the modal properly when the XHR finishes.

Revision 1c3ad0b1 (diff)
Added by Timo Goebel over 4 years ago

fixes #15355 - close interface modal at cr change

When creating a new host and selecting the compute resource, an XHR
request is initiated. When a user opens the interface modal before the
XHR request finishes, the open modal is destroyed at the time the
request finishes.
This does not close the modal correctly and the backdrop is not hidden.
The user is now locked in and can not click anything.
This commit closes the modal properly when the XHR finishes.

(cherry picked from commit a45a87fe36ceab3c643955867356dc0f97dbe193)

History

#1 Updated by Marek Hulán over 4 years ago

  • Category changed from Compute resources - VMware to Web Interface

I am able to reproduce with slow compute resource. To reproduce go to

1. go to new host form
2. select CR, it triggers a request to rerender some form parts, you should see the spinner
3. before the spinner disappears, go to interfaces tab and click edit button on primary interface so the modal window appears
4. wait until the spinner disappers

Result:

greyed screen

Expected result:

fields are loaded correctly according to selected CR

#2 Updated by Marek Hulán over 4 years ago

  • Related to Bug #15387: Interface modal backdrop not hidden when Compute Resource changes added

#3 Updated by The Foreman Bot over 4 years ago

  • Status changed from New to Ready For Testing
  • Assignee set to Timo Goebel
  • Pull request https://github.com/theforeman/foreman/pull/3588 added

#4 Updated by Anonymous over 4 years ago

  • Status changed from Ready For Testing to Closed
  • % Done changed from 0 to 100

#5 Updated by Dominic Cleal over 4 years ago

  • Legacy Backlogs Release (now unused) set to 161

Also available in: Atom PDF