"Another task is in progress" upgrade fails through VUM
search cancel

"Another task is in progress" upgrade fails through VUM

book

Article ID: 337715

calendar_today

Updated On:

Products

VMware vCenter Server

Issue/Introduction

Symptoms:
  • When trying to remediate the host through VUM, it will enter the host into maintenance mode but it won't exit out of maintenance mode saying that another task is in progress. 
  • Issue still persist when moving that host out of the cluster.
  • You will see similar entries in the esxupdate.log as mentioned below:
esxupdate.log
2020-02-12T14:59:50Z esxupdate: 172602: downloader: DEBUG: Downloading https://xxx-vra01.xxx:8043/vib/vr2c-firewall.vib to /tmp/vibtransaction/tmp.vib...
2020-02-12T14:59:50Z esxupdate: 172602: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk list | grep /vibtransaction && localcli system visorfs ramdisk remove -t /tmp/vibtransaction', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2020-02-12T14:59:50Z esxupdate: 172602: esxupdate: ERROR: An esxupdate error exception was caught:
2020-02-12T14:59:50Z esxupdate: 172602: esxupdate: ERROR: Traceback (most recent call last):
2020-02-12T14:59:50Z esxupdate: 172602: esxupdate: ERROR:   File "/build/mts/release/bora-7388607/bora/build/esx/release/vmvisor/sys-boot/lib64/python3.5/site-packages/urlgrabber/grabber.py", line 1495, in _do_perform
2020-02-12T14:59:50Z esxupdate: 172602: esxupdate: ERROR: pycurl.error: (56, 'Content-Length: in 200 response')
2020-02-12T14:59:50Z esxupdate: 172602: esxupdate: ERROR:

2020-02-10T10:29:54Z esxupdate: 74081: downloader: DEBUG: Downloading https://xxx-vra01.xxx:8043/vib/vmware-hbr-agent.vib to /tmp/vibtransaction/tmp.vib...
2020-02-10T10:29:54Z esxupdate: 74081: vmware.runcommand: INFO: runcommand called with: args = 'localcli system visorfs ramdisk list | grep /vibtransaction && localcli system visorfs ramdisk remove -t /tmp/vibtransaction', outfile = 'None', returnoutput = 'True', timeout = '0.0'.
2020-02-10T10:29:54Z esxupdate: 74081: esxupdate: ERROR: An esxupdate error exception was caught:


Environment

VMware vCenter Update Manager 6.7.x

Cause

This issue occurs due to the replication appliance pushing the VIBs due to which we get the error "Another task is in progress"

Resolution

To resolve this  issue please follow the below steps:-
  1. Take a putty session to the Replication Appliance and run the below commands,
    • /opt/vmware/hms/bin/hms-configtool -cmd reconfig -property hms-auto-install-vr2c-vib=false
    • /opt/vmware/hms/bin/hms-configtool -cmd reconfig -property hms-auto-install-hbragent-vib=false
    • service hms restart
  2. After the changes go to Update Manager and run the scan and remediate the ESXi host


Additional Information

Impact/Risks:
This will cause the remediation to fail.