Project

General

Profile

Feature #37742

Umbrella #36938: Middleware task progress

Have middleware return progress for updating an iocage jail

Added by Erin Clark about 1 year ago. Updated 5 months ago.

Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Estimated time:
Severity:
Medium
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:

Description

Updating jails takes a long time especially if the FreeBSD image has to be fetched. The middleware should return progress on jail update so that the user has an idea of the progress of a jail creation task


Related issues

Related to FreeNAS - Bug #51975: Add ability to upgrade installed Plugins from the new UIPassed Testing
Copied from FreeNAS - Feature #36943: Add progress for iocage jail creation and fetching to middlewareDone
Copied to FreeNAS - Feature #50167: Return progress for upgrading a jailDone

Associated revisions

Revision 31fbe56f (diff)
Added by Brandon Schneider 10 months ago

feat(jail/update_to_latest_patch): Add progress

Depends on freenas/iocage side of PR

- We now can supply callbacks for progress to check_jail_existence
- exec is no longer returning bytes
- Simplified jail updating call to utilize upstream's lib
- Jail updating is now given progress along with a job description to keep track of output.

Ticket: #37742

Revision 0e9a5152 (diff)
Added by Brandon Schneider 10 months ago

feat(jail/update_to_latest_patch): Add progress

Depends on freenas/iocage side of PR

- We now can supply callbacks for progress to check_jail_existence
- exec is no longer returning bytes
- Simplified jail updating call to utilize upstream's lib
- Jail updating is now given progress along with a job description to keep track of output.

Ticket: #37742

Revision 7fc945d0 (diff)
Added by Brandon Schneider 10 months ago

tkt-37742: feat(jail/update_to_latest_patch): Add progress (#1896)

  • feat(jail/update_to_latest_patch): Add progress

Depends on freenas/iocage side of PR

- We now can supply callbacks for progress to check_jail_existence
- exec is no longer returning bytes
- Simplified jail updating call to utilize upstream's lib
- Jail updating is now given progress along with a job description to keep track of output.

Ticket: #37742

  • Use a FILO queue

Review of @william-gr

History

#1 Updated by Erin Clark about 1 year ago

  • Copied from Feature #36943: Add progress for iocage jail creation and fetching to middleware added

#2 Updated by Erin Clark about 1 year ago

  • Blocks Bug #35647: Jails update does not show any status information if the jail does not need an update added

#3 Updated by Erin Clark about 1 year ago

  • Blocks deleted (Bug #35647: Jails update does not show any status information if the jail does not need an update)

#4 Updated by Brandon Schneider about 1 year ago

  • Status changed from Unscreened to Not Started

#5 Updated by Brandon Schneider 11 months ago

  • Status changed from Not Started to In Progress

#6 Updated by Brandon Schneider 11 months ago

  • Copied to Feature #50167: Return progress for upgrading a jail added

#7 Updated by Brandon Schneider 11 months ago

#8 Updated by Brandon Schneider 10 months ago

#9 Updated by Bug Clerk 10 months ago

  • Status changed from In Progress to Ready for Testing

#10 Updated by Dru Lavigne 10 months ago

  • Needs Doc changed from Yes to No
  • Needs Merging changed from Yes to No

#11 Updated by Dru Lavigne 7 months ago

  • Target version changed from 11.3 to 11.3-BETA1

#12 Updated by Dru Lavigne 7 months ago

  • Subject changed from Return progress for updating a jail to Have middleware return progress for updating an iocage jail

#14 Updated by William Grzybowski 6 months ago

  • Status changed from Ready for Testing to Passed Testing
  • Needs QA changed from Yes to No

This will be tested as part of #51975

#15 Updated by Dru Lavigne 6 months ago

  • Related to Bug #51975: Add ability to upgrade installed Plugins from the new UI added

#16 Updated by Dru Lavigne 6 months ago

  • Status changed from Passed Testing to Done

#17 Updated by Dru Lavigne 5 months ago

  • Target version changed from 11.3-BETA1 to 11.3-ALPHA1

Also available in: Atom PDF