Unable to update banner for NSX appliances
search cancel

Unable to update banner for NSX appliances

book

Article ID: 413819

calendar_today

Updated On:

Products

VMware NSX

Issue/Introduction

Updating the banner on NSX Edge node or Manager with the CLI command set banner gives the error message:

Traceback (most recent call last):
  File "/opt/vmware/nsx-cli/bin/python/cli/commands/node_common/userinput.py", line ###, in <module>
    result = echo_unbuffered_user_input()
  File "/opt/vmware/nsx-cli/bin/python/cli/commands/node_common/userinput.py", line ##, in echo_unbuffered_user_input
    keys = keys.decode("utf-8")
UnicodeDecodeError: 'utf-8' codec can't decode byte 0x## in position #: unexpected end of data

% An error occurred while updating the security banner

 

Environment

VMWare NSX

Cause

The banner message contains accented/special characters

Resolution

Remove the accented/special characters from the banner message

Additional Information

To set a banner or message of the day (MOTD) on NSX Edge node or Manager, see Set Banner