Symptoms:
<YYYY-MM-DD>T<time> INFO service-control Running:
lookupsvc lwsmd vmafdd vmcad vmdird vmonapi vmware-envoy vmware-postgres-archiver vmware-rhttpproxy vmware-statsmonitor vmware-stsd vmware-trustmanagement vmware-vmon vmware-vpostgres vtsdb
<YYYY-MM-DD>T<time> INFO service-control Stopped:
applmgmt observability observability-vapi pschealth vlcm vmcam vmware-analytics vmware-certificateauthority vmware-certificatemanagement vmware-cis-license vmware-content-library vmware-eam vmware-hvc vmware-imagebuilder vmware-infraprofile vmware-netdumper vmware-perfcharts vmware-pod vmware-rbd-watchdog vmware-sca vmware-sps vmware-topologysvc vmware-updatemgr vmware-vapi-endpoint vmware-vcha vmware-vdtc vmware-vpxd vmware-vpxd-svcs vmware-vsan-health vmware-vsm vsphere-ui vstats wcp
<YYYY-MM-DD>T<time> In(05) host-21267 <applmgmt> Service start operation timed out.
<YYYY-MM-DD>T<time> In(05) host-21267 <eam> Service start operation timed out.
<YYYY-MM-DD>T<time> AM UTC [22073]ERROR:vmware.vherd.transport.server:Cannot listen: Couldn't listen on ::1:8201: [Errno 99] Cannot assign requested address.
<YYYY-MM-DD>T<time> | ERROR | vim-monitor | VcListener.java | 124 | An unexpected error in the changes polling loop
com.vmware.eam.EamRemoteSystemException: Client error communicating with the vCenter server.
Caused by: com.vmware.vim.vmomi.client.common.UnexpectedStatusCodeException: Unexpected status code: 503
<YYYY-MM-DD>T<time> | INFO | vim-monitor | VcListener.java | 125 | Full stack trace: com.vmware.eam.EamRemoteSystemException: Client error communicating with the vCenter server.
Caused by: com.vmware.vim.vmomi.client.common.UnexpectedStatusCodeException: Unexpected status code: 503
<YYYY-MM-DD>T<time> Wa(03) host-#### <vpxd-svcs> Service pre-start command's stderr: Traceback (most recent call last):
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware/site-packages/syncGrpcUtil.py", line 64, in DoGet
<YYYY-MM-DD>T<time> Wa(03)+ host-#### response = urllib.request.urlopen(url)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/python3.7/urllib/request.py", line 222, in urlopen
<YYYY-MM-DD>T<time> Wa(03)+ host-#### return opener.open(url, data, timeout)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/python3.7/urllib/request.py", line 531, in open
<YYYY-MM-DD>T<time> Wa(03)+ host-#### response = meth(req, response)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/python3.7/urllib/request.py", line 641, in http_response
<YYYY-MM-DD>T<time> Wa(03)+ host-#### 'http', request, response, code, msg, hdrs)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/python3.7/urllib/request.py", line 569, in error
<YYYY-MM-DD>T<time> Wa(03)+ host-#### return self._call_chain(*args)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/python3.7/urllib/request.py", line 503, in _call_chain
<YYYY-MM-DD>T<time> Wa(03)+ host-#### result = func(*args)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/python3.7/urllib/request.py", line 649, in http_error_default
<YYYY-MM-DD>T<time> Wa(03)+ host-#### raise HTTPError(req.full_url, code, msg, hdrs, fp)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### urllib.error.HTTPError: HTTP Error 403: Forbidden
<YYYY-MM-DD>T<time> Wa(03)+ host-####
<YYYY-MM-DD>T<time> Wa(03)+ host-#### During handling of the above exception, another exception occurred:
<YYYY-MM-DD>T<time> Wa(03)+ host-####
<YYYY-MM-DD>T<time> Wa(03)+ host-#### Traceback (most recent call last):
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/tagging_grpc_registration.py", line 70, in addEnvoyRoutingForTopology
<YYYY-MM-DD>T<time> Wa(03)+ host-#### addSyncableServiceCluster("tagging-grpc-cluster", 4004)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware/site-packages/syncGrpcUtil.py", line 93, in addSyncableServiceCluster
<YYYY-MM-DD>T<time> Wa(03)+ host-#### tag = DoGet(uri_clusters + 'all')
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware/site-packages/syncGrpcUtil.py", line 68, in DoGet
<YYYY-MM-DD>T<time> Wa(03)+ host-#### log_error(err.code, err.reason, err.headers)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### TypeError: log_error() takes from 1 to 2 positional arguments but 3 were given
<YYYY-MM-DD>T<time> Wa(03)+ host-####
<YYYY-MM-DD>T<time> Wa(03)+ host-#### During handling of the above exception, another exception occurred:
<YYYY-MM-DD>T<time> Wa(03)+ host-####
<YYYY-MM-DD>T<time> Wa(03)+ host-#### Traceback (most recent call last):
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/main.py", line 100, in <module>
<YYYY-MM-DD>T<time> Wa(03)+ host-#### endpoint_registration_runner(logging_file)
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/main.py", line 65, in endpoint_registration_runner
<YYYY-MM-DD>T<time> Wa(03)+ host-#### UpdateTaggingServiceGrpcEndpoint(logging_file).run()
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/tagging_grpc_registration.py", line 55, in run
<YYYY-MM-DD>T<time> Wa(03)+ host-#### self.addEnvoyRoutingForTopology()
<YYYY-MM-DD>T<time> Wa(03)+ host-#### File "/usr/lib/vmware-vpxd-svcs/scripts/linux/pre-start/tagging_grpc_registration.py", line 76, in addEnvoyRoutingForTopology
<YYYY-MM-DD>T<time> Wa(03)+ host-#### raise Exception("Failed to add tagging grpc routing to envoy"
<YYYY-MM-DD>T<time> Wa(03)+ host-#### Exception: Failed to add tagging grpc routing to envoy while executing vpxd-svcs prestart commands
<YYYY-MM-DD>T<time> Wa(03)+ host-####
<YYYY-MM-DD>T<time> Er(02) host-#### <vpxd-svcs> Service pre-start command failed with exit code 1.
Note: The same error stack can be found in /var/log/vmware/vpxd-svcs/pre-start-vpxd-svcs.log
cat /etc/sysconfig/proxy
Example configuration of a vCenter with no proxy server:
root@vcsa01 [ ~ ]# cat /etc/sysconfig/proxy
# Enable a generation of the proxy settings to the profile.
# This setting allows to turn the proxy on and off while
# preserving the particular proxy setup.
#
PROXY_ENABLED="no"
# Some programs (e.g. wget) support proxies, if set in
# the environment.
# Example: HTTP_PROXY="http://proxy.provider.de:3128/"
HTTP_PROXY=""
# Example: HTTPS_PROXY="https://proxy.provider.de:3128/"
HTTPS_PROXY=""
# Example: FTP_PROXY="http://proxy.provider.de:3128/"
FTP_PROXY=""
# Example: GOPHER_PROXY="http://proxy.provider.de:3128/"
GOPHER_PROXY=""
# Example: SOCKS_PROXY="socks://proxy.example.com:8080"
SOCKS_PROXY=""
# Example: SOCKS5_SERVER="office-proxy.example.com:8881"
SOCKS5_SERVER=""
# Example: NO_PROXY="www.me.de, do.main, localhost"
NO_PROXY="localhost, 127.0.0.1"
Note: The NO_PROXY parameter in this configuration file defines for which addresses the proxy is bypassed. By default localhost and 127.0.0.1 will be listed here to bypass proxy server for all local communications.
To resolve the issue, follow the procedure below:
NO_PROXY="localhost, 127.0.0.1"
Note: There could be other addresses configured for this NO_PROXY parameter to bypass the proxy. Those can be retained