VxRail:从源虚拟机导出数据时无法升级 VMware vCenter Server
Summary: 在升级 VxRail VCenter 期间,将数据从源 vCenter Server 导出到目标 vCenter Server 失败。从日志中可以看出,在“导出 VMware Analytics Service 数据”上花费了大量时间。
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
从 VxRail
lcm-web.log:
2025-08-31T10:27:25.367Z <4304e36e4934ff08fc8120c70e58301b> lcm [WARN] <183> VirtualApplianceUpgradeService.java runUpgrade() (1158): LCM Exception occurred during upgrade for virtual appliance 0 - {}
com.vce.lcm.exception.LCMException: Failed to upgrade the VMware vCenter Server: Failed to export data from source VM VCENTER01.
at com.vce.lcm.api.LCMServiceImpl.handleUpgradeException(LCMServiceImpl.java:2129)
at com.vce.lcm.api.LCMServiceImpl.performUpgrade(LCMServiceImpl.java:509)
at com.emc.mystic.manager.upgrade.service.VirtualApplianceUpgradeService.runUpgrade(VirtualApplianceUpgradeService.java:1134)
at com.emc.mystic.manager.upgrade.service.PureUpgradeRestServiceImpl.lambda$retryVirtualApplianceUpgrade$0(PureUpgradeRestServiceImpl.java:129)
at java.base/java.util.concurrent.Executors$RunnableAdapter.call(Executors.java:515)
at java.base/java.util.concurrent.FutureTask.run(FutureTask.java:264)
at java.base/java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1128)
at java.base/java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:628)
at java.base/java.lang.Thread.run(Thread.java:829)
Caused by: com.vce.lcm.exception.LCMInternalException: Failed to upgrade the VMware vCenter Server: Failed to export data from source VM VCENTER01.
at com.vce.lcm.core.upgrade.ComponentUpgradeService.performComponentUpgrade(ComponentUpgradeService.java:339)
at com.vce.lcm.api.LCMServiceImpl.performComponentUpgrade(LCMServiceImpl.java:2439)
at com.vce.lcm.api.LCMServiceImpl.performCompositeUpgrade(LCMServiceImpl.java:1845)
at com.vce.lcm.api.LCMServiceImpl.performUpgrade(LCMServiceImpl.java:507)
... 7 common frames omitted 从 /var/log/vmware/upgrade/export.json 新开发的 vCenter Server 的日志,升级失败时”Exporting VMware Analytics Service data...“与 TIME_OUT Error:
{
"progress": 37,
"progress_message": {
"id": "ur.upgrade.script.export.progress.text",
"translatable": "Exporting %(0)s data...",
"args": [
"VMware Analytics Service"
],
"localized": "Exporting VMware Analytics Service data..."
},
"status": "error",
"info": [],
"warning": [],
"question": null,
"error": {
"detail": [
{
"id": "ur.upgrade.execution.timedout.text",
"translatable": "Upgrade phase timed out. The time planned for the upgrade phase was %(0)s minutes. The upgrade phase has already been running for %(1)s minutes.",
"args": [
60,
60
],
"localized": "Upgrade phase timed out. The time planned for the upgrade phase was 60 minutes. The upgrade phase has already been running for 60 minutes."
}
],
"componentKey": "upgrade_framework",
"problemId": null,
"resolution": {
"id": "ur.upgrade.execution.timedout.resolution",
"translatable": "To extend the default timeout, set environment variable %(0)s for export upgrade phase, %(1)s for import upgrade phase, and %(2)s for import historical data phase. The timeout is in minutes.",
"args": [
"UPGRADE_EXPORT_TIMEOUT",
"UPGRADE_IMPORT_TIMEOUT",
"UPGRADE_POST_IMPORT_TIMEOUT"
],
"localized": "To extend the default timeout, set environment variable UPGRADE_EXPORT_TIMEOUT for export upgrade phase, UPGRADE_IMPORT_TIMEOUT for import upgrade phase, and UPGRADE_POST_IMPORT_TIMEOUT for import historical data phase. The timeout is in minutes."
}
},Cause
出现此问题的原因是推送遥测过程发送了大量具有唯一 ID 的请求,从而导致在”/var/log/vmware/analytics/prod“目录中。有时,这会导致 185,000 到 375,000 个文件的积累。
Resolution
请参阅知识库 文章 https://knowledge.broadcom.com/external/article/322053/vcenter-server-upgrade-from-70-to-80-fai.html (外部链接)
- 使用 SSH 连接到源 vCenter Server
- 运行 以下命令以检查由于推送遥测过程在 vCenter 服务器上创建的文件数:
ls /var/log/vmware/analytics/prod | wc -l - 下载
cleaning_vddk_script.sh本文 附件 部分中的脚本。 - 将脚本上传到 vCenter,并使用以下命令分配“运行”权限:
chmod +x cleaning_vddk_script.sh - 运行 脚本:
./cleaning_vddk_script.sh - 从 VxRail 插件程序重新启动升级。
Affected Products
VxRail, VxRail Appliance SeriesArticle Properties
Article Number: 000372265
Article Type: Solution
Last Modified: 31 Oct 2025
Version: 3
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.