Bug 1445387
Summary: | setting LC_ALL=C locale breaks subscription-manager CLI | ||
---|---|---|---|
Product: | Red Hat Enterprise Linux 7 | Reporter: | Dominik Perpeet <dperpeet> |
Component: | subscription-manager | Assignee: | Kevin Howell <khowell> |
Status: | CLOSED ERRATA | QA Contact: | John Sefler <jsefler> |
Severity: | high | Docs Contact: | |
Priority: | high | ||
Version: | 7.4 | CC: | csnyder, khowell, redakkan, skallesh, stoner |
Target Milestone: | rc | Keywords: | Regression, Triaged |
Target Release: | --- | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | subscription-manager-1.19.10-1 | Doc Type: | If docs needed, set a value |
Doc Text: | Story Points: | --- | |
Clone Of: | Environment: | ||
Last Closed: | 2017-08-01 19:23:41 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
Dominik Perpeet
2017-04-25 14:47:47 UTC
This is a Regression from subscription-manager-1.17.15-1.el7.x86_64 in RHEL73. This also prevents using Cockpit to register a system. The fix has been merged upstream, moving to POST awaiting inclusion in a build. I can confirm this works in Cockpit's CI using the latest nightly compose with the version of subscription-manager specified in this bug (subscription-manager-1.19.10-1). Thanks for the quick fix! Verifying Version... [root@jsefler-rhel7 ~]# LC_ALL=C subscription-manager version server type: This system is currently not registered. subscription management server: 2.1.0-1 subscription management rules: 5.23 subscription-manager: 1.19.10-1.el7 python-rhsm: 1.19.5-1.el7 [root@jsefler-rhel7 ~]# LC_ALL=C subscription-manager register Registering to: jsefler-candlepin.usersys.redhat.com:8443/candlepin Username: testuser1 Password: Organization: admin The system has been registered with ID: 19c90b73-92c9-4d1f-a9a4-1ac96e2f4f48 [root@jsefler-rhel7 ~]# [root@jsefler-rhel7 ~]# LC_ALL=C subscription-manager unregister System has been unregistered. [root@jsefler-rhel7 ~]# LC_ALL=fr_FR.utf-8 subscription-manager register Enregistrement sur : jsefler-candlepin.usersys.redhat.com:8443/candlepin Nom d'utilisateur : testuser1 Mot de passe : Organisation : admin Le système a été enregistré avec l'ID : f9ce43c5-9e58-4d00-b288-11a44f10ae4d [root@jsefler-rhel7 ~]# LC_ALL=fr_FR.utf-8 subscription-manager unregister Le système a été désenregistré. [root@jsefler-rhel7 ~]# VERIFIED: no more traceback when using LC_ALL=C without breaking LC_ALL=fr_FR.utf-8 (a translated LANG). 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:2083 |