Bug 1401592 - Imported product repository sometimes isn't the one that was selected
Summary: Imported product repository sometimes isn't the one that was selected
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat Update Infrastructure for Cloud Providers
Classification: Red Hat
Component: RHUA
Version: 3.0.0
Hardware: Unspecified
OS: Unspecified
high
high
Target Milestone: ---
: ---
Assignee: bizhang
QA Contact: Radek Bíba
URL:
Whiteboard:
Depends On: 1396093
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-12-05 16:01 UTC by Radek Bíba
Modified: 2017-03-01 22:14 UTC (History)
2 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-03-01 22:14:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2017:0367 0 normal SHIPPED_LIVE Red Hat Update Infrastructure 3.0 Release 2017-03-02 03:05:22 UTC

Description Radek Bíba 2016-12-05 16:01:55 UTC
Description of problem:
When you use rhui-manager to add a Red Hat repo, you may notice that rhui-manager imports a different repo instead. I've been able to reproduce this behavior with a couple of repos so far.

Version-Release number of selected component (if applicable):
ISO 20161122.

How reproducible:
Always with certain repos. I'd say it happens when there are two architectures for the given repo. See below for an example.

Steps to Reproduce:
1. Run rhui-manager. Log in if necessary.
2. Select 'r' to manage repositories.
3. Select 'a' to add a new Red Hat content repository.
4. Select '3  - By Repository'
5. Select '238: Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64) (Yum)'.
6. Select 'c' to confirm the repo.
7. Select 'y' to proceed.

Actual results:
"Importing product repository Red Hat Update Infrastructure 2.0 (RPMs) (6Server-i386)..."

Expected results:
"Importing product repository Red Hat Update Infrastructure 2.0 (RPMs) (6Server-x86_64)...

Additional info:
Bihan says this might be caused by the way the repos are sorted.

Other examples of this discrepancy are "Red Hat Enterprise Linux Server 6 Optional (RPMs)" and "Red Hat Enterprise Linux Server 5 (Beta RPMs)".

Comment 2 Radek Bíba 2016-12-07 12:40:04 UTC
Fix confirmed in 20161206. The selected repo gets imported as expected. However, because sorting is no longer performed (bug 1396093 failed QA), I'll leave this one in ON_QA because it will need retesting when bug 1396093 is resolved.

Comment 3 Radek Bíba 2016-12-14 11:21:20 UTC
Confirmed again in 20161213, which also resolves the sorting regression. Moving to VERIFIED.

Comment 4 errata-xmlrpc 2017-03-01 22:14:33 UTC
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


Note You need to log in before you can comment on or make changes to this bug.