"Unable to connect to vCenter 'undefined'." error when configuring replication network settings in vCloud Availability 3.0.3
search cancel

"Unable to connect to vCenter 'undefined'." error when configuring replication network settings in vCloud Availability 3.0.3

book

Article ID: 314961

calendar_today

Updated On:

Products

VMware Cloud Director

Issue/Introduction

Symptoms:

  • When you select a replication and click on Networks in the vCloud Availability Portal, you see the following error in the Network Settings pop-up window:
Unable to connect to vCenter 'undefined'.
  • In the Network Settings pop-up window, when you click Apply you see the following error:
Cannot read property 'find of undefined
  • In /opt/vmware/h4/cloud/log/cloud.log on the vApp Replication Manager, you see entries similar to:

2019-09-25 11:13:10.457 ERROR - [ui-proxy_97017300-####-####-####-########f8c_9h] [https-jsse-nio-8046-exec-1] c.v.h.c.c.error.ExceptionAdvisorBase : A GET request from root[192.168.2.2] to /vc-sites/siteName/undefined/vm-72 failed.com.vmware.h4.replicator.api.exceptions.FailedToAcquireVcConnection: Unable to connect to vCenter 'undefined'.
        at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method)
        at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:62)
        at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
        ...


Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.

 

Environment

VMware vCloud Availability 3.0.x

Cause

This issue occurs because of an incorrect response body for internal API calls used to list and configure VM networks for active replications.

Resolution

This is a known issue affecting vCloud Availability 3.0.3.
Currently, there is no resolution.

Workaround:
To work around this issue, you can reconfigure the network of a recovered VM in vCloud Director after failover/migration.