{"action":"closed","issue":{"url":"https://api.github.com/repos/DataDog/dd-agent/issues/1693","labels_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1693/labels{/name}","comments_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1693/comments","events_url":"https://api.github.com/repos/DataDog/dd-agent/issues/1693/events","html_url":"https://github.com/DataDog/dd-agent/issues/1693","id":88510514,"number":1693,"title":"Docker: for function _make_tag, \"value\" might be an integer","user":{"login":"MartinDatadog","id":9215976,"avatar_url":"https://avatars.githubusercontent.com/u/9215976?v=3","gravatar_id":"","url":"https://api.github.com/users/MartinDatadog","html_url":"https://github.com/MartinDatadog","followers_url":"https://api.github.com/users/MartinDatadog/followers","following_url":"https://api.github.com/users/MartinDatadog/following{/other_user}","gists_url":"https://api.github.com/users/MartinDatadog/gists{/gist_id}","starred_url":"https://api.github.com/users/MartinDatadog/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MartinDatadog/subscriptions","organizations_url":"https://api.github.com/users/MartinDatadog/orgs","repos_url":"https://api.github.com/users/MartinDatadog/repos","events_url":"https://api.github.com/users/MartinDatadog/events{/privacy}","received_events_url":"https://api.github.com/users/MartinDatadog/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/DataDog/dd-agent/labels/bugfix","name":"bugfix","color":"eb6420"},{"url":"https://api.github.com/repos/DataDog/dd-agent/labels/checks","name":"checks","color":"444444"}],"state":"closed","locked":false,"assignee":{"login":"remh","id":1311477,"avatar_url":"https://avatars.githubusercontent.com/u/1311477?v=3","gravatar_id":"","url":"https://api.github.com/users/remh","html_url":"https://github.com/remh","followers_url":"https://api.github.com/users/remh/followers","following_url":"https://api.github.com/users/remh/following{/other_user}","gists_url":"https://api.github.com/users/remh/gists{/gist_id}","starred_url":"https://api.github.com/users/remh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remh/subscriptions","organizations_url":"https://api.github.com/users/remh/orgs","repos_url":"https://api.github.com/users/remh/repos","events_url":"https://api.github.com/users/remh/events{/privacy}","received_events_url":"https://api.github.com/users/remh/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/DataDog/dd-agent/milestones/48","html_url":"https://github.com/DataDog/dd-agent/milestones/5.5.0","labels_url":"https://api.github.com/repos/DataDog/dd-agent/milestones/48/labels","id":1105886,"number":48,"title":"5.5.0","description":null,"creator":{"login":"remh","id":1311477,"avatar_url":"https://avatars.githubusercontent.com/u/1311477?v=3","gravatar_id":"","url":"https://api.github.com/users/remh","html_url":"https://github.com/remh","followers_url":"https://api.github.com/users/remh/followers","following_url":"https://api.github.com/users/remh/following{/other_user}","gists_url":"https://api.github.com/users/remh/gists{/gist_id}","starred_url":"https://api.github.com/users/remh/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/remh/subscriptions","organizations_url":"https://api.github.com/users/remh/orgs","repos_url":"https://api.github.com/users/remh/repos","events_url":"https://api.github.com/users/remh/events{/privacy}","received_events_url":"https://api.github.com/users/remh/received_events","type":"User","site_admin":false},"open_issues":10,"closed_issues":90,"state":"open","created_at":"2015-05-11T23:09:24Z","updated_at":"2015-09-15T17:54:59Z","due_on":null,"closed_at":null},"comments":1,"created_at":"2015-06-15T18:57:33Z","updated_at":"2015-09-15T17:54:59Z","closed_at":"2015-09-15T17:54:59Z","body":"Happened to a machine with a few hundreds container stopped, with datadog-agent running inside a container.\r\n\r\nSee ticket https://datadog.zendesk.com/agent/tickets/27848 for more details including logs\r\n\r\n2015-06-15 08:40:40 UTC | ERROR | dd.collector | checks.docker(__init__.py:556) | Check 'docker' instance #0 failed \r\nTraceback (most recent call last): \r\nFile \"/opt/datadog-agent/agent/checks/__init__.py\", line 547, in run \r\nself.check(copy.deepcopy(instance)) \r\nFile \"/opt/datadog-agent/agent/checks.d/docker.py\", line 135, in check \r\ncontainers, ids_to_names = self._get_and_count_containers(instance) \r\nFile \"/opt/datadog-agent/agent/checks.d/docker.py\", line 178, in _get_and_count_containers \r\ntag = self._make_tag(key, container[key], instance) \r\nFile \"/opt/datadog-agent/agent/checks.d/docker.py\", line 262, in _make_tag \r\nreturn \"%s:%s\" % (tag_name, value.strip())AttributeError: **'int' object has no attribute 'strip'**\r\n\r\nRemoving some stopped containers solved the issue for this customer.\r\nMaybe some weird container name had this type error triggered?"}}