VxRail:設定 HTTPS Proxy 時無法部署 OVF

摘要: 設定 HTTPS Proxy 時無法部署 OVF。

本文章適用於 本文章不適用於 本文無關於任何特定產品。 本文未識別所有產品版本。

症狀

在 /var/log/vmware/vpxd.log 中會看到類似以下的錯誤:
Unrecognized SSL message, plaintext connection?, note that HTTP/s proxy is configured for the transfer
2020-09-16T14:41:59.004+02:00 info vpxd[14866] [Originator@6876 sub=Default opID=2b691553-01] [VpxLRO] -- ERROR task-1978410 -- UPSA913s-x64-VM01-noV
APP -- ResourcePool.ImportVAppLRO: vim.fault.OvfImportFailed:
--> Result:
--> (vim.fault.OvfImportFailed) {
-->  faultCause = (vmodl.fault.SystemError) {
-->   faultCause = (vmodl.MethodFault) null,
-->   faultMessage = (vmodl.LocalizableMessage) [
-->     (vmodl.LocalizableMessage) {
-->      key = "com.vmware.ovfs.ovfs-main.ovfs.transfer_failed",
-->      arg = (vmodl.KeyAnyValue) [
-->        (vmodl.KeyAnyValue) {
-->         key = "0",
-->         value = "Invalid response code: 403, note that HTTP/s proxy is configured for the transfer"
-->      message = "Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer."
-->   reason = ""
-->   msg = "Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer."
-->  faultMessage = 

原因

OVF 部署程式無法連線至 Proxy 伺服器,並出現以下錯誤: 
Transfer failed: Invalid response code: 403, note that HTTP/s proxy is configured for the transfer.
此「不正確回應代碼:403 吋是來自 PROXY 伺服器的回應,表示不允許存取目的地資源。

使用 Proxy 時,OVF 傳輸需要具備 HTTPS 功能的 Proxy。請確定 Proxy 支援 HTTPS,或使用以下因應措施略過 Proxy。

解析度

  1. 請使用以下兩種方法之一解決此問題。以下為 區分大小寫
  • 修改 HTTPS PROXY 組態以使用 HTTP:
  1. 修改 /etc/sysconfig/Proxy 檔案。變更HTTPS_PROXY行,將值從 HTTPs 更新為 HTTP:
From:
HTTPS_PROXY="https://proxy.domain.tld:3128/"

To:
HTTPS_PROXY="http://proxy.domain.tld:3128/"
  1. 如果 Proxy 伺服器的 FQDN 無法運作,或者使用其 IP 位址。
  2. 如果您是 7.0 U1 之前的版本,請重新開機VCSA。否則,請使用以下命令 重新開機 服務:
# service-control --stop --all && service-control --start --all
  • 將主機新增至NO_PROXY組態以略過 Proxy:
  1. 使用 SSH 會話 機至 vCenter Server
  2. 修改 /etc/sysconfig/Proxy 檔案。將 ESXi 主機 FQDN 或 IP 新增至下列行,並以逗號分隔,接著為空白字元。例如:
NO_PROXY="localhost, 127.0.0.1, ESXi-01.test.com"
  1. 嘗試從內容庫和 vSphere 用戶端部署 OVF。

受影響的產品

VMWare Cloud on Dell EMC VxRail E560F, VMWare Cloud on Dell EMC VxRail E560N, VxRail Appliance Family, VxRail Appliance Series, VxRail G Series Nodes, VxRail D Series Nodes, VxRail E Series Nodes, VxRail P Series Nodes, VxRail S Series Nodes , VxRail Software ...

產品

XC Core Systems, XC Series Appliances, VxRail V Series Nodes, VxRail VD Series Nodes
文章屬性
文章編號: 000216499
文章類型: Solution
上次修改時間: 19 8月 2023
版本:  2
向其他 Dell 使用者尋求您問題的答案
支援服務
檢查您的裝置是否在支援服務的涵蓋範圍內。