VMware policies using tags show zero included and zero excluded VMs in the Test Query results

Article: 100042780
Last Published: 2019-04-30
Ratings: 0 0
Product(s): NetBackup & Alta Data Protection

Problem

VMware policies using tags show zero included and zero excluded VMs in the Test Query results

Error Message

Failed to obtain SSO certificate using VMware vCloud Suite APIs, msg = [HTTP transport error: java.net.ConnectException: Connection timed out] scheduler found no backups due to run (200)

ncfnbcs log (OID 366) shows:

4/9/2018 14:06:46.989 [Application] NB 51216 libvcloudsuite 480 PID:17676 TID:26396 File ID:366 [No context] [Info] V-480-2 Creating VMwareTagsView Object.
4/9/2018 14:06:47.188 [Application] NB 51216 libvcloudsuite 480 PID:0 TID:1 File ID:366 [No context] [Info] [vCloudSuite.initManagers] Info: Creating SSOManager... (vCloudSuite:41)
4/9/2018 14:06:47.225 [Application] NB 51216 libvcloudsuite 480 PID:0 TID:1 File ID:366 [No context] [Info] [SSOManager.<init>] Info: SSOManager created, ssoStsUri: https://testpsc.domain.local/sts/STSService/vsphere.local, vCenter: vc.domain.local(SSOManager:51)
4/9/2018 14:07:10.292 [Application] NB 51216 libvcloudsuite 480 PID:0 TID:1 File ID:366 [No context] [Critical] [SSOManager.getVapiUrl] com.sun.xml.internal.ws.client.ClientTransportException msg: HTTP transport error: java.net.ConnectException: Connection timed out: connect
4/9/2018 14:07:10.293 [Application] NB 51216 ncfvmwarepi 386 PID:17676 TID:26396 File ID:366 [No context] [Warning] V-386-6 VM has been excluded by the discovery filter, display name = [TESTVM1], server = [vc.domain.local].
4/9/2018 14:07:10.293 [Application] NB 51216 libvcloudsuite 480 PID:17676 TID:26396 File ID:366 [No context] [Error] V-480-4 Failed to obtain SSO certificate using VMware vCloud Suite APIs, msg = [HTTP transport error: java.net.ConnectException: Connection timed out: connect], display name = [TESTVM1], server = [vc.domain.local]
4/9/2018 14:07:10.294 [Application] NB 51216 libvcloudsuite 480 PID:17676 TID:26396 File ID:366 [No context] [Error] V-480-4 Failed to obtain SSO certificate using VMware vCloud Suite APIs, msg = [HTTP transport error: java.net.ConnectException: Connection timed out: connect], display name = [TESTVM1], server = [vc.domain.local]
4/9/2018 14:07:10.301 [Application] NB 51216 ncfvmwarepi 386 PID:17676 TID:26396 File ID:366 [No context] [Warning] V-386-6 VM has been excluded by the discovery filter, display name = [TESTVM2], server = [vc.domain.local].
4/9/2018 14:07:10.301 [Application] NB 51216 libvcloudsuite 480 PID:17676 TID:26396 File ID:366 [No context] [Error] V-480-4 Failed to obtain SSO certificate using VMware vCloud Suite APIs, msg = [HTTP transport error: java.net.ConnectException: Connection timed out: connect], display name = [TESTVM2], server = [vc.domain.local]
4/9/2018 14:07:10.301 [Application] NB 51216 libvcloudsuite 480 PID:17676 TID:26396 File ID:366 [No context] [Error] V-480-4 Failed to obtain SSO certificate using VMware vCloud Suite APIs, msg = [HTTP transport error: java.net.ConnectException: Connection timed out: connect], display name = [TESTVM2], server = [vc.domain.local]
4/9/2018 14:07:10.302 [Application] NB 51216 ncfvmwarepi 386 PID:17676 TID:26396 File ID:366 [No context] [Warning] V-386-6 VM has been excluded by the discovery filter, display name = [TESTVM3], server = [vc.domain.local].
...

Cause

VMware Platform Services Controller server may not be reachable over the network from the master server or the discovery host.

Solution

For VMware tags processing, NetBackup must be able to communicate with the VMware Platform Services Controller (PSC) server on TCP port 443. Make sure that the PSC hostname can be resolved to its IP address and it is reachable on TCP port 443. Note that Platform Services Controller may not be on the same host as the vCenter.

Related articles:

Failed to obtain SSO certificate using VMWare vCloud suite APIs

Was this content helpful?