Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

socket.timeout:timeout #16

Open
meteorlad opened this issue Aug 23, 2018 · 0 comments
Open

socket.timeout:timeout #16

meteorlad opened this issue Aug 23, 2018 · 0 comments

Comments

@meteorlad
Copy link

I have 20 vcenters here, which collect one-time energy indicators every ten minutes, but the following problems often occur.

Traceback (most recent call last):
  File "/home/inspur/icp-collect/collect/vmware/colcmd/icp_gather_storage.py", line 150, in <module>
    host=server._get_managed_objects('HostSystem',hostmor)
  File "/usr/lib/python2.7/site-packages/pysphere/vi_server.py", line 792, in _get_managed_objects
    obj_type=mo_type)
  File "/usr/lib/python2.7/site-packages/pysphere/vi_server.py", line 717, in _retrieve_properties_traversal
    return request_call(request)
  File "/usr/lib/python2.7/site-packages/pysphere/vi_server.py", line 733, in call_retrieve_properties_ex
    request)._returnval
  File "/usr/lib/python2.7/site-packages/pysphere/resources/VimService_services.py", line 112, in RetrievePropertiesEx
    self.binding.Send(None, None, request, soapaction="urn:vim25/5.1", **kw)
  File "/usr/lib/python2.7/site-packages/pysphere/ZSI/client.py", line 295, in Send
    self.local.h.connect()
  File "/usr/lib64/python2.7/httplib.py", line 1251, in connect
    HTTPConnection.connect(self)
  File "/usr/lib64/python2.7/httplib.py", line 824, in connect
    self.timeout, self.source_address)
  File "/usr/lib64/python2.7/socket.py", line 571, in create_connection
    raise err
socket.timeout: timed out
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant