Page MenuHomePhabricator

Upgrade management routers and switches to Junos 21
Closed, ResolvedPublic

Description

Similar to T295691 and T295690.

All management routers are running Junos 20 except mr1-codfw and mr1-esams that are running 18.

Management switches are on 17/18.

The current Junos recommended version for SRX300 and EX4300 is 21, so those 4 should be upgraded to reduce version spread.

DeviceScheduled forStatus
mr1-codfw2022-09-08 - 2:30pm UTC - 1hcomplete
mr1-esams2022-10-03 - 2:30pm UTC -1hcomplete
msw1-codfw2022-10-04 - 2:30pm UTC -1hcomplete
msw1-eqiad2022-10-05 - 2:30pm UTC -1hcomplete

Event Timeline

ayounsi created this task.
Restricted Application added a subscriber: Aklapper. · View Herald Transcript
ayounsi renamed this task from Upgrade management routers to Junos 21 to Upgrade management routers and switches to Junos 21.Aug 29 2022, 1:17 PM
ayounsi updated the task description. (Show Details)

@ayounsi the mentioned : "All management routers are running Junos 20 except mr1-codfw and mr1-esams that are running 18." and "The current Junos recommended version for SRX300 and EX4300 is 21" do you want for us to keep all at version 20 or update the listed once in the table to version 21?

Only those 2 from 18 to 21.
20 is recent enough.

I was having the issue below upgrading mr1 to version 21

Validating against /config/rescue.conf.gz
/config/rescue.conf.gz:61:(21) syntax error at 'rfc-complaint'
  [edit system phone-home]
    'rfc-complaint;'
      syntax error
Validation failed
ERROR: Current configuration not compatible with /altroot/cf/packages/install-tmp/junos-21.2R3-S2.9
ERROR: Configuration validation failed with /altroot/cf/packages/install-tmp/junos-21.2R3-S2.9d

what i did to fix it was to run the command below and after run again the request software add command

request system configuration rescue save

After reboot it took 13:33 minutes for the router to come back online

papaul@mr1-codfw> show version
Hostname: mr1-codfw
Model: srx300
Junos: 21.2R3-S2.9
JUNOS Software Release [21.2R3-S2.9]

@ayounsi @cmooney i am having space issue on msw1-codfw which is preventing me to copy the Junos image to /var/tmp. request system storage cleanup didn't help. I took a look at what is using a lot of space (see output below) and show system storage /var/tmp is just at 9%

papaul@msw1-codfw> start shell
% sh -c 'find / -size +10485760c 2> /dev/null' | xargs du -h | sort -nr
 97M	/packages/junos-ex-17.3R3.10
 87M	/packages/mfs-junos-ex-4300/junos-ex-4300-17.3R3.10
 87M	/packages/junos-ex-4300-17.3R3.10
 55M	/var/tmp/.schema-cache/render.db
 55M	/var/rundb/render.db
 55M	/packages/mnt/jweb-ex-17.3R3.10/jail/var/tmp/uploads/.schema-cache/render.db
 35M	/packages/mnt/junos/usr/lib/dd/libjkernel-dd.tlv
 34M	/packages/mnt/junos-ex-4300-17.3R3.10/usr/sbin/pfex_junos
 26M	/packages/mnt/junos/usr/sbin/rpd
 21M	/var/tmp/.schema-cache/schema.db
 21M	/var/rundb/schema.db
 21M	/packages/mnt/jweb-ex-17.3R3.10/jail/var/tmp/uploads/.schema-cache/schema.db
 17M	/packages/mnt/junos/usr/lib/render/libif-render.tlv
 15M	/packages/mnt/junos/usr/lib/dd/libjroute-dd.tlv
 14M	/packages/mnt/junos/usr/share/icu/4.6/icudt46l.dat
 14M	/packages/mnt/junos/modules/bcmsdk_5_9_x.ko
 13M	/packages/mnt/junos/usr/libdata/chassisd/chassisd.static.db
 11M	/packages/mnt/junos/usr/sbin/authd
 10M	/packages/mnt/junos/usr/lib/render/librpd-render.tlv

This issue was the file was copied first to /tmp before /var/tmp according to @ayounsi so copy the file first to local laptop and use scp to copy the file to /var/tmp

@ayounsi thnaks

Papaul updated the task description. (Show Details)

@ayounsi this is complete