[j-nsp] understand "request system software rollback" in Junos
Martin T
m4rtntns at gmail.com
Fri Oct 16 07:53:29 EDT 2015
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?
thanks,
Martin
On 10/2/15, Olivier Benghozi <olivier.benghozi at wifirst.fr> wrote:
> http://www.juniper.net/techpubs/en_US/junos13.3/information-products/topic-collections/release-notes/13.3/topic-83364.html#rn-downgrade
> <http://www.juniper.net/techpubs/en_US/junos13.3/information-products/topic-collections/release-notes/13.3/topic-83364.html#rn-downgrade>
>
> "To downgrade from Release 13.3 to another supported release, follow the
> procedure for upgrading, but replace the 13.3 jinstall package with one that
> corresponds to the appropriate release."
>
> and
>
> "Note: After you install a Junos OS Release 13.3 jinstall package, you
> cannot issue the request system software rollback command to return to the
> previously installed software. Instead you must issue the request system
> software add validate command and specify the jinstallpackage that
> corresponds to the previously installed software."
>
>
>> Le 1 oct. 2015 à 22:57, Markus <universe at truemetal.org> a écrit :
>>
>> Am 01.10.2015 um 18:25 schrieb Martin T:
>>> When can one use "request system software rollback"?
>>
>> http://www.juniper.net/documentation/en_US/junos13.3/topics/reference/command-summary/request-system-software-rollback.html
>>
>> "A software rollback fails if any required package (or a jbundle package
>> containing the required package) cannot be found in /var/sw/pkg."
>
> _______________________________________________
> juniper-nsp mailing list juniper-nsp at puck.nether.net
> https://puck.nether.net/mailman/listinfo/juniper-nsp
More information about the juniper-nsp
mailing list