Bug 445591 (gfs2-kmod-upgrade)
| Summary: | rhn based upgrade of rhel 5.1 to rhel 5.2 fails due to module conflicts | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Robert M Williams <rwilliam> |
| Component: | kernel | Assignee: | Chris Feist <cfeist> |
| Status: | CLOSED WONTFIX | QA Contact: | GFS Bugs <gfs-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | high | ||
| Version: | 5.2 | CC: | atodorov, cfeist, cluster-maint, ddomingo, edamato, ftaylor, james.antill, jlaska, jpazdziora, nstraz, rlerch |
| Target Milestone: | rc | ||
| Target Release: | --- | ||
| Hardware: | x86_64 | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: |
(all architectures)
If your system has an older version of the gfs2-kmod package installed but the yum-kmod package is not installed, upgrading from Red Hat Enterprise Linux 5.1 to 5.2 will fail. To prevent this, install the latest version of yum-kmod first (using yum install yum-kmod) before running yum update.
|
Story Points: | --- |
| Clone Of: | Environment: | ||
| Last Closed: | 2008-05-22 21:13:20 UTC | Type: | --- |
| 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: | 391221 | ||
|
Description
Robert M Williams
2008-05-07 20:13:30 UTC
What rhn server was being used for this test? Can you list teh channels subscribed to? (echo repo list | yum shell)? Actually this set of errors are coming from rpm, so there isn't anything yum can do. So saying that, again typing while I think, ... yum-kmod plugin should be "doing the right thing" here, AIUI. What's the output of: yum list yum\* ...and does the latest yum/yum-kmod fix it? Ok, so if I login to the test base and "yum install yum-kmod" and then yum
update, I get:
Installing:
dhcpv6-client i386 1.0.10-4.el5 rhel-i386-server-5 120 k
replacing dhcpv6_client.i386 0.10-33.el5
kernel i686 2.6.18-92.el5 rhel-i386-server-5 14 M
kernel-xen i686 2.6.18-92.el5 rhel-i386-server-5 15 M
kmod-gfs i686 0.1.23-5.el5
rhel-i386-server-cluster-storage-5 138 k
kmod-gfs-xen i686 0.1.23-5.el5
rhel-i386-server-cluster-storage-5 138 k
kmod-gfs2 i686 1.92-1.1.el5
rhel-i386-server-cluster-storage-5 436 k
kmod-gfs2-xen i686 1.92-1.1.el5
rhel-i386-server-cluster-storage-5 426 k
libhugetlbfs i386 1.2-5.el5 rhel-i386-server-5 14 k
replacing libhugetlbfs-lib.i386 1.0.1-1.el5
Removing:
kmod-gfs i686 0.1.19-7.el5 installed 304 k
kmod-gfs-xen i686 0.1.19-7.el5 installed 304 k
kmod-gfs2 i686 1.52-1.16.el5 installed 1.1 M
kmod-gfs2-xen i686 1.52-1.16.el5 installed 1.1 M
...which I'm pretty sure is the right thing.
And removing yum-kmod and running again, I get basically the same output except the old versions aren't being removed. So the big question is, why isn't yum-kmod installed on a system with kmods installed ... and can/does this happen to our customers? Note that I didn't run the Transaction ... as I didn't want to alter the machine, from it's current state. But I'm 99%+ sure that if yum-kmod is installed rpm won't complain. if you can reproduce it add 'test' to tsflags in yum.conf under [main] and run the ts. I added the 'test' flag and got the same errors.
I also added a repo with gfs2-kmod packages that obsoleted their respective
packages and also received the same error, although this time in the yum log I
saw this:
kmod-gfs2 i686 1.92-1.2.test.3.el5 gfs2-kmod 433 k
replacing kmod-gfs2.i686 1.52-1.16.el5
kmod-gfs2-xen i686 1.92-1.2.test.3.el5 gfs2-kmod 425 k
replacing kmod-gfs2-xen.i686 1.52-1.16.el5
*** Bug 446119 has been marked as a duplicate of this bug. *** thanks Suzanne, adding to RHEL5.2 release notes updates: <quote> If your system has an older version of the yum-kmod and gfs2-kmod packages installed, upgrading from Red Hat Enterprise Linux 5.1 to 5.2 will fail. To prevent this, upgrade your yum-kmod to the latest version first (using yum update yum-kmod) before running yum update. </quote> note that as per BZ#428323, the following bug also exists: <quote> If your system has yum-rhn-plugin-0.5.2-5.el5_1.2 (or an earlier version) installed, you will be unable to upgrade to Red Hat Enterprise Linux 5.2 through yum update. To work around this, upgrade your yum-rhn-plugin to the latest version (using yum update yum-rhn-plugin) before running yum update. </quote> FYI. anyhow, please advise if any further revisions are required. thanks! "If your system has older versions of both the yum-kmod and gfs2-kmod packages..." (Perhaps) slightly clearer wording. Not a biggy. Don, this issue only happens when you don't have yum-kmod installed (if yum-kmod was installed we wouldn't have this issue). So a possible re-wording would be: If your system has an older version of the gfs2-kmod packages installed without the yum-kmod package installed, upgrading... thanks Chris, revising as: <quote> If your system has an older version of the gfs2-kmod package installed but the yum-kmod package is not installed, upgrading from Red Hat Enterprise Linux 5.1 to 5.2 will fail. To prevent this, install the latest version of yum-kmod first (using yum install yum-kmod) before running yum update. </quote> please advise if any further revisions are required. thanks! That looks good to me. Thanks! Looks good to me. There should be nothing to fix for this bug other than installing yum-kmod and once the user has the 5.2 gfs2-kmod package installed they won't have an issue upgrading to 5.3. Closing this as WONTFIX. *** Bug 453001 has been marked as a duplicate of this bug. *** Tracking this bug for the Red Hat Enterprise Linux 5.3 Release Notes. Release note added. If any revisions are required, please set the "requires_release_notes" flag to "?" and edit the "Release Notes" field accordingly. All revisions will be proofread by the Engineering Content Services team. *** Bug 459045 has been marked as a duplicate of this bug. *** as per comment #31 on https://bugzilla.redhat.com/show_bug.cgi?id=248129 i am removing this note from the 5.3 release notes. |