Description of problem: When performing layer install of RHGS 3.1.3, "yum groups install RH-Gluster-NFS-Ganesha" fails due to the out-of-date nfs-ganesha-nullfs depending on an old version of nfs-ganesha Version-Release number of selected component (if applicable): RHGS 3.1.3 nfs-ganesha-nullfs-2.2.0-5.el7rhgs.x86_64 nfs-ganesha-2.3.1-8.el7rhgs.x86_64 nfs-ganesha-gluster-2.3.1-8.el7rhgs.x86_64 How reproducible: Always as of right now. Steps to Reproduce: 1. Perform RHGS layered install on RHEL 7 2. Do "yum groups install RH-Gluster-NFS-Ganesha" 3. Actual results: ... --> Finished Dependency Resolution Error: Package: nfs-ganesha-nullfs-2.2.0-5.el7rhgs.x86_64 (...) Requires: nfs-ganesha = 2.2.0-5.el7rhgs Available: nfs-ganesha-2.2.0-5.el7rhgs.x86_64 (...) nfs-ganesha = 2.2.0-5.el7rhgs Available: nfs-ganesha-2.2.0-9.el7rhgs.x86_64 (...) nfs-ganesha = 2.2.0-9.el7rhgs Available: nfs-ganesha-2.2.0-12.el7rhgs.x86_64 (...) nfs-ganesha = 2.2.0-12.el7rhgs Installing: nfs-ganesha-2.3.1-8.el7rhgs.x86_64 (...) nfs-ganesha = 2.3.1-8.el7rhgs You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Expected results: "yum groups install RH-Gluster-NFS-Ganesha" succeeds without the error. Additional info: The root cause of this problem is that nfs-ganesha and nfs-ganesha-gluster are updated to 2.3.1-8.el7rhgs but nfs-ganesha-nullfs isn't (still 2.2.0-5.el7rhgs, requiring nfs-ganesha of the same version-release). There's a workaround: Before installing glusterfs-ganesha, you can manually yum install nfs-ganesha-2.2.0-5.el7rhgs nfs-ganesha-gluster-2.2.0-5.el7rhgs nfs-ganesha-nullfs-2.2.0-5.el7rhgs The fix should be nfs-ganesha-nullfs is either updated to 2.3.1-8.el7rhgs to match the other rpms, or booted from RH-Gluster-NFS-Ganesha group (if it's not necessary).
nfs-ganesha-nullfs was not required to configure nfs-ganesha on RedHat Gluster storage nodes. Hence as part of bug1247574, a fix has been made to prevent building nfs-ganesha-nullfs rpm while building nfs-ganesha package. Considering there are known issues with "yum groups install" and it is not documented in the installation guide as well, request you to install the package as documented. https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3.1/html/Installation_Guide/chap-Deploying_NFSGanesha.html # yum install glusterfs-ganesha Meanwhile request releng team to remove the nfs-ganesha-nullfs package from the group and let us know in case of anything required to do the needful.
(In reply to Soumya Koduri from comment #2) > nfs-ganesha-nullfs was not required to configure nfs-ganesha on RedHat > Gluster storage nodes. Hence as part of bug1247574, a fix has been made to > prevent building nfs-ganesha-nullfs rpm while building nfs-ganesha package. > Considering there are known issues with "yum groups install" and it is not > documented in the installation guide as well, request you to install the > package as documented. > > https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3.1/html/ > Installation_Guide/chap-Deploying_NFSGanesha.html > > # yum install glusterfs-ganesha Right, but it also says "While installing Red Hat Storage using an ISO, in the Customizing the Software Selection screen, select RH-Gluster-NFS-Ganesha and click Next" which has (or at least, should have) the same effect as "yum groups install RH-Gluster-NFS-Ganesha". I'd also like to point out that the Installation Guide tells you to do "yum groupinstall" (which is one of many remaining RHEL-6-ism in the RHGS docos, BTW) for RH-Gluster-Samba-Server and RH-Gluster-AD-Integration, so, having read the previous chapter, one might assume group installing RH-Gluster-NFS-Ganesha would work as well. https://access.redhat.com/documentation/en-US/Red_Hat_Storage/3.1/html-single/Installation_Guide/index.html#Installing_Samba_Using_yum Lastly, I'm fine with the solution of removing nfs-ganesha-nullfs from the group. Thanks,
The updated comps groups have been updated in RHN & CDN channels, but there are some problems seen in reflecting the content for some RHN channels. Working on to fix this.
The comps groups have been updated and is visible in CDN-stage
Tried the groupinstall on satellite-stage environment, it still fails with ---> Package rubygem-json.x86_64 0:1.7.7-29.el7 will be installed --> Finished Dependency Resolution Error: Package: nfs-ganesha-nullfs-2.2.0-5.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) Requires: nfs-ganesha = 2.2.0-5.el7rhgs Available: nfs-ganesha-2.2.0-5.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.2.0-5.el7rhgs Available: nfs-ganesha-2.2.0-9.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.2.0-9.el7rhgs Available: nfs-ganesha-2.2.0-12.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.2.0-12.el7rhgs Installing: nfs-ganesha-2.3.1-8.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.3.1-8.el7rhgs You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest Trying with syncing of satellite stage with code.stage to see if it gets the changes in and will update if it works. From CDN stage the group listing doesn't shows any of the rhgs groups. Need to check with Sreenath.
Tried after syncing from code.stage still the error is seen. Yum groupinstall of samba related groups works fine the issue with nfs-ganesha groups still remains same.
As discussed with Sreenath, For debugging ,the grouplist of gluster has been removed from rhn.code.stage environment. I tried subscribing to rhn.code.stage and I don't see any groups related to rhgs listed there. Request sreenath to do the next steps so that i could verify it.
I tried the test of yum group install of NFS-Ganesha and it worked in RHN code.stage environment on RHEL6. Need to test on following as well: CDN stage : RHEL6 & RHEL7 Satellite stage : RHEL7 Then will update.
The CDN-stage for both RHEL-7 and RHEL-6 has been updated again with the latest comps file.
RHEL6 RHN-stage : Successfull RHEL6 CDN stage : Successfull RHEL7 RHN-stage : Yum groupinstall of NFS-Ganesha fails RHEL7 CDN stage : Yum grouplist doesn't list any RHGS group and gives following message while listing : "There is no installed groups file."
On RHEL7 RHN-Stage : it fails with the same error: There is no installed groups file. Maybe run: yum groups mark convert (see man yum) Resolving Dependencies --> Running transaction check ---> Package glusterfs-ganesha.x86_64 0:3.8.4-18.el7rhgs will be installed ---> Package nfs-ganesha.x86_64 0:2.4.1-9.el7rhgs will be installed --> Processing Dependency: libntirpc.so.1.4(NTIRPC_1.4.3)(64bit) for package: nfs-ganesha-2.4.1-9.el7rhgs.x86_64 --> Processing Dependency: libntirpc.so.1.4()(64bit) for package: nfs-ganesha-2.4.1-9.el7rhgs.x86_64 ---> Package nfs-ganesha-gluster.x86_64 0:2.4.1-9.el7rhgs will be installed ---> Package nfs-ganesha-nullfs.x86_64 0:2.2.0-5.el7rhgs will be installed --> Processing Dependency: nfs-ganesha = 2.2.0-5.el7rhgs for package: nfs-ganesha-nullfs-2.2.0-5.el7rhgs.x86_64 --> Running transaction check ---> Package libntirpc.x86_64 0:1.4.3-1.el7rhgs will be installed ---> Package nfs-ganesha-nullfs.x86_64 0:2.2.0-5.el7rhgs will be installed --> Processing Dependency: nfs-ganesha = 2.2.0-5.el7rhgs for package: nfs-ganesha-nullfs-2.2.0-5.el7rhgs.x86_64 --> Finished Dependency Resolution Error: Package: nfs-ganesha-nullfs-2.2.0-5.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) Requires: nfs-ganesha = 2.2.0-5.el7rhgs Available: nfs-ganesha-2.2.0-5.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.2.0-5.el7rhgs Available: nfs-ganesha-2.2.0-9.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.2.0-9.el7rhgs Available: nfs-ganesha-2.2.0-12.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.2.0-12.el7rhgs Available: nfs-ganesha-2.3.1-8.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.3.1-8.el7rhgs Installing: nfs-ganesha-2.4.1-9.el7rhgs.x86_64 (rhel-x86_64-server-7-rh-gluster-3-nfs) nfs-ganesha = 2.4.1-9.el7rhgs You could try using --skip-broken to work around the problem You could try running: rpm -Va --nofiles --nodigest On RHEL7 CDN-stage : the groups are not listed.
This issue is fixed only in RHEL6 and not on RHEL7. There is a BZ cloned [1434379] for RHEL7 and to be considered for next release as there are challenges in fixing it now. Moving this BZ to verified as the yum groupinstall of NFS-ganesha works on RHEL6 RHN and CDN environment.
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://rhn.redhat.com/errata/RHSA-2017-0486.html