{"action":"created","issue":{"url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1823","labels_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1823/labels{/name}","comments_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1823/comments","events_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1823/events","html_url":"https://github.com/ClusterHQ/flocker/pull/1823","id":98432807,"number":1823,"title":"[FLOC-2806] A test for containers of private registry images","user":{"login":"wallrj","id":978965,"avatar_url":"https://avatars.githubusercontent.com/u/978965?v=3","gravatar_id":"","url":"https://api.github.com/users/wallrj","html_url":"https://github.com/wallrj","followers_url":"https://api.github.com/users/wallrj/followers","following_url":"https://api.github.com/users/wallrj/following{/other_user}","gists_url":"https://api.github.com/users/wallrj/gists{/gist_id}","starred_url":"https://api.github.com/users/wallrj/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/wallrj/subscriptions","organizations_url":"https://api.github.com/users/wallrj/orgs","repos_url":"https://api.github.com/users/wallrj/repos","events_url":"https://api.github.com/users/wallrj/events{/privacy}","received_events_url":"https://api.github.com/users/wallrj/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-07-31T17:14:30Z","updated_at":"2015-08-03T08:49:00Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/ClusterHQ/flocker/pulls/1823","html_url":"https://github.com/ClusterHQ/flocker/pull/1823","diff_url":"https://github.com/ClusterHQ/flocker/pull/1823.diff","patch_url":"https://github.com/ClusterHQ/flocker/pull/1823.patch"},"body":"Fixes: https://clusterhq.atlassian.net/browse/FLOC-2806\r\n\r\nhttp://build.clusterhq.com/boxes-flocker?branch=test-private-registry-FLOC-2806&num_builds=2\r\n\r\n* First build is against the old docker-py-0.7.1 and should fail to pull the image. (had to specify `insecure_registry=True,` when pushing to work around bug in docker-py.)\r\n* Second build is against new docker-py-1.3.1 and should work."},"comment":{"url":"https://api.github.com/repos/ClusterHQ/flocker/issues/comments/127166741","html_url":"https://github.com/ClusterHQ/flocker/pull/1823#issuecomment-127166741","issue_url":"https://api.github.com/repos/ClusterHQ/flocker/issues/1823","id":127166741,"user":{"login":"adamtheturtle","id":797801,"avatar_url":"https://avatars.githubusercontent.com/u/797801?v=3","gravatar_id":"","url":"https://api.github.com/users/adamtheturtle","html_url":"https://github.com/adamtheturtle","followers_url":"https://api.github.com/users/adamtheturtle/followers","following_url":"https://api.github.com/users/adamtheturtle/following{/other_user}","gists_url":"https://api.github.com/users/adamtheturtle/gists{/gist_id}","starred_url":"https://api.github.com/users/adamtheturtle/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/adamtheturtle/subscriptions","organizations_url":"https://api.github.com/users/adamtheturtle/orgs","repos_url":"https://api.github.com/users/adamtheturtle/repos","events_url":"https://api.github.com/users/adamtheturtle/events{/privacy}","received_events_url":"https://api.github.com/users/adamtheturtle/received_events","type":"User","site_admin":false},"created_at":"2015-08-03T08:49:00Z","updated_at":"2015-08-03T08:49:00Z","body":"A failing test which is not mentioned in the comments is:\r\n\r\n```\r\n[ERROR]\r\nTraceback (most recent call last):\r\n  File \"/srv/buildslave/flocker-coverage/venv/local/lib/python2.7/site-packages/flocker/node/functional/test_docker.py\", line 208, in push_image\r\n    tag=tag,\r\n  File \"/srv/buildslave/flocker-coverage/venv/local/lib/python2.7/site-packages/docker/client.py\", line 684, in push\r\n    self._raise_for_status(response)\r\n  File \"/srv/buildslave/flocker-coverage/venv/local/lib/python2.7/site-packages/docker/clientbase.py\", line 104, in _raise_for_status\r\n    raise errors.APIError(e, response, explanation=explanation)\r\ndocker.errors.APIError: 500 Server Error: Internal Server Error (\"Invalid registry endpoint \"http://127.0.0.1:42499/v1/\". HTTPS attempt: Get https://127.0.0.1:42499/v1/_ping: read tcp 127.0.0.1:42499: connection reset by peer. HTTP attempt: Get http://127.0.0.1:42499/v1/_ping: read tcp 127.0.0.1:42499: connection reset by peer\")\r\n\r\nflocker.node.functional.test_docker.GenericDockerClientTests.test_private_registry_image\r\n```\r\n\r\nhttp://build.clusterhq.com/builders/flocker-coverage/builds/8228/steps/trial/logs/problems"}}