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.
DescriptionJaroslav Kortus
2011-09-29 16:06:54 UTC
Description of problem:
error printed while executing cut&paste command from documentation (http://www.clusterlabs.org/doc/en-US/Pacemaker/1.1/html-single/Clusters_from_Scratch/#id826888)
$ crm configure primitive myfs ocf:heartbeat:Filesystem params device="/dev/drbd/by-res/wwwdata" directory="/var/www/html" fstype=”gfs2”
Traceback (most recent call last):
File "/usr/sbin/crm", line 45, in <module>
main.run()
File "/usr/lib64/python2.6/site-packages/crm/main.py", line 268, in run
if parse_line(levels,shlex.split(' '.join(args))):
File "/usr/lib64/python2.6/site-packages/crm/main.py", line 153, in parse_line
lvl.release()
File "/usr/lib64/python2.6/site-packages/crm/levels.py", line 65, in release
self.droplevel()
File "/usr/lib64/python2.6/site-packages/crm/levels.py", line 84, in droplevel
self.current_level.end_game(self._in_transit)
File "/usr/lib64/python2.6/site-packages/crm/ui.py", line 1661, in end_game
self.commit("commit")
File "/usr/lib64/python2.6/site-packages/crm/ui.py", line 1531, in commit
self._verify(mkset_obj("xml","changed"),mkset_obj("xml"))
File "/usr/lib64/python2.6/site-packages/crm/ui.py", line 1436, in _verify
rc1 = set_obj_all.verify()
File "/usr/lib64/python2.6/site-packages/crm/cibconfig.py", line 467, in verify
rc = pipe_string(cib_verify,self.repr(format = -1))
File "/usr/lib64/python2.6/site-packages/crm/cibconfig.py", line 414, in repr
s = doc.toprettyxml(user_prefs.xmlindent)
File "/usr/lib64/python2.6/site-packages/_xmlplus/dom/minidom.py", line 62, in toprettyxml
return writer.getvalue()
File "/usr/lib64/python2.6/StringIO.py", line 270, in getvalue
self.buf += ''.join(self.buflist)
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)
Version-Release number of selected component (if applicable):
pacemaker-libs-1.1.5-8.el6.x86_64
pacemaker-1.1.5-8.el6.x86_64
pacemaker-cli-1.1.5-8.el6.x86_64
pacemaker-doc-1.1.5-8.el6.x86_64
How reproducible:
100%
Steps to Reproduce:
1. issue the command as above
2.
3.
Actual results:
python traceback
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 0: ordinal not in range(128)
Expected results:
no traceback, possibly error message (syntax error or similar)
Additional info:
(11:03:19) [root@marathon-02:/dev/marathon]$ locale
LANG=en_US.utf8
LC_CTYPE="en_US.utf8"
LC_NUMERIC="en_US.utf8"
LC_TIME="en_US.utf8"
LC_COLLATE="en_US.utf8"
LC_MONETARY="en_US.utf8"
LC_MESSAGES="en_US.utf8"
LC_PAPER="en_US.utf8"
LC_NAME="en_US.utf8"
LC_ADDRESS="en_US.utf8"
LC_TELEPHONE="en_US.utf8"
LC_MEASUREMENT="en_US.utf8"
LC_IDENTIFICATION="en_US.utf8"
LC_ALL=
issued from ssh session in gnome-terminal.
ha, you are right! They all looked the same to me but it's different char indeed. It's not a bug then, but I'd still ask you to fix that in the docs :).
Thank you,
J.