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.
The server has internet connectivity
Has any one had a successful VCG update recently?
Thanks
M
Screenshot of VCG Update full UI plus SHD logs have been attached for your review.
Thank you!
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.
Thank you, anshumansing
Where do you download 2.0.5? The only version available on VMware's website is 2.0.4
I don’t believe v2.0.5 is available yet, but if it is I’d like to know as well 🙂
2.0.5 release work is in progress, it will be out in a week.
Thank you!
Any updates on when 2.0.5 is going to be available?
I was told sometime this week hopefully.
Thank you
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.
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?
Could you share the SHD logs? run script /opt/vmware-shd/vmware-shd/app/shd-support and share generated log bundle.
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
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 ?
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.
note that the completed tast was from JUNE not from JULY...
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.