Bug 801107
Summary: | Katello generates invalid RHEL5 system templates | ||
---|---|---|---|
Product: | Red Hat Satellite | Reporter: | James Laska <jlaska> |
Component: | API | Assignee: | Ivan Necas <inecas> |
Status: | CLOSED ERRATA | QA Contact: | Jitendra Yejare <jyejare> |
Severity: | high | Docs Contact: | |
Priority: | unspecified | ||
Version: | 6.0.1 | CC: | bkearney, cpelland, emorisse, inecas, jturner, kbidarka |
Target Milestone: | Unspecified | ||
Target Release: | Unused | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2012-05-15 18:56:14 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: |
Description
James Laska
2012-03-07 17:06:50 UTC
Fixed in commit 08d71273d30e2e63e75062da94019e9ecb274ec9. This commit allows using '*' as wildcard in /etc/katello/mapping.yum. So line "Red Hat Enterprise Linux* 5.8": [RHEL-5, U8] will work for "Red Hat Enterprise Linux 5.8", "Red Hat Enterprise Linux Server 5.8" and "Red Hat Enterprise Linux Workstation 5.8" if needed. Also the mapping file was modified to handle this possibility. To enable it without this commit, adding line like this to /etc/katello/mapping.yml should work as well: "Red Hat Enterprise Linux Server 5.8": [RHEL-5, U8] Also made /etc/katello/mapping.yum file optional (not fail if it doesn't exists, it's not needed for unit tests for example) b178f467ba0617507f587269c487a1e2565b3b0e [kbidarka@dhcp193-96 Desktop]$ xmllint --format --recover ./Devc\ Template-Library-export.xml <?xml version="1.0" encoding="UTF-8"?> <template> <name>Devc Template</name> <os> <name>RHEL-5</name> <version>U8</version> <arch>x86_64</arch> <install type="url"> <url>http://scalpel.lab.eng.pnq.redhat.com/pulp/ks/ACME_Corporation/Library/content/dist/rhel/server/5/5.8/x86_64/os/</url> </install> [root@scalpel entitlement]# rpm -qav | grep -i katello katello-glue-candlepin-0.1.304-1.el6.noarch katello-configure-0.1.104-1.el6.noarch katello-qpid-client-key-pair-1.0-1.noarch katello-glue-pulp-0.1.304-1.el6.noarch katello-selinux-0.1.8-1.el6.noarch katello-qpid-broker-key-pair-1.0-1.noarch katello-cli-0.1.104-1.el6.noarch katello-common-0.1.304-1.el6.noarch katello-0.1.304-1.el6.noarch katello-all-0.1.304-1.el6.noarch katello-candlepin-cert-key-pair-1.0-1.noarch katello-cli-common-0.1.104-1.el6.noarch katello-glue-foreman-0.1.304-1.el6.noarch katello-certs-tools-1.0.4-1.el6.noarch 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. http://rhn.redhat.com/errata/RHEA-2012-0665.html getting rid of 6.0.0 version since that doesn't exist |