Project

General

Profile

Bug #43328

Have jail wizard wait until SUCCESS before leaving page

Added by Waqar Ahmed over 1 year ago. Updated over 1 year ago.

Status:
Done
Priority:
No priority
Assignee:
Erin Clark
Category:
GUI (new)
Target version:
Severity:
New
Reason for Closing:
Reason for Blocked:
Needs QA:
No
Needs Doc:
No
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No

Description

New UI should wait for the middlewared's jail creation job to complete

Risk
We risk breaking new UI portions where it is supposed to wait for Middlewared jobs to complete

Acceptance Criteria
When a jail is created with a release which hasn't been fetched before, it should stay on the wizard and not move away to listing jails page. Apart from this, Erin kindly update this section if there's anything else which should be tested for accepting this ticket.


Related issues

Related to FreeNAS - Bug #43119: Fix potential race condition when creating jailsDone
Related to FreeNAS - Bug #43833: Jail creation status popup stays stuck at 20%Closed

Associated revisions

Revision a78b2639 (diff)
Added by Erin Clark over 1 year ago

Jail wizard and add should wait until SUCCESS before leaving page Ticket: #43328

Revision 04e0ba61 (diff)
Added by Erin Clark over 1 year ago

Jail.create now returns percentages so handle job with entityJob Ticket: #43328

Revision a7ead041 (diff)
Added by Erin Clark over 1 year ago

Remove excess close() Ticket: #43328

History

#1 Updated by Erin Clark over 1 year ago

  • Status changed from Unscreened to In Progress
  • Target version changed from Backlog to 11.2-RC1

#3 Updated by Erin Clark over 1 year ago

On second thought I thought of a better way to do this

https://github.com/freenas/webui/pull/1207

#4 Updated by Dru Lavigne over 1 year ago

  • Target version changed from 11.2-RC1 to 11.2-BETA3

#5 Updated by Erin Clark over 1 year ago

  • Status changed from In Progress to Ready for Testing

#6 Updated by Dru Lavigne over 1 year ago

  • Subject changed from New UI should wait for jail creation job to complete to Have jail wizard wait until SUCCESS before leaving page
  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#7 Updated by Dru Lavigne over 1 year ago

  • Related to Bug #43119: Fix potential race condition when creating jails added

#8 Updated by Timothy Moore II over 1 year ago

27619

Testing with FreeNAS system updated to FreeNAS-11.2-MASTER-201808300858:

Log in and go to Jails page. Create a jail with a RELEASE that has never been fetched. Status popup appears, stays at 20% until creation process complete. Popup disappears and Jails table updates and shows the new jail.

#9 Updated by Dru Lavigne over 1 year ago

  • Status changed from Passed Testing to Done

#10 Updated by Timothy Moore II over 1 year ago

  • Related to Bug #43833: Jail creation status popup stays stuck at 20% added

Also available in: Atom PDF