{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/38010","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/38010/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/38010/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/38010/events","html_url":"https://github.com/saltstack/salt/issues/38010","id":192693614,"number":38010,"title":"[2016.11.0] dockerng failing to pull images","user":{"login":"tyhunt99","id":12551470,"avatar_url":"https://avatars.githubusercontent.com/u/12551470?v=3","gravatar_id":"","url":"https://api.github.com/users/tyhunt99","html_url":"https://github.com/tyhunt99","followers_url":"https://api.github.com/users/tyhunt99/followers","following_url":"https://api.github.com/users/tyhunt99/following{/other_user}","gists_url":"https://api.github.com/users/tyhunt99/gists{/gist_id}","starred_url":"https://api.github.com/users/tyhunt99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyhunt99/subscriptions","organizations_url":"https://api.github.com/users/tyhunt99/orgs","repos_url":"https://api.github.com/users/tyhunt99/repos","events_url":"https://api.github.com/users/tyhunt99/events{/privacy}","received_events_url":"https://api.github.com/users/tyhunt99/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":6,"created_at":"2016-11-30T22:07:05Z","updated_at":"2016-12-01T16:57:25Z","closed_at":"2016-12-01T16:57:25Z","body":"### Description of Issue/Question\r\nI have a state where I do dockerng.image_present and the state fails with an error claiming there is no host in the request URL. The same error happens when doing a dockerng.pull module call.\r\n\r\nStrangely enough this appears to be only affecting one of my minions started today. Both minions are running 2016.11.0. Both are AWS EC2 instances. The working one was was started via salt-cloud early this morning. The broken one has been killed and restarted multiple times trying to fix it.\r\n\r\n### Setup\r\nA simple state is all that is needed to reporduce this.\r\n```\r\nautodns_image\r\n  dockerng.image_present\r\n    - name: xxxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/autodns\r\n```\r\nOr you can do a module call:\r\n```\r\nsalt 'testminion' dockerng.pull xxxxxxxxxxx.dkr.ecr.us-east-1.amazonaws.com/autodns\r\n```\r\n\r\n### Steps to Reproduce Issue\r\nOutput from the state:\r\n```\r\n          ID: autodns_image\r\n    Function: dockerng.image_present\r\n        Name: 364535168108.dkr.ecr.us-east-1.amazonaws.com/autodns\r\n      Result: False\r\n     Comment: Encountered error pulling 364535168108.dkr.ecr.us-east-1.amazonaws.com/autodns:latest: Pull failed for 364535168108.dkr.ecr.us-east-1.amazonaws.com/autodns:latest. Error(s) follow:\r\n              \r\n              Get http://: http: no Host in request URL\r\n     Started: 19:35:43.714751\r\n    Duration: 126.881 ms\r\n     Changes:  \r\n```\r\nOutput from module call:\r\n```\r\ntestminion:\r\n    ERROR: Pull failed for 364535168108.dkr.ecr.us-east-1.amazonaws.com/autodns. Error(s) follow:\r\n    \r\n    Get http://: http: no Host in request URL\r\n\r\n```\r\n\r\n### Versions Report\r\n(Provided by running `salt --versions-report`. Please also mention any differences in master/minion versions.)\r\nThe minion is running 2026.11.0\r\n\r\nMaster versions:\r\n```\r\nSalt Version:\r\n           Salt: 2016.3.4\r\n \r\nDependency Versions:\r\n           cffi: 1.5.0\r\n       cherrypy: 3.2.2\r\n       dateutil: 2.6.0\r\n          gitdb: 0.5.4\r\n      gitpython: 0.3.2 RC1\r\n          ioflo: Not Installed\r\n         Jinja2: 2.8\r\n        libgit2: 0.23.4\r\n        libnacl: Not Installed\r\n       M2Crypto: 0.21.1\r\n           Mako: 0.9.1\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.8\r\n   mysql-python: 1.2.3\r\n      pycparser: 2.14\r\n       pycrypto: 2.6.1\r\n         pygit2: 0.23.1\r\n         Python: 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n   python-gnupg: 0.3.6\r\n         PyYAML: 3.12\r\n          PyZMQ: 16.0.2\r\n           RAET: Not Installed\r\n          smmap: 0.8.2\r\n        timelib: Not Installed\r\n        Tornado: 4.4.2\r\n            ZMQ: 4.1.6\r\n \r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n        machine: x86_64\r\n        release: 3.13.0-100-generic\r\n         system: Linux\r\n        version: Ubuntu 14.04 trusty\r\n```\r\nMinion versions:\r\n```\r\n    Salt Version:\r\n               Salt: 2016.11.0\r\n     \r\n    Dependency Versions:\r\n               cffi: Not Installed\r\n           cherrypy: Not Installed\r\n           dateutil: 1.5\r\n              gitdb: Not Installed\r\n          gitpython: Not Installed\r\n              ioflo: Not Installed\r\n             Jinja2: 2.7.2\r\n            libgit2: Not Installed\r\n            libnacl: Not Installed\r\n           M2Crypto: Not Installed\r\n               Mako: 0.9.1\r\n       msgpack-pure: Not Installed\r\n     msgpack-python: 0.4.6\r\n       mysql-python: 1.2.3\r\n          pycparser: Not Installed\r\n           pycrypto: 2.6.1\r\n             pygit2: Not Installed\r\n             Python: 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n       python-gnupg: Not Installed\r\n             PyYAML: 3.10\r\n              PyZMQ: 14.0.1\r\n               RAET: Not Installed\r\n              smmap: Not Installed\r\n            timelib: Not Installed\r\n            Tornado: 4.2.1\r\n                ZMQ: 4.0.5\r\n     \r\n    System Versions:\r\n               dist: Ubuntu 14.04 trusty\r\n            machine: x86_64\r\n            release: 3.13.0-74-generic\r\n             system: Linux\r\n            version: Ubuntu 14.04 trusty\r\n     \r\n```\r\nVersions for minion which works as expected:\r\n```\r\n    Salt Version:\r\n               Salt: 2016.11.0\r\n     \r\n    Dependency Versions:\r\n               cffi: Not Installed\r\n           cherrypy: Not Installed\r\n           dateutil: 1.5\r\n              gitdb: Not Installed\r\n          gitpython: Not Installed\r\n              ioflo: Not Installed\r\n             Jinja2: 2.7.2\r\n            libgit2: Not Installed\r\n            libnacl: Not Installed\r\n           M2Crypto: Not Installed\r\n               Mako: 0.9.1\r\n       msgpack-pure: Not Installed\r\n     msgpack-python: 0.4.6\r\n       mysql-python: 1.2.3\r\n          pycparser: Not Installed\r\n           pycrypto: 2.6.1\r\n             pygit2: Not Installed\r\n             Python: 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n       python-gnupg: Not Installed\r\n             PyYAML: 3.10\r\n              PyZMQ: 14.0.1\r\n               RAET: Not Installed\r\n              smmap: Not Installed\r\n            timelib: Not Installed\r\n            Tornado: 4.2.1\r\n                ZMQ: 4.0.5\r\n     \r\n    System Versions:\r\n               dist: Ubuntu 14.04 trusty\r\n            machine: x86_64\r\n            release: 3.13.0-74-generic\r\n             system: Linux\r\n            version: Ubuntu 14.04 trusty\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/264228906","html_url":"https://github.com/saltstack/salt/issues/38010#issuecomment-264228906","issue_url":"https://api.github.com/repos/saltstack/salt/issues/38010","id":264228906,"user":{"login":"tyhunt99","id":12551470,"avatar_url":"https://avatars.githubusercontent.com/u/12551470?v=3","gravatar_id":"","url":"https://api.github.com/users/tyhunt99","html_url":"https://github.com/tyhunt99","followers_url":"https://api.github.com/users/tyhunt99/followers","following_url":"https://api.github.com/users/tyhunt99/following{/other_user}","gists_url":"https://api.github.com/users/tyhunt99/gists{/gist_id}","starred_url":"https://api.github.com/users/tyhunt99/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tyhunt99/subscriptions","organizations_url":"https://api.github.com/users/tyhunt99/orgs","repos_url":"https://api.github.com/users/tyhunt99/repos","events_url":"https://api.github.com/users/tyhunt99/events{/privacy}","received_events_url":"https://api.github.com/users/tyhunt99/received_events","type":"User","site_admin":false},"created_at":"2016-12-01T16:57:25Z","updated_at":"2016-12-01T16:57:25Z","body":"It appears this fix has already been pushed out. I launched a new instance and it appears to be working again."}}
{"actor":{"display_login":"tyhunt99"}}