RHEL Engineering is moving the tracking of its product development work on RHEL 6 through RHEL 9 to Red Hat Jira (issues.redhat.com). If you're a Red Hat customer, please continue to file support cases via the Red Hat customer portal. If you're not, please head to the "RHEL project" in Red Hat Jira and file new tickets here. Individual Bugzilla bugs in the statuses "NEW", "ASSIGNED", and "POST" are being migrated throughout September 2023. Bugs of Red Hat partners with an assigned Engineering Partner Manager (EPM) are migrated in late September as per pre-agreed dates. Bugs against components "kernel", "kernel-rt", and "kpatch" are only migrated if still in "NEW" or "ASSIGNED". If you cannot log in to RH Jira, please consult article #7032570. That failing, please send an e-mail to the RH Jira admins at rh-issues@redhat.com to troubleshoot your issue as a user management inquiry. The email creates a ServiceNow ticket with Red Hat. Individual Bugzilla bugs that are migrated will be moved to status "CLOSED", resolution "MIGRATED", and set with "MigratedToJIRA" in "Keywords". The link to the successor Jira issue will be found under "Links", have a little "two-footprint" icon next to it, and direct you to the "RHEL project" in Red Hat Jira (issue links are of type "https://issues.redhat.com/browse/RHEL-XXXX", where "X" is a digit). This same link will be available in a blue banner at the top of the page informing you that that bug has been migrated.
Bug 865954 - subscription-manager-firstboot hangs on Registration spinner when an invalid system name is entered.
Summary: subscription-manager-firstboot hangs on Registration spinner when an invalid ...
Keywords:
Status: CLOSED CURRENTRELEASE
Alias: None
Product: Red Hat Enterprise Linux 6
Classification: Red Hat
Component: subscription-manager
Version: 6.4
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: rc
: 6.4
Assignee: John Sefler
QA Contact: IDM QE LIST
URL:
Whiteboard:
Depends On:
Blocks: 771748
TreeView+ depends on / blocked
 
Reported: 2012-10-12 21:47 UTC by John Sefler
Modified: 2013-01-09 17:45 UTC (History)
3 users (show)

Fixed In Version: subscription-manager-1.1.4-1
Doc Type: Bug Fix
Doc Text:
Cause: Incorrect error handling of invalid system names. Consequence: The user would be left in unusable state during firstboot. Fix: Correctly handle invalid system names. Result: Firstboot works correctly.
Clone Of:
Environment:
Last Closed: 2013-01-09 17:45:57 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
After entering a System Name: "Foo Bar", firstboot hangs on Registering spinner. (109.83 KB, image/png)
2012-10-12 21:47 UTC, John Sefler
no flags Details
clicking OK on an invalid system name error dialog now returns to the credentials panel (132.56 KB, image/png)
2012-10-17 14:18 UTC, John Sefler
no flags Details

Description John Sefler 2012-10-12 21:47:13 UTC
Created attachment 626316 [details]
After entering a System Name: "Foo Bar", firstboot hangs on Registering spinner.

Description of problem:
During the firstboot workflow, if you supply an invalid "System Name:" value (e.g "Foo Bar" on the Subscription Registration credentials panel, then you will get an error dialog as shown in the attached screenshot.  Pressing "OK" on the error dialog leaves you hanging on the Registering spinner.  Since the Back/Forward buttons are disabled while the spinner is busy, the user is stuck.

Version-Release number of selected component (if applicable):
[root@jsefler-rhel59 ~]# rpm -q subscription-manager-firstboot
subscription-manager-firstboot-1.0.22-1.el5

How reproducible:
always

Steps to Reproduce:
described above

Comment 1 John Sefler 2012-10-12 21:57:07 UTC
Additional Info:
  List of characters that can not be used in the System Name:
    https://bugzilla.redhat.com/show_bug.cgi?id=677405#c1
    plus white space
    and greater than 250 characters

Comment 2 John Sefler 2012-10-12 21:59:21 UTC
    and cannot begin with a # character

Comment 3 RHEL Program Management 2012-10-12 22:08:21 UTC
This request was evaluated by Red Hat Product Management for inclusion
in a Red Hat Enterprise Linux release.  Product Management has
requested further review of this request by Red Hat Engineering, for
potential inclusion in a Red Hat Enterprise Linux release for currently
deployed products.  This request is not yet committed for inclusion in
a release.

Comment 4 Adrian Likins 2012-10-16 13:44:23 UTC
Fixed in master with:


commit e99938f821a9bc4ac78eeba670854e8e487b3de5
Author: Adrian Likins <alikins>
Date:   Thu Oct 11 13:53:14 2012 -0400

    865954: Return to creds screen if consumer name is invalid
    
    When we register a consumer, if the consumer name is in
    an invalid format, we were raising an error, but handling
    it poorly. Now we send the user back to the credentials
    screen (where the consumer name field is).


merge to 5.9 pending

Comment 5 Adrian Likins 2012-10-16 16:04:30 UTC
In 5.9


commit cbe824bd460e8811f89f0ca89e15e49df2788463
Author: Adrian Likins <alikins>
Date:   Thu Oct 11 13:53:14 2012 -0400

    865954: Return to creds screen if consumer name is invalid
    
    When we register a consumer, if the consumer name is in
    an invalid format, we were raising an error, but handling
    it poorly. Now we send the user back to the credentials
    screen (where the consumer name field is).

(should land in 1.0.23)

Comment 8 John Sefler 2012-10-17 14:18:36 UTC
Created attachment 628834 [details]
clicking OK on an invalid system name error dialog now returns to the credentials panel

Verifying Version...
[root@jsefler-rhel59 ~]# rpm -q subscription-manager-firstboot
subscription-manager-firstboot-1.0.23-1.el5

Comment 10 Bryan Kearney 2013-01-09 17:45:57 UTC
Batch change of verified bugs which must have missed making the errata.


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