Symptoms:
- Reconfiguring the Cloud Director endpoint in the Settings view of the Cloud Director Availability Provider Portal fails and you see an error similar to:
Operation cancelled due to an unexpected error.
- In the /opt/vmware/h4/cloud/log/cloud.log file on the Cloud Replication Management Appliance, you see a similar entry:
2023-09-05 13:31:49.386 ERROR - [UI-a7eed626-6d35-4347-9892-1b0288c9b89a-r31118-HE] [https-jsse-nio-8443-exec-1] c.v.h.c.c.error.ExceptionAdvisorBase : A POST request from root[192.168.1.90] to /config/vcloud failed.
java.lang.IllegalArgumentException: The given 'offset' must be multiple of 'limit'
at com.vmware.vcloud.client.json.JsonVcloudClient.buildQuery(JsonVcloudClient.java:777)
at com.vmware.vcloud.client.json.JsonVcloudClient.lambda$findCategoryByName$5(JsonVcloudClient.java:730)
at com.vmware.vcloud.client.util.JsonVcloudClientUtil.getAllObjects(JsonVcloudClientUtil.java:31)
at com.vmware.vcloud.client.json.JsonVcloudClient.findCategoryByName(JsonVcloudClient.java:729)
at com.vmware.h4.cloud.service.VcloudExtensionService.getOtherCategory(VcloudExtensionService.java:185)
at com.vmware.h4.cloud.service.VcloudExtensionService.register(VcloudExtensionService.java:100)
at com.vmware.h4.cloud.service.ConfigService.configureCloud(ConfigService.java:281)
at com.vmware.h4.cloud.service.ConfigService.configVcd(ConfigService.java:213)
at com.vmware.h4.cloud.controller.ConfigController.configVcd(ConfigController.java:155)
...
Note: The preceding log excerpts are only examples. Date, time, and environmental variables may vary depending on your environment.