Bug ID 770989: Observed '/shared/lib/rpm' RPM database corruption on B4450 blades and iSeries platforms installing 14.1.x.

Last Modified: Sep 13, 2023

Affected Product(s):
BIG-IP Install/Upgrade(all modules)

Known Affected Versions:
13.1.3, 13.1.3.1, 13.1.3.2, 13.1.3.3, 13.1.3.4, 14.0.0, 14.0.0.1, 14.0.0.2, 14.0.0.3, 14.0.0.4, 14.0.0.5, 14.0.1, 14.0.1.1, 14.1.0, 14.1.0.1, 14.1.0.2, 14.1.0.3, 14.1.0.5, 14.1.0.6, 14.1.2, 14.1.2.1, 14.1.2.2, 14.1.2.3, 14.1.2.4, 14.1.2.5, 14.1.2.6, 14.1.2.7, 14.1.2.8, 14.1.3

Fixed In:
14.1.3.1, 13.1.3.5

Opened: Apr 10, 2019

Severity: 2-Critical

Symptoms

F5optics installation can fail with RPM database corruption on B4450 blades and iSeries platforms when installing 14.1.x.

Impact

-- After 14.1.0 boots up, when you check /shared/lib/rpm RPM database (by running the command: /opt/bin/rpm --dbpath /shared/lib/rpm -qa), you see errors if the RPM database has already been corrupted. + rpmdb: /shared/lib/rpm/Name: unexpected file type or format. + error: cannot open Name index using db3 - Invalid argument (22). -- No default f5optics package is reported when running the command: tmsh show net f5optics. No f5optics packages is present in the /shared/f5optics/images/ directory (even the /shared/f5optics/images/ directory is not created). Due to corruption of '/shared/lib/rpm' RPM database, additional component 'f5optics' installation can fail with RPM error. Other components such as geoip or epsec might also be affected due to corrupted '/shared/lib/rpm' RPM database. Other symptoms may be that the Link Controller linkcost library (Non-US patch) may be unable to install, showing the error message: DB_VERSION_MISMATCH: Database environment version mismatch.

Conditions

-- Using B4450 blades or iSeries platforms. -- Clean install (i.e., a completely new installation) of 14.1.0 from either an external drive or PXE without taking over license: image2disk --format=volumes --nosaveconfig --nosavelicense BIGIP-14.1.0-0.0.116.iso

Workaround

Remove the RPM database and manually install the f5_optics RPM package. Steps ===== 1. Remove corrupted RPM database: # rm -rf /shared/lib/rpm/ 2. Initialize rpm database and update # /opt/bin/rpm --root /shared --dbpath /lib/rpm --initdb # /opt/bin/rpm --dbpath /shared/lib/rpm -qa 3. For iSeries platform: # /usr/bin/f5optics_install For VIPRION platform # tmsh install net f5optics slot all

Fix Information

None

Behavior Change

Guides & references

K10134038: F5 Bug Tracker Filter Names and Tips