Skip to main content
vCenter registration using desktop client fails
Updated over a week ago

Problem description

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 "", line 480, in setup
  File "", line 246, in set_host_name
Exception: Host name contains underscore.


  1. Shutdown the Backup Proxy virtual machine.

  2. Right-click the virtual machine and select Edit Settings.

  3. Got to Options tab > vApp Options and click Properties.

  4. 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 ('-').

Did this answer your question?