{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/33046","repository_url":"https://api.github.com/repos/saltstack/salt","labels_url":"https://api.github.com/repos/saltstack/salt/issues/33046/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/33046/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/33046/events","html_url":"https://github.com/saltstack/salt/issues/33046","id":153082923,"number":33046,"title":"Error with minion highstate and tcp transport","user":{"login":"jakehilton","id":243169,"avatar_url":"https://avatars.githubusercontent.com/u/243169?v=3","gravatar_id":"","url":"https://api.github.com/users/jakehilton","html_url":"https://github.com/jakehilton","followers_url":"https://api.github.com/users/jakehilton/followers","following_url":"https://api.github.com/users/jakehilton/following{/other_user}","gists_url":"https://api.github.com/users/jakehilton/gists{/gist_id}","starred_url":"https://api.github.com/users/jakehilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakehilton/subscriptions","organizations_url":"https://api.github.com/users/jakehilton/orgs","repos_url":"https://api.github.com/users/jakehilton/repos","events_url":"https://api.github.com/users/jakehilton/events{/privacy}","received_events_url":"https://api.github.com/users/jakehilton/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/Core","name":"Core","color":"fef2c0"},{"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/P2","name":"P2","color":"155fb5"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Transport","name":"Transport","color":"006b75"}],"state":"open","locked":false,"assignee":null,"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":3060,"closed_issues":3602,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2016-05-09T19:24:33Z","due_on":null,"closed_at":null},"comments":7,"created_at":"2016-05-04T18:29:53Z","updated_at":"2016-05-09T20:27:26Z","closed_at":null,"body":"### Description of Issue/Question\r\nWhen running highstate on a minion using the tcp transport I see the following error a few times in my log:\r\n`2016-05-04 18:22:53,955 [tornado.application][ERROR   ][11620] Future exception was never retrieved: StreamClosedError: Stream is closed`\r\n\r\nHere is more context of that error:\r\n```\r\n[INFO    ] Got list of available master addresses: ['localhost']\r\n[ERROR   ] Future exception was never retrieved: Traceback (most recent call last):\r\n  File \"/usr/lib/python2.7/dist-packages/tornado/gen.py\", line 230, in wrapper\r\n    yielded = next(result)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/minion.py\", line 476, in eval_master\r\n    pub_channel = salt.transport.client.AsyncPubChannel.factory(opts, **factory_kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/transport/client.py\", line 163, in factory\r\n    return salt.transport.tcp.AsyncTCPPubChannel(opts, **kwargs)\r\n  File \"/usr/lib/python2.7/dist-packages/salt/transport/tcp.py\", line 201, in __init__\r\n    self.io_loop = kwargs['io_loop'] or tornado.ioloop.IOLoop.current()\r\nKeyError: 'io_loop'\r\nException AttributeError: \"'AsyncTCPPubChannel' object has no attribute '_closing'\" in <bound method AsyncTCPPubChannel.__del__ of <salt.transport.tcp.AsyncTCPPubChannel object at 0x7fe0d9f4f850>> ignored\r\n[INFO    ] Determining pillar cache\r\n[ERROR   ] Future exception was never retrieved: StreamClosedError\r\n[INFO    ] Determining pillar cache\r\n[ERROR   ] Future exception was never retrieved: StreamClosedError\r\n```\r\n\r\nEverything seems to run ok but I\"m not sure if this will cause issues down the road.\r\n\r\n### Setup\r\nFresh install from repo.saltstack.com running on ubuntu 14.04.\r\n\r\nMaster config:\r\n```\r\nhash_type: sha256\r\nkeep_jobs: 1\r\nopen_mode: True\r\ntimeout: 30\r\ntransport: tcp\r\n\r\nfile_roots:\r\n  base:\r\n    - /etc/salt/git/salt\r\n    - /etc/salt/git/salt/states\r\n\r\npillar_roots:\r\n  base:\r\n    - /etc/salt/git/salt/pillar\r\n```\r\n\r\nMinion config:\r\n\r\n```\r\nhash_type: sha256\r\nrandom_reauth_delay: 10\r\nmaster:\r\n  - smaster1-dusc.xxxxx.com\r\n  - smaster2-dusc.xxxxx.com\r\nmaster_type: failover\r\nmaster_shuffle: True\r\nmaster_alive_interval: 60\r\nauth_timeout: 10\r\nauth_tries: 0\r\nretry_dns: 0\r\ntransport: tcp\r\nstartup_states: highstate\r\ngrains:\r\n  ulsite: downlynk\r\n  ulprovider: aws\r\n  ultype: smaster\r\n```\r\n\r\n### Steps to Reproduce Issue\r\nConfigure the master and minion to both use the tcp transport and run a highstate from the minion.\r\n\r\n### Versions Report\r\n```\r\nSalt Version:\r\n           Salt: 2015.8.8.2\r\n\r\nDependency Versions:\r\n         Jinja2: 2.7.2\r\n       M2Crypto: Not Installed\r\n           Mako: 0.9.1\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.0.1\r\n         Python: 2.7.6 (default, Jun 22 2015, 17:58:13)\r\n           RAET: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 4.0.4\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        libgit2: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.3.0\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-gnupg: Not Installed\r\n          smmap: 0.8.2\r\n        timelib: Not Installed\r\n\r\nSystem Versions:\r\n           dist: Ubuntu 14.04 trusty\r\n        machine: x86_64\r\n        release: 3.13.0-74-generic\r\n         system: Ubuntu 14.04 trusty\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/217979281","html_url":"https://github.com/saltstack/salt/issues/33046#issuecomment-217979281","issue_url":"https://api.github.com/repos/saltstack/salt/issues/33046","id":217979281,"user":{"login":"jakehilton","id":243169,"avatar_url":"https://avatars.githubusercontent.com/u/243169?v=3","gravatar_id":"","url":"https://api.github.com/users/jakehilton","html_url":"https://github.com/jakehilton","followers_url":"https://api.github.com/users/jakehilton/followers","following_url":"https://api.github.com/users/jakehilton/following{/other_user}","gists_url":"https://api.github.com/users/jakehilton/gists{/gist_id}","starred_url":"https://api.github.com/users/jakehilton/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jakehilton/subscriptions","organizations_url":"https://api.github.com/users/jakehilton/orgs","repos_url":"https://api.github.com/users/jakehilton/repos","events_url":"https://api.github.com/users/jakehilton/events{/privacy}","received_events_url":"https://api.github.com/users/jakehilton/received_events","type":"User","site_admin":false},"created_at":"2016-05-09T20:27:26Z","updated_at":"2016-05-09T20:27:26Z","body":"Always good to hear it's fixed somewhere. :)\r\n\r\nLoaded question.. when is the 2016.3.0 scheduled to land? I'd love to run TCP transport in a fully supported version."}}