Bug #39508
Check for iocage host release being less than plugin release when fetching plugin
Status:
Done
Priority:
No priority
Assignee:
Brandon Schneider
Category:
Middleware
Target version:
Needs Merging:
No
Needs Automation:
No
Support Suite Ticket:
n/a
Hardware Configuration:
ChangeLog Required:
No
Description
This is a follow up issue to https://redmine.ixsystems.com/issues/36598#note-22, created as per Brandon's request.
It is possible to create plugin jails with a release greater that the release of the FreeNAS host.To replicate in a 11.1 system, e.g. 11.2-BETA1, run the following command:
sudo iocage fetch --plugins ip4_addr="em0|192.168.0.212/24"
- Pick no. 15 for plexmedia-server
- check that the jail is running
- stop the jail
- attempt to start the jail
The jail will refuse to start, due to the following exception:
Host: 11.1 is not greater than jail: 11.2 This is unsupported.
This check happens too late in the process; the exception should happen upfront and prevent the jail from being created in the first place.
Related issues
History
#1
Updated by Dru Lavigne over 2 years ago
- Related to Bug #36598: Fix "Host: 11.1 is not greater than jail: 11.2" error in iocage added
#2
Updated by Dru Lavigne over 2 years ago
- Assignee changed from Release Council to Brandon Schneider
- Target version changed from Backlog to 11.2-BETA3
#3
Updated by Brandon Schneider over 2 years ago
- Status changed from Unscreened to Not Started
#5
Updated by Brandon Schneider over 2 years ago
- Status changed from Not Started to In Progress
#6
Updated by Brandon Schneider over 2 years ago
PR: https://github.com/freenas/iocage/pull/8
DESC: Check if host release is greater than target plugin release
ACCEPTANCE: Try to fetch a plugin that wants a newer release on an older host release (IE: Plugin wants 11.2-RELEASE, host is 11.1-RELEASE)
#7
Updated by Dru Lavigne over 2 years ago
- Status changed from In Progress to Ready for Testing
- Needs Doc changed from Yes to No
- Needs Merging changed from Yes to No
#8
Updated by Dru Lavigne over 2 years ago
- Status changed from Ready for Testing to Done
- Needs QA changed from Yes to No