Bug 1842697
| Summary: | gsd-subman does not recognize localized subscription statuses | ||
|---|---|---|---|
| Product: | Red Hat Enterprise Linux 8 | Reporter: | Carlos Santos <casantos> |
| Component: | gnome-settings-daemon | Assignee: | Carlos Garnacho <cgarnach> |
| Status: | CLOSED DUPLICATE | QA Contact: | Desktop QE <desktop-qa-list> |
| Severity: | low | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 8.2 | CC: | sbarcomb, sujagtap, tpopela |
| Target Milestone: | rc | ||
| Target Release: | 8.0 | ||
| Hardware: | All | ||
| OS: | Linux | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2021-01-08 11:37:39 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: | |||
*** This bug has been marked as a duplicate of bug 1796916 *** |
Description of problem: When the system language is set to a non-English value, e.g. "es_ES.UTF-8" the user always gets a "Please register your system to receive software updates." notification upon login. Version-Release number of selected component (if applicable): gnome-settings-daemon-3.32.0-9.el8.x86_64 How reproducible: Always Steps to Reproduce: 1. Set the system language to "es_ES.UTF-8" # echo 'LANG="es_ES.UTF-8"' > /etc/locale.conf # systemctl reboot 2. Register the system # subscription-manager register --auto-attach 3. Start a GNOME session as an ordinary user. Actual results: A "Please register your system to receive software updates." notification is shown. Expected results: The notification should be shown only is the system is not registered. Additional info: gsd-subman debug output when the system language is set to en_US.UTF-8: $ /usr/libexec/gsd-subman -v (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.123: Starting subscription manager (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: proxy_port= (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: port=443 (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: insecure=0 (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: no_proxy= (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: prefix=/subscription (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.137: proxy_user= (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: proxy_password= (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: proxy_scheme=http (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: ssl_verify_depth=3 (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: proxy_hostname= (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: hostname=subscription.rhsm.redhat.com (gsd-subman:3201): subman-plugin-DEBUG: 17:39:58.138: server_timeout=180 (gsd-subman:3201): subman-plugin-DEBUG: 17:39:59.818: Entitlement.GetStatus JSON: {"status": "Current", "reasons": {}, "valid": true} (gsd-subman:3201): subman-plugin-DEBUG: 17:39:59.818: Entitlement.GetStatus: Current (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.294: Products.ListInstalledProducts JSON: [["Red Hat Enterprise Linux for x86_64", "479", "8.2", "x86_64", "subscribed", [], "08/13/2019", "01/01/2022"]] (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.297: Syspurpose.GetSyspurpose JSON: {"role": "Red Hat Enterprise Linux Server", "service_level_agreement": "Self-Support", "usage": "Development/Test"} (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.297: Syspurpose.GetSyspurpose: Unknown (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.297: transisition from subscription status 'unknown' to 'valid' (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.298: Registered client at path /org/gnome/SessionManager/Client27 (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.304: lost name, so exiting (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.304: Stopping subscription manager (gsd-subman:3201): subman-plugin-DEBUG: 17:40:03.306: Stopping subscription manager gsd-subman debug output when the system language is set to es_ES.UTF-8: $ /usr/libexec/gsd-subman -v (gsd-subman:4756): subman-plugin-DEBUG: 18:09:07.998: Starting subscription manager (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_user= (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_password= (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: prefix=/subscription (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: insecure=0 (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_port= (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_scheme=http (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: no_proxy= (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: port=443 (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: ssl_verify_depth=3 (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: hostname=subscription.rhsm.redhat.com (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: server_timeout=180 (gsd-subman:4756): subman-plugin-DEBUG: 18:09:08.036: proxy_hostname= (gsd-subman:4756): subman-plugin-DEBUG: 18:09:09.702: Entitlement.GetStatus JSON: {"status": "Actual", "reasons": {}, "valid": true} (gsd-subman:4756): subman-plugin-DEBUG: 18:09:09.703: Entitlement.GetStatus: Actual (gsd-subman:4756): subman-plugin-WARNING **: 18:09:09.703: Unknown subscription status: Actual (gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.794: Products.ListInstalledProducts JSON: [["Red Hat Enterprise Linux for x86_64", "479", "8.2", "x86_64", "subscribed", [], "10/10/19", "10/10/20"]] (gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.795: Syspurpose.GetSyspurpose JSON: {} (gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.795: Syspurpose.GetSyspurpose: Unknown (gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.808: Registered client at path /org/gnome/SessionManager/Client34 (gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.809: lost name, so exiting (gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.810: Stopping subscription manager (gsd-subman:4756): subman-plugin-DEBUG: 18:09:12.811: Stopping subscription manager