VMware Support Community
Penobscot
Enthusiast
Enthusiast
Jump to solution

Can't update VCG

I'm receiving the error "VCG Database update failed.  Unexpected Error handling VCG Update Task"

Most recent update was 2021-07-08 on 2.5.0. I updated to 2.5.1 today.

Thanks

0 Kudos
1 Solution

Accepted Solutions
ksram
VMware Employee
VMware Employee
Jump to solution

Hi @Penobscot 

We have a permission related issue with last online update (not for fresh install or ISO based offline update.). To fix this, just set the correct permissions on /opt/vmware-shd/vmware-shd/app/vcgupdate.

Login to SHD appliance as root user 

Execute: chmod 555 /opt/vmware-shd/vmware-shd/app/vcgupdate

Post this vcgupdate should work correctly (No restart of service or VM is required)

View solution in original post

14 Replies
ksram
VMware Employee
VMware Employee
Jump to solution

Hi @Penobscot 

We have a permission related issue with last online update (not for fresh install or ISO based offline update.). To fix this, just set the correct permissions on /opt/vmware-shd/vmware-shd/app/vcgupdate.

Login to SHD appliance as root user 

Execute: chmod 555 /opt/vmware-shd/vmware-shd/app/vcgupdate

Post this vcgupdate should work correctly (No restart of service or VM is required)

Penobscot
Enthusiast
Enthusiast
Jump to solution

This worked. Thank you

0 Kudos
gracelynaditya8
Contributor
Contributor
Jump to solution

I am also having the same issue. Thanks for sharing this info.

 

Target MyBalanceNow

0 Kudos
toddkabella
Contributor
Contributor
Jump to solution

That worked for me also.  Thanks

0 Kudos
enginozer77
Contributor
Contributor
Jump to solution

The server has internet connectivity and passed the proxy test. FW log is clear, no block at the proxy while going to the vmware sites.

error message on UI: Downloading VCG database update failed - Unknown error in downloading VCG Database update

Thanks

 

Tags (1)
0 Kudos
ksram
VMware Employee
VMware Employee
Jump to solution

@enginozer77 

Sorry for the delay in responding. 

I see a silent failure on download attempt. There are no indications in the log what is causing the download to silently fail. We may also have bug in not correctly propagating the error. Are there any proxy used in the environment to reach to internet. 

VCG updates are downloaded from:  https://shd-download.vmware.com/ and SHD appliance must be able to reach here.

You can check if SHD appliance is able to download the definitions by performing following test.

Login to SHD appliance as root user

Execute: curl -k https://shd-download.vmware.com/vcg/vcg-manifest.xml
You should be able to see response from the manifest on screen similar to the following
<update>
<vendorURL>http://www.vmware.com</vendorURL>
<productURL/>
<vendorUUID>706ee0c0-b51c-11de-8a39-0800200c9a66</vendorUUID>
<fullVersion>1.0.0</fullVersion>
<product>VMware Skyline Health Diagnostics VCG Data</product>
<vendor>VMware Inc.</vendor>
<description>Skyline Health Diagnostics VCG Data Version 1.0.0</description>
<productRID>8ff97494-3874-6212-a684-422b12504f12</productRID>
<supportURL/>
<releaseDate>2022-07-17T04:02:46</releaseDate>
<checksum256>a8bb12ba20e69231380cab22a89bfca385b20127149c8025025887dee14788e1</checksum256>
</update>

-Thanks

Ram

 

0 Kudos
enginozer77
Contributor
Contributor
Jump to solution

Hi ksram,
We use a proxy to reach to internet. There is no block in the firewall log while passing through the Proxy.
The output of the command you mentioned is below. Do you have any idea about this error message? Thanks for your support

# curl -k https://shd-download.vmware.com/vcg/vcg-manifest.xml
curl: (28) Failed to connect to shd-download.vmware.com port 443 after 130170 ms: Connection timed out

Kind regards,
Engin

0 Kudos
enginozer77
Contributor
Contributor
Jump to solution

Hi again,

we're now getting the error message below.

curl -k https://shd-download.vmware.com/vcg/vcg-manifest.xml

curl: (35) OpenSSL SSL_connect: SSL_ERROR_SYSCALL in connection to shd-download.vmware.com:443

0 Kudos
enginozer77
Contributor
Contributor
Jump to solution

this error was again about connection. the problem solved with a firewall config. thanks for your help

0 Kudos
enginozer77
Contributor
Contributor
Jump to solution

Hi,

we're getting an error message while VCG updating again. curl output seems succesfull. application updated to version 3.5.0 succesfully.

the error message: VCG connect failed - Time out while waiting for connection to complete

 

0 Kudos
Penobscot
Enthusiast
Enthusiast
Jump to solution

Today I received the error, "Downloading VCG database update failed - Checksum error with downloaded data."

I wanted to look at the machine's logs and received a warning that the server's key does not match the cached one.

0 Kudos
anshumansingh
VMware Employee
VMware Employee
Jump to solution

Hi @Penobscot ,

 

Can you please update the SHD to latest released version 3.5.1 and post that retry the VCG update operation?
If you still face the problem please share the SHD logs, which can be collected from SHD UI -> Settings -> Help & Support -> Support Bundle.

0 Kudos
anshumansingh
VMware Employee
VMware Employee
Jump to solution

Hi @enginozer77 

 

Can you please update the SHD to latest released version 3.5.1 and post that retry the VCG update operation?
If you still face the problem please share the SHD logs, which can be collected from SHD UI -> Settings -> Help & Support -> Support Bundle.

0 Kudos
ccamm
Contributor
Contributor
Jump to solution

I have updated to 3.5.1 and the VCG fails now:

13:41:19,461 vmware-shd-vcgupdate INFO (unknown file):0 Start of VCG Update for Task: 1684d49d76c2530f
2023-02-07 13:41:19,462 vmware-shd-vcgupdate INFO (unknown file):0 Backing up current database
2023-02-07 13:41:19,975 vmware-shd-vcgupdate INFO (unknown file):0 Starting VCG Update - Last Update Timestamp: 2022-11-27T05:28:41
2023-02-07 13:41:19,975 vmware-shd-vcgupdate INFO (unknown file):0 Checking for the availability of new VCG database update started.
2023-02-07 13:41:20,353 vmware-shd-vcgupdate INFO (unknown file):0 Checking for the availability of new VCG updates completed - New Updates Available 1.0.0 2023-01-29T03:54:03.
2023-02-07 13:41:20,353 vmware-shd-vcgupdate INFO (unknown file):0 New Updates are available - Starting to update
2023-02-07 13:41:20,353 vmware-shd-vcgupdate INFO (unknown file):0 Downloading VCG database update
2023-02-07 13:41:20,353 vmware-shd-vcgupdate INFO (unknown file):0 Downloading VCG database update started.
2023-02-07 13:41:47,821 vmware-shd-vcgupdate ERROR (unknown file):0 Exception during VCG Update - Downloading VCG database update failed - Checksum error with downloaded data.
Traceback (most recent call last):
File "vcgupdate.py", line 120, in vcgupdate.VCGUpdateManagerInterface.downloadNewDB
Exception: Checksum error with downloaded data

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "vcgupdate.py", line 144, in vcgupdate.VCGUpdateManagerInterface.updateDB
File "vcgupdate.py", line 122, in vcgupdate.VCGUpdateManagerInterface.downloadNewDB
Exception: Downloading VCG database update failed - Checksum error with downloaded data.
2023-02-07 13:41:48,764 vmware-shd-vcgupdate INFO (unknown file):0 Completing VCG Update - Current Update Timestamp: 2022-11-27T05:28:41
2023-02-07 13:41:48,765 vmware-shd-vcgupdate INFO (unknown file):0 Finished VCG Update Status: False Message: Downloading VCG database update failed - Checksum error with downloaded data.

 

0 Kudos