Host install tasks for HBR agent VIB fails, error displays "An error occurred during host configuration", causing remediation to hung through update manager.
search cancel

Host install tasks for HBR agent VIB fails, error displays "An error occurred during host configuration", causing remediation to hung through update manager.

book

Article ID: 337715

calendar_today

Updated On:

Products

VMware vCenter Server VMware Live Recovery

Issue/Introduction

Symptoms:

  • When attempting to remediate the host using vSphere Update Manager (VUM), the host successfully enters maintenance mode, but fails to exit it afterward, displaying a message indicating that another task is currently in progress

  • The issue persists when the host is moved out of the cluster.

  • Error on ESXi host shows as below,

    An error occurred during host configuration: /usr/sbin/esxupdate returned with exit status: 7

Steps To Validate:

  • You will see similar entries in the esxupdate.log as mentioned below:

  • Path on ESXi server: /var/run/log/esxupdate.log

YYYY-MM-DDTHH:MM:SSZZ esxupdate: 172602: downloader: DEBUG: Downloading https://###-vra01.###:8043/vib/vr2c-firewall.vib to /tmp/vibtransaction/tmp.vib...
YYYY-MM-DDTHH:MM:SSZZ 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'.
YYYY-MM-DDTHH:MM:SSZZ esxupdate: 172602: esxupdate: ERROR: An esxupdate error exception was caught:
YYYY-MM-DDTHH:MM:SSZZ esxupdate: 172602: esxupdate: ERROR: Traceback (most recent call last):
YYYY-MM-DDTHH:MM:SSZZ 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
YYYY-MM-DDTHH:MM:SSZZ esxupdate: 172602: esxupdate: ERROR: pycurl.error: (56, 'Content-Length: in 200 response')
YYYY-MM-DDTHH:MM:SSZZ esxupdate: 172602: esxupdate: ERROR:

YYYY-MM-DDTHH:MM:SSZZ esxupdate: 74081: downloader: DEBUG: Downloading https://###-vra01.###:8043/vib/vmware-hbr-agent.vib to /tmp/vibtransaction/tmp.vib...
YYYY-MM-DDTHH:MM:SSZZ 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'.
YYYY-MM-DDTHH:MM:SSZZ esxupdate: 74081: esxupdate: ERROR: An esxupdate error exception was caught:


./esxupdate.log:YYYY-MM-DDTHH:MM:03Z esxupdate: 40530512: esxupdate: INFO: viburls = ['https://###.##.##.##:443/vib/vmware-hbr-agent.vib']
./esxupdate.log:YYYY-MM-DDTHH:MM:04Z esxupdate: 40530512: downloader: INFO: Opening https://###.##.##.##:443/vib/vmware-hbr-agent.vib for download
./esxupdate.log:YYYY-MM-DDTHH:MM:46Z esxupdate: 40530512: esxupdate: ERROR: vmware.esximage.Downloader.DownloaderError: ('https://###.##.##.##:443/vib/vmware-hbr-agent.vib', '', '<urlopen error timed out>')
./esxupdate.log:YYYY-MM-DDTHH:MM:46Z esxupdate: 40530512: esxupdate: ERROR: vmware.esximage.Errors.VibDownloadError: ('https://###.##.##.##:443/vib/vmware-hbr-agent.vib', None, "('https://###.##.##.##:443/vib/vmware-hbr-agent.vib', '', '<urlopen error timed out>')")
./esxupdate.log:YYYY-MM-DDTHH:MM:48Z esxupdate: 40531213: esxupdate: INFO: viburls = ['https://###.##.##.##:443/vib/vmware-hbr-agent.vib']
./esxupdate.log:YYYY-MM-DDTHH:MM:50Z esxupdate: 40531213: downloader: INFO: Opening https://###.##.##.##:443/vib/vmware-hbr-agent.vib for download
./esxupdate.log:YYYY-MM-DDTHH:MM:32Z esxupdate: 40531213: esxupdate: ERROR: vmware.esximage.Downloader.DownloaderError: ('https://###.##.##.##:443/vib/vmware-hbr-agent.vib', '', '<urlopen error timed out>')
./esxupdate.log:YYYY-MM-DDTHH:MM:32Z esxupdate: 40531213: esxupdate: ERROR: vmware.esximage.Errors.VibDownloadError: ('https://###.##.##.##:443/vib/vmware-hbr-agent.vib', None, "('https://###.##.##.##:443/vib/vmware-hbr-agent.vib', '', '<urlopen error timed out>')")

Environment

VMware vCenter Update Manager 6.7.x

VMware vCenter Update Manager 7.x

VMware live recovery 9.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 applying the changes, navigate to Update Manager, initiate a scan, and then proceed to remediate the ESXi host.

Additional Information

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