Description

This article discusses the issue of missing license files after device upgrade or RE switchover.

Symptoms

On Junos Evolved platforms, License key present in master not synced to backup routing engine post switchover affecting services. 
When checking the licenses file in the folder, the license files are missing in the backup RE.

User@EVO-re0> file list re0:/config/license
re0:
--------------------------------------------------------------------------
/config/license:
DemolabJUNOS821007999.lic

User@EVO-re0> file list re1:/config/license/
re1:
--------------------------------------------------------------------------
/config/license/:
DemolabJUNOS821007999.lic

User@EVO-re0> file list re0:/var/db/config/license
re0:
--------------------------------------------------------------------------
/var/db/config/license:
DemolabJUNOS821007999.lic

User@EVO-re0> file list re1:/var/db/config/license
re1:
--------------------------------------------------------------------------
/var/db/config/license:                     >>>>>>>>>>>>>>>License files missing on RE1

Solution

The issue is observed post switchover and the key has to be copied in backup (/config/license) routing engine to restore services. This issue is due to design of license infra sync. Since license sync not happen in backup, after trigger, license keys were missed in backup routing engine affecting services.


Workaround:
License files can be copied from master RE to back RE to folder /var/db/config/license and/or /config/license/.


Resolved-in:
evo:21.4R3-S4-EVO evo:22.3R3-EVO evo:22.3X50-EVO evo:22.3X80-D34-EVO evo:22.3X80-D35-EVO evo:22.4R2-EVO evo:23.1R2-EVO evo:23.2R1-EVO evo:23.3R1-EVO junos:23.1R2 junos:23.2R1 junos:23.3R1


Behaviours after the fixed version:
After upgrading to the fixed Junos EVO releases, the license files are only stored in the folder /config/license in both REs.
 

User@EVO-re0> file list re0:/config/license/
/config/license/:
DemolabJUNOS821007999.lic


User@EVO-re0> file list re1:/config/license/
/config/license/:
DemolabJUNOS821007999.lic
 


The issue is track through PR1727761
https://prsearch.juniper.net/problemreport/PR1727761

Modification History

2024-03-06 : Article Created