Description of problem: ----------------------- While upgrading from RHGS 3.1.2 client packages to RHGS 3.1.3 client packages throws warnings as follows : <snip> Updating : glusterfs-libs-3.7.9-1.el7.x86_64 1/8 /sbin/ldconfig: relative path `2' used to build cache warning: %post(glusterfs-libs-3.7.9-1.el7.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package glusterfs-libs-3.7.9-1.el7.x86_64 </snip> Version-Release number of selected component (if applicable): ------------------------------------------------------------- RHGS 3.1.2 ( glusterfs-3.7.5-19.el7rhgs ) RHGS 3.1.3 nightly ( glusterfs-3.7.9-1.el7rhgs ) How reproducible: ----------------- Always Steps to Reproduce: -------------------- 1. Upgrade from RHGS 3.1.2 el7 client packages to RHGS 3.1.3 client packages Actual results: --------------- Warning messages seen during upgrade Expected results: ------------------ There shouldn't be any warning messages
[root@]# yum localupdate glusterfs-3.7.9-1.el7.x86_64.rpm glusterfs-api-3.7.9-1.el7.x86_64.rpm glusterfs-libs-3.7.9-1.el7.x86_64.rpm glusterfs-client-xlators-3.7.9-1.el7.x86_64.rpm -y Loaded plugins: product-id, rhnplugin, search-disabled-repos, subscription-manager This system may not be registered to RHN Classic or Red Hat Satellite. SystemId could not be acquired. You can use rhn_register to register. Red Hat Satellite or RHN Classic support will be disabled. Examining glusterfs-3.7.9-1.el7.x86_64.rpm: glusterfs-3.7.9-1.el7.x86_64 Marking glusterfs-3.7.9-1.el7.x86_64.rpm as an update to glusterfs-3.7.5-19.el7.x86_64 Examining glusterfs-api-3.7.9-1.el7.x86_64.rpm: glusterfs-api-3.7.9-1.el7.x86_64 Marking glusterfs-api-3.7.9-1.el7.x86_64.rpm as an update to glusterfs-api-3.7.5-19.el7.x86_64 Examining glusterfs-libs-3.7.9-1.el7.x86_64.rpm: glusterfs-libs-3.7.9-1.el7.x86_64 Marking glusterfs-libs-3.7.9-1.el7.x86_64.rpm as an update to glusterfs-libs-3.7.5-19.el7.x86_64 Examining glusterfs-client-xlators-3.7.9-1.el7.x86_64.rpm: glusterfs-client-xlators-3.7.9-1.el7.x86_64 Marking glusterfs-client-xlators-3.7.9-1.el7.x86_64.rpm as an update to glusterfs-client-xlators-3.7.5-19.el7.x86_64 Resolving Dependencies --> Running transaction check ---> Package glusterfs.x86_64 0:3.7.5-19.el7 will be updated ---> Package glusterfs.x86_64 0:3.7.9-1.el7 will be an update ---> Package glusterfs-api.x86_64 0:3.7.5-19.el7 will be updated ---> Package glusterfs-api.x86_64 0:3.7.9-1.el7 will be an update ---> Package glusterfs-client-xlators.x86_64 0:3.7.5-19.el7 will be updated ---> Package glusterfs-client-xlators.x86_64 0:3.7.9-1.el7 will be an update ---> Package glusterfs-libs.x86_64 0:3.7.5-19.el7 will be updated ---> Package glusterfs-libs.x86_64 0:3.7.9-1.el7 will be an update --> Finished Dependency Resolution Dependencies Resolved =================================================================================================================================================================================================================== Package Arch Version Repository Size =================================================================================================================================================================================================================== Updating: glusterfs x86_64 3.7.9-1.el7 /glusterfs-3.7.9-1.el7.x86_64 1.6 M glusterfs-api x86_64 3.7.9-1.el7 /glusterfs-api-3.7.9-1.el7.x86_64 145 k glusterfs-client-xlators x86_64 3.7.9-1.el7 /glusterfs-client-xlators-3.7.9-1.el7.x86_64 3.4 M glusterfs-libs x86_64 3.7.9-1.el7 /glusterfs-libs-3.7.9-1.el7.x86_64 1.1 M Transaction Summary =================================================================================================================================================================================================================== Upgrade 4 Packages Total size: 6.1 M Downloading packages: Running transaction check Running transaction test Transaction test succeeded Running transaction Updating : glusterfs-libs-3.7.9-1.el7.x86_64 1/8 /sbin/ldconfig: relative path `2' used to build cache warning: %post(glusterfs-libs-3.7.9-1.el7.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package glusterfs-libs-3.7.9-1.el7.x86_64 Updating : glusterfs-client-xlators-3.7.9-1.el7.x86_64 2/8 Updating : glusterfs-3.7.9-1.el7.x86_64 3/8 Updating : glusterfs-api-3.7.9-1.el7.x86_64 4/8 Cleanup : glusterfs-api-3.7.5-19.el7.x86_64 5/8 Cleanup : glusterfs-3.7.5-19.el7.x86_64 6/8 Cleanup : glusterfs-client-xlators-3.7.5-19.el7.x86_64 7/8 Cleanup : glusterfs-libs-3.7.5-19.el7.x86_64 8/8 Verifying : glusterfs-client-xlators-3.7.9-1.el7.x86_64 1/8 Verifying : glusterfs-api-3.7.9-1.el7.x86_64 2/8 Verifying : glusterfs-libs-3.7.9-1.el7.x86_64 3/8 Verifying : glusterfs-3.7.9-1.el7.x86_64 4/8 Verifying : glusterfs-libs-3.7.5-19.el7.x86_64 5/8 Verifying : glusterfs-3.7.5-19.el7.x86_64 6/8 Verifying : glusterfs-client-xlators-3.7.5-19.el7.x86_64 7/8 Verifying : glusterfs-api-3.7.5-19.el7.x86_64 8/8 Updated: glusterfs.x86_64 0:3.7.9-1.el7 glusterfs-api.x86_64 0:3.7.9-1.el7 glusterfs-client-xlators.x86_64 0:3.7.9-1.el7 glusterfs-libs.x86_64 0:3.7.9-1.el7 Complete!
Next time you attempt to upgrade, please try enabling the debug option for rpm command via the --rpmverbosity=debug command-line option for yum to capture more information about the rpm scriptlets being executed.
(In reply to Milind Changire from comment #3) > Next time you attempt to upgrade, please try enabling the debug option for > rpm command via the --rpmverbosity=debug command-line option for yum to > capture more information about the rpm scriptlets being executed. I have again upgraded with debug as rpmverbosity Running transaction Updating : glusterfs-libs-3.7.9-1.el7.x86_64 [############################################################################################################################### ] 1/8XZDIO: 47 reads, 1112036 total bytes in 0.041571 secs Updating : glusterfs-libs-3.7.9-1.el7.x86_64 1/8 D: closed db index /var/lib/rpm/Sha1header D: closed db index /var/lib/rpm/Sigmd5 D: closed db index /var/lib/rpm/Installtid D: closed db index /var/lib/rpm/Dirnames D: closed db index /var/lib/rpm/Triggername D: closed db index /var/lib/rpm/Obsoletename D: closed db index /var/lib/rpm/Conflictname D: closed db index /var/lib/rpm/Providename D: closed db index /var/lib/rpm/Requirename D: closed db index /var/lib/rpm/Group D: closed db index /var/lib/rpm/Basenames D: closed db index /var/lib/rpm/Name D: closed db index /var/lib/rpm/Packages D: closed db environment /var/lib/rpm D: opening db environment /var/lib/rpm cdb:0x401 D: opening db index /var/lib/rpm/Packages (none) mode=0x42 D: sanity checking 8 elements D: opening db index /var/lib/rpm/Name (none) mode=0x42 D: read h# 681 Header V3 RSA/SHA256 Signature, key ID fd431d51: OK D: read h# 682 Header V3 RSA/SHA256 Signature, key ID fd431d51: OK D: read h# 683 Header V3 RSA/SHA256 Signature, key ID fd431d51: OK D: read h# 684 Header V3 RSA/SHA256 Signature, key ID fd431d51: OK D: running pre-transaction scripts D: computing 139 file fingerprints D: opening db index /var/lib/rpm/Basenames (none) mode=0x42 D: opening db index /var/lib/rpm/Group (none) mode=0x42 D: opening db index /var/lib/rpm/Requirename (none) mode=0x42 D: opening db index /var/lib/rpm/Providename (none) mode=0x42 D: opening db index /var/lib/rpm/Conflictname (none) mode=0x42 D: opening db index /var/lib/rpm/Obsoletename (none) mode=0x42 D: opening db index /var/lib/rpm/Triggername (none) mode=0x42 D: opening db index /var/lib/rpm/Dirnames (none) mode=0x42 D: opening db index /var/lib/rpm/Installtid (none) mode=0x42 D: opening db index /var/lib/rpm/Sigmd5 (none) mode=0x42 D: opening db index /var/lib/rpm/Sha1header (none) mode=0x42 D: computing file dispositions D: 0x0000fd00 4096 12653672 52388041 / D: ========== +++ glusterfs-libs-3.7.9-1.el7 x86_64-linux 0x2 D: Expected size: 324028 = lead(96)+sigs(180)+pad(4)+data(323748) D: Actual size: 324028 D: glusterfs-libs-3.7.9-1.el7.x86_64: Header SHA1 digest: OK (7a8772b4248bf0ca90ebbc19e669056389b53fe5) D: install: glusterfs-libs-3.7.9-1.el7 has 8 files D: ========== Directories not explicitly included in package: D: 0 /usr/lib64/ D: ========== D: create 120777 1 ( 0, 0) 23 /usr/lib64/libgfchangelog.so.0;57160c8c D: create 100755 1 ( 0, 0) 61656 /usr/lib64/libgfchangelog.so.0.0.1;57160c8c D: create 120777 1 ( 0, 0) 17 /usr/lib64/libgfrpc.so.0;57160c8c D: create 100755 1 ( 0, 0)115056 /usr/lib64/libgfrpc.so.0.0.1;57160c8c D: create 120777 1 ( 0, 0) 17 /usr/lib64/libgfxdr.so.0;57160c8c D: create 100755 1 ( 0, 0) 99280 /usr/lib64/libgfxdr.so.0.0.1;57160c8c D: create 120777 1 ( 0, 0) 21 /usr/lib64/libglusterfs.so.0;57160c8c D: create 100755 1 ( 0, 0)834704 /usr/lib64/libglusterfs.so.0.0.1;57160c8c D: adding "glusterfs-libs" to Name index. D: adding 8 entries to Basenames index. D: adding "Applications/File" to Group index. D: adding 32 entries to Requirename index. D: adding 6 entries to Providename index. D: adding 1 entries to Dirnames index. D: adding 1 entries to Installtid index. D: adding 1 entries to Sigmd5 index. D: adding "7a8772b4248bf0ca90ebbc19e669056389b53fe5" to Sha1header index. D: %post(glusterfs-libs-3.7.9-1.el7.x86_64): scriptlet start D: %post(glusterfs-libs-3.7.9-1.el7.x86_64): execv(/sbin/ldconfig) pid 26352 /sbin/ldconfig: relative path `2' used to build cache D: %post(glusterfs-libs-3.7.9-1.el7.x86_64): waitpid(26352) rc 26352 status 100 warning: %post(glusterfs-libs-3.7.9-1.el7.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package glusterfs-libs-3.7.9-1.el7.x86_64 I am also attaching the complete logs
Created attachment 1148461 [details] yum update with rpmverbosity set to DEBUG
*** Bug 1331844 has been marked as a duplicate of this bug. ***
Kaleb's patch http://review.gluster.org/14081 avaialble
Tested with updating from RHGS 3.1.2 ( glusterfs-3.7.5-19.el7rhgs ) to RHGS 3.1.3 nightly ( glusterfs-3.7.9-4.el7rhgs ) and seeing the same issue again Running transaction Updating : glusterfs-libs-3.7.9-4.el7.x86_64 1/10 /sbin/ldconfig: relative path `2' used to build cache warning: %post(glusterfs-libs-3.7.9-4.el7.x86_64) scriptlet failed, exit status 1 Non-fatal POSTIN scriptlet failure in rpm package glusterfs-libs-3.7.9-4.el7.x86_64 Updating : glusterfs-client-xlators-3.7.9-4.el7.x86_64 2/10 Updating : glusterfs-3.7.9-4.el7.x86_64 3/10 Updating : glusterfs-api-3.7.9-4.el7.x86_64 4/10 Updating : glusterfs-fuse-3.7.9-4.el7.x86_64 5/10 Cleanup : glusterfs-fuse-3.7.5-19.el7.x86_64 6/10 Cleanup : glusterfs-api-3.7.5-19.el7.x86_64 7/10 Cleanup : glusterfs-3.7.5-19.el7.x86_64 8/10 Cleanup : glusterfs-client-xlators-3.7.5-19.el7.x86_64 9/10 Cleanup : glusterfs-libs-3.7.5-19.el7.x86_64 10/10 Verifying : glusterfs-api-3.7.9-4.el7.x86_64 1/10 Verifying : glusterfs-fuse-3.7.9-4.el7.x86_64 2/10 Verifying : glusterfs-client-xlators-3.7.9-4.el7.x86_64 3/10 Verifying : glusterfs-libs-3.7.9-4.el7.x86_64 4/10 Verifying : glusterfs-3.7.9-4.el7.x86_64 5/10 Verifying : glusterfs-libs-3.7.5-19.el7.x86_64 6/10 Verifying : glusterfs-fuse-3.7.5-19.el7.x86_64 7/10 Verifying : glusterfs-3.7.5-19.el7.x86_64 8/10 Verifying : glusterfs-client-xlators-3.7.5-19.el7.x86_64 9/10 Verifying : glusterfs-api-3.7.5-19.el7.x86_64 10/10 Updated: glusterfs.x86_64 0:3.7.9-4.el7 glusterfs-api.x86_64 0:3.7.9-4.el7 glusterfs-client-xlators.x86_64 0:3.7.9-4.el7 glusterfs-fuse.x86_64 0:3.7.9-4.el7 glusterfs-libs.x86_64 0:3.7.9-4.el7 Complete!
Removing the Fixed In Version since this is marked as FailedQA.
Downstream patch: https://code.engineering.redhat.com/gerrit/74231 Moving to MODIFIED.
Updated the client rpms from RHGS 3.1.2 (glusterfs-3.7.5-19.el7 )to RHGS 3.1.3 nightly ( glusterfs-3.7.9-5.el7rhgs ) and there were no issues seen Running transaction Updating : glusterfs-libs-3.7.9-5.el7.x86_64 1/10 Updating : glusterfs-client-xlators-3.7.9-5.el7.x86_64 2/10 Updating : glusterfs-3.7.9-5.el7.x86_64 3/10 Updating : glusterfs-fuse-3.7.9-5.el7.x86_64 4/10 Updating : glusterfs-api-3.7.9-5.el7.x86_64 5/10 Cleanup : glusterfs-api-3.7.5-19.el7.x86_64 6/10 Cleanup : glusterfs-fuse-3.7.5-19.el7.x86_64 7/10 Cleanup : glusterfs-3.7.5-19.el7.x86_64 8/10 Cleanup : glusterfs-client-xlators-3.7.5-19.el7.x86_64 9/10 Cleanup : glusterfs-libs-3.7.5-19.el7.x86_64 10/10 Verifying : glusterfs-fuse-3.7.9-5.el7.x86_64 1/10 Verifying : glusterfs-api-3.7.9-5.el7.x86_64 2/10 Verifying : glusterfs-libs-3.7.9-5.el7.x86_64 3/10 Verifying : glusterfs-client-xlators-3.7.9-5.el7.x86_64 4/10 Verifying : glusterfs-3.7.9-5.el7.x86_64 5/10 Verifying : glusterfs-libs-3.7.5-19.el7.x86_64 6/10 Verifying : glusterfs-fuse-3.7.5-19.el7.x86_64 7/10 Verifying : glusterfs-3.7.5-19.el7.x86_64 8/10 Verifying : glusterfs-client-xlators-3.7.5-19.el7.x86_64 9/10 Verifying : glusterfs-api-3.7.5-19.el7.x86_64 10/10
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2016:1240