Acquire SDDC Manager Host(s) locks
Failed to get clusters information from resource aggregator
/var/log/vmware/vcf/domainmanager/domainmanager.log
yyyy-mm-ddThh:mm:ss WARN [vcf_dm,xxxxxxxxxxx,07fe] [c.v.v.c.s.i.ClusterManagerIsServiceImpl,http-nio-127.0.0.1-7200-exec-27] Failed to get clusters information from resource aggregator. Cluster capacity information (CPU, Storage, Memory) won't be provided in the response.
yyyy-mm-ddThh:mm:ss ERROR [vcf_dm,xxxxxxxxxx,8f4c] [c.v.v.r.c.c.ResourceAggregatorServiceImpl,http-nio-127.0.0.1-7200-exec-43] Failed to get clusters information from resource aggregator.
com.vmware.cloud.foundation.rest.operationsmanager.internal.runtime.ApiException: Bad Gateway
/var/log/vmware/vcf/commonsvc/vcf-commonsvcs.log
yyyy-mm-ddThh:mm:ss [common,xxxxxxxxxxxxx,58cf] [c.v.e.s.l.s.impl.LockingServiceImpl,http-nio-127.0.0.1-7100-exec-311] No topology path found with type HOST, id <host_id>, and name <ESXi host FQDN>
yyyy-mm-ddThh:mm:ss ERROR [common,xxxxxxxxxxxxx,58cf] [c.v.e.s.e.h.LocalizableRuntimeExceptionHandler,http-nio-127.0.0.1-7100-exec-311] [2BQQQO] INVALID_RESOURCE Resource with type HOST, and ID <host_id> or Name <ESXI FQDN> is not found.
com.vmware.evo.sddc.common.core.error.InvalidInputException: Resource with type HOST, and ID <host_id> or Name <ESXi_FQDN> is not found.
VMware Cloud Foundation 5.x
curl localhost/resource-locks | jq
Sample output
vcf@sddc-manager [ ~ ]$ curl localhost/resource-locks | jq
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
100 741 0 741 0 0 172k 0 --:--:-- --:--:-- --:--:-- 180k
{
"elements": [
{
"id": "xxxxxxxx-xxxx-xxxx-xxxx-xxxxxxxxxxx",
"resourceType": "cluster",
"resourceId": "aaaaaaaa-aaaa-aaaa-aaaa-aaaaaaaaaaaa",
"resourceName": "vi-cluster1",
"operationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
"serviceId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
},
{
"id": "yyyyyyyy-yyyy-yyyy-yyyy-yyyyyyyyyyyy",
"resourceType": "system",
"resourceId": "SYSTEM",
"resourceName": "SYSTEM",
"operationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
"serviceId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
},
{
"id": "42b2dcfb-a15d-4647-acc6-51f7e04d2a78",
"resourceType": "domain",
"resourceId": "aea9c2e4-8ce2-4b96-89aa-fa82c57f31f1",
"resourceName": "nsxt-vi",
"operationId": "bbbbbbbb-bbbb-bbbb-bbbb-bbbbbbbbbbbb",
"serviceId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
}
]
}
curl --location --request DELETE 'localhost/resource-locks' \
--header 'Content-Type: application/json' \
--data '{
"operationId": "<ID gathered from Step 1(a-ii) >",
"serviceId": "cccccccc-cccc-cccc-cccc-cccccccccccc"
}'
systemctl restart commonsvcs