VCenter 7.0 - 下载插件时出错确保 URL 可访问且注册的指纹正确发起人:

问题描述

我最近一直收到这个错误。

下载插件 地位: 下载插件时出错。确保 URL 可访问且注册的指纹正确。 发起人: VSPHERE.LOCAL\vsphere-webclient-192f42a9-0951-466c-8d24-ee850c197519

当我转到管理 > 客户端插件时:

com.vmware.h4.vsphere.client 0.4.0.0 失败的 未知 不适用 不适用

解决方法

错误消息: 下载插件时出错。确保 URL 可访问且注册的指纹正确。 Error Image: com.vmware.h4.vsphere.client-0.4.0.0-plugin-failed

我遇到了同样的问题,它看起来像一个过时的插件。我使用的是 vSphere 版本:7.0.1 Build 17327586

  • 产品:VMware vCenter Server 版本:7.0.1.00200 内部版本号:17327517

  • 管理程序:VMware ESXi 版本:7.0.1 内部版本 编号:17325551

在尝试以下任何一项之前:如果可能,请关闭您的 VCSA 并拍摄快照强>.

您可以使用 lstool.py 脚本取消注册过时的插件。

  1. SSH 进入 VCSA 并启动 BASH
  2. 验证com.vmware.h4.vsphere.client 插件的过时和当前版本。

输入以下命令:

find / -name *h4.vsphere.client-0.4.*

输出应该是这样的

/etc/vmware/vsphere-ui/cm-service-packages/com.vmware.cis.vsphereclient.plugin/com.vmware.h4.vsphere.client-0.4.0.0
/etc/vmware/vsphere-ui/cm-service-packages/com.vmware.cis.vsphereclient.plugin/com.vmware.h4.vsphere.client-0.4.0.0/com.vmware.h4.vsphere.client-0.4.0.0.esa
/etc/vmware/vsphere-ui/cm-service-packages/com.vmware.cis.vsphereclient.plugin/com.vmware.h4.vsphere.client-0.4.0.0/com.vmware.h4.vsphere.client-0.4.0.0.zip
-----------------------------------------------------------
/etc/vmware/vsphere-ui/cm-service-packages/com.vmware.cis.vsphereclient.plugin/com.vmware.h4.vsphere.client-0.4.1.0
/etc/vmware/vsphere-ui/cm-service-packages/com.vmware.cis.vsphereclient.plugin/com.vmware.h4.vsphere.client-0.4.1.0/com.vmware.h4.vsphere.client-0.4.1.0.esa
/etc/vmware/vsphere-ui/cm-service-packages/com.vmware.cis.vsphereclient.plugin/com.vmware.h4.vsphere.client-0.4.1.0/com.vmware.h4.vsphere.client-0.4.1.0.zip
  1. 查找版本 0.4.0.0
  2. 的插件服务 ID

输入以下命令:

/usr/lib/vmware-lookupsvc/tools/lstool.py list --ep-type com.vmware.cis.vsphereclient.plugin --url http://localhost:7090/lookupservice/sdk

输出应该是这样的

Service Product: com.vmware.h4
Service Type: vsphere.client
Service ID: 846a9473-912f-443f-b657-4603f15a9fd8
Site ID: default-site
Node ID: 038505b7-e2fb-40d1-aa15-141c2600fd2d
Owner ID: vsphere-webclient-bc0dc187-7d31-1821-8c32-9c0g589c13b8@vsphere.local
Version: 0.4.0.0
Endpoints:
Type: com.vmware.cis.vsphereclient.plugin
Protocol: http
URL: https://vcsa:443/ui/plugins/h4va.zip
SSL trust: ***
Attributes:
com.vmware.cis.cm.HostId: ba0fc187-9d81-18d1-8a39-5f0f253c24b5
-------------------------------------------------------
Service Product: com.vmware.h4
Service Type: vsphere.client
Service ID: cb7deda1-35af-357f-6f8b-3cf05324ca7c
Site ID: default-site
Node ID: 012605c7-e2eb-46e1-aa17-121c2810fa2f
Owner ID: vsphere-webclient-bc0gb186-3d31-38d1-8c37-9a0f553c1235@vsphere.local
Version: 0.4.1.0
Endpoints:
Type: com.vmware.cis.vsphereclient.plugin
Protocol: http
URL: https://vcsa:443/ui/plugin-resources/h4va.zip
SSL trust: ***
Attributes:
com.vmware.cis.cm.HostId: bc0dc187-9d81-78d1-8c35-9f03352c14c5
  1. 取消注册使用插件服务IDlstool.py过时的插件。

注意:用户密码必须用反引号/反引号(`)

注意:在此示例中,--id来自步骤 3 中记录的示例>.您需要替换为您的插件版本显示的

输入以下命令:

/usr/lib/vmware-lookupsvc/tools/lstool.py unregister --url http://localhost:7090/lookupservice/sdk --user 'administrator@vsphere.local' --password 'yourpassword' --id 846a9473-912f-443f-b657-4603f15a9fd8 --no-check-cert

  1. 重新启动 HTML5 网络用户界面。

输入以下命令:

vmon-cli -r vsphere-ui

  1. 执行第 2 步第 3 步验证删除 过时的 com.vmware.h4.vsphere.client-0.4.0.0 插件

请给我留言,如果有帮助,请告诉我!

丹尼斯

相关问答

错误1:Request method ‘DELETE‘ not supported 错误还原:...
错误1:启动docker镜像时报错:Error response from daemon:...
错误1:private field ‘xxx‘ is never assigned 按Alt...
报错如下,通过源不能下载,最后警告pip需升级版本 Requirem...