Bug 795484
Summary: | RHUA: custom repository unavailable and empty | ||
---|---|---|---|
Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | mkovacik |
Component: | RHUA | Assignee: | James Slagle <jslagle> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | wes hayutin <whayutin> |
Severity: | unspecified | Docs Contact: | |
Priority: | unspecified | ||
Version: | 2.0.2 | CC: | jslagle, kbidarka, sghai, tsanders |
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: | 2012-03-12 19:39:32 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
mkovacik
2012-02-20 16:49:55 UTC
I easily reproduced the first part of this bug where the uploaded package was not showing up in the repository metadata. A change was made in pulp to make metadata generation an explicit operation and not happen automatically when you add a package to a repo. That bug is here: https://bugzilla.redhat.com/show_bug.cgi?id=738657 I needed to update rhui tools to generate metadata after a package upload operation. This was committed to cloude master: 482aad5ae1fd800dc3f8b24c3dcf5f206ca99cba Figured out the 401 error problem as well. It's because the entitlement path for the custom repository ends with one of the yum variables ($basearch in this case) that we substitute out before doing the oid vs requested url comparison. There was a bug in the regex used to do that substitution. I filed and fixed this bug in Pulp, bug #795570. New rh-rhui-tools build to fix the metadata generation: http://download.devel.redhat.com/brewroot/packages/rh-rhui-tools/2.0.56/1.el6/noarch/rh-rhui-tools-2.0.56-1.el6.noarch.rpm New pulp build to fix the 401 error, you will need pulp-cds and pulp-common if you want to install these on your CDS to test: http://download.devel.redhat.com/brewroot/packages/pulp/0.0.263/8.el6/noarch/pulp-cds-0.0.263-8.el6.noarch.rpm http://download.devel.redhat.com/brewroot/packages/pulp/0.0.263/8.el6/noarch/pulp-common-0.0.263-8.el6.noarch.rpm I will get a new iso built tomorrow. Checked that with http://download.devel.redhat.com/brewroot/packages/rh-rhui-tools/2.0.56/1.el6/noarch/rh-rhui-tools-2.0.56-1.el6.noarch.rpm the repodata contains uploaded package Checked that with the http://download.devel.redhat.com/brewroot/packages/pulp/0.0.263/8.el6/noarch/pulp-cds-0.0.263-8.el6.noarch.rpm and http://download.devel.redhat.com/brewroot/packages/pulp/0.0.263/8.el6/noarch/pulp-common-0.0.263-8.el6.noarch.rpm the 401 error got fixed Altogether, the three packages make the E2E custom repository scenario pass... These builds included in the iso build at http://download.lab.bos.redhat.com/devel/candidates/RHEL-6.2-RHUI-2.0.2-20120221.0/2.0.2/Server/x86_64/iso/RHEL-6.2-RHUI-2.0.2-20120221.0-Server-x86_64-DVD1.iso [root@ip-10-36-119-102 tmp]# yum repolist Loaded plugins: pulp-profile-update, rhui-lb, security repo id repo name status rhui-custom-10001 Custom Repositories - 10001 4 repolist: 4 verified with 20120221 ISO succeessfully Released in RHUI 2.0.2 |