Bug 1045414 - nfs-ganesha: start fails as it is expecting older rpms
Summary: nfs-ganesha: start fails as it is expecting older rpms
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Gluster Storage
Classification: Red Hat
Component: nfs-ganesha
Version: 2.1
Hardware: x86_64
OS: Linux
high
high
Target Milestone: ---
: RHGS 2.1.2
Assignee: Anand Subramanian
QA Contact: Saurabh
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2013-12-20 11:27 UTC by Saurabh
Modified: 2016-01-19 06:15 UTC (History)
5 users (show)

Fixed In Version: nfs-ganesha-2.0.0.1-4.el6rhs
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2014-02-25 08:09:53 UTC
Target Upstream Version:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHEA-2014:0208 0 normal SHIPPED_LIVE Red Hat Storage 2.1 enhancement and bug fix update #2 2014-02-25 12:20:30 UTC

Description Saurabh 2013-12-20 11:27:06 UTC
Description of problem:
I installed the latest rpms i.e. nfs-ganesha-2.0.0.1-2.el6rhs.x86_64.rpm 
but the nfs-ganesha process fails to start as the shell script used for bringing the nfs-ganesha process is expecting the older rpm.



Version-Release number of selected component (if applicable):
nfs-ganesha-2.0.0.1-2.el6rhs.x86_64.rpm 

How reproducible:
always


Actual results:
[root@rhsauto016 nfs-ganesha]# /usr/lib/glusterfs/.unsupported/rhs-nfs_ganesha.sh -l /tmp/nfs-ganesha.log -v dist-rep -i 10.70.36.246 -f /usr/lib/glusterfs/.unsupported/nfs-ganesha.conf -o start
nfs-ganesha-2.0.0.1-1.el6rhs.x86_64 rpms need to be installed, exiting

Expected results:
it should not parse the earlier version of rpms

Additional info:

Comment 1 Saurabh 2013-12-20 11:50:20 UTC
after the failure mentioned in the description section, I tried to modify the /usr/lib/glusterfs/.unsupported/rhs-nfs_ganesha.sh script just for the correct name of rpms, still the nfs-ganesha process fails to start because of it is not able the find the required symbolic link.

[root@rhsauto016 nfs-ganesha]# /usr/lib/glusterfs/.unsupported/rhs-nfs_ganesha.sh -l /tmp/nfs-ganesha.log -v dist-rep -i 10.70.36.246 -f /usr/lib/glusterfs/.unsupported/nfs-ganesha.conf -o start
Failed to start NFS-ganesha server , please see /tmp/nfs-ganesha.log for details

logs, 

/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18815[main] load_fsal :NFS STARTUP :CRIT :Could not dlopen module:/usr/lib64/ganesha/libfsalgluster.so Error:/usr/lib64/ganesha/libfsalgluster.so: cannot open shared object file: No such file or directory
20/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18815[main] load_fsal :NFS STARTUP :MAJ :Failed to load module (/usr/lib64/ganesha/libfsalgluster.so) because: Can not access a needed shared library
20/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18815[main] start_fsals :NFS STARTUP :FATAL :No fsal modules loaded
20/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18821[main] SetDefaultLogging :LOG :EVENT :Setting default log destination to name /tmp/nfs-ganesha.log
20/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18821[main] main :MAIN :EVENT :ganesha.nfsd Starting: Version 2.0.0, built at Dec 19 2013 08:16:07 on x86-026.build.eng.bos.redhat.com
20/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18821[main] load_fsal :NFS STARTUP :CRIT :Could not dlopen module:/usr/lib64/ganesha/libfsalgluster.so Error:/usr/lib64/ganesha/libfsalgluster.so: cannot open shared object file: No such file or directory
20/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18821[main] load_fsal :NFS STARTUP :MAJ :Failed to load module (/usr/lib64/ganesha/libfsalgluster.so) because: Can not access a needed shared library
20/12/2013 11:02:17 : epoch 52b46a09 : rhsauto015.lab.eng.blr.redhat.com : ganesha.nfsd-18821[main] start_fsals :NFS STARTUP :FATAL :No fsal modules loaded



the link created are these,
[root@rhsauto015 ~]# ls -l /usr/lib64/ganesha/
total 972
lrwxrwxrwx 1 root root     23 Dec 20 03:40 libfsalgluster.so.4 -> libfsalgluster.so.4.2.0
-rwxr-xr-x 1 root root  87984 Dec 19 08:16 libfsalgluster.so.4.2.0
lrwxrwxrwx 1 root root     20 Dec 20 03:40 libfsalgpfs.so.4 -> libfsalgpfs.so.4.2.0
-rwxr-xr-x 1 root root 394256 Dec 19 08:16 libfsalgpfs.so.4.2.0
lrwxrwxrwx 1 root root     20 Dec 20 03:40 libfsalnull.so.4 -> libfsalnull.so.4.2.0
-rwxr-xr-x 1 root root  95472 Dec 19 08:16 libfsalnull.so.4.2.0
lrwxrwxrwx 1 root root     21 Dec 20 03:40 libfsalproxy.so.4 -> libfsalproxy.so.4.2.0
-rwxr-xr-x 1 root root 214968 Dec 19 08:16 libfsalproxy.so.4.2.0
lrwxrwxrwx 1 root root     19 Dec 20 03:40 libfsalvfs.so.4 -> libfsalvfs.so.4.2.0
-rwxr-xr-x 1 root root 189184 Dec 19 08:16 libfsalvfs.so.4.2.0

Comment 4 Saurabh 2013-12-26 12:07:36 UTC
not seen anymore with the build, nfs-ganesha-2.0.0.1-4.el6rhs.x86_64

Comment 6 errata-xmlrpc 2014-02-25 08:09:53 UTC
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.

http://rhn.redhat.com/errata/RHEA-2014-0208.html


Note You need to log in before you can comment on or make changes to this bug.