вторник, 27 сентября 2016 г.

Juniper SRX downgrade error

При попытке откатиться с версии Junos 15.1x49-D60 на 15.1x49-D50 в режиме VC, node0 завила в процессе инсталяции и висела, пока устройство не было перезагружено руками.
После перезагрузки, устройство загружалось со прежней версией ОС а при попытке сделать downgrade получалась следующая ошибка:

Installing Host OS ...
upgrade_platform: -------------------
upgrade_platform: Parameters passed:
upgrade_platform: silent=0
upgrade_platform: package=/var/tmp/junos-srx-700e-junos-15.1X49-D50.3-linux.tgz
upgrade_platform: clean install=0
upgrade_platform: clean upgrade=0
upgrade_platform: Need reboot after staging=0
upgrade_platform: -------------------
upgrade_platform:
upgrade_platform: There is pending upgrade. upgrade_in_progress=backup
upgrade_platform: do rollback before attempting another upgrade
upgrade_platform: do [ upgrade_platform -r ] for rollback
ERROR: Host Upgrade failed!
ERROR: upgrade failed
ERROR: junos-srx-img fails post-install
ERROR: junos-srxentedge-15.1X49-D50.3-domestic-signed fails post-install
Installation failed for package '/var/tmp/junos-srxentedge-15.1X49-D50.3-domestic.tgz'


Лечится это из загрузчика: GRUB > Juniper-Linux-Upgrade который отображается в процессе перезагрузки

error: can't find command `serial'.
error: terminal `serial' isn't found.
error: terminal `serial' isn't found.

                     GNU GRUB  version 2.02~juniper/rel_v3~

 /----------------------------------------------------------------------------\
 | Juniper Linux                                                              |
 | Juniper Linux  Debug                                                       |
 |*Juniper-Linux-Upgrade                                                      |
 | Juniper-Linux-Recovery                                                     |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 |                                                                            |
 \----------------------------------------------------------------------------/

      Use the ^ and v keys to select which entry is highlighted.
      Press enter to boot the selected OS, `e' to edit the commands
      before booting or `c' for a command-line. ESC to return previous
      menu.


Upgrading Linux ...
error: no suitable video mode found.
Booting in blind mode
i8042: No controller found
First Level Bootstrap using initramfs...
igb 0000:07:00.3: Hardware Initialization Failure
Mounting boot device LABEL=LINUX-BOOT
Unpacking initrd.cpio.gz ....
1096751 blocks
Unmount boot device LABEL=LINUX-BOOT
INIT: version 2.88 booting
Starting udev
Error: Driver 'ingot_fpga_uio' is already registered, aborting...
 cpld i2c resource res->start i2c-mux-cpld 0xfed50010 resource_size 0x5
 cpld i2c mapped 0x22582010
 cpld i2c number 6
running pre rc steps on SRX1500
disable_srx_boot_device
set_srx_boot_device
  3 logical volume(s) in volume group "vg0_vjunos" now active
Starting udev
Error: Driver 'ingot_fpga_uio' is already registered, aborting...
In init_module
In init_module - after register_chrdev
In init_module
In init_module - after register_chrdev
Starting Bootlog daemon: bootlogd.
Populating dev cache
Starting portmap daemon...
net.ipv4.conf.default.rp_filter = 1
net.ipv4.conf.all.rp_filter = 1
kernel.core_uses_pid = 0
kernel.core_pattern = |/etc/init.d/zipcore.sh /var/tmp/corefiles/ %h.%e.%p.%t.core %e
fs.suid_dumpable = 2
vm.swappiness = 1
vm.vfs_cache_pressure = 50
kernel.core_pattern = |/etc/init.d/zipcore.sh /core/ %h.%e.%p.%t.core %e
kernel.core_pattern = |/etc/init.d/zipcore.sh /core/ %h.%e.%p.%t.core %e
kernel.core_pattern = |/etc/init.d/zipcore.sh /core/ %h.%e.%p.%t.core %e
kernel.core_pattern = |/etc/init.d/zipcore.sh /core/ %h.%e.%p.%t.core %e
kernel.core_pattern = |/etc/init.d/zipcore.sh /core/ %h.%e.%p.%t.core %e
INIT: Entering runlevel: 3
Starting system message bus: dbus.
Starting OpenBSD Secure Shell server: sshd
done.
Configuring network interfaces... done.
Starting rpcbind daemon...rpcbind: cannot bind * on udp: Address already in use
rpcbind: cannot bind tcp: Address already in use
done.
creating NFS state directory: done
starting statd: done
starting idmapd: rpc.idmapd: libnfsidmap: requested translation method, 'nsswitch', is not available

rpc.idmapd: Unable to create name to user id mappings.
done
Starting Advanced Configuration and Power Interface daemon: acpid.
acpid: starting up

acpid: 1 rule loaded

acpid: waiting for events: event logging is off

Starting domain name service: named.
starting DNS forwarder and DHCP server: dnsmasq...
dnsmasq: failed to create listening socket for port 53: Address already in use
Starting irqbalance: done
starting 8 nfsd kernel threads: done
starting mountd: done
Starting monit: Starting monit daemon with http interface at [localhost:2812]
Monit start delay set -- pause for 60s
[  OK  ]
starting rsyslogd ... done
Starting internet superserver: xinetd.
 * Starting virtualization library daemon: libvirtd
no /usr/bin/dnsmasq found; none killed                                   [ ok ]
Starting tcsd: OK
Starting crond: OK
Checking BIOS and Synchronizing recovery capsule
Synchronizing UEFI key-store:
Junper Dev keys are not revoked. Doing nothing
Booting normal on SRX1500
/root: 5.4 GiB (5774778368 bytes) trimmed
/var: 3.3 GiB (3516436480 bytes) trimmed
/app_disk: 1.3 GiB (1346297856 bytes) trimmed
Executing application: pkg-app-junos
Initializing JUNOS Host applications
[  OK  ] Application initialization.
Stopping internet superserver: xinetd.
Starting internet superserver: xinetd.
net.ipv4.ip_forward = 1
Starting SRX
Creating platform specific configurations.
mv: cannot stat '/var/tmp/corefiles/*': No such file or directory
/etc/init.d/rc.junosapp Text read from file - hw.chassis.chassis_id=0
 key:hw.chassis.chassis_id   var:0
 chassis_id:0   cluster_id:0
/etc/init.d/rc.junosapp Text read from file - hw.chassis.cluster_id=0
 key:hw.chassis.cluster_id   var:0
 chassis_id:0   cluster_id:0
ha_enabled:TRUE
ifup: interface eth0 already configured
/etc/init.d/rc.junosapp: line 260: [: 17G: integer expression expected
20+0 records in
20+0 records out
20 bytes (20 B) copied, 0.000342869 s, 58.3 kB/s
4+0 records in
4+0 records out
4 bytes (4 B) copied, 0.000309436 s, 12.9 kB/s
7+0 records in
7+0 records out
7 bytes (7 B) copied, 0.000307267 s, 22.8 kB/s
add map loop0p1 (252:3): 0 62500 linear /dev/loop0 1
add map loop0p2 (252:4): 0 187500 linear /dev/loop0 62501
stopping idmapd: done
stopping statd: done
creating NFS state directory: done
starting statd: done
starting idmapd: rpc.idmapd: libnfsidmap: requested translation method, 'nsswitch', is not available

rpc.idmapd: Unable to create name to user id mappings.
done
stopping mountd: done
stopping nfsd: done
starting 8 nfsd kernel threads: done
starting mountd: done
kdump: unrecognized service
Starting OpenBSD Secure Shell server: sshd
/usr/sbin/sshd is already running
1721
starting rsyslogd ... done
Starting internet superserver: xinetd.
sntpc: unrecognized service
Starting crond: FAIL
watchdog: unrecognized service
Starting lcmd: [  OK  ]
Starting vehostd: [  OK  ]
Starting monit:
stopping mountd: done
stopping nfsd: done
starting 8 nfsd kernel threads: done
starting mountd: done
Processing file: /etc/dh89xxcc_qa_dev0.conf
Stopping Bootlog daemon: bootlogd.

Wind River Linux 6.0.0.15 localhost console

localhost login: root
Password:

 -------------------------------------------
 NOTICE: 09-27-2016 09:32:04 AM
 -------------------------------------------
 System booted from backup boot.


 There is a pending upgrade with upgrade_in_progress=backup.
 You can cancel pending upgrade by doing rollback.
 do 'upgrade_platform -r' to rollback.

 -------------------------------------------

root@localhost:~# upgrade_platform -r
upgrade_platform: Requested rollback of a staged upgrade..
bzImage-intel-x86-64.bin: OK
initramfs.cpio.gz: OK
version.txt: OK
upgrade_platform: Checksum verified and OK...
/root
upgrade_platform: Restoring backup to current.
bzImage-intel-x86-64.bin: OK
initramfs.cpio.gz: OK
version.txt: OK
upgrade_platform: Checksum verified and OK...
/root
root@localhost:~# reboot

Broadcast message from root@Stopping OpenBSD Secure Shell server: sshdstopped /usr/sbin/sshd (pid 1721)
.
Stopping Advanced Configuration and Power Interface daemon: stopped /usr/sbin/acpid (pid 1757)
acpid.
Stopping domain name service: named.
Stopping system message bus: dbus.
stopping DNS forwarder and DHCP server: dnsmasq... stopped /usr/bin/dnsmasq (pid 2039)
done.
Shutting down irqbalance: stopped irqbalance (pid 1803)
done
stopping mountd: done
stopping nfsd: done
Stopping monit:
stopping rsyslogd ... done
Stopping internet superserver: xinetd.
stopping idmapd: done
stopping statd: done
Clearing ebtables rulesets: filter nat broute done. ok
Stopping crond: OK
Stopping rpcbind daemon...
done.
 * Stopping virtualization library daemon: libvirtd                      [ ok ]
Deconfiguring network interfaces... done.
Stopping tcsd: OK
Sending all processes the TERM signal...
haveged: haveged: Stopping due to signal 15

Sending all processes the KILL signal...
Unmounting remote filesystems...
Stopping portmap daemon...
Deactivating swap...
Unmounting local filesystems...
Rebooting... LPC-DRV: reboot notifier called with 0x0001
Restarting system.
U

InsydeH2O version : SRXS_SFP_00.26_01.01
BIOS Build Date : 07/29/2016

System Memory Speed : 1600 MHz

Processor Type : Intel(R) Xeon(R) CPU  @ 2.50GHz

1 комментарий:

  1. Ит, Сети, Безопасность.: Juniper Srx Downgrade Error >>>>> Download Now

    >>>>> Download Full

    Ит, Сети, Безопасность.: Juniper Srx Downgrade Error >>>>> Download LINK

    >>>>> Download Now

    Ит, Сети, Безопасность.: Juniper Srx Downgrade Error >>>>> Download Full

    >>>>> Download LINK k3

    ОтветитьУдалить