[j-nsp] understand "request system software rollback" in Junos

Olivier Benghozi olivier.benghozi at wifirst.fr
Sat Oct 17 19:27:00 EDT 2015


Maybe it can be used before reboot - during which the real install process takes place (but I guess that request delete jinstall does also that).
What is clear is that the doc is crappy as usual.

> Le 16 oct. 2015 à 13:53, Martin T <m4rtntns at gmail.com> a écrit :
> 
> Markus,
> 
> I have jbundle packages present in /var/sw/pkg/ directory:
> 
> root> file list detail /var/sw/pkg/*jbundle*
> -r-xr-xr-x  1 root  wheel  640238884 Oct 1  08:20
> /var/sw/pkg/jbundle-13.2R8.2.tgz*
> -rw-r--r--  1 root  wheel  735837145 Oct 1  16:12
> /var/sw/pkg/jbundle-13.3R6.5.tgz
> total files: 2
> 
> root>
> 
> Looks like those are installed during the system
> installation/upgrade(both in case of installation media or jinstall
> package).
> 
> 
> 
> Oliver,
> 
> if I check the release notes for versions 12.3, 13.2, 13.3 or 14.1
> then they all say that one can not issue the "request system software
> rollback" command to return to previously installed software.
> According to Junos command reference, the behavior of "request system
> software rollback" command changed in version 12.1. Since Junos 12.1
> the "request system software rollback" restores the system to known
> good state. What does this known good state mean?
> 
> In addition, I have one older router which had Junos 7.4R1.7
> installed. I executed "request system snapshot" and then upgraded to
> Junos 8.5R4.3 using a jinstall package. Once the router booted up with
> the Junos 8.5R4.3 I executed "request system software rollback"
> command, but this still does not seem to do anything:
> 
> root> show version brief
> Model: m20
> JUNOS Base OS boot [8.5R4.3]
> JUNOS Base OS Software Suite [8.5R4.3]
> JUNOS Kernel Software Suite [8.5R4.3]
> JUNOS Crypto Software Suite [8.5R4.3]
> JUNOS Packet Forwarding Engine Support (M/T Common) [8.5R4.3]
> JUNOS Packet Forwarding Engine Support (M20/M40) [8.5R4.3]
> JUNOS Online Documentation [8.5R4.3]
> JUNOS Routing Software Suite [8.5R4.3]
> 
> root> file list detail /var/sw/pkg/
> 
> /var/sw/pkg/:
> total 750828
> -r-xr-xr-x  1 root  wheel   68303371 Oct 16 14:11 jbundle-7.4R1.7.tgz*
> -rw-r--r--  1 root  wheel  155872954 Oct 16 14:38 jbundle-8.5R4.3.tgz
> -rwxr-xr-x  1 root  wheel  160039672 Oct 16 14:28
> jinstall-8.5R4.3-domestic-signed.tgz*
> -rw-r--r--  1 root  wheel        122 Oct 16 14:38 rollback
> 
> root> request system software rollback
> 
> root>
> 
> 
> Any comments?



More information about the juniper-nsp mailing list