Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.
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 684245

Summary: When running with non-English locales, selection of subscription-manager in firstboot fails
Product: Red Hat Enterprise Linux 6 Reporter: Jan Pazdziora (Red Hat) <jpazdziora>
Component: rhn-client-toolsAssignee: Milan Zázrivec <mzazrivec>
Status: CLOSED ERRATA QA Contact: Martin Minar <mminar>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 6.1CC: case-diagnostics, cperry, dkutalek, dyordano, mkoci, mminar, msuchy
Target Milestone: rc   
Target Release: ---   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard: firstboot_trace_hash:6d44e19ca2db0efe505626a2a0bb1ac24866748fbebd977d0a83d38fa0fe94fa
Fixed In Version: rhn-client-tools-1.0.0-54.el6 Doc Type: Bug Fix
Doc Text:
Choosing subscription-manager in firstboot fails in non-English locale failed. This was due different translation in subscription-manager and rhn-client-tools. This was fixed by not depending on translated string.
Story Points: ---
Clone Of: Environment:
Last Closed: 2011-05-19 13:06:18 UTC Type: ---
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:

Description Jan Pazdziora (Red Hat) 2011-03-11 15:19:10 UTC
Description of problem:

When running with non-English locales, selection of subscription-manager in firstboot fails.

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

# rpm -q rhn-setup-gnome subscription-manager-firstboot
rhn-setup-gnome-1.0.0-53.el6.noarch
subscription-manager-firstboot-0.95.4-1.el6.i686

How reproducible:

Deterministic.

Steps to Reproduce:
1. Make sure rhn-setup-gnome and subscription-manager-firstboot are installed on your RHEL 6.1.
2. Run LANG=de_DE.UTF-8 firstboot
3. Get to Software-Updates einrichten
4. Select Yes, I'd like to ...
5. Click Vor.
6. Select I'd like to ..., make sure RHN Classic Mode is shown but not checked.
7. Click Vor.
  
Actual results:

Traceback window

firstboot 1.110.10 exception report
Traceback (most recent call last):
  File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 105, in _nextClicked
    self.advance()
  File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 148, in advance
    result = module.apply(self, self.testing)
  File "/usr/share/rhn/up2date_client/firstboot/rhn_choose_server_gui.py", line 56, in apply
    interface.moveToPage(moduleTitle=_("Entitlement Platform Registration"))
  File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 353, in moveToPage
    pageNum = self.titleToPageNum(moduleTitle, self.moduleList)
  File "/usr/lib/python2.6/site-packages/firstboot/interface.py", line 473, in titleToPageNum
    raise SystemError, _("No module exists with the title %s.") % moduleTitle
SystemError: Es existiert kein Modul mit dem Titel Berechtigungs-Plattform-Registrierung.

Expected results:

No traceback.

Additional info:

Comment 1 Jan Pazdziora (Red Hat) 2011-03-11 15:38:15 UTC
The problem is caused by the fact that rhn_choose_server_gui.py does

  interface.moveToPage(moduleTitle=_("Entitlement Platform Registration"))

-- selecting the subscription manager page to jump to using its localized name. And presumably we (rhn-client-tools) localize it differently than subscription manager.

We need better way to find the page (firstboot submodule) to jump to.

Comment 2 Jan Pazdziora (Red Hat) 2011-03-11 15:50:45 UTC
Fix is in Spacewalk master, 5fe434f0802e6d242d706870ff5c79c9e360ca55.

Comment 5 Martin Minar 2011-03-15 11:18:20 UTC
Verified in rhn-client-tools-1.0.0-54.el6

Comment 6 Miroslav Suchý 2011-05-17 12:41:47 UTC
    Technical note added. If any revisions are required, please edit the "Technical Notes" field
    accordingly. All revisions will be proofread by the Engineering Content Services team.
    
    New Contents:
Choosing subscription-manager in
firstboot fails in non-English locale failed. This was due different translation in subscription-manager and rhn-client-tools. This was fixed by not depending on translated string.

Comment 7 errata-xmlrpc 2011-05-19 13:06:18 UTC
An advisory has been issued which should help the problem
described in this bug report. This report is therefore being
closed with a resolution of ERRATA. For more information
on therefore solution and/or where to find the updated files,
please follow the link below. You may reopen this bug report
if the solution does not work for you.

http://rhn.redhat.com/errata/RHBA-2011-0565.html

Comment 8 Milan Zázrivec 2011-08-08 08:41:01 UTC
*** Bug 728818 has been marked as a duplicate of this bug. ***

Comment 9 David Kutálek 2011-10-10 16:21:54 UTC
*** Bug 744847 has been marked as a duplicate of this bug. ***