Skip to main content
  • Place orders quickly and easily
  • View orders and track your shipping status
  • Enjoy members-only rewards and discounts
  • Create and access a list of your products

Dell VxRail:由于 LCM 相关脚本丢失,LCM 无法处理请求正文

Summary: 由于与 LCM 相关的脚本丢失,LCM 无法处理请求正文。

This article applies to   This article does not apply to 

Symptoms

通过以下 2 种方法之一,将 VxRail 群集升级到 8.0.210:
1.使用 VxRail 公共 API 执行升级预检查,然后继续使用公共 API 执行升级。
2.在 VCF on VxRail 环境中从 SDDC Manager 触发升级。

从 VxRail 插件程序 UI 检查升级过程,它报告错误“无法处理请求正文”。
image.png

Cause

如果群集已从 VxRail 4.5.x、4.7.x 版本升级到 VxRail 7.0.x 和 8.0.x 版本,则 VxRail Manager“/etc/vmware-marvin/scripts/lcm”目录中有一个迁移文件夹用于保存升级迁移数据,迁移文件夹所有者为 root 用户。

VxRail 8.0.210 升级预检查将备份“/etc/vmware-marvin/scripts/lcm”目录下的内容,执行一些验证和清理作业,然后还原目录内容。

由于迁移文件夹所有者是 root 用户,因此升级预检查没有足够的权限来备份或清理它,因此“/etc/vmware-marvin/scripts/lcm”目录内容不会恢复,从而导致所有与 LCM 相关的脚本都丢失。

此问题仅影响 API 预检查和升级方法。如果从 VxRail 插件 UI 执行升级,您将不会遇到此问题。

Resolution

请按照以下步骤在 VxRail Manager 上部署 8.0.210 LCM 脚本。

1.从 戴尔支持站点下载 VxRail 8.0.210 升级组合捆绑包。

2.从 8.0.210 升级包中解压“surrogate.war”。

3.从“surrogate.war”中提取“lcm-scripts.zip”。

4.将“lcm-scripts.zip”上传到 VxRail Manager 的“/tmp”目录下。

5.通过 SSH 登录到 VxRail Manager 虚拟机。切换到 root 用户并运行以下命令。
unzip /tmp/lcm-scripts.zip -d /etc/vmware-marvin/scripts/

chmod 777 -R /etc/vmware-marvin/scripts/lcm

6.重试 LCM。