/opt/vmware/h4/cloud/log/cloud.log
file on the destination Cloud Director Replication Management Appliance, you see entries similar to:2024-07-01 20:16:24.648 DEBUG - [6a3b5735-2e0c-4d69-a283-f8c1c4f9f6a6] [c4-scheduler-4] c.v.h.c.s.VappSettingsRefreshService : Collecting settings from site <site name> for 0 vApps and 723 catalog items (holding the vApp templates).
...
2024-07-01 20:21:25.070 WARN - [6a3b5735-2e0c-4d69-a283-f8c1c4f9f6a6] [c4-scheduler-4] com.vmware.task.rest.client.TaskPoller : The running task: 4e2a11ff-0ecb-47ae-a592-d5fc086857f0 has timed out after 300000 msec
2024-07-01 20:21:25.070 ERROR - [6a3b5735-2e0c-4d69-a283-f8c1c4f9f6a6] [c4-scheduler-4] com.vmware.task.rest.client.TaskPoller : Task with id 4e2a11ff-0ecb-47ae-a592-d5fc086857f0 timed out.
2024-07-01 20:21:25.070 ERROR - [6a3b5735-2e0c-4d69-a283-f8c1c4f9f6a6] [c4-scheduler-4] c.v.h.c.s.VappSettingsRefreshService : Failed to retrieve vApp settings from site <site name>
com.vmware.h4.api.error.exceptions.TaskMonitoringTimeOutException: Assuming task '4e2a11ff-0ecb-47ae-a592-d5fc086857f0' failed, because its status did not update in a timely fashion.
at com.vmware.task.rest.client.TaskPoller.waitForTask(TaskPoller.java:173)
at com.vmware.h4.cloud.client.CloudTaskPoller.waitForTask(CloudTaskPoller.java:49)
at com.vmware.h4.cloud.service.VappSettingsRefreshService.getSettingsFromPeer(VappSettingsRefreshService.java:138)
...
VMware Cloud Director Availability 4.x
This issue occurs due to a pagination issue in the VMware Cloud Director Availability code and can arise when a large number of vApp template protections are active.
This is a known issue affecting VMware Cloud Director Availability 4.x
Currently, there is no resolution.
To work around this issue, update the query page value and VMware Cloud Director (VCD) vApp settings timeout value in the destination site.
Note: This procedure modifies a configuration file. Ensure to take a backup of the file before proceeding.
cd /opt/vmware/h4/cloud/config
systemctl stop cloud.service
application.properties
file:cp application.properties appliaction.properties.<YYY-MM-DD>.bak
application.properties
file with a text editor:vi application.properties
spring.jpa.query.limit
and increase the value to a number larger than the amount of incoming vApp template protections with source tracking enabled.spring.jpa.query.limit=1000
vcd.vapp.settings.timeout
, uncomment it and double the timeout so the line looks like:vcd.vapp.settings.timeout=600000
application.properties
file.systemctl start cloud.service
When configuring a large number of vApp template protections, it can also be helpful to scale up the destination VMware Cloud Director Availability instance for increased performance.
For more information, see How to scale up Cloud Director Availability 4.x for large scale environments.