Bug 1200981
Summary: | RHSS 3.0u3 to RHSS 3.0u4 upgrade using ISO source tree fails due to samba related dependency issues | ||
---|---|---|---|
Product: | [Red Hat Storage] Red Hat Gluster Storage | Reporter: | Prasanth <pprakash> |
Component: | distribution | Assignee: | Sreenath G <sgirijan> |
Status: | CLOSED ERRATA | QA Contact: | Prasanth <pprakash> |
Severity: | urgent | Docs Contact: | |
Priority: | urgent | ||
Version: | rhgs-3.0 | CC: | amainkar, annair, jarrpa, nlevinki, nsathyan, pprakash, rcyriac, rhs-bugs, sbhaloth, sgirijan, sgraf, vagarwal |
Target Milestone: | --- | Keywords: | ZStream |
Target Release: | RHGS 3.0.4 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | RHSS-3.0u4-20150312.n.3-RHS-x86_64-DVD1.iso | Doc Type: | Bug Fix |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2015-03-26 06:36:58 UTC | Type: | Bug |
Regression: | --- | Mount Type: | --- |
Documentation: | --- | CRM: | |
Verified Versions: | Category: | --- | |
oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
Cloudforms Team: | --- | Target Upstream Version: | |
Embargoed: | |||
Bug Depends On: | |||
Bug Blocks: | 1182947 |
Description
Prasanth
2015-03-11 18:22:36 UTC
Prasanth's package list looks correct to me. Actually we could probably trim it down further, for pedantic correctness: samba-client samba-winbind samba-winbind-clients samba-winbind-krb5-locator Everything else other than the -devel packages are dependencies of at least one of those four. I'm not sure that we typically ship -devel packages in ISOs? Prasanth, Can you check what is the minimal set of packages from among the list that you provided, that is essential to fix the issue ? It would be better not to ship more than what is required, especially the devel packages. You could do this by attempting a reproduction of issue, along with subsets of packages from the provided list, made available through another repo. This would help us to find a resolution to the issue more quickly. Thanks. (In reply to Rejy M Cyriac from comment #4) > Prasanth, > > Can you check what is the minimal set of packages from among the list that > you provided, that is essential to fix the issue ? It would be better not to > ship more than what is required, especially the devel packages. > > You could do this by attempting a reproduction of issue, along with subsets > of packages from the provided list, made available through another repo. > This would help us to find a resolution to the issue more quickly. > > Thanks. I believe that all the samba dependent packages (which are required for the samba upgrade) that we are shipping in the samba CDN repo should have been also included in the ISO as well, right? Or do we have any different plan for upgrading samba using the ISO? The missing dependency list that I've provided as an additional info are the ones that got pulled in from the latest samba repo (http://rhsqe-repo.lab.eng.blr.redhat.com/rhs3.0.4-samba-latest/) as part of my testing for resolving the dependencies for the upgrade, thinking that it would be helpful for the devel to check and confirm it sooner. However, I completely agree that we shouldn't be shipping any extra packages that are not really required and we all need to put our best effort to trim it down. So from QE side, I can help in finding out the minimal set of packages from the provided list by testing it out with a subset of packages which will resolve the dependency chain. But if we are sure that the trimmed down list of 4 packages provided by Jose should suffice, I can straight away test it out so that we can save time here? The list of 4 packages I provided should be right, it should pull in everything that's needed. :) The below ISO spin lists all the sub-pkgs mentioned in Comment 3 . But some other sub-pkgs has still not come to ISO, and the mandatory ones can be force included in the next spin. [1] http://download.eng.bos.redhat.com/composes/nightly/RHSS-3.0u4-20150312.n.0/3.0u4/RHS/x86_64/os/Packages/ Based on my testing, I can confirm that the following packages missing in the 3.0.4 ISO would definitely lead to a upgrade failure in an ISO tree based upgrade: ##### libwbclient-devel libsmbclient-devel libsmbclient samba-client samba-winbind samba-winbind-clients samba-winbind-krb5-locator samba-winbind-modules ##### So how are we going to proceed with this? Are those devel packages really required for the proper functioning of the samba? If not, is there a need to ship these devel packages instead of taking away the dependency or obsoleting it? Please decide and confirm as soon as possible. I've also noticed the following things which might be helpful for debugging/fixing the issue: 1. Two "devel" packages are seen as installed by default in a 3.0.3 ISO based installation: ------- [root@dhcp43-2 /]# rpm -qa |grep -i devel libsmbclient-devel-3.6.509-169.6.el6rhs.x86_64 samba-winbind-devel-3.6.509-169.6.el6rhs.x86_64 ------- 2. While upgrading to 3.0.4, the package "libwbclient-devel" is getting installed which is trying to replace "samba-winbind-devel-3.6.509-169.6.el6rhs.x86_64". Here we are trying to replace one devel package with another! 3. So after a successful upgrade to 3.0.4, TWO samba related devel packages would still remain in any RHS system in the current situation. ~~~~~~~~~~~~~~~~~~~~~~~ [root@dhcp43-2 ]# yum deplist libwbclient-devel Finding dependencies: package: libwbclient-devel.x86_64 4.1.17-4.el6rhs dependency: /usr/bin/pkg-config provider: pkgconfig.x86_64 1:0.23-9.1.el6 dependency: libwbclient = 4.1.17-4.el6rhs provider: libwbclient.x86_64 4.1.17-4.el6rhs dependency: /bin/sh provider: bash.x86_64 4.1.2-29.el6 dependency: libwbclient.so.0()(64bit) provider: libwbclient.x86_64 4.1.17-4.el6rhs [root@dhcp43-2 ]# yum deplist libwbclient-devel Finding dependencies: package: libwbclient-devel.x86_64 4.1.17-4.el6rhs dependency: /usr/bin/pkg-config provider: pkgconfig.x86_64 1:0.23-9.1.el6 dependency: libwbclient = 4.1.17-4.el6rhs provider: libwbclient.x86_64 4.1.17-4.el6rhs dependency: /bin/sh provider: bash.x86_64 4.1.2-29.el6 dependency: libwbclient.so.0()(64bit) provider: libwbclient.x86_64 4.1.17-4.el6rhs [root@dhcp43-2 ]# yum deplist libsmbclient-devel Finding dependencies: package: libsmbclient-devel.x86_64 4.1.17-4.el6rhs dependency: /usr/bin/pkg-config provider: pkgconfig.x86_64 1:0.23-9.1.el6 dependency: libsmbclient.so.0()(64bit) provider: libsmbclient.x86_64 4.1.17-4.el6rhs dependency: libsmbsharemodes.so.0()(64bit) provider: libsmbclient.x86_64 4.1.17-4.el6rhs provider: samba4-libs.x86_64 4.0.0-66.el6_6.rc4 dependency: libsmbclient = 4.1.17-4.el6rhs provider: libsmbclient.x86_64 4.1.17-4.el6rhs ~~~~~~~~~~~~~~~~~~~~~~~ -Prasanth Yup, that sounds as expected. In addition to the four packages listed above, the -devel packages need to be included in the ISO as well. This is because samba-vfs-glusterfs 3.6.509 REQUIRES (not BuildRequires) samba-winbind-devel and libsmbclient-devel. While in 4.1.x this is not the case, when upgrading from RHS <= 3.0.3 the -devel packages will already be installed and they each have a reverse dependency on their non-devel counterparts (samba-winbind and libsmbclient respectively). Thus, when the non-devel packages get updated, this breaks the dependencies and yum will spit out an error. So, to recap, the list of packages to explicitly include in the ISO are: libsmbclient-devel libwbclient-devel (obsoletes samba-winbind-devel) samba-client (pulls in libsmbclient) samba-winbind (pulls in samba-winbind-modules) samba-winbind-clients samba-winbind-krb5-locator Below is the spin with all sub-pkgs included in comment 9 [1] http://download.eng.bos.redhat.com/composes/nightly/RHSS-3.0u4-20150312.n.3/3.0u4/RHS/x86_64/iso/RHSS-3.0u4-20150312.n.3-RHS-x86_64-DVD1.iso Sreenath, (In reply to Sreenath G from comment #10) > Below is the spin with all sub-pkgs included in comment 9 > > [1] > http://download.eng.bos.redhat.com/composes/nightly/RHSS-3.0u4-20150312.n.3/ > 3.0u4/RHS/x86_64/iso/RHSS-3.0u4-20150312.n.3-RHS-x86_64-DVD1.iso Sreenath, If the above ISO has all the sub-pkgs which fixes the reported issue, please move the BZ to ON_QA for QE verification. Also update the "Fixed In Version" with the build name which has the fix. Verified as fixed in RHSS-3.0u4-20150312.n.3-RHS-x86_64-DVD1.iso The upgrade works now. ---------- # rpm -qa |grep samba samba-libs-4.1.17-4.el6rhs.x86_64 samba-vfs-glusterfs-4.1.17-4.el6rhs.x86_64 samba-4.1.17-4.el6rhs.x86_64 samba-winbind-modules-4.1.17-4.el6rhs.x86_64 samba-winbind-clients-4.1.17-4.el6rhs.x86_64 samba-client-4.1.17-4.el6rhs.x86_64 samba-common-4.1.17-4.el6rhs.x86_64 samba-winbind-4.1.17-4.el6rhs.x86_64 samba-winbind-krb5-locator-4.1.17-4.el6rhs.x86_64 ---------- 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/RHBA-2015-0682.html |