Bug 647152
| Summary: | yum repodata expire too late - errata workflow broken | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Enterprise Linux 5 | Reporter: | Tilman Baumann <tbaumann> | ||||
| Component: | yum-rhn-plugin | Assignee: | Miroslav Suchý <msuchy> | ||||
| Status: | CLOSED DUPLICATE | QA Contact: | Red Hat Satellite QA List <satqe-list> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | medium | ||||||
| Version: | 5.0 | CC: | bugzilla-redhat, cperry, eliningt, mosvald, nbronson, vgaikwad, xdmoon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | --- | ||||||
| Hardware: | Unspecified | ||||||
| OS: | Unspecified | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2011-01-18 07:07:23 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: | |||||||
| Attachments: |
|
||||||
|
Description
Tilman Baumann
2010-10-27 12:08:56 UTC
I think I just disproved my theory that rhn_check will ignore the version of the package scheduled for installation.
With yum-rhn-plugin-0.5.3-30.el5 rhn-check-0.4.20-33.el5_5.2 I have
[['iptstate', '1.4', '2.el5', '', 'x86_64']]
{ 'flags': [],
'packages': [(['iptstate', '1.4', '2.el5', '', 'x86_64'], 'i')],
'probFilterFlags': [],
'vsflags': []}
in transaction_data in /usr/share/rhn/actions/packages.py -> runTransaction via packages.update in /usr/share/rhn/actions/errata.py
Not sure if this was recently fixed. I was rather sure about that not being the case. I thought it would only call the equivalent of yum update packagename.
Anyway, this is not the main problem here of course.
I thought this was the reason install requests for package versions that yum does not know result in just the last known version being installed and rhn_check reportung success to rhn.
But as I said, this is only half of the problem.
Created attachment 470929 [details]
a temporary patch which allows rhnplugin to read metadata_expire value from yum.conf
|