{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/35139","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/35139/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/35139/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/35139/events","html_url":"https://github.com/saltstack/salt/issues/35139","id":168952322,"number":35139,"title":"dockerng: RepoTags not iterable with docker 1.12 on ubuntu 14.04","user":{"login":"epelc","id":5204642,"avatar_url":"https://avatars.githubusercontent.com/u/5204642?v=3","gravatar_id":"","url":"https://api.github.com/users/epelc","html_url":"https://github.com/epelc","followers_url":"https://api.github.com/users/epelc/followers","following_url":"https://api.github.com/users/epelc/following{/other_user}","gists_url":"https://api.github.com/users/epelc/gists{/gist_id}","starred_url":"https://api.github.com/users/epelc/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/epelc/subscriptions","organizations_url":"https://api.github.com/users/epelc/orgs","repos_url":"https://api.github.com/users/epelc/repos","events_url":"https://api.github.com/users/epelc/events{/privacy}","received_events_url":"https://api.github.com/users/epelc/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/saltstack/salt/labels/Bug","name":"Bug","color":"e11d21"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Fixed%20Pending%20Verification","name":"Fixed Pending Verification","color":"d4c5f9"},{"url":"https://api.github.com/repos/saltstack/salt/labels/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P4","name":"P4","color":"031a39"},{"url":"https://api.github.com/repos/saltstack/salt/labels/RIoT","name":"RIoT","color":"fef2c0"},{"url":"https://api.github.com/repos/saltstack/salt/labels/State%20Module","name":"State Module","color":"006b75"}],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/saltstack/salt/milestones/13","html_url":"https://github.com/saltstack/salt/milestones/Approved","labels_url":"https://api.github.com/repos/saltstack/salt/milestones/13/labels","id":9265,"number":13,"title":"Approved","description":"All issues that are ready to be worked on, both bugs and features.","creator":{"login":"thatch45","id":507599,"avatar_url":"https://avatars.githubusercontent.com/u/507599?v=3","gravatar_id":"","url":"https://api.github.com/users/thatch45","html_url":"https://github.com/thatch45","followers_url":"https://api.github.com/users/thatch45/followers","following_url":"https://api.github.com/users/thatch45/following{/other_user}","gists_url":"https://api.github.com/users/thatch45/gists{/gist_id}","starred_url":"https://api.github.com/users/thatch45/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thatch45/subscriptions","organizations_url":"https://api.github.com/users/thatch45/orgs","repos_url":"https://api.github.com/users/thatch45/repos","events_url":"https://api.github.com/users/thatch45/events{/privacy}","received_events_url":"https://api.github.com/users/thatch45/received_events","type":"User","site_admin":false},"open_issues":3165,"closed_issues":3943,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-08-24T22:27:06Z","due_on":null,"closed_at":null},"comments":12,"created_at":"2016-08-02T18:15:50Z","updated_at":"2016-08-25T15:13:02Z","closed_at":null,"body":"### Description of Issue/Question\r\nThis line causes `docker.running` to fail when using docker 1.12\r\nhttps://github.com/saltstack/salt/blob/485dd07fe9b6d32cf0e9f284a71fa512d7508a6b/salt/modules/dockerng.py#L2352\r\n\r\nMinion error log\r\nhttp://pastebin.com/mKivKRLa\r\n\r\n### Setup\r\n(Please provide relevant configs and/or SLS files (Be sure to remove sensitive info).)\r\n```\r\nrun:\r\n  dockerng.running:\r\n# the tag is important. It may not be triggered if you use the default latest. The error is in the tag lookup code.\r\n    - image: me/my-image:my-tag\r\n    - command: some-command\r\n    - detach: True\r\n    - restart_policy: always\r\n    - environment:\r\n      {% for key, value in pillar['config'].iteritems() %}\r\n      - '{{ key }}': '{{ value }}'\r\n      {% endfor %}\r\n```\r\n\r\n### Steps to Reproduce Issue\r\n(Include debug logs if possible and relevant.)\r\n\r\nRun a state using `docker.running` with an image that has a specific tag.\r\n\r\n### Versions Report\r\n(Provided by running `salt --versions-report`. Please also mention any differences in master/minion versions.)\r\n```\r\ndocker version\r\nClient:\r\n Version:      1.12.0\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   8eab29e\r\n Built:        Thu Jul 28 22:00:36 2016\r\n OS/Arch:      linux/amd64\r\n\r\nServer:\r\n Version:      1.12.0\r\n API version:  1.24\r\n Go version:   go1.6.3\r\n Git commit:   8eab29e\r\n Built:        Thu Jul 28 22:00:36 2016\r\n OS/Arch:      linux/amd64\r\n\r\nSalt Version:\r\n           Salt: 2016.3.2\r\n \r\nDependency Versions:\r\n           cffi: Not Installed\r\n       cherrypy: Not Installed\r\n       dateutil: 1.5\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: 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.8\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.11\r\n          PyZMQ: 14.0.1\r\n           RAET: Not Installed\r\n          smmap: 0.8.2\r\n        timelib: Not Installed\r\n        Tornado: 4.4.1\r\n            ZMQ: 4.0.5\r\n \r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n        machine: x86_64\r\n        release: 3.13.0-86-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/242423791","html_url":"https://github.com/saltstack/salt/issues/35139#issuecomment-242423791","issue_url":"https://api.github.com/repos/saltstack/salt/issues/35139","id":242423791,"user":{"login":"hjc1710","id":1062500,"avatar_url":"https://avatars.githubusercontent.com/u/1062500?v=3","gravatar_id":"","url":"https://api.github.com/users/hjc1710","html_url":"https://github.com/hjc1710","followers_url":"https://api.github.com/users/hjc1710/followers","following_url":"https://api.github.com/users/hjc1710/following{/other_user}","gists_url":"https://api.github.com/users/hjc1710/gists{/gist_id}","starred_url":"https://api.github.com/users/hjc1710/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hjc1710/subscriptions","organizations_url":"https://api.github.com/users/hjc1710/orgs","repos_url":"https://api.github.com/users/hjc1710/repos","events_url":"https://api.github.com/users/hjc1710/events{/privacy}","received_events_url":"https://api.github.com/users/hjc1710/received_events","type":"User","site_admin":false},"created_at":"2016-08-25T15:13:02Z","updated_at":"2016-08-25T15:13:02Z","body":"@rallytime - just tested on a local Vagrant and it seemed to work wonderfully! Will commit to one of my larger projects and do a big deploy today to see if everything else works out and post here, but I think we're looking good.\r\n\r\nFor others: I placed this in `_modules/dockerng.py` in the `/srv/salt` folder. I just copied the file wholesale, and restarted the minion. It then worked.\r\n\r\n**NOTE:** I have only tried this in a master-less configuration!"}}
{"actor":{"display_login":"hjc1710"}}