Translated message

A translation of this page exists in English.

virt-who エラー Virt backend 'config' fails with exception:#012ReadTimeout: HTTPSConnectionPool が発生する

Solution Verified - Updated -

Issue

  • vCenter からの応答を待っている時に virt-who でタイムアウトの時間を長くするにはどうすれば良いですか?
    タイムアウトエラーが発生し、virt-who でホストからゲストへのマッピングがアップデートされません。
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
:
  • virt-who サービスを再起動すると、以下のメッセージが発生します。
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, tools, and much more.

Current Customers and Partners

Log in for full access

Log In

New to Red Hat?

Learn more about Red Hat subscriptions

Using a Red Hat product through a public cloud?

How to access this content