VMware Cloud Community
MC1903
Enthusiast
Enthusiast

Unable to update VCG database - VMware Skyline Health Diagnostics for vSphere v2.0.1

I am unable to update the VCG database for my VSHD v2.0.1 installation. I get various errors:

VCG connect failed - {}

VCG Database update failed.

VCG connect failed - Connecting to URL failed.

pastedImage_0.png

pastedImage_3.png

The server has internet connectivity

Has any one had a successful VCG update recently?

Thanks

M

Reply
0 Kudos
50 Replies
WinkyWes
Contributor
Contributor

Screenshot of VCG Update full UI plus SHD logs have been attached for your review.

SHD Log.png

UI Screenshot.png

  

Thank you!

Reply
0 Kudos
anshumansingh
VMware Employee
VMware Employee

We have observed that VCG update site is now validating User-Agent header for each request. This was not there earlier, we have implemented as well as validated the fix and it will be available in SHD release/patch 2.0.5.

Reply
0 Kudos
WinkyWes
Contributor
Contributor

Thank you,  

Reply
0 Kudos
rpine200
Contributor
Contributor

Where do you download 2.0.5? The only version available on VMware's website is 2.0.4

Reply
0 Kudos
WinkyWes
Contributor
Contributor

I don’t believe v2.0.5 is available yet, but if it is I’d like to know as well 🙂

Reply
0 Kudos
araikwar
VMware Employee
VMware Employee

2.0.5 release work is in progress, it will be out in a week.

Reply
0 Kudos
WinkyWes
Contributor
Contributor

Thank you!

Reply
0 Kudos
rpine200
Contributor
Contributor

Any updates on when 2.0.5 is going to be available? 

Reply
0 Kudos
WinkyWes
Contributor
Contributor

I was told sometime this week hopefully. 

Reply
0 Kudos
rpine200
Contributor
Contributor

Thank you

Reply
0 Kudos
moojungl
Contributor
Contributor

Hi,

I have installed  VMware Skyline Health Diagnostics for vSphere v2.5.0 and still experiencing this for Tool update and VCG update tabs as seen in the screenshots. Looks like the appliance missing the CA certs hence failing the SSL handshake?

I can also see the following in the logs:

2021-05-27 08:05:25,779 vmware-shd-update INFO view_decorators:108 Checking for the availability of new updates started.
2021-05-27 08:05:25,780 vmware-shd-update INFO view_decorators:108 Downloading https://shd-download.vmware.com/2.5/manifest/manifest.xml to /opt/vmware-shd/vmware-shd/temp/manifest/manifest.xml
2021-05-27 08:05:25,797 vmware-shd-update ERROR view_decorators:108 Downloading https://shd-download.vmware.com/2.5/manifest/manifest.xml failed - HTTPSConnectionPool(host='shd-download.vmware.comt=443): Max retries exceeded with url: /2.5/manifest/manifest.xml (Caused by SSLError(SSLError("bad handshake: Error([('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')])
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/urllib3/contrib/pyopenssl.py", line 444, in wrap_socket
cnx.do_handshake()
File "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1907, in do_handshake
self._raise_ssl_error(self._ssl, result)
File "/usr/lib/python3.7/site-packages/OpenSSL/SSL.py", line 1639, in _raise_ssl_error
_raise_current_error()
File "/usr/lib/python3.7/site-packages/OpenSSL/_util.py", line 54, in exception_from_error_queue
raise exception_type(errors)
OpenSSL.SSL.Error: [('SSL routines', 'ssl3_get_server_certificate', 'certificate verify failed')]

Any assistance is much appreciated. Thanks in advance.

Reply
0 Kudos
g0rbi
Enthusiast
Enthusiast

I've upgraded to Version 2.5.1 today and then tried to update the Database with 2 errors:

VCG Database update failed.

Unexpected Error handling VCG Update Task.

What to do now?

Reply
0 Kudos
araikwar
VMware Employee
VMware Employee

Could you share the SHD logs? run script /opt/vmware-shd/vmware-shd/app/shd-support and share generated log bundle.

Reply
0 Kudos
anshumansingh
VMware Employee
VMware Employee

Can you please share the log details, you can download the SHD logs from UI by using Settings -> Help & Support -> Support Bundle.
 Or paste the VCG update logs traces from VCG update SHD log file /opt/vmware-shd/vmware-shd/log/vmware-shd-vcgupdate.log

Reply
0 Kudos
g0rbi
Enthusiast
Enthusiast

here it is... converted from tgz to zip to post it here...

Reply
0 Kudos
araikwar
VMware Employee
VMware Employee

From the logs it seems VCG update task is started and in progress

2021-07-23 10:06:47,019 vmware-shd-task-59375dcc8b9c239c INFO socketserver:720 Task vcgupdate with id 59375dcc8b9c239c scheduled
2021-07-23 10:06:47,020 vmware-shd-task-59375dcc8b9c239c INFO socketserver:720 Task Server 4599: Task 59375dcc8b9c239c submit response - {"task": {"_Name": "vcgupdate", "_Statuscode": 202, "_Status": "In Progress", "_Message": "Task 59375dcc8b9c239c has been submitted", "_Url": "/api/v1/task/status/59375dcc8b9c239c", "_Bundle": null, "_Phsent": 2, "_Totalsteps": 1, "_Currentstep": 1, "_Steps": "Update VCG Database", "_Start": "2021-07-23T10:06:47", "_Finish": "", "_Runtime": 0, "_Id": "59375dcc8b9c239c", "_Creator": "shd-admin"}, "status": 202}
2021-07-23 10:06:47,020 vmware-shd-task-59375dcc8b9c239c INFO socketserver:720 Task Server 4599: Task 59375dcc8b9c239c started

 

Could you share UI screenshot where you see error ?

Reply
0 Kudos
g0rbi
Enthusiast
Enthusiast

screenshots from latest try attached.

Reply
0 Kudos
araikwar
VMware Employee
VMware Employee

From the logs I see there are two attempt to update VCG databse, so two tasks were created.

 % grep -r 'Start of VCG Update for Task' *

vmware-shd-vcgupdate.log:2021-06-23 06:09:45,662 vmware-shd-vcgupdate INFO vcgupdate:18 Start of VCG Update for Task: 51327f616d476bb4

vmware-shd-vcgupdate.log:2021-07-23 10:06:48,345 vmware-shd-vcgupdate INFO vcgupdate:18 Start of VCG Update for Task: 59375dcc8b9c239c

Task 51327f616d476bb4 was successful as per logs

more vmware-shd-task-51327f616d476bb4.log

2021-06-23 06:09:44,852 vmware-shd-task-51327f616d476bb4 INFO socketserver:720 Task vcgupdate with id 51327f616d476bb4 scheduled

2021-06-23 06:09:44,853 vmware-shd-task-51327f616d476bb4 INFO socketserver:720 Task Server 1734: Task 51327f616d476bb4 submit response - {"task": {"_Name": "vcgupdate", "_Statuscode": 202, "_Status": "In Progress", "_Message": "Task 51327f616d476bb4 has been submitted", "_Url": "/api/v1/task/status/51327f616d476bb4", "_Bundle": null, "_Phsent": 2, "_Totalsteps": 1, "_Currentstep": 1, "_Steps": "Update VCG Database", "_Start": "2021-06-23T06:09:44", "_Finish": "", "_Runtime": 0, "_Id": "51327f616d476bb4", "_Creator": "shd-admin"}, "status": 202}

2021-06-23 06:09:44,853 vmware-shd-task-51327f616d476bb4 INFO socketserver:720 Task Server 1734: Task 51327f616d476bb4 started

2021-06-23 06:42:52,863 vmware-shd-task-51327f616d476bb4 INFO socketserver:720 Task vcgupdate with id 51327f616d476bb4 finished - Completed VCG Update

2021-06-23 06:42:52,867 vmware-shd-task-51327f616d476bb4 INFO socketserver:720 Task Server 1734: Task 51327f616d476bb4 finished

 

Task 59375dcc8b9c239c was started and was in progress as per logs creation time.

more vmware-shd-task-59375dcc8b9c239c.log 

2021-07-23 10:06:47,019 vmware-shd-task-59375dcc8b9c239c INFO socketserver:720 Task vcgupdate with id 59375dcc8b9c239c scheduled

2021-07-23 10:06:47,020 vmware-shd-task-59375dcc8b9c239c INFO socketserver:720 Task Server 4599: Task 59375dcc8b9c239c submit response - {"task": {"_Name": "vcgupdate", "_Statuscode": 202, "_Status": "In Progress", "_Message": "Task 59375dcc8b9c239c has been submitted", "_Url": "/api/v1/task/status/59375dcc8b9c239c", "_Bundle": null, "_Phsent": 2, "_Totalsteps": 1, "_Currentstep": 1, "_Steps": "Update VCG Database", "_Start": "2021-07-23T10:06:47", "_Finish": "", "_Runtime": 0, "_Id": "59375dcc8b9c239c", "_Creator": "shd-admin"}, "status": 202}

2021-07-23 10:06:47,020 vmware-shd-task-59375dcc8b9c239c INFO socketserver:720 Task Server 4599: Task 59375dcc8b9c239c started

 

Let me check with UI team, if we can analyse how UI reported errors.

Reply
0 Kudos
g0rbi
Enthusiast
Enthusiast

note that the completed tast was from JUNE not from JULY...

 

Reply
0 Kudos
anshumansingh
VMware Employee
VMware Employee

Would it be possible for having a live debugging session or share the browser network call for further analysis? Live debugging session is preferred though.

Reply
0 Kudos