While registering vCenter using a desktop client, the backup proxy may not appear on the Phoenix Management Console even after registration. The vCenter registration fails with the following error:
[2018-02-01 16:34:53,500] [ERROR] Underscore are not allowed in hostname
[2018-02-01 16:34:53,501] [ERROR] Error <type 'exceptions.Exception'>:Host name contains underscore.. Traceback -Traceback (most recent call last):
File "__main__proxySetup__.py", line 480, in setup
File "__main__proxySetup__.py", line 246, in set_host_name
Exception: Host name contains underscore.
- Shutdown the Backup Proxy virtual machine.
- Right-click the virtual machine and select Edit Settings.
- Got to Options tab > vApp Options and click Properties.
- Look for Host under vApp Properties Configuration page and ensure that the hostname does not contain an underscore.
The Hostname may contain a series of labels concatenated with periods. A label may contain only ASCII letters 'a' through 'z' (case-insensitive), the digit '0' through '9' and hyphen ('-').