Description
This KB explains the alarm related to lclksyncd application failed alarm.
labroot@jtac-mx204-r2001> show chassis alarms
1 alarms currently active
Alarm time Class Description
2024-09-17 17:03:15 IST Minor VMHost RE 0 host lclksyncd Application failed
Symptoms
The below alarm will be thrown if the lclksyncd application is failed.
labroot@jtac-mx204-r2001> show chassis alarms
1 alarms currently active
Alarm time Class Description
2024-09-17 17:03:15 IST Minor VMHost RE 0 host lclksyncd Application fail
Solution
Root Cause :
The alarm can be raised if lclksyncd rpm is not installed properly or when the rpm is present, but the necessary files are missing due to this "RE 0 host lclksyncd Application failed" alarm being raised.
To check whether the files are missing- you can collect the below commands from vmhost shell.
#start shell user root
#vhclient -s
#rpm -qa | grep lclk
Workaround:
To resolve this issue, please install the image from the secondary disk. This will clean the partitions on the primary disk and install a fresh image on both sets of the primary disk
The steps for the above workaround are:
Check the current disk in the “show vmhost version” command, if the current disk is "
primary
" then run the “
request vmhost reboot disk2
” command.
labroot@jtac-mx204-r2001> show vmhost version
Current root details, Device sda, Label: jrootp_P, Partition: sda3
Current boot disk:
Primary
Current root set: p
UEFI Version: CBEP_P_SUM1_00.15.01
Primary Disk, Upgrade Time: Tue Sep 17 16:56:13 IST 2024
Version: set p
VMHost Version: 7.2663
VMHost Root: vmhost-x86_64-22.2R3-S2-20230706_0415_builder
VMHost Core: vmhost-core-x86-64-22.2X2.1
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.2X2.1
Version: set b
VMHost Version: 7.2682
VMHost Root: vmhost-x86_64-22.2R3-S3-20231220_2041_builder
VMHost Core: vmhost-core-x86-64-22.2R3-S3.18
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.2R3-S3.18
Rebooting the device from the secondary Disk:
labroot@jtac-mx204-r2001> request vmhost reboot disk
^
'disk' is ambiguous.
Possible completions:
disk1 Boot off disk1(primary) device
disk2 Boot off disk2(backup) device
labroot@jtac-mx204-r2001> request vmhost reboot disk2
After the system comes up, please copy the image into the setup and upgrade to the required image as the image will install on primary in both sets. If required please verify the “
show vmhost version
“ command .(both sets should have the same image)- we will also see the alarm
VMHOST 0 boot from the alternate disk
- which is expected as we are booting from the backup disk.
labroot@jtac-mx204-r2001> show chassis alarms
1 alarms currently active
Alarm time Class Description
2024-09-18 10:49:58 IST Minor VMHost 0 Boot from alternate disk
labroot@jtac-mx204-r2001> show vmhost version
Current root details, Device sdb, Label: jrootp_S, Partition: sdb3
Current boot disk:
Secondary
Current root set: p
UEFI Version: CBEP_P_SUM1_00.15.01
Secondary Disk, Snapshot Time: <fresh install>
Version: set p
VMHost Version: 7.2663
VMHost Root: vmhost-x86_64-22.2R3-S2-20230706_0415_builder
VMHost Core: vmhost-core-x86-64-22.2X2.1
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.2X2.1
Version: set b
VMHost Version: 7.2663
VMHost Root: vmhost-x86_64-22.2R3-S2-20230706_0415_builder
VMHost Core: vmhost-core-x86-64-22.2X2.1
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.2X2.1
Once the system comes up, perform a fresh install of the image on the secondary and boot using the following command:
r
equest vmhost software add /var/tmp/junos-vmhost-install-mx-x86-64-22.2R3-S3.18.tgz reboot no-validate
The system will boot from the primary and the image will be freshly installed on the primary disk.
labroot@jtac-mx204-r2001> show chassis alarms
No alarms currently active
labroot@jtac-mx204-r2001> show vmhost version
Current root details, Device sda, Label: jrootp_P, Partition: sda3,
Current boot disk: Primary
Current root set: p
UEFI Version: CBEP_P_SUM1_00.15.01
Primary Disk, Upgrade Time: fresh install
Version: set p
VMHost Version: 7.2682
VMHost Root: vmhost-x86_64-22.2R3-S3-20231220_2041_builder
VMHost Core: vmhost-core-x86-64-22.2R3-S3.18
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.2R3-S3.18
Version: set b
VMHost Version: 7.2682
VMHost Root: vmhost-x86_64-22.2R3-S3-20231220_2041_builder
VMHost Core: vmhost-core-x86-64-22.2R3-S3.18
kernel: 5.2.60-rt15-LTS19
Junos Disk: junos-install-mx-x86-64-22.2R3-S3.18
After these steps, the alarm on the setup should be cleared as the installation of the image from the secondary disk will erase and create new partitions on the primary, resulting in a fresh install of packages and the image.
The above steps will help to clear the alarm.
Modification History
2024-09-25 : Article Created
Minor VMHost RE 0 host lclksyncd Application failed