Bug 2093479
Summary: | Some pcs commands fail when /proc/cmdline includes debug | |||
---|---|---|---|---|
Product: | Red Hat Enterprise Linux 8 | Reporter: | Reid Wahl <nwahl> | |
Component: | systemd | Assignee: | David Tardon <dtardon> | |
Status: | CLOSED ERRATA | QA Contact: | Frantisek Sumsal <fsumsal> | |
Severity: | medium | Docs Contact: | ||
Priority: | medium | |||
Version: | 8.5 | CC: | cluster-maint, dtardon, idevat, jamacku, kmalyjur, mlisik, mpospisi, omular, sbradley, systemd-maint-list, tojeline | |
Target Milestone: | rc | Keywords: | Bugfix, Triaged | |
Target Release: | --- | |||
Hardware: | All | |||
OS: | Linux | |||
Whiteboard: | ||||
Fixed In Version: | systemd-239-65.el8 | Doc Type: | If docs needed, set a value | |
Doc Text: | Story Points: | --- | ||
Clone Of: | ||||
: | 2118297 (view as bug list) | Environment: | ||
Last Closed: | 2022-11-08 10:49:56 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: | ||||
Bug Depends On: | ||||
Bug Blocks: | 2118297 |
Description
Reid Wahl
2022-06-03 20:09:43 UTC
The root issue is that systemctl is printing non-ASCII characters even if pcs sets LC_ALL=C. # LC_ALL=C SYSTEMD_LOG_LEVEL=debug systemctl status pacemaker Bus n/a: changing state UNSET → OPENING Bus n/a: changing state OPENING → AUTHENTICATING Successfully forked off '(pager)' as PID 1349. Showing one /org/freedesktop/systemd1/unit/pacemaker_2eservice Bus n/a: changing state AUTHENTICATING <E2><86><92> RUNNING {...omitted...} Bus n/a: changing state RUNNING <E2><86><92> CLOSED * pacemaker.service - Pacemaker High Availability Cluster Manager Loaded: loaded (/usr/lib/systemd/system/pacemaker.service; enabled; vendor preset: disabled) Active: active (running) since Mon 2022-06-06 16:33:48 CEST; 8min ago Docs: man:pacemakerd https://clusterlabs.org/pacemaker/doc/ Main PID: 1262 (pacemakerd) Tasks: 7 Memory: 62.8M CGroup: /system.slice/pacemaker.service |-1262 /usr/sbin/pacemakerd |-1263 /usr/libexec/pacemaker/pacemaker-based |-1264 /usr/libexec/pacemaker/pacemaker-fenced |-1265 /usr/libexec/pacemaker/pacemaker-execd |-1266 /usr/libexec/pacemaker/pacemaker-attrd |-1267 /usr/libexec/pacemaker/pacemaker-schedulerd `-1268 /usr/libexec/pacemaker/pacemaker-controld The output consists of mixed stdout and stderr. If you want to see just the debug log, redirect stdout to /dev/null. Those '→' characters are non-ASCII. Note that LC_ALL=C makes systemctl to print the process tree using ASCII characters. Moving to systemd for further investigation. I've submitted https://github.com/systemd/systemd/pull/23821 (only the first commit is needed to fix this issue). fix merged to github master branch -> https://github.com/redhat-plumbers/systemd-rhel8/pull/308 fix merged to github master branch -> https://github.com/redhat-plumbers/systemd-rhel8/pull/307 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 (systemd bug fix and enhancement update), 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-2022:7727 |