Bug ID 942401: After 'mosreboot', MOS fails to update grub default boot location back to TMOS

Last Modified: Oct 13, 2023

Affected Product(s):
BIG-IP TMOS(all modules)

Known Affected Versions:
13.1.0, 13.1.0.1, 13.1.0.2, 13.1.0.3, 13.1.0.4, 13.1.0.5, 13.1.0.6, 13.1.0.7, 13.1.0.8, 13.1.1, 13.1.1.2, 13.1.1.3, 13.1.1.4, 13.1.1.5, 13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3, 13.1.3.4, 13.1.3.5, 13.1.3.6, 13.1.4, 13.1.4.1, 13.1.5, 13.1.5.1, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1, 14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3, 14.1.3.1, 14.1.4, 14.1.4.1, 14.1.4.2, 14.1.4.3, 14.1.4.4, 14.1.4.5, 14.1.4.6, 14.1.5, 14.1.5.1, 14.1.5.2, 14.1.5.3, 14.1.5.4, 14.1.5.6

Opened: Sep 03, 2020

Severity: 4-Minor

Symptoms

MOS fails to update the grub boot location and reports errors: [ 21.85823] setup[697]: Use of uninitialized value $l_id in concatenation (.) or string at /usr/share/perl5/tm_install/Process.pm line 2739. [ 21.87256] setup[697]: error: boot entry .4 does not exist [ 21.87629] setup[697]: info: Switching to TMOS .4 for default boot selection.

Impact

The 'mosreboot' results are not temporary, and rebooting from MOS when done causes the system to boot back into MOS again.

Conditions

When the 'mosreboot' command is given, the following three actions occur: 1. Updates the grub default boot location to point at MOS. 2. Reboots. 3. Within MOS, updates the grub default to point back at the previous (TMOS) boot location. Step 3 does not occur in the following scenario: -- The MOS version is from v15.0.0 or later. -- BIG-IP system is from v14.1.x or earlier.

Workaround

Use grub_default, or select a different boot location from the GRUB menu during boot. switch_root:/# grub_default -l HD1.3 active no default no title BIG-IP 13.1.1.5 Build 0.0.4 <HD1.3> HD1.4 active no default no title BIG-IP 14.1.2.6 Build 0.0.2 <HD1.4> switch_root:/# grub_default -b HD1.4 info: default boot location changed to HD1.4. [ 200.103744] EXT4-fs (dm-0): mounting ext2 file system using the ext4 subsystem [ 200.112743] EXT4-fs (dm-0): mounted filesystem without journal. Opts: (null) switch_root:/#

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips