将 VMware Cloud Director 实例与 VMware Cloud on AWS SDDC 关联后,您可能无法执行各种任务。
问题
将 VMware Cloud Director 实例与 VMware Cloud on AWS SDDC 关联后,vCenter Server 实例可能会显示为“已断开连接”。如果您尝试刷新或重新连接,会导致故障并引发网络连接异常,例如 SocketTimeoutException
。
您无法添加、编辑或删除网络资源,例如网络池、外部网络或 Edge 网关。
在
vcd-debug-container.log 中,您会看到类似于以下内容的条目:
java.lang.RuntimeException: Cannot execute request - Cannot execute request - com.fasterxml.jackson.core.JsonParseException: Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: (ByteArrayInputStream); line: 1, column: 2] - Json processing error. - Unexpected character ('<' (code 60)): expected a valid value (number, String, array, object, 'true', 'false' or 'null') at [Source: UNKNOWN; line: 1, column: 2]。
当 VMware Cloud Director 对 NSX 进行 API 调用时,返回的结果为 Received Response: 503
。
原因
该问题之所以会发生,是因为 VMware Cloud Director 实例无法通过代理与 vCenter Server 或 NSX 进行通信。VMware Cloud Director 与在将实例关联到 VMware Cloud on AWS SDDC 期间部署的代理虚拟机之间可成功进行通信,但代理虚拟机与 vCenter Server 或 NSX 之间的连接失败。
前提条件
- 在 vCenter Server UI 的资源池中找到代理虚拟机。该虚拟机的名称以 cds-proxy 开头。
- 联系您的 VMware 代表以获取代理虚拟机的 root 密码。