Bug 1004986
Summary: | Refactor YumProfiler._translate_erratum() | ||
---|---|---|---|
Product: | [Retired] Pulp | Reporter: | Randy Barlow <rbarlow> |
Component: | rpm-support | Assignee: | Mike McCune <mmccune> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | Preethi Thomas <pthomas> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | Master | CC: | mhrivnak |
Target Milestone: | --- | Keywords: | Triaged |
Target Release: | 2.4.0 | ||
Hardware: | All | ||
OS: | All | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2014-08-09 06:55:57 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: | 1004981, 1104742 | ||
Bug Blocks: | 980611 |
Description
Randy Barlow
2013-09-05 23:24:09 UTC
Fixing this bug should help us to resolve the symptoms (but not the true cause) of #980611. The cause of that bug is that Yum generates bad XML that lacks the epoch during publishing. This bug can only be fixed if we also fix #1004981, because the current _translate_erratum() depends on the agent only using the name field (which is the subject of that bug). These two bugs must be fixed for the same Pulp release. This has been fixed as part of the new yum distributor build: 2.4.0-0.7.beta Preethi, to verify this bug you should try to make sure you can do these two things: 1) Use pulp-admin's rpm consumer section to install a package on a consumer by name only. 2) Use pulp-admin's rpm consumer section to install a package by name-version-release. I think the help text on the consumer install command just has --name, but you should be able to pass name-version-release. I think there might be a bug filed about that issue, but I can't remember for sure. [root@yttrium ~]# pulp-admin rpm consumer package install run --consumer-id patch -n zebra Install task created with id [ ed338168-5424-49ba-944e-9b2437c75946 ] This command may be exited via ctrl+c without affecting the request. Refresh Repository Metadata [ OK ] Downloading Packages [ OK ] Check Package Signatures [ OK ] Running Test Transaction [ OK ] Running Transaction [ OK ] Install Succeeded +----------------------------------------------------------------------+ Installed +----------------------------------------------------------------------+ Name: zebra Version: 0.1 Arch: noarch Repoid: zoo +----------------------------------------------------------------------+ Installed for Dependencies +----------------------------------------------------------------------+ Name: lion Version: 0.4 Arch: noarch Repoid: zoo Name: elephant Version: 8.3 Arch: noarch Repoid: zoo Name: crow Version: 0.8 Arch: noarch Repoid: zoo Name: tiger Version: 1.0 Arch: noarch Repoid: zoo Name: dolphin Version: 3.10.232 Arch: noarch Repoid: zoo Name: gorilla Version: 0.62 Arch: noarch Repoid: zoo Name: bear Version: 4.1 Arch: noarch Repoid: zoo Name: kangaroo Version: 0.2 Arch: noarch Repoid: zoo Name: pike Version: 2.2 Arch: noarch Repoid: zoo [root@yttrium ~]# This has been fixed in Pulp 2.4.0-1. |