Setup-mnode脚本失败、并显示UnicodeEncodeError:"Latin-1" codec can't encode character-
适用场景
- NetApp SolidFire
- NetApp HCI
- 管理节点(mNode) 11.3及更高版本
问题描述
运行setup-mnode时、脚本失败、并显示以下错误消息
[2020-05-19T13:19:38.760683Z]:[hcilogger:120] ERROR:Uncaught Exception:
Traceback (most recent call last):
File "setup_scripts/setup_mnode.py", line 325, in
File "setup_scripts/setup_mnode.py", line 302, in main
File "setup_scripts/config_util.py", line 1304, in check_sf_mnode_credentials
File "setup_scripts/config_util.py", line 1298, in check_sf_mnode_credentials
File "setup_scripts/config_util.py", line 1242, in get_sf_api
File "requests/api.py", line 112, in post
File "requests/api.py", line 58, in request
File "requests/sessions.py", line 494, in request
File "requests/sessions.py", line 437, in prepare_request
File "requests/models.py", line 309, in prepare
File "requests/models.py", line 540, in prepare_auth
File "requests/auth.py", line 96, in __call__
File "requests/auth.py", line 63, in _basic_auth_str
UnicodeEncodeError: 'latin-1' codec can't encode character '\u2029' in position 9: ordinal not in range(256)