You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Traceback (most recent call last):
File "/usr/share/datadog/agent/checks/__init__.py", line 498, in run
self.check(copy.deepcopy(instance))
File "/usr/share/datadog/agent/checks.d/docker.py", line 151, in check
containers = self._get_containers(instance, with_size=True)
File "/usr/share/datadog/agent/checks.d/docker.py", line 243, in _get_containers
return self._get_json("%(url)s/containers/json" % instance, params={'size': with_size})
File "/usr/share/datadog/agent/checks.d/docker.py", line 264, in _get_json
request = self.url_opener.open(req)
File "/usr/lib64/python2.6/urllib2.py", line 391, in open
response = self._open(req, data)
File "/usr/lib64/python2.6/urllib2.py", line 409, in _open
'_open', req)
File "/usr/lib64/python2.6/urllib2.py", line 369, in _call_chain
result = func(*args)
File "/usr/share/datadog/agent/checks.d/docker.py", line 107, in unix_open
return self.do_open(UnixHTTPConnection(unix_socket), new_req)
File "/usr/lib64/python2.6/urllib2.py", line 1165, in do_open
raise URLError(err)
URLError: <urlopen error timed out>
As you can see try-except doesn't catch URLError exception. Maybe this is platform specific problem. DataDog agent is running on CentOS 6.5.
Can you fix it in next release?
Thanks
The text was updated successfully, but these errors were encountered:
The error happens at the urllib2 level instead of the socket level, that's interesting. If the source is the same, then catching it will be enough.
To be sure, @maxd can you tell me how many containers were running? Do they modify their own file system? Some system info (such as Kernel/Docker/Agent version) may also help me.
Thanks!
Hi All,
This is issue depends to #963.
As you can see try-except doesn't catch URLError exception. Maybe this is platform specific problem. DataDog agent is running on CentOS 6.5.
Can you fix it in next release?
Thanks
The text was updated successfully, but these errors were encountered: