Bug 1397879

Summary: [RFE] Sort list of RH repos to add in RHUI when a user is prompted to proceed
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: 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:14:08 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:

Description Irina Gulina 2016-11-23 13:56:18 UTC
Version-Release number of selected component (if applicable):
20161122

Steps to Reproduce:
1. 'a' add a RH content repo 
2. '3' - by repository
3. choose some
4. confirm
5. see unsorted list of repos to be added and a prompt: "Proceed (y/n)?"

Actual results:

  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)

Expected results:
sorted list

Comment 3 Irina Gulina 2016-12-07 12:43:12 UTC
Not sorted in iso 20161206.

The following product repositories will be deployed:
  Red Hat Enterprise Linux 7 Server Beta from RHUI (Source RPMs)
    Red Hat Enterprise Linux 7 Server Beta from RHUI (Source RPMs) (x86_64) (Yum)
  Red Hat Update Infrastructure 2 (RPMs)
    Red Hat Update Infrastructure 2 (RPMs) (6Server-x86_64) (Yum)
  Red Hat Satellite Tools 6.1 (for RHEL 7 Server from RHUI) (Source RPMs)
    Red Hat Satellite Tools 6.1 (for RHEL 7 Server from RHUI) (Source RPMs) (x86_64) (Yum)
  Red Hat Enterprise Linux High Availability (for RHEL 6 Server) (RPMs) from RHUI
    Red Hat Enterprise Linux High Availability (for RHEL 6 Server) (RPMs) from RHUI (6Server-i386) (Yum)
    Red Hat Enterprise Linux High Availability (for RHEL 6 Server) (RPMs) from RHUI (6Server-x86_64) (Yum)
  Red Hat Enterprise Linux 6 Server Beta from RHUI (Debug RPMs)
    Red Hat Enterprise Linux 6 Server Beta from RHUI (Debug RPMs) (6Server-i386) (Yum)
    Red Hat Enterprise Linux 6 Server Beta from RHUI (Debug RPMs) (6Server-x86_64) (Yum)
  Red Hat Enterprise Linux 7 Server Beta from RHUI (Debug RPMs)
    Red Hat Enterprise Linux 7 Server Beta from RHUI (Debug RPMs) (x86_64) (Yum)
  Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) (Debug RPMs) from RHUI
    Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) (Debug RPMs) from RHUI (7Server-x86_64) (Yum)
  Red Hat Satellite Tools 6.2 (for RHEL 7 Server from RHUI) (Source RPMs)
    Red Hat Satellite Tools 6.2 (for RHEL 7 Server from RHUI) (Source RPMs) (x86_64) (Yum)
  Red Hat Satellite Tools 6 Beta (for RHEL 5 Server from RHUI) (Source RPMs)
    Red Hat Satellite Tools 6 Beta (for RHEL 5 Server from RHUI) (Source RPMs) (i386) (Yum)
    Red Hat Satellite Tools 6 Beta (for RHEL 5 Server from RHUI) (Source RPMs) (x86_64) (Yum)
Proceed? (y/n)

Comment 4 Irina Gulina 2016-12-14 09:04:26 UTC
RHUI7 iso 20161213

Enter value (1-450) to toggle selection, 'c' to confirm selections, or '?' for more commands: c


The following product repositories will be deployed:
  JBoss Enterprise Application Platform 6 (for RHEL 6 Server) (RPMs) from RHUI
    JBoss Enterprise Application Platform 6 (for RHEL 6 Server) (RPMs) from RHUI (6Server-x86_64) (Yum)
  JBoss Enterprise Web Server 1 (for RHEL 6 Server) (Source RPMs) from RHUI
    JBoss Enterprise Web Server 1 (for RHEL 6 Server) (Source RPMs) from RHUI (6Server-i386) (Yum)
  Red Hat Enterprise Linux 5 Server - Extended Update Support - Supplementary (Source RPMs) from RHUI
    Red Hat Enterprise Linux 5 Server - Extended Update Support - Supplementary (Source RPMs) from RHUI (5Server-i386) (Yum)
  Red Hat Enterprise Linux 6.2 Scalable File System for RHS 2.0 (Source RPMs) from RHUI
    Red Hat Enterprise Linux 6.2 Scalable File System for RHS 2.0 (Source RPMs) from RHUI (x86_64) (Yum)
  Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) Beta (Debug RPMs) from RHUI
    Red Hat Enterprise Linux Resilient Storage (for RHEL 7 Server) Beta (Debug RPMs) from RHUI (x86_64) (Yum)
  Red Hat Virtual Storage Appliance (Source RPMs) from RHUI
    Red Hat Virtual Storage Appliance (Source RPMs) from RHUI (x86_64) (Yum)
Proceed? (y/n

Comment 5 errata-xmlrpc 2017-03-01 22:14:08 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