Integrating vRealize Operations with PKS fails with "Connect timed out"
book
Article ID: 315924
calendar_today
Updated On:
Products
VMware Aria Suite
Issue/Introduction
Symptoms: When integrating vRealize Operations with PKS (TKGI), the Cloud Account reports an error on 'Validate connection"
Error: Connect to PKS_FQDN:8443 Failed: Connect timed out
Environment
VMware vRealize Operations 8.x
Cause
vRealize Operations and PKS (TKGI) need a network connection on port 9021, if this is not opened then you will see the below in vRealize Operations logs
2021-05-05T12:41:58,562+0000 ERROR [Collector worker thread 23] (329) com.vmware.vrops.adapter.pks.services.PKSClusterService.testConnection - Error while checking the connection org.apache.http.conn.HttpHostConnectException: Connect to xx.xx.xx.xx:9021 [xx.xx.xx.xx] failed: Connection refused (Connection refused) * Without this port vROPS will not be able to get API response from PKS controller
Resolution
To resolve this issue, open TCP port 9021 from all nodes in the vRealize Operations cluster to the PKS server/controller