virt-who error - "Virt backend 'config' fails with exception:#012ReadTimeout: HTTPSConnectionPool"

Solution Verified - Updated -

Issue

  • How to increase the time-out in virt-who when is waiting to get response from vCenter ?
    Timeout error and virt-who is not updating hosts-to-guests mapping:
2017-06-11 08:16:42,218 [virtwho.config DEBUG] esx(21182):MainThread @esx.py:_prepare:58 - Creating ESX event filter
2017-06-11 08:16:42,218 [virtwho.config DEBUG] esx(21182):MainThread @esx.py:_run:102 - Wait for ESX event finished, timeout
:
  • Restarting virt-who service shows:
2017-06-11 08:20:50,123 [virtwho.config ERROR] esx(19763):MainThread @virt.py:run:379 - Virt backend 'config' fails with exception:
Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/virtwho/virt/virt.py", line 372, in run
    self._run()
  File "/usr/lib/python2.7/site-packages/virtwho/virt/esx/esx.py", line 175, in _run
    options=options)
  File "/usr/lib/python2.7/site-packages/suds/client.py", line 542, in __call__
    return client.invoke(args, kwargs)
  File "/usr/lib/python2.7/site-packages/suds/client.py", line 602, in invoke
    result = self.send(soapenv)
  File "/usr/lib/python2.7/site-packages/suds/client.py", line 641, in send
    reply = transport.send(request)
  File "/usr/lib/python2.7/site-packages/virtwho/virt/esx/esx.py", line 96, in send
    verify=False
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 507, in post
    return self.request('POST', url, data=data, json=json, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 464, in request
    resp = self.send(prep, **send_kwargs)
  File "/usr/lib/python2.7/site-packages/requests/sessions.py", line 576, in send
    r = adapter.send(request, **kwargs)
  File "/usr/lib/python2.7/site-packages/requests/adapters.py", line 433, in send
    raise ReadTimeout(e, request=request)
ReadTimeout: HTTPSConnectionPool(host='192.168.123.13', port=443): Read timed out. (read timeout=60)

Environment

  • Red Hat Satellite 6.2
  • RHEL

Subscriber exclusive content

A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.

Current Customers and Partners

Log in for full access

Log In
Close

Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.