Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1396093

Summary: [RFE] sort a list of repos displayed on add RH content '3 - by repository'
Product: Red Hat Update Infrastructure for Cloud Providers Reporter: Irina Gulina <igulina>
Component: ToolsAssignee: bizhang
Status: CLOSED ERRATA QA Contact: Irina Gulina <igulina>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 3.0.0CC: bizhang, pcreech
Target Milestone: ---Keywords: FutureFeature
Target Release: 3.0.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-03-01 22:13:58 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:
Bug Depends On:    
Bug Blocks: 1401592    

Description Irina Gulina 2016-11-17 12:24:05 UTC
Description of problem:
If a user wants to add a RH repo choosing 3 - by repository, a long not sorted list of repos will be shown. It's quite difficult to find one particular repo in that list. 

Version-Release number of selected component (if applicable):
iso 2016115

How reproducible:
always

Steps to Reproduce:
1. 'a' - add a RH content repo
2. '3' - by a repository


Actual results:
an unsorted long list of repos to choose from
...

 RHEL RHUI Server 6 Rh-common Debug
    -  230: RHEL RHUI Server 6 Rh-common Debug (6Server-x86_64)
    -  231: RHEL RHUI Server 6 Rh-common Debug (6Server-i386)

  Red Hat Enterprise Linux Server 6 JBoss EWS 2 (RPMs)
    -  232: Red Hat Enterprise Linux Server 6 JBoss EWS 2 (RPMs) (6Server-x86_64)
    -  233: Red Hat Enterprise Linux Server 6 JBoss EWS 2 (RPMs) (6Server-i386)

  RHUI RHEL 6 (highavailability debug)
    -  234: RHUI RHEL 6 (highavailability debug) (6Server-x86_64)

  RHUI RHEL 5 (debug)
    -  235: RHUI RHEL 5 (debug) (5Server-x86_64)

  Beta RHEL RHUI Everything 7 Source Srpms
    -  236: Beta RHEL RHUI Everything 7 Source Srpms (x86_64)

  Red Hat Storage 2.0 (source) for RHUI
    -  237: Red Hat Storage 2.0 (source) for RHUI (x86_64)


Expected results:
a sorted list

Comment 3 Irina Gulina 2016-11-17 12:32:33 UTC
*iso 20161115

Comment 4 Irina Gulina 2016-11-23 09:36:12 UTC
Fixed in 20161122 iso: 

  RHEL RHUI Server 7 Supplementary OS
    -  126: RHEL RHUI Server 7 Supplementary OS (7Server-x86_64) (Yum)

  RHEL RHUI Server 7 Supplementary Source Srpms
    -  127: RHEL RHUI Server 7 Supplementary Source Srpms (7Server-x86_64) (Yum)

  RHUI RHEL 5 (debug)
    -  128: RHUI RHEL 5 (debug) (5Server-i386) (Yum)
    -  129: RHUI RHEL 5 (debug) (5Server-x86_64) (Yum)

  RHUI RHEL 6 (debug)
    -  130: RHUI RHEL 6 (debug) (6Server-i386) (Yum)
    -  131: RHUI RHEL 6 (debug) (6Server-x86_64) (Yum)

  RHUI RHEL 6 (highavailability debug)
    -  132: RHUI RHEL 6 (highavailability debug) (6Server-i386) (Yum)
    -  133: RHUI RHEL 6 (highavailability debug) (6Server-x86_64) (Yum)

  RHUI RHEL 6 (loadbalancer debug)
    -  134: RHUI RHEL 6 (loadbalancer debug) (6Server-i386) (Yum)
    -  135: RHUI RHEL 6 (loadbalancer debug) (6Server-x86_64) (Yum)

  RHUI RHEL 6 (optional debug)
    -  136: RHUI RHEL 6 (optional debug) (6Server-i386) (Yum)
    -  137: RHUI RHEL 6 (optional debug) (6Server-x86_64) (Yum)

Comment 5 Irina Gulina 2016-11-23 09:40:04 UTC
Can you add sorting when a user is prompted to proceed, please? 

  RHEL RHUI Server 6 Rhs-server 3 OS
    RHEL RHUI Server 6 Rhs-server 3 OS (6Server-i386) (Yum)
    RHEL RHUI Server 6 Rhs-server 3 OS (6Server-x86_64) (Yum)
  RHEL RHUI Server 6 Rh-common Debug
    RHEL RHUI Server 6 Rh-common Debug (6Server-i386) (Yum)
    RHEL RHUI Server 6 Rh-common Debug (6Server-x86_64) (Yum)
  Red Hat Enterprise Linux Server 6 JBoss EWS 2 (RPMs)
    Red Hat Enterprise Linux Server 6 JBoss EWS 2 (RPMs) (6Server-i386) (Yum)
    Red Hat Enterprise Linux Server 6 JBoss EWS 2 (RPMs) (6Server-x86_64) (Yum)
  Red Hat Enterprise Linux Server 6 Optional (SRPMS)
    Red Hat Enterprise Linux Server 6 Optional (SRPMS) (6Server-i386) (Yum)
    Red Hat Enterprise Linux Server 6 Optional (SRPMS) (6Server-x86_64) (Yum)
  RHUI RHEL 5 (debug)
    RHUI RHEL 5 (debug) (5Server-i386) (Yum)
    RHUI RHEL 5 (debug) (5Server-x86_64) (Yum)
  Beta RHEL RHUI Everything 7 Source Srpms
    Beta RHEL RHUI Everything 7 Source Srpms (x86_64) (Yum)
  RHEL RHUI Server 7 Rhscl 1 OS
    RHEL RHUI Server 7 Rhscl 1 OS (7Server-x86_64) (Yum)
  Red Hat Storage 2.0 (source) for RHUI
    Red Hat Storage 2.0 (source) for RHUI (x86_64) (Yum)
  Beta RHEL RHUI Server 7 Optional OS
    Beta RHEL RHUI Server 7 Optional OS (x86_64) (Yum)
Proceed? (y/n)

Comment 6 Irina Gulina 2016-11-23 13:57:10 UTC
RFE opened BZ 1397879

Comment 7 Irina Gulina 2016-12-07 08:40:34 UTC
I believe it was broken again when BZ #1401592 was fixed. 

ISO 20161206

Red Hat Enterprise Linux Resilient Storage (for RHEL 6 Server) (RPMs) from RHUI
    -  390: Red Hat Enterprise Linux Resilient Storage (for RHEL 6 Server) (RPMs) from RHUI (6Server-i386) (Yum)
    -  391: Red Hat Enterprise Linux Resilient Storage (for RHEL 6 Server) (RPMs) from RHUI (6Server-x86_64) (Yum)
 
  Red Hat Enterprise Linux 5 Server - Supplementary Beta from RHUI (Debug RPMs)
    -  392: Red Hat Enterprise Linux 5 Server - Supplementary Beta from RHUI (Debug RPMs) (5Server-i386) (Yum)
    -  393: Red Hat Enterprise Linux 5 Server - Supplementary Beta from RHUI (Debug RPMs) (5Server-x86_64) (Yum)
 
  Red Hat Satellite Tools 6.1 (for RHEL 7 Server from RHUI) (Debug RPMs)
    -  394: Red Hat Satellite Tools 6.1 (for RHEL 7 Server from RHUI) (Debug RPMs) (x86_64) (Yum)
 
  Red Hat Enterprise Linux 7 Public Beta from RHUI (RPMs)
    -  395: Red Hat Enterprise Linux 7 Public Beta from RHUI (RPMs) (Yum)
 
  Red Hat Enterprise Linux 5 Server - Optional Productivity Applications from RHUI (Debug RPMs)
    -  396: Red Hat Enterprise Linux 5 Server - Optional Productivity Applications from RHUI (Debug RPMs) (5Server-i386) (Yum)
    -  397: Red Hat Enterprise Linux 5 Server - Optional Productivity Applications from RHUI (Debug RPMs) (5Server-x86_64) (Yum)

Comment 8 Irina Gulina 2016-12-14 09:02:41 UTC
RHUI7 iso 20161213

Sorted: 

Red Hat Update Infrastructure 2 (Debug RPMs)
    -  430: Red Hat Update Infrastructure 2 (Debug RPMs) (6Server-i386) (Yum)
    -  431: Red Hat Update Infrastructure 2 (Debug RPMs) (6Server-x86_64) (Yum)

  Red Hat Update Infrastructure 2 (ISOs)
    -  432: Red Hat Update Infrastructure 2 (ISOs) (6Server-i386) (Yum)
    -  433: Red Hat Update Infrastructure 2 (ISOs) (6Server-x86_64) (Yum)

  Red Hat Update Infrastructure 2 (Source RPMs)
    -  434: Red Hat Update Infrastructure 2 (Source RPMs) (6Server-i386) (Yum)
    -  435: Red Hat Update Infrastructure 2 (Source RPMs) (6Server-x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 6 (Debug RPMs)
    -  436: Red Hat Update Infrastructure 3 Beta for RHEL 6 (Debug RPMs) (6Server-i386) (Yum)
    -  437: Red Hat Update Infrastructure 3 Beta for RHEL 6 (Debug RPMs) (6Server-x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 6 (ISOs)
    -  438: Red Hat Update Infrastructure 3 Beta for RHEL 6 (ISOs) (6Server-i386) (Yum)
    -  439: Red Hat Update Infrastructure 3 Beta for RHEL 6 (ISOs) (6Server-x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 6 (RPMs)
    -  440: Red Hat Update Infrastructure 3 Beta for RHEL 6 (RPMs) (6Server-i386) (Yum)
    -  441: Red Hat Update Infrastructure 3 Beta for RHEL 6 (RPMs) (6Server-x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 6 (Source RPMs)
    -  442: Red Hat Update Infrastructure 3 Beta for RHEL 6 (Source RPMs) (6Server-i386) (Yum)
    -  443: Red Hat Update Infrastructure 3 Beta for RHEL 6 (Source RPMs) (6Server-x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 7 (Debug RPMs)
    -  444: Red Hat Update Infrastructure 3 Beta for RHEL 7 (Debug RPMs) (x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 7 (ISOs)
    -  445: Red Hat Update Infrastructure 3 Beta for RHEL 7 (ISOs) (x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 7 (RPMs)
    -  446: Red Hat Update Infrastructure 3 Beta for RHEL 7 (RPMs) (x86_64) (Yum)

  Red Hat Update Infrastructure 3 Beta for RHEL 7 (Source RPMs)
    -  447: Red Hat Update Infrastructure 3 Beta for RHEL 7 (Source RPMs) (x86_64) (Yum)

  Red Hat Virtual Storage Appliance (Debug RPMs) from RHUI
    -  448: Red Hat Virtual Storage Appliance (Debug RPMs) from RHUI (x86_64) (Yum)

  Red Hat Virtual Storage Appliance (RPMs) from RHUI
    -  449: Red Hat Virtual Storage Appliance (RPMs) from RHUI (x86_64) (Yum)

  Red Hat Virtual Storage Appliance (Source RPMs) from RHUI
    -  450: Red Hat Virtual Storage Appliance (Source RPMs) from RHUI (x86_64) (Yum)

Comment 9 errata-xmlrpc 2017-03-01 22:13:58 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