virt-who service fails with error [Errno -2] Name or service not known
Issue
-
virt-whoservice is not able to report the host-guests mapping to the customer portal and fails with below error:-2023-03-28 11:15:08,785 [ERROR] @virt.py:521 - Thread 'vmware' fails with error: HTTPSConnectionPool(host='Vcenter', port=443): Max retries exceeded with url: /sdk (Caused by NewConnectionError('<urllib3.connection.HTTPSConnection object at 0x7fbc0108c580>: Failed to establish a new connection: [Errno -2] Name or service not known'))
Environment
- Red Hat Enterprise Linux
- Red Hat Subscription Management(RHSM)
- Red Hat Customer Portal
- VMware (ESX/ESXi) Hypervisors
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.