vRealize Operations Manager initial deploy fails if the Virtual Machine Port Group contains non-ASCII characters
search cancel

vRealize Operations Manager initial deploy fails if the Virtual Machine Port Group contains non-ASCII characters

book

Article ID: 343683

calendar_today

Updated On:

Products

VMware Aria Suite

Issue/Introduction

Symptoms:
  • After deploying vRealize Operations Manager appliance, you are unable to access to the admin UI.
  • In /storage/log/var/log/firstboot/vsutilitiesFirstBoot.py_XXXX_stdout.log, you can see entries similar to:
An unhandled exception occurred, exiting with exit code: 1, 
Type: "<class 'UnicodeDecodeError'>" 
 Value: "'ascii' codec can't decode byte 0xe5 in position 1620: ordinal not in range(128)" 
 Traceback: "Traceback (most recent call last):
  File "/usr/lib/vmware-vcopssuite/firstboot/vsutilitiesFirstBoot.py", line 1767, in <module>
    main()
  File "/usr/lib/vmware-vcopssuite/firstboot/vsutilitiesFirstBoot.py", line 1730, in main
    apacheConfigurator(storage, adminUser, adminGroup)
  File "/usr/lib/vmware-vcopssuite/firstboot/vsutilitiesFirstBoot.py", line 783, in apacheConfigurator
    apache_listen_configurator.configureApacheListen()
  File "/usr/lib/vmware-vcopssuite/utilities/bin/apache_listen_configurator.py", line 79, in configureApacheListen
    ip = vc_ops_utilities.get_local_ip(False)
  File "/usr/lib/vmware-vcopssuite/utilities/lib/vc_ops_utilities.py", line 339, in get_local_ip
    force_ipv6 = get_force_ipv6_from_ovf_xml() or get_prefer_ipv6_from_suite_properties()
  File "/usr/lib/vmware-vcopssuite/utilities/lib/vc_ops_utilities.py", line 203, in get_force_ipv6_from_ovf_xml
    return 'True' == __read_match_from_ovf_env_xml(use_ipv6_pattern, group_name)
  File "/usr/lib/vmware-vcopssuite/utilities/lib/vc_ops_utilities.py", line 165, in __read_match_from_ovf_env_xml
    for line in ovf_environment_file:
  File "/usr/lib/vmware-python-3/lib64/python3.5/encodings/ascii.py", line 26, in decode
    return codecs.ascii_decode(input, self.errors)[0]
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe5 in position 1620: ordinal not in range(128)


Environment

VMware vRealize Operations Manager 6.6.x
VMware vRealize Operations Manager 7.0.x
VMware vRealize Operations Manager 6.7.x

Cause

This situation happens if vRealize Operations Manager appliance is deployed with Virtual Machine Port Group name containing non-ASCII characters.
If there are non-ASCII characters such as double-byte languages in /opt/vmware/etc/vami/ovfEnv.xml, initial deploy is failed.

Resolution

This is a known issue affecting vRealize Operations Manager.
This issue will be addressed in a future release of vRealize Operations Manager.

Workaround:
To workaround the issue, deploy vRealize Operations Manager with only ASCII characters in the Virtual Machine Port Group name.
Non-ASCII Virtual Machine Port Groups can be selected after initial deployment.