Junos OS

Expand all | Collapse all

Juniper MX 480 SW upgrade from 15.1 to 17.4

  • 1.  Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 20:13

    Hello Community
    I am trying to upgrade Juniper MX 480 from 15.1F7.3 to 17.4R2.4. I am getting following errors when i perform an upgrade.

    Checking PIC combinations
    Checking vmhost version compatibility
    VMHost version too old for Junos
    ERROR: package junos-x86-64-17.4R2.4 fails requirements
    ERROR: Failed to add junos-install-mx-x86-64-17.4R2.4.tgz


    DO i need to upgrade in steps ? or i can take such a big leap.

    Here is hardware inventory as well

    Hardware inventory:
    Item Version Part number Serial number Description

    Midplane REV 48 750-047862 ACRL5018 Enhanced MX480 Midplane
    FPM Board REV 05 760-059208 ABDT1544 Front Panel Display
    PEM 0 Rev 02 740-063045 QCS1830T05F DC 2.4kW Power Entry Module
    PEM 1 Rev 02 740-063045 QCS1830T0D5 DC 2.4kW Power Entry Module
    PEM 2 Rev 02 740-063045 QCS1830T0DF DC 2.4kW Power Entry Module
    PEM 3 Rev 02 740-063045 QCS1830T04U DC 2.4kW Power Entry Module
    Routing Engine 0 REV 18 750-054758 CALS1200 RE-S-2X00x6
    Routing Engine 1 REV 18 750-054758 CALS1117 RE-S-2X00x6
    CB 0 REV 12 750-062572 CALV2002 Enhanced MX SCB 2
    CB 1 REV 12 750-062572 CALS6658 Enhanced MX SCB 2
    FPC 0 REV 12 750-063181 CALL7789 MPC3E NG PQ & Flex Q
    CPU REV 13 711-045719 CALL7121 RMPC PMB
    MIC 0 REV 19 750-049846 CALK4992 3D 20x 1GE(LAN)-E,SFP
    PIC 0 BUILTIN BUILTIN 10x 1GE(LAN) -E SFP
    Xcvr 0 REV 01 740-013111 1908030056 SFP-T
    Xcvr 1 REV 01 740-013111 1908030055 SFP-T
    Xcvr 2 REV 01 740-013111 1908030057 SFP-T
    Xcvr 3 REV 01 740-013111 1908030061 SFP-T
    Xcvr 4 REV 01 740-011787 1908030073 SFP-LH
    Xcvr 5 REV 01 740-013111 1908030058 SFP-T
    Xcvr 6 REV 01 740-011783 1908030043 SFP-LX10
    Xcvr 7 REV 01 740-013111 1908030059 SFP-T
    Xcvr 9 REV 01 740-013111 1908030054 SFP-T
    PIC 1 BUILTIN BUILTIN 10x 1GE(LAN) -E SFP
    Xcvr 0 REV 01 740-013111 1908030053 SFP-T
    Xcvr 1 REV 01 740-011782 1908030049 SFP-SX
    Xcvr 2 REV 01 740-013111 1908030053 SFP-T
    Xcvr 6 REV 01 740-011783 1908030042 SFP-LX10
    Xcvr 8 REV 01 740-011783 1908030037 SFP-LX10
    MIC 1 REV 14 750-033307 CALL2738 10X10GE SFPP
    PIC 2 BUILTIN BUILTIN 10X10GE SFPP
    Xcvr 0 NON-JNPR 1908030036 SFP+-10G-SR
    Xcvr 1 NON-JNPR 1908030006 SFP+-10G-ER
    Xcvr 2 NON-JNPR 1908030014 SFP+-10G-LR
    Xcvr 3 NON-JNPR 1908030013 SFP+-10G-LR
    Xcvr 4 NON-JNPR 1908030015 SFP+-10G-LR
    Xcvr 5 NON-JNPR 1908030033 SFP+-10G-SR


    Appreciate for your help & support


    #JUNOS


  • 2.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 20:25

    You need a vmhost image buddy. It seems that you have a next generation RE, which runs on a VMhost package.

     

    tks,

    Abhishek



  • 3.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 20:46


    I have junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz as well as junos-install-mx-x86-64-17.4R2.4.tgz* in /var/tmp/installation-package/ directory.

    When i perform junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz , i am getting following error

    mgd: error: configuration check-out failed
    Validation failed
    /usr/libexec/ui/validate-config.sh: op_fix_config: not found
    ERROR: Failed to add /var/tmp/installation-package/junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz
    warning: Host software installation has failed



  • 4.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 20:53

    appears your upgrade with the current configuration is causing problems. Try the upgrade with no-validate keyword.

     

    tks,

    abhishek

     



  • 5.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 20:54

    what command did you use to install the vmhost?

     

     



  • 6.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 20:57

    I have used the followingcommand to install vm software

    request vmhost software add /var/tmp/installation-package/junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz reboot



  • 7.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 21:01

    try request vmhost software add /var/tmp/installation-package/junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz no-validate

     

    after installation is complete reboot the RE's afterwards.

     

    tks,

    Abhishek



  • 8.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 21:17

    no validate option worked and after that i received following message
    A REBOOT IS REQUIRED TO LOAD THIS SOFTWARE CORRECTLY.
    Use the 'request vmhost reboot' command to reboot the system.

    I did perform the reboot but i do not see my software directory any more.

    Also i compared output from router where i have performed the upgrade the outpput is same of "show vm version"

    from router with no vm upgrade

    > show vmhost version
    Current root details, Device sda, Label: jrootp_P, Partition: sda3
    Current boot disk: Primary
    Current root set: p
    UEFI Version: NGRE_v00.53.00.01

    Primary Disk, Upgrade Time: <fresh install>

    Version: set p
    VMHost Version: 2.1072
    VMHost Root: vmhost-x86_64-15.1F7-20170223_0741_builder
    VMHost Core: vmhost-core-x86_64-15.1F7-20170223_0741_builder
    kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt
    Junos Disk: junos-install-x86-64-15.1F7.3

    Version: set b
    VMHost Version: 2.1072
    VMHost Root: vmhost-x86_64-15.1F7-20170223_0741_builder
    VMHost Core: vmhost-core-x86_64-15.1F7-20170223_0741_builder
    kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt
    Junos Disk: junos-install-x86-64-15.1F7.3

    from Router with VM upgrade

    > show vmhost version
    Current root details, Device sda, Label: jrootp_P, Partition: sda3
    Current boot disk: Primary
    Current root set: p
    UEFI Version: NGRE_v00.53.00.01

    Primary Disk, Upgrade Time: <fresh install>

    Version: set p
    VMHost Version: 2.1072
    VMHost Root: vmhost-x86_64-15.1F7-20170223_0741_builder
    VMHost Core: vmhost-core-x86_64-15.1F7-20170223_0741_builder
    kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt
    Junos Disk: junos-install-x86-64-15.1F7.3

    Version: set b
    VMHost Version: 2.1072
    VMHost Root: vmhost-x86_64-15.1F7-20170223_0741_builder
    VMHost Core: vmhost-core-x86_64-15.1F7-20170223_0741_builder
    kernel: 3.10.79-ovp-rt74-WR6.0.0.20_preempt-rt
    Junos Disk: junos-install-x86-64-15.1F7.3



  • 9.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 21:23
    Hi Sushil,

    Can you please list the directory which you are not able to see? Looks like upgrade was successful.


    Thanks and Regards,



    Juniper Business Use Only


  • 10.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 21:32

    yes upgrade was successful.

    i had this directory prior to reboot
    file list /var/tmp/installation-package/



  • 11.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 21:40

    then i guess it is pretty much expected, since it was in your tmp folder and a reboot was done.

     

    tks,

    abhishek



  • 12.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 21:42

    ok so i need to reload the software again and then perform regular upgrade to 17.4 correct



  • 13.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 21:46

    not sure, what you mean. Your upgrade is complete, i guess.



  • 14.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 21:50

    Hi Sushil,

     

    /var/tmp contents  will be removed after upgrade. This is expected behaviour.

    Please check show version, I think your box is already upgraded.  This upgrade installs the host image along with the compatible Junos OS.



  • 15.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 21:58

    This is native (physical router).i still have 15.1 on router

     show version
    Hostname: 
    Model: mx480
    Junos: 15.1F7.3
    JUNOS OS Kernel 64-bit [20170209.344539_builder_stable_10]
    JUNOS OS libs [20170209.344539_builder_stable_10]
    JUNOS OS runtime [20170209.344539_builder_stable_10]
    JUNOS OS time zone information [20170209.344539_builder_stable_10]
    JUNOS network stack and utilities [20170302.065919_builder_junos_151_f7]
    JUNOS modules [20170302.065919_builder_junos_151_f7]
    JUNOS OS libs compat32 [20170209.344539_builder_stable_10]
    JUNOS OS 32-bit compatibility [20170209.344539_builder_stable_10]
    JUNOS libs compat32 [20170302.065919_builder_junos_151_f7]
    JUNOS runtime [20170302.065919_builder_junos_151_f7]
    Junos vmguest package [20170302.065919_builder_junos_151_f7]
    JUNOS py base [20170302.065919_builder_junos_151_f7]
    JUNOS OS vmguest [20170209.344539_builder_stable_10]
    JUNOS OS crypto [20170209.344539_builder_stable_10]
    JUNOS platform support [20170302.065919_builder_junos_151_f7]
    JUNOS libs [20170302.065919_builder_junos_151_f7]
    JUNOS mtx Data Plane Crypto Support [20170302.065919_builder_junos_151_f7]
    JUNOS daemons [20170302.065919_builder_junos_151_f7]
    JUNOS Voice Services Container package [20170302.065919_builder_junos_151_f7]
    JUNOS Services SSL [20170302.065919_builder_junos_151_f7]
    JUNOS Services Stateful Firewall [20170302.065919_builder_junos_151_f7]
    JUNOS Services RPM [20170302.065919_builder_junos_151_f7]
    JUNOS Services PTSP Container package [20170302.065919_builder_junos_151_f7]
    JUNOS Services NAT [20170302.065919_builder_junos_151_f7]
    JUNOS Services Mobile Subscriber Service Container package [20170302.065919_builder_junos_151_f7]
    JUNOS Services MobileNext Software package [20170302.065919_builder_junos_151_f7]
    JUNOS Services LL-PDF Container package [20170302.065919_builder_junos_151_f7]
    JUNOS Services Jflow Container package [20170302.065919_builder_junos_151_f7]
    JUNOS Services IPSec [20170302.065919_builder_junos_151_f7]
    JUNOS IDP Services [20170302.065919_builder_junos_151_f7]
    JUNOS Services HTTP Content Management package [20170302.065919_builder_junos_151_f7]
    JUNOS Services Crypto [20170302.065919_builder_junos_151_f7]
    JUNOS Services Captive Portal and Content Delivery Container package [20170302.065919_builder_junos_151_f7]
    JUNOS Services COS [20170302.065919_builder_junos_151_f7]
    JUNOS Border Gateway Function package [20170302.065919_builder_junos_151_f7]
    JUNOS AppId Services [20170302.065919_builder_junos_151_f7]
    JUNOS Services Application Level Gateways [20170302.065919_builder_junos_151_f7]
    JUNOS Services AACL Container package [20170302.065919_builder_junos_151_f7]
    JUNOS Packet Forwarding Engine Support (wrlinux) [20170302.065919_builder_junos_151_f7]
    JUNOS Packet Forwarding Engine Support (MX/EX92XX Common) [20170302.065919_builder_junos_151_f7]
    JUNOS Packet Forwarding Engine Support (M/T Common) [20170302.065919_builder_junos_151_f7]
    JUNOS Online Documentation [20170302.065919_builder_junos_151_f7]
    JUNOS FIPS mode utilities [20170302.065919_builder_junos_151_f7]



  • 16.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 22:08

    Can you please share logs after you added software using 'request vmhost software add' and rebooted?

    You can copy the tgz file  to box and try again. The upgrade should work.



  • 17.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-03-2019 22:15

    unfortuantely did not save the logs 😞 I wil lhave to request my cutsomer to add the software again. I will attempt  software upgrade as soon as i have the SW.
    Meantime i have other node (primary ) which also needs SW upgrade. Its also giving me same error "vmhost os too old".

    So i guess here also i need to upgrade vm first > reboot > then upgrade .
    or i can attemp vmhost software upgrade & then upgrade with native sw and then perform reboot at end



  • 18.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-04-2019 08:50

    i have  performed software upgrade after upgrading vm os  but it failed again with same message. 

    Checking vmhost version compatibility
    VMHost version too old for Junos
    ERROR: package junos-x86-64-17.4R2.4 fails requirements
    ERROR: Failed to add junos-install-mx-x86-64-17.4R2.4.tgz


    I will again perform vm os upgrade and will share the logs.

    P.S - This is native router and i had performed vm os software upgrade but looks like it did not went through.



  • 19.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-04-2019 10:14

    Hi,

     

    Just noticed you were using "junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz" or "junos-install-mx-x86-64-17.4R2.4.tgz"

     

    Can you please use Main Release once:

    "junos-vmhost-install-mx-x86-64-17.4R2.4.tgz"

     

    Instead of Service Release :

    "junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz"

    "junos-install-mx-x86-64-17.4R2.4.tgz"

     

     

    For instance:

    • "request vmhost software add /var/tmp/junos-vmhost-install-mx-x86-64-17.4R2.4.tgz re0 no-validate"

     

    This upgrade installs the host image along with the compatible Junos OS.

    If you have important files in directories other than /config and /var, copy the files to a secure location before upgrading the device. The files under /config and /var (except /var/etc) are preserved after the VM host upgrade.

     

    https://www.juniper.net/documentation/en_US/junos/topics/concept/installation_upgrade.html

     

     

     

     

     

     

     

     

     



  • 20.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

    Posted 10-09-2019 21:42
    Hello All Finally was able to perform upgrade after upgrading each Routing engine separately with no-validate option. Here are the steps 1) upgraded back up routing engine vmhost os. 2) upgraded primary Routing engine vmhost os 3) upgraded backup routing engine to 17.4 release. 4) upgraded primary routing engine to 17.r release Thank you all for all your help !


  • 21.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 23:49

    You can use /var/preserve/ folder to dump image files, I guess you should be able to get the image from this path after upgrade also

     

    Thank you

    Prabin



  • 22.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 21:01

    try this:


    request vmhost software add /var/tmp/installation-package/junos-vmhost-install-mx-x86-64-17.4R2-S6.tgz no-validate

     

    and share the full output here.

     

     

     



  • 23.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 20:28
    Hi Sushil,
     
    As you have you have NGRE RE-S-2X00x6 in chassis, In order to perform VM Host upgrade for this type of RE , use the "junos-vmhost-install-x.tgz image". This upgrade installs the host image along with the compatible Junos OS.
    The jinstall package will work for the other types of REs.
     
     
    Thanks and Regards,
     


  • 24.  RE: Juniper MX 480 SW upgrade from 15.1 to 17.4

     
    Posted 10-03-2019 20:29

    Looks like you're using NG-RE model which requries VM HOST upgrade.

    Upgrade to VMhost version first, then the Junos.

     

    Follow the instructions to upgrade VMhost:

    https://www.juniper.net/documentation/en_US/junos/topics/concept/installation_upgrade.html