Dell VxRail:vSphere Web 用戶端中的 vSAN 外掛程式遺失

Summary: vSphere Web 用戶端中的 vSAN 外掛程式遺失

This article applies to This article does not apply to This article is not tied to any specific product. Not all product versions are identified in this article.

Symptoms

vSphere Web 用戶端中缺少 vSAN 外掛程式。
客戶無法管理 vSAN 叢集。

vsphere_client_virgo.log
[2023-11-13T09:01:38.054Z] [INFO ] async-task-executor-pool-230  com.vmware.vise.plugin.download.PluginDownloadServiceImpl         Downloading plug-in package from https://xxxxx.xxxxxx.local:443/vsanHealth/plugins/vsan-h5-client.zip (no proxy defined) 
[2023-11-13T09:01:38.070Z] [ERROR] async-task-executor-pool-230  com.vmware.vise.plugin.download.PluginDownloadServiceImpl         Downloading plug-in package: com.vmware.vsphere.client.h5vsan:7.0.2.200 has failed. Cannot connect to host: https://xxxxx.xxxxxx.local:443/vsanHealth/plugins/vsan-h5-client.zip java.io.IOException: Server returned HTTP response code: 500 for URL: https://xxxxx.xxxxxx.local:443/vsanHealth/plugins/vsan-h5-client.zip
    at sun.reflect.GeneratedConstructorAccessor312.newInstance(Unknown Source)
    at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.java:45)
    at java.lang.reflect.Constructor.newInstance(Constructor.java:423)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1950)
    at sun.net.www.protocol.http.HttpURLConnection$10.run(HttpURLConnection.java:1945)
    at java.security.AccessController.doPrivileged(Native Method)
    at sun.net.www.protocol.http.HttpURLConnection.getChainedException(HttpURLConnection.java:1944)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1514)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getInputStream(HttpsURLConnectionImpl.java:268)
    at com.vmware.vise.util.http.ConnectionManager.getResponseBodyAsStream(ConnectionManager.java:341)
    at com.vmware.vise.util.http.SimpleHttpClient.executeMethodResponseAsStream(SimpleHttpClient.java:223)
    at com.vmware.vise.plugin.download.PluginDownloadServiceImpl.downloadPackageInfo(PluginDownloadServiceImpl.java:285)
    at com.vmware.vise.plugin.download.PluginDownloadServiceImpl.writeToFile(PluginDownloadServiceImpl.java:251)
    at com.vmware.vise.plugin.download.PluginDownloadServiceImpl.download(PluginDownloadServiceImpl.java:133)
    at com.vmware.vise.plugin.async.task.PluginDownloadTask.run(PluginDownloadTask.java:73)
    at java.util.concurrent.CompletableFuture$AsyncRun.run(CompletableFuture.java:1640)
    at com.vmware.vise.util.concurrent.QueuingCachedThreadPool$2.call(QueuingCachedThreadPool.java:873)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at com.vmware.vise.util.concurrent.QueuingCachedThreadPool$QueueProcessor.run(QueuingCachedThreadPool.java:1271)
    at java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:511)
    at java.util.concurrent.FutureTask.run(FutureTask.java:266)
    at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)
    at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)
    at com.vmware.vise.util.concurrent.WorkerThreadFactory$1.run(WorkerThreadFactory.java:64)
    at java.lang.Thread.run(Thread.java:748)
Caused by: java.io.IOException: Server returned HTTP response code: 500 for URL: https://xxxxx.xxxxxx.local:443/vsanHealth/plugins/vsan-h5-client.zip
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream0(HttpURLConnection.java:1900)
    at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1498)
    at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:480)
    at sun.net.www.protocol.https.HttpsURLConnectionImpl.getResponseCode(HttpsURLConnectionImpl.java:352)
    at com.vmware.vise.util.http.ConnectionManager.connect(ConnectionManager.java:284)
    at com.vmware.vise.util.http.SimpleHttpClient.connect(SimpleHttpClient.java:354)
    at com.vmware.vise.util.http.SimpleHttpClient.connect(SimpleHttpClient.java:324)
    at com.vmware.vise.util.http.SimpleHttpClient.executeMethodResponseAsStream(SimpleHttpClient.java:222)
    ... 14 common frames omitted


Cause

路徑位置遺失 vSAN 外掛程式:
/usr/lib/vmware-vpx/vsan-health/ui-plugins/ 
當 vCenter 伺服器重新開機時,它會從下列資料夾載入 vSAN 附掛程式: 
/etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/
它會將 vSAN html5 套裝解壓縮到:
 /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/





Resolution

要解決此問題:

從另一個具有相同組建編號的 vCenter 伺服器複製 vSAN 外掛程式。如果使用不同的 vCenter 組建編號,則會導致 vSAN 外掛程式無法載入。 
root@vcsa01 [ ~ ]# mkdir -p /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.vsphere.client.h5vsan-<get vCenter build from from vsphere_client_virgo.log >

mkdir -p /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.vsphere.client.h5vsan-7.0.2.200

root@vcsa01 [ ~ ]# unzip vsan-h5-client.zip -d /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.vsphere.client.h5vsan-6.7.0.13000

unzip vsan-h5-client.zip -d /etc/vmware/vsphere-ui/vc-packages/vsphere-client-serenity/com.vmware.vsphere.client.h5vsan-7.0.2.200

root@vcsa01 [ ~ ]# service-control --stop vsphere-ui
root@vcsa01 [ ~ ]# service-control --start vsphere-ui
或者,請將暫時的 vCenter 部署至客戶的環境,然後從該虛擬機器擷取外掛程式。

Products

VxRail
Article Properties
Article Number: 000219820
Article Type: Solution
Last Modified: 18 Dec 2023
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.