Bug 1105328 - Pressing Enter on the subscription manager credentials causing Ambiguous choice garbles the menu
Summary: Pressing Enter on the subscription manager credentials causing Ambiguous choi...
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: rubygem-staypuft
Version: 5.0 (RHEL 7)
Hardware: Unspecified
OS: Unspecified
low
medium
Target Milestone: ga
: Installer
Assignee: Marek Hulan
QA Contact: Ami Jeain
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2014-06-05 21:54 UTC by James Slagle
Modified: 2015-06-04 22:02 UTC (History)
7 users (show)

Fixed In Version: foreman-installer-staypuft-0.0.18-1.el6ost
Doc Type: Bug Fix
Doc Text:
internal only, no doc text needed
Clone Of:
Environment:
Last Closed: 2014-08-21 18:04:24 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Red Hat Product Errata RHBA-2014:1090 0 normal SHIPPED_LIVE Red Hat Enterprise Linux OpenStack Platform Enhancement Advisory 2014-08-22 15:28:08 UTC

Description James Slagle 2014-06-05 21:54:05 UTC
Description of problem:
At this menu:
Enter your subscription manager credentials?:
1. Subscription manager username:       
2. Subscription manager password:       
3. Comma separated repositories:        rhel-6-server-openstack-4.0-rpms
4. RHEL repo path (http(s) or nfs URL): http://
5. Subscription manager pool (optional): 
6. Proceed with configuration
7. Skip this step (provisioning won't subscribe your machines)

I just pressed enter accidentally. Got a garbled menu instead:
Ambiguous choice.  Please choose one of [1, 2, 3, 4, 5, 6, 7, Subscription manager username:       , Subscription manager password:       , Comma separated repositories:        rhel-6-server-openstack-4.0-rpms, RHEL repo path (http(s) or nfs URL): http://, Subscription manager pool (optional): , Proceed with configuration, Skip this step (provisioning won't subscribe your machines)].

The whole menu appeared on one line.

Version-Release number of selected component (if applicable):
[root@staypuft ~]# rpm -q foreman-installer-staypuft
foreman-installer-staypuft-0.0.14-1.el6ost.noarch



How reproducible:
always, keep pressing enter, keep getting a garbled menu


Actual results:
garbled menu

Expected results:
ungarbled menu

Additional info:

Comment 2 Mike Burns 2014-06-06 11:22:55 UTC
Yes, the feature of printing all valid entries in a single line list becomes rather like a bug when there are a lot of (long) entries.  We should probably just say something like "invalid choice" and print the menu again.

Comment 3 Marek Hulan 2014-06-16 15:31:43 UTC
From now on, we just accept and print valid indexes only (except NIC menu). This is fixed in upstream since 0.0.18

Comment 10 Ami Jeain 2014-08-05 11:19:45 UTC
verified in the latest Staypuft version

Comment 13 errata-xmlrpc 2014-08-21 18:04:24 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.

http://rhn.redhat.com/errata/RHBA-2014-1090.html


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