Dell VxRail: VxRail Upgrade Fails with "Bad script return code: 1"

Summary: During a VxRail upgrade for 4.7.X, 7.0.X, or 8.0.X, there is the following error "Bad script return code: 1".

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

During a VxRail upgrade for 4.7.X, 7.0.X, or 8.0.X, there is the following error "Bad script return code: 1".

lcm-web.log:
INFO : Starting adding new disk sdc
INFO : Checkiing whether sdc exists ...
INFO : No sdc disk on VXM, need to perform add.
INFO : Handling VM <VxM Name Here>
INFO : Get VM Storage Profile name VXRAIL-SYSTEM-STORAGE-PROFILE, id <Long string of characters>.
INFO : Vm profileId is <Long string of characters>.
ERROR : Failed to add a new disk: (vodl.fault.SystemError)
{
dynamicType = <unset>
dynamicProperty = (vmodl.DynamicProperty) []
Msg = 'A general system error occurred: PBM error occurred during Pre-ReconfigureCallback: Fault cause: vmodl.fault.SystemError\n;\n'
faultCause = <unset>
faultMessage = (vmodl.LocalizableMessage) []
Reason = 'PBM error occurred during Pre-ReconfigurCallback: Fault cause: vmodl.fault.SystemError\n;\n'
}

 
When checking the vCenter VAMI, the VMware vSphere Profile-Driven Storage Service shows Health as 'Healthy with errors" (or warnings) and State as 'Started'.
To check the VAMI, login as root to the vCenter VAMI from a web-browser using https://vCenter FQDN or IP address:5480.
Click on Services.
image.png

Cause

The VMware vSphere Profile-Driven Storage Service did not start correctly.  This is causing issues viewing storage profiles in the vSphere Client.

Resolution

To resolve this issue, follow the steps below to restart the vCenter (and PSC for 6.7 and below):

If the vCenter version is 6.7.X or below:
  1. In the vSphere client, click on the vCenter VM.
  2. Find which host the vCenter VM is running on.
  3. Then click on the PSC VM.
  4. Migrate the PSC VM to the same ESXi host as the vCenter VM.
  5. Log in as root to the ESXi host from a web browser using https and the ESXi FQDN or Management IP Address.
  6. Left-click on Virtual Machines.
  7. Left-click the box for the vCenter VM.
  8. Left-click Actions.
  9. Hover over Guest operating system.
  10. Left-click Shut down.
  11. Left-click on Virtual Machines.
  12. Left-click the box for the vCenter VM to clear it.
  13. Left-click the box for the PSC VM.
  14. Left-click Actions.
  15. Hover over Guest operating system.
  16. Left-click Restart.
  17. Wait about 3 - 5 minutes.
  18. Left-click the box for the PSC VM to clear it.
  19. Left-click the box for the vCenter VM.
  20. Left-click Actions.
  21. Hover over Guest operating system.
  22. Left-click Restart.

If the vCenter version is 7.0 or newer:
  1. In vSphere, click on the vCenter VM.
  2. Find which host the vCenter VM is running on.
  3. Log in as root to the ESXi host from a web browser using https and the ESXi FQDN or Management IP Address.
  4. Left-click on Virtual Machines.
  5. Left-click the box for the vCenter VM.
  6. Left-click Actions.
  7. Hover over Guest operating system.
  8. Left-click Restart.
Article Properties
Article Number: 000218572
Article Type: Solution
Last Modified: 24 Oct 2023
Version:  1
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.