Bug 1156099
| Summary: | rhui-disconnected - wrong repo URL after install configuration rpm on client | ||||||
|---|---|---|---|---|---|---|---|
| Product: | Red Hat Update Infrastructure for Cloud Providers | Reporter: | Pavlina Bartikova <pbartiko> | ||||
| Component: | Tools | Assignee: | John Matthews <jmatthew> | ||||
| Status: | CLOSED ERRATA | QA Contact: | Pavlina Bartikova <pbartiko> | ||||
| Severity: | unspecified | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | 2.1.3 | CC: | dgao, 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: | 2017-03-01 22:09:22 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: | |||||||
| Attachments: |
|
||||||
|
Description
Pavlina Bartikova
2014-10-23 14:48:23 UTC
Issue is the relative_path of the repos was set to the repo-id and not the relative path we expected. This happened because the pulp code saw the repo was 'local' and no relative_path was set, so it defaulted to the repo-id. Fix is to explicitly set the relative_path. I've built new RPMs with the patch: https://brewweb.devel.redhat.com/buildinfo?buildID=395909 For a quick test, you may: 1) re-use your existing RHUA and upgrade the rh-rhui-tools RPM to: rh-rhui-tools-2.1.39-4.disconnected.el6.noarch 2) run rhui-manager and delete existing repos 3) verify repos were deleted 4) add new repos 5) sync 6) verify the published directory looks correct check under /var/lib/pulp/repos/ Created attachment 951841 [details]
screen log
Screen log is attached. [root@rhua os]# pwd /var/lib/pulp/repos/content/dist/rhel/rhui/server/6/6Server/i386/os [root@cli6 ~]# rpm -Uvh client_rpm-2.0-1.noarch.rpm Preparing... ########################################### [100%] 1:client_rpm ########################################### [100%] enabled = 0 [root@cli6 ~]# yum repolist Loaded plugins: rhui-lb, security rhui-rhel-6-server-rhui-rpms | 2.1 kB 00:00 rhui-rhel-6-server-rhui-rpms/primary | 15 MB 00:00 rhui-rhel-6-server-rhui-rpms 9871/9871 repo id repo name status rhui-rhel-6-server-rhui-rpms Red Hat Enterprise Linux 6 Server from RHUI (RPMs) 9,871 repolist: 9,871 Note: After upgrade the rh-rhui-tools RPM is needed update server_url in /etc/rhui/rhui-tools.conf Moving bug to VERIFIED. 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. https://access.redhat.com/errata/RHBA-2017:0367 |