IB Switch Manual Upgrade issue (Doc ID 2187116.1)

Last updated on APRIL 30, 2017

Applies to:

Sun Network QDR InfiniBand Gateway Switch - Version Not Applicable to Not Applicable [Release N/A]
Sun Datacenter InfiniBand Switch 36 - Version Not Applicable to Not Applicable [Release N/A]
Information in this document applies to any platform.
This failure in upgrade due to corrupt rpm database is ONLY for NM2 36p running firmware 2.1 or older, and upgrading/downgrading to firmware 2.1 or older.

For all upgrade/downgrade for NM2 GW firmwares, for upgrade to NM2 36p firmware 2.2 (from firmware 2.1) and upgrade/downgrade from NM2 36p firmware 2.2 (to other 2.2's and downgrade to 2.1.6 or 2.1.8 using the downgrade packages part of the MOS releases), image install is used as underlying firmware upgrade mechanism and you will not be impacted by a corrupt rpm database, and in such cases, the way to correct such a corrupt rpm database (in case you want to correct it but not do any upgrade), is to do a reinstall using the load command with the -force option.

Goal

 Firmware upgrade on Infiniband switches may fail due to corruption in the RPM database

# fwverify

Checking all present packages:
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
OK

Checking if any packages are missing:
rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
.rpmdb: unable to join the environment
error: db4 error(11) from dbenv->open: Resource temporarily unavailable
error: cannot open Packages index using db3 - Resource temporarily unavailable (11)
error: cannot open Packages database in /var/lib/rpm
.rpmdb: unable to join the environment
[....]

 

 

Also,

[WARNING ] Firmware verification on InfiniBand switch ehrkc0sw-ibs0 failed, possibly due to custom configuration changes
[INFO ] Checking all present packages:
[INFO ] OK
[INFO ] Checking if any packages are missing:
[INFO ] ...................................................................................................................................... FAILED
[INFO ] =======================================================================
[INFO ] Some required packages are missing!
[INFO ] These packages are:
[INFO ] libgcc-4.1.2-42.el5.i386 setup-2.5.58-1.el5.noarch filesystem-2.4.0-1.el5.centos.i386 basesystem-8.0-5.1.1.el5.centos.noarch centos-release-notes-5.2-2.i386 glibc-2.5-24.i386 tzdata-2012c-1.el5.i386 zlib-1.2.3-3.i386 chkconfig-1.3.30.1-2.i386 mktemp-1.5-23.2.2.i386 popt-1.10.2-48.el5.i386 audit-libs-1.6.5-9.el5.i386 glib2-2.12.3-2.fc6.i386 bzip2-libs-1.0.3-3.i386 elfutils-libelf-0.125-3.el5.i386 gdbm-1.8.0-26.2.1.i386 libstdc++-4.1.2-42.el5.i386 db4-4.3.29-9.fc6.i386 beecrypt-4.1.2-10.1.1.i386 keyutils-libs-1.2-1.el5.i386 libattr-2.4.32-1.1.i386 libacl-2.2.39-3.el5.i386 libcap-1.10-26.i386 libgpg-error-1.4-2.i386 libsysfs-2.0.0-6.i386 slang-2.0.6-4.el5.i386 libgcrypt-1.2.3-1.i386 pcre-6.6-2.el5_1.7.i386 cyrus-sasl-lib-2.1.22-4.i386 ethtool-5-1.el5.i386 mingetty-1.07-5.2.2.i386 tcp_wrappers-7.6-40.4.el5.i386 termcap-5.5-1.20060701.1.noarch libtermcap-2.0.8-46.1.i386 bash-3.2-33.el5_11.4.i386 ncurses-5.5-24.20060715.i386 info-4.8-14.el5.i386 libsepol-1.15.2-1.el5.i386 grep-2.5.1-54.2.el5.i386 readline-5.1-1.1.i386 nspr-4.7.0.99.2-1.el5.i386 nss-3.11.99.5-2.el5.centos.i386 sed-4.1.5-5.fc6.i386 sqlite-3.3.6-2.i386 gawk-3.1.5-14.el5.i386 iptables-1.3.5-4.el5.i386 iptables-ipv6-1.3.5-4.el5.i386 cpio-2.6-20.i386 less-394-5.el5.i386 gzip-1.3.5-10.el5.centos.i386 procps-3.2.7-9.el5.i386 centos-release-5-2.el5.centos.i386 iproute-2.6.18-7.el5.i386 iputils-20020927-43.el5.i386 nash-5.1.19.6-28.i386 cracklib-dicts-2.8.9-3.3.i386 diffutils-2.8.1-15.2.3.el5.i386 ed-0.2-38.2.2.i386 portmap-4.0-65.2.2.1.i386 sudo-1.6.8p12-12.el5.i386 nm2-phs-2.1.5-1.i386 vixie-cron-4.1-72.el5.i386 sysfsutils-2.0.0-6.i386 perl-5.8.8-10.el5_0.2.i386 file-4.17-13.i386 hdparm-6.6-2.i386 libhugetlbfs-1.2-5.el5.i386 setserial-2.17-19.2.2.i386 rootfiles-8.1-1.1.1.noarch gnu-efi-3.0c-1.1.i386 libselinux-1.33.4-5.el5.i386 device-mapper-1.02.24-1.el5.i386 e2fsprogs-libs-1.39-15.el5.i386 shadow-utils-4.0.17-13.el5.i386 findutils-4.2.27-4.1.i386 coreutils-5.97-14.el5.i386 krb5-libs-1.6.1-70.el5.i386 openssl-0.9.8e-22.el5.i386 python-2.4.3-21.el5.i386 module-init-tools-3.3-0.pre3.1.37.el5.i386 kpartx-0.4.7-17.el5.i386 newt-0.52.2-10.el5.i386 MAKEDEV-3.23-1.2.i386 e2fsprogs-1.39-15.el5.i386 device-mapper-multipath-0.4.7-17.el5.i386 dmraid-1.0.0.rc13-9.el5.i386 hwdata-0.213.6-1.el5.noarch cracklib-2.8.9-3.3.i386 pam-0.99.6.2-3.27.el5.i386 udev-095-14.16.el5.i386 util-linux-2.13-0.47.el5.i386 SysVinit-2.86-14.i386 openldap-2.3.43-25.el5_8.1.i386 libuser-0.54.7-2.el5.5.i386 passwd-0.73-1.i386 usermode-1.88-3.el5.1.i386 device-mapper-event-1.02.24-1.el5.i386 lvm2-2.02.32-4.el5.i386 net-tools-1.60-78.el5.i386 psmisc-22.2-6.i386 initscripts-8.45.19.EL-1.el5.centos.1.i386 openssh-4.3p2-26.el5.i386 mcstrans-0.2.7-1.el5.i386 tar-1.15.1-23.0.1.el5.i386 mkinitrd-5.1.19.6-28.i386 openssh-clients-4.3p2-26.el5.i386 openssh-server-4.3p2-26.el5.i386 dhclient-3.0.5-13.el5.i386 sysklogd-1.4.1-44.el5.i386 authconfig-5.3.21-3.el5.i386 prelink-0.3.9-2.1.i386 ecryptfs-utils-41-1.el5.i386 pciutils-2.2.3-5.i386 system-config-securitylevel-tui-1.6.29.1-2.1.el5.i386 logrotate-3.7.4-8.i386 vim-minimal-7.0.109-3.el5.3.i386 kernel-ib-20130514-2.6.27.13_nm2.i386 libibumad-1.2.3_20130819_bc6deb3-0.1_oracle_patch_11.9.i386 libibcommon-1.1.2_20130819-0.1_oracle_patch_11.9.i386 libibmad-1.2.3_20130819_bc6deb3-0.1_oracle_patch_11.9.i386 opensm-libs-3.2.6_20130819-0.1_oracle_patch_11.9.i386 opensm-3.2.6_20130819-0.1_oracle_patch_11.9.i386 infiniband-diags-1.4.4_20130819_bc6deb3-0.1_oracle_patch_11.9.i386 tcl-8.4.13-3.fc6.i386 ibutils-1.2-1_oracle_patch_11.9.i386 ntp-4.2.2p1-15.el5.centos.1.i386 expat-1.95.8-8.2.1.i386 mft-2.6.0-2.6.27.13_nm2_rc21.2.i386 nm2-ilom-2.1.3-4.i386 SUNWfms-lda-2.1.5-1.i386 SUNWfms-fd-2.1.5-1.i386 fabric-monitor-36-2.1-1.noarch rpm-libs-4.4.2-48.el5.i386 rpm-4.4.2-48.el5.i386
[INFO ] =======================================================================
[INFO ] Verifying installed files:
[INFO ] . FAILED
[INFO ] * Package libgcc-4.1.2-42.el5.i386:
[INFO ] package libgcc-4.1.2-42.el5.i386 is not installed
[INFO ] * Package setup-2.5.58-1.el5.noarch:
[INFO ] package setup-2.5.58-1.el5.noarch is not installed
[INFO ] * Package filesystem-2.4.0-1.el5.centos.i386:
[INFO ] package filesystem-2.4.0-1.el5.centos.i386 is not installed
[INFO ] * Package basesystem-8.0-5.1.1.el5.centos.noarch:
[INFO ] package basesystem-8.0-5.1.1.el5.centos.noarch is not installed
[INFO ] * Package centos-release-notes-5.2-2.i386:
[INFO ] package centos-release-notes-5.2-2.i386 is not installed
[INFO ] * Package glibc-2.5-24.i386:
[INFO ] package glibc-2.5-24.i386 is not installed
[INFO ] * Package tzdata-2012c-1.el5.i386:
[INFO ] package tzdata-2012c-1.el5.i386 is not installed
[INFO ] * Package zlib-1.2.3-3.i386:
[INFO ] package zlib-1.2.3-3.i386 is not installed

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms