VxRail: How to Cancel a VxRail 7.0.X/8.0.X Upgrade Manually Without Using the Cancel Button

Summary: How to cancel a VxRail upgrade manually without using the cancel button for VxRail 7.0.x. and 8.0.x.

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.

Instructions

If the cancel button in the plugin does not work, follow the below steps to cancel upgrade manually:

Caution: Take a snapshot of VxRail Manager before canceling the upgrade.
  1. SSH to VxRail Manager using mystic then:
    su root
  2. Check table operation_status for an IN_PROGRESS operation:
    psql -U postgres vxrail -c "select id,state,owner from system.operation_status;"
    
    id |    owner        | state
    ---+-----------------+-------------
    1  | Day1BringUp     | FAILED
    2  | Day1BringUp     | COMPLETED
    4  | LcmUpgrade      | IN_PROGRESS
    3  | LcmBundleDeploy | COMPLETED
    63 | CustomizeComponentScan  | STARTED
    (5 rows)
  3. From the output of step 2, delete Lifecycle Management (LCM) related records whose state is "FAILED" or "IN_PROGRESS"
    psql -U postgres vxrail -c "delete from system.operation_status where (state='FAILED' or state='IN_PROGRESS' or state='ABANDONED') and owner like 'Lcm%';"
  4. Set state to 'FAILED' for the CustomizeComponentScan task.
    psql -U postgres vxrail -c "update system.operation_status set state='FAILED' where owner='CustomizeComponentScan' and state='STARTED';"
  5. Edit file /var/lib/vmware-marvin/bundle_state.json, set state=NONE
    echo '{"state":"NONE","deployed_for_public_api":false}' > /var/lib/vmware-marvin/bundle_state.json
  6. Ensure that permission of the file is as original:
    chown tcserver:pivotal /var/lib/vmware-marvin/bundle_state.json
  7. Rename "/var/lib/vmware-marvin/composite-upgrade.json"
    mv  /var/lib/vmware-marvin/composite-upgrade.json /var/lib/vmware-marvin/composite-upgrade.json.old
  8. Check for an upgrade lock:
    curl -X GET --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock "http://127.0.0.1:5000/rest/vxm/internal/lockservice/v1/lock"
  9. If the command returns {"locked_by": "UPGRADE", "locked_at": XXXXXXXXX}, then release the lock:
    curl -X POST --unix-socket /var/lib/vxrail/nginx/socket/nginx.sock "http://127.0.0.1:5000/rest/vxm/internal/lockservice/v1/lock/release"  -H "Content-Type: application/json" -d '{"locked_by": "UPGRADE"}'
  10. Restart the service below and the VxRail Manager plugin will reload:
    service vmware-marvin restart

If vLCM has been enabled, complete these additional steps:

  1. In vSphere, navigate to: Lifecycle Manager > Settings > Patch Setup
  2. Select and delete all VxRail depots associated with the cluster in question; typically, at least four depots are seen. Wait for the deletion tasks to finish.
  3. Trigger sync upgrades by navigating to: Lifecycle Manager > Actions > Sync Updates
  4. Monitor recent task windows to ensure that there are no errors.

Additional Information

Video: How to cancel a VxRail upgrade manually without using the cancel button for VxRail 7.0.x. and 8.0.x.

 

Article Properties
Article Number: 000182177
Article Type: How To
Last Modified: 21 Oct 2025
Version:  22
Find answers to your questions from other Dell users
Support Services
Check if your device is covered by Support Services.