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)".
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.
Confirmed again in 20161213, which also resolves the sorting regression. Moving 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