VDT logs for vCenter show [FAIL] SSL Connectivity - Investigate error: [vc:443]:[Errno -2] Name or service not known
search cancel

VDT logs for vCenter show [FAIL] SSL Connectivity - Investigate error: [vc:443]:[Errno -2] Name or service not known

book

Article ID: 398402

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

VDT logs for vCenter show the following:

[FAIL]   vc (VR/SRM 9.0)

[FAIL]    SSL Connectivity
Investigate error: [vc:443]:[Errno -2] Name or service not known
 
 
Testing connectivity with nc -z shows the following:
nc -z vc 443

Error "Couldn't resolve host "vc"

Environment

vCenter 8

Cause

/etc/resolv.conf had nameserver entries configured but not search

vCenter VAMI/VCSA UI only has option to configure the DNS servers

Use vami_config_net to configure additional DNS settings

Resolution

Take a snapshot of the vCenter VM before proceeding. If using ELM take offline snapshots of all vCenters

SSH into vCenter and run the following:

/opt/vmware/share/vami/vami_config_net

Select 0 to capture the current configuration

Then select 4 to configure DNS and it will ask for the DNS servers and domain.

Main Menu

0)      Show Current Configuration (scroll with Shift-PgUp/PgDown)
1)      Exit this program
2)      Default Gateway
3)      Hostname
4)      DNS
5)      Proxy Server
6)      IP Address Allocation for eth0

Enter a menu number [0]: 4

Warning: if any of the interfaces for this VM use DHCP,
the Hostname, DNS, and Gateway parameters will be
overwritten by information from the DHCP server.

Type Ctrl-C to go back to the Main Menu

DNS Server 1 [127.0.0.1]: [press enter to keep what it already has]
DNS Server 2 (optional) [#.#.#.#]: [press enter to keep what it already has]
Domain Name (optional) []: your.domain [add the domain name and press enter]
Search Path (space separated) (optional) [.]: [press enter]
DNS server settings updated

 

Additional Information

Using the VCF Diagnostic Tool for vSphere (VDT)
https://knowledge.broadcom.com/external/article/344917