`pcs` cannot create resource: UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position X: ordinal not in range(128)
Issue
pcscannot create resource:UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position X: ordinal not in range(128)
# pcs resource create my_fs ocf:heartbeat:Filesystem device="/dev/my_vg/my_lv" directory="/my_mnt" fstype=”ext4”
Traceback (most recent call last):
File "/sbin/pcs", line 9, in <module>
load_entry_point('pcs==0.9.158', 'console_scripts', 'pcs')()
File "/usr/lib/python2.7/site-packages/pcs/app.py", line 53, in main
argv = parse_args.upgrade_args(argv)
File "/usr/lib/python2.7/site-packages/pcs/cli/common/parse_args.py", line 287, in upgrade_args
args_without_options = filter_out_options(arg_list)
File "/usr/lib/python2.7/site-packages/pcs/cli/common/parse_args.py", line 268, in filter_out_options
not arg.startswith("-")
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 7: ordinal not in range(128)
Environment
- Red Hat Enterprise Linux Server 7 (with the High Availability Add-on)
pcs-0.9.158-6.el7_4.1.x86_64or earlier
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
