Skip to main content
NetApp Response to Russia-Ukraine Cyber Threat
In response to the recent rise in cyber threat due to the Russian-Ukraine crisis, NetApp is actively monitoring the global security intelligence and updating our cybersecurity measures. We follow U.S. Federal Government guidance and remain on high alert. Customers are encouraged to monitor the Cybersecurity and Infrastructure Security (CISA) website for new information as it develops and remain on high alert.
NetApp Knowledge Base

Setup-mnode the script failed with UnicodeEncodeError: 'latin-1' codec can't encode character

Views:
203
Visibility:
Public
Votes:
0
Category:
netapp-hci
Specialty:
solidfire
Last Updated:

Applies to

  • NetApp SolidFire
  • NetApp HCI
  • Management Node (mNode) 11.3 and above

Issue

 When you run the setup-mnode, the script fails with the following error message

[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)
 
 

 

Scan to view the article on your device
CUSTOMER EXCLUSIVE CONTENT

Registered NetApp customers get unlimited access to our dynamic Knowledge Base.

New authoritative content is published and updated each day by our team of experts.

Current Customer or Partner?

Sign In for unlimited access

New to NetApp?

Learn more about our award-winning Support