Bug fixes for setting iocage RELEASE property

Description

I followed https://www.ixsystems.com/blog/next-batch-of-updated-plugins/
for updating my jails. Which worked perfetly, except for displaying the updated info in GUI.

GUI shows '11.2-RELEASE-p4' (and oddly '11-2-RELEASE-p9' for just one of my jails)
freebsd-version inside all jails now show '11.2-RELEASE-p10'

Problem/Justification

None

Impact

None

SmartDraw Connector

Katalon Manual Tests (BETA)

Activity

Bug Clerk 
June 12, 2019 at 7:30 PM

Todd Martin 
June 10, 2019 at 7:13 PM

i did have other attempts at the update via the GUI that failed. This created extra snapshots that I had to remove.

once I followed the instructions linked, there were no errors in the process.

Waqar 
June 10, 2019 at 2:38 PM

Thank you for getting back. Can you please tell me one more thing, when you updated the jails, would remember any of them leaving a traceback or showing any kind of errors on update ? The update still succeeded but some erroneous messages maybe ? I am from the debug unable to extract this information. I have verified other cases where this could fail for cloned jails and this is the only one i have been able to come up with.

Todd Martin 
June 6, 2019 at 7:24 PM

Correct, when I created the debug, all my jails show p10 as the patch number from inside the jails.

freenas# grep -rin "userland.*version" /mnt/TANK/iocage/releases/11.2-RELEASE/root/bin/freebsd-version
32:USERLAND_VERSION="11.2-RELEASE-p10"
81:# Print the hardcoded userland version.
83:userland_version() {
84: echo $USERLAND_VERSION
135: # print userland version
137: userland_version

freenas# grep -rin "userland.*version" /mnt/TANK/iocage/jails/mysql/root/bin/freebsd-version
32:USERLAND_VERSION="11.2-RELEASE-p10"
81:# Print the hardcoded userland version.
83:userland_version() {
84: echo $USERLAND_VERSION
135: # print userland version
137: userland_version

Waqar 
June 6, 2019 at 6:47 PM

Hello , i have found a bug which is applicable for basejails only ( all plugins are basejails ). However the issue should not happen for cloned jails and you do have some cloned jails which say they are on p4. Can you please confirm when the debug was created, the cloned jails inside showed p10 as patch number ? If no, then please share an updated debug too.
I have not been able to reproduce it so far locally. Also can you please share the output of the following command ?

Also please share the output of

Please update the path in both commands to correctly reflect the iocage volume if the current is not correct.

Looking forward to hearing from you. Thank you

Complete

Details

Assignee

Reporter

Components

Fix versions

Affects versions

Priority

More fields

Katalon Platform

Created May 16, 2019 at 10:41 PM
Updated October 30, 2019 at 6:09 PM
Resolved October 30, 2019 at 6:09 PM