Adding vCenter to NetApp Console Disaster Recovery fails with "status code 400" error
Applies to
NetApp Console Disaster Recovery
Issue
Attempting to add a vCenter to NetApp Console Disaster Recovery fails with the following error:
Agent Operations API [https://cloudmanager.cloud.netapp.com/account/account-<Account_ID>providers/cloudmanager_scs_cloud/api/vmdr/hosts/vcenter/credentials] failed with status code 400, error cloudmanager_scs_cloud: Try again.
The following, similar, error may also be seen in the backend logs:
Error:{"code":"agent_operations_api_failed_with_error","message":"Agent Operations API [https://cloudmanager.cloud.netapp.com/account/account-<Account_ID>/providers/cloudmanager_scs_cloud/api/vmdr/hosts/vcenter/credentials] failed with status code 500, error {\"error\":{\"code\":\"agent_operation_invocation_failed\",\"message\":\"Failed to invoke the Agent Operations API [ https://<vCenter_Name>:443/api/session], error Post \\\" https://<vCenter_Name>:443/api/session\\\": dial tcp: lookup <vCenter_Name> on <DNS_Server_IP>:53: no such host.\",\"resolution\":\"Contact NetApp support.\"}}.","resolution":"Contact NetApp support."}