Description

The user noticed that system scripts refresh using load CLI option is not working after upgrade to 22.4R3-S2. It was working fine on 22.4R3. The issue is seen for HTTP and HTTPS. 
Scripts refresh is working fine when using set CLI option. 

Symptoms

Below is the hierarchy with example configuration which when changed using load option triggers this issue
[edit system scripts]
user@device# show 
commit {
    max-datasize 1g;
    file script1.slax {
        source https://a.b.c.d/script1.slax;
        cert-file /var/tmp/apache-selfsigned.crt;
    }
}
op {
    
    file script2.slax {
        source http://a.b.c.d/script2.slax;
    }
}
synchronize;

 

External-Trigger

This issue might be seen if the following conditions are met:
*On all Junos and Junos OS Evolved Platforms
*'system scripts' config hierarchy changed using 'load' option

Solution

On all Junos and Junos OS Evolved platforms when the 'edit system scripts' hierarchy configuration is changed using loading a configuration from a file or the terminal using 'load' option, the scripts refresh will fail.

For more information for FIX and WORKAROUND, please refer PR: https://gnats.juniper.net/web/default/1821845#fixinfo_tab

Modification History

2024-08-02 : Article Created