Bug 585965
Summary: | Incorrect Errata calculation/Update for multi-lib systems | ||||||
---|---|---|---|---|---|---|---|
Product: | Red Hat Satellite 5 | Reporter: | Vishal Gaikwad <vgaikwad> | ||||
Component: | Server | Assignee: | Michael Mráka <mmraka> | ||||
Status: | CLOSED CURRENTRELEASE | QA Contact: | Jan Hutař <jhutar> | ||||
Severity: | medium | Docs Contact: | |||||
Priority: | high | ||||||
Version: | 530 | CC: | cperry, erik, jhutar, liko, mmraka, mzazrivec, psklenar, tao, xdmoon | ||||
Target Milestone: | --- | ||||||
Target Release: | --- | ||||||
Hardware: | All | ||||||
OS: | Linux | ||||||
Whiteboard: | |||||||
Fixed In Version: | spacewalk-backend-1.2.10-1 | Doc Type: | Bug Fix | ||||
Doc Text: | Story Points: | --- | |||||
Clone Of: | |||||||
: | 605242 (view as bug list) | Environment: | |||||
Last Closed: | 2010-10-28 14:56:04 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: | 487678, 605242 | ||||||
Attachments: |
|
Description
Vishal Gaikwad
2010-04-26 14:33:05 UTC
Ok, I think i have this figured out and fixed. The downside is that is requires a schema change in addition to a java side change. Commit: 7ff5c9d737d679513732e0b570e3ed8b5147aaed Basically the query was not taking into consideration arch information on what was already installed. I changed it to take this into consideration and restrict by the Arch but this also caused an issue. firstboot-tui's arch actually change during the RHEL 5 lifecycle, so it started off as a noarch package and became an x86_64 package. So i had to restrict by arch only when it was relevant. It's amazing how confusing such a simple little thing can become.... Created attachment 419082 [details]
Schema upgrade script
Attaching schema-fix-585965.sql
FAILS_QA channel rhel5 x86_64 on server contains: openldap-2.3.43-12.el5_5.2.i386 openldap-2.3.43-12.el5_5.2.x86_64 openssl-0.9.8e-12.el5_4.6.i386 openssl-0.9.8e-12.el5_4.6.x86_64 rhel5 x86_64 client has: openldap-2.3.43-12.el5_5.1.i386 openldap-2.3.43-12.el5_5.2.x86_64 openssl-0.9.8e-12.el5_4.1.i386 openssl-0.9.8e-12.el5_4.1.x86_64 yum on client shows: openldap x86_64 2.3.43-12.el5_5.2 rhel-x86_64-server-5 303 k openssl i686 0.9.8e-12.el5_4.6 rhel-x86_64-server-5 1.4 M openssl x86_64 0.9.8e-12.el5_4.6 rhel-x86_64-server-5 1.4 M webUI shows: <nothing> Fixed in upstream by commit 6e717160dcddef1225f18af6b98d96b9a625888d 585965 - rhnServerNeededView rewritten from scratch it utilize rhnChannelNewestPackage cache table and new table for package upgrade compatibility commit d02a5eec45b0b0283770dcf88e6141f4caed37a0 rhnPackageUpgradeArchCompat - an <package_arch> package can be upgraded by newer <package_upgrade_arch> package Fixed in 'spacewalk-backend-1.2.10-1'. 'spacewalk-backend-1.2.11-1.el5sat' included in compose 'Satellite-5.4.0-RHEL5-re20100910.2'. Moving to ON_QA. *** Bug 605242 has been marked as a duplicate of this bug. *** Verified in stage (-> release_pending) with: spacewalk-schema-1.2.21-8.el5sat.noarch satellite-schema-5.4.0.8-1.el5sat.noarch The 5.4.0 RHN Satellite and RHN Proxy release has occurred. This issue has been resolved with this release. RHEA-2010:0801 - RHN Satellite Server 5.4.0 Upgrade https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10332 RHEA-2010:0803 - RHN Tools enhancement update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10333 RHEA-2010:0802 - RHN Proxy Server 5.4.0 bug fix update https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10334 RHEA-2010:0800 - RHN Satellite Server 5.4.0 https://rhn.redhat.com/rhn/errata/details/Details.do?eid=10335 Docs are available: http://docs.redhat.com/docs/en-US/Red_Hat_Network_Satellite/index.html Regards, Clifford *** Bug 566029 has been marked as a duplicate of this bug. *** |