vSphere replication 8.2 - ESXi unable to download hbr-agent.vib "VibDownloadError"
search cancel

vSphere replication 8.2 - ESXi unable to download hbr-agent.vib "VibDownloadError"

book

Article ID: 312749

calendar_today

Updated On:

Products

VMware Live Recovery VMware vSphere ESXi

Issue/Introduction

Symptoms:

After Upgrading to vSphere Replication 8.x.  Unable to create new replications. Constant installs of com.vmware.vcHms in the vCenters recent tasks menu.

No new replications can occur until we resolve the vib download error.

Re-occurring install "com.vmware.vcHms" messages  in Recent Tasks against ESXi host FQDN's.

/var/log/esxupdate.log :

2019-10-11 09:48:38.146 WARN  com.vmware.hms.vib.VibDeployer [hms-config-host-at-hbr-thread-44653] (..hms.vib.VibDeployer) operationID=bf1dfbf4-f26a-4c6c-99fc-6e0c7519d479-HMSINT-283595 | VIB deployment failure on host host-19:
<esxupdate-response>
<version>1.50</version>
<error errorClass="VibDownloadError">
  <errorCode>7</errorCode>
  <errorDesc>Failed to download VIB.</errorDesc>
  <url>https://VR_IP:8043/vib/vmware-hbr-agent.vib</url>


/opt/vmware/hms/logs/hms.log :

VIB deployment failure on host host-64:
<esxupdate-response>
<version>1.50</version>
<error errorClass="VibDownloadError">
  <errorCode>7</errorCode>
  <errorDesc>Failed to download VIB.</errorDesc>
  <url>https://VR_IP:8043/vib/vmware-hbr-agent.vib</url>
  <localfile>None</localfile>
  <msg>('https://VR_IP:8043/vib/vmware-hbr-agent.vib', '/tmp/vibtransaction/tmp.vib', '[Errno 14] curl#56 - "Content-Length: in 200 response"')</msg>
</error>
</esxupdate-response>

Environment

VMware vSphere Replication 8.x

Cause


ESXi hosts fail to download vr-vib from the vSphere Replication Appliance.

Resolution


There is currently no resolution.

Workaround:

Verify Port 8043 is open from vCenter and any vCenter proxy to the VR Appliance.
https://docs.vmware.com/en/vSphere-Replication/8.1/com.vmware.vsphere.replication-security.doc/GUID-1A748B29-A140-48D6-B3AF-F20937503213.html

VR2C-Firewall vib Download error
https://kb.vmware.com/s/article/2110304

On VR Appliance

vr2c located at:

/opt/vmware/hms/vib/vr2c-firewall.vib-xxxxx

hbr-agent located at:

/opt/vmware/hbr/vib/vmware-hbr-agent-xxxxxx

Download the vr2c-firewall.vib package and copy it to the /tmp folder of the source ESXi host.
You can copy the VIB file from the vSphere Replication virtual appliance to the ESXi host by logging in the appliance and running the command:

scp /opt/vmware/hms/vib/vr2c-firewall.vib-xxxxxx user@ESXi_host:/tmp

scp /opt/vmware/hbr/vib/vmware-hbr-agent-xxxxxx user@ESXi_host:/tmp

example -> scp /opt/vmware/hms/vib/vr2c-firewall.vib-xxxxx [email protected]:/tmp

example -> scp /opt/vmware/hms/vib/vmware-hbr-agent--xxxxx [email protected]:/tmp

Install the package by using the esxcli or localcli utility to run this command:

Note your vib build number from each directory.

localcli software vib install -v /tmp/vr2c-firewall.vib-xxxxx

localcli software vib install -v /tmp/vmware-hbr-agent-xxxxxx

OR

You can create a custom base line in VUM with the vibs added and install with VUM.

Create a Host Upgrade Baseline
https://docs.vmware.com/en/VMware-vSphere/6.7/com.vmware.vsphere.update_manager.doc/GUID-8ECA8B9A-9596-4267-B51C-63210ADDEFB9.html

Additional Information

vSphere Replication Network Ports
https://docs.vmware.com/en/vSphere-Replication/8.1/com.vmware.vsphere.replication-admin.doc/GUID-88B96DAB-8389-40A5-849B-D94ED5A3C4AD.html