I triggered the vCenter installer from another VM on another server. Like this:
Command:
./vcsa-deploy install /root/vcenter/config/embedded_vCSA_on_ESXi.json --accept-eula --no-esx-ssl-verify --no-ssl-certificate-verification --log-dir=/root/vcenter/log
Result: Failed with below logs on screen.
OVF Tool: Opening VI target: vi://root@10.251.105.18:443/
OVF Tool: Deploying to VI: vi://root@10.251.105.18:443/
OVF Tool: Disk progress: 99%
OVF Tool: Transfer Completed
OVF Tool: Powering on VM: Embedded-vCenter-Server-Appliance
OVF Tool: Task progress: 0%
OVF Tool: Task Completed
OVF Tool: Waiting for IP address...
OVF Tool: Received IP address: 10.251.105.113
OVF Tool: Completed successfully
====================== [SUCCEEDED] Successfully executed Task 'Deploying vCenter Server Appliance' in TaskFlow 'embedded_vCSA_on_ESXi' at 06:59:33 ======================
================================= [START] Start executing Task: Monitor the entire VCSA deployment using appliance REST API at 06:59:33 =================================
Checking if the target VCSA is powered on and ready for operations...
Successfully verified that the target VCSA 'Embedded-vCenter-Server-Appliance' has been powered on and is now ready for operations
Checking if the target VCSA appliance API is available for query
The certificate of server '10.251.105.113' will not be verified because you have provided either the '--no-ssl-certificate-verification' or '--no-esx-ssl-verify' command
parameter, which disables verification for all certificates. Remove this parameter from the command line if you want server certificates to be verified.
Error: Problem Id: None Component key: setnet Detail: Failed to set the time via NTP. Details: Failed to sync to NTP servers.. Code:
com.vmware.applmgmt.err_ntp_sync_failed Could not set up time synchronization. Resolution: Verify that provided ntp servers are valid.
============================================================ [FAILED] Task: MonitorDeploymentTask: Monitoring Deployment execution failed at 09:36:53
============================================================
=========================================================================================================================================================================
Error message: The appliance REST API was not yet available from the target VCSA 'Embedded-vCenter-Server-Appliance'because 'HTTPSConnectionPool(host='10.251.105.113',
port=5480): Max retries exceeded with url: /rest/vcenter/deployment (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fbd0e841ac8>:
Failed to establish a new connection: [Errno 110] Connection timed out',)). If the error message contains references about messages being expired, a login problem, or
its context indicates a timing issue, a possible reason could be system clock skew. Refer to error messages in 'taskflow.log' for more details. '. The VCSA might still
be starting up.
=============================================================================== 09:36:53 ===============================================================================
Result and Log File Information...
WorkFlow log directory: /root/vcenter/log/workflow_1587452127185
Questions:
1. how to check, what is wrong with NTP. Because, on the ESXi host, on the GUI, The NTP status is shown as 'sync' and running
Current date and time
Wednesday, April 22, 2020, 00:34:27 UTC
2.
The appliance REST API was not yet available from the target VCSA 'Embedded-vCenter-Server-Appliance'because 'HTTPSConnectionPool(host='10.251.105.113',
port=5480): Max retries exceeded with url: /rest/vcenter/deployment (Caused by NewConnectionError('<urllib3.connection.VerifiedHTTPSConnection object at 0x7fbd0e841ac8>:
Failed to establish a new connection: [Errno 110] Connection timed out',)). If the error message contains references about messages being expired, a login problem, or
its context indicates a timing issue, a possible reason could be system clock skew. Refer to error messages in 'taskflow.log' for more details. '. The VCSA might still
be starting up.
. i have checked time is same on both the client (from where this installer is invoked) and ESXI host.
. ESXi host is sync with NTP server
. The client VM(10.251.108.132) is unable to reach the
The log file from workflow logs directory shows that:
vcsa-cli-installer.log
2020-04-21 07:10:03,049 - vCSACliInstallLogger - DEBUG - Retrieved all ip addresses from appliance Embedded-vCenter-Server-Appliance: ['10.251.105.113']
2020-04-21 07:10:03,067 - vCSACliInstallLogger - DEBUG - Querying REST endpoint '/rest/vcenter/deployment' on appliance '10.251.105.113' for deployment status
2020-04-21 07:10:03,067 - vCSACliInstallLogger - DEBUG - Proceed with certificate thumbprint check...
2020-04-21 07:10:03,068 - vCSACliInstallLogger - DEBUG - Requesting deployment status from target vCSA REST API endpoint 'https://10.251.105.113:5480/rest/vcenter/deployment'
I am unable to figure out the reason why this rest api is unreachable from my client VM