{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/28403","labels_url":"https://api.github.com/repos/saltstack/salt/issues/28403/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/28403/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/28403/events","html_url":"https://github.com/saltstack/salt/issues/28403","id":114056834,"number":28403,"title":"Unable to start salt-minion :AttributeError: 'IOLoop' object has no attribute 'make_current'","user":{"login":"Djiit","id":1169844,"avatar_url":"https://avatars.githubusercontent.com/u/1169844?v=3","gravatar_id":"","url":"https://api.github.com/users/Djiit","html_url":"https://github.com/Djiit","followers_url":"https://api.github.com/users/Djiit/followers","following_url":"https://api.github.com/users/Djiit/following{/other_user}","gists_url":"https://api.github.com/users/Djiit/gists{/gist_id}","starred_url":"https://api.github.com/users/Djiit/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Djiit/subscriptions","organizations_url":"https://api.github.com/users/Djiit/orgs","repos_url":"https://api.github.com/users/Djiit/repos","events_url":"https://api.github.com/users/Djiit/events{/privacy}","received_events_url":"https://api.github.com/users/Djiit/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":7,"created_at":"2015-10-29T14:05:26Z","updated_at":"2015-11-02T21:10:00Z","closed_at":null,"body":"Hi, \r\n\r\nI can't start a fresh install of salt-minion on a RedHat 6.5.\r\n\r\nHere is the output of a --versions :\r\n```\r\nSalt Version:\r\n           Salt: 2015.8.1\r\n \r\nDependency Versions:\r\n         Jinja2: 2.2.1\r\n       M2Crypto: 0.20.2\r\n           Mako: 0.3.4\r\n         PyYAML: 3.10\r\n          PyZMQ: 2.2.0\r\n         Python: 2.6.6 (r266:84292, Sep  4 2013, 07:46:00)\r\n           RAET: Not Installed\r\n        Tornado: 4.2.1\r\n            ZMQ: 3.2.1\r\n           cffi: Not Installed\r\n       cherrypy: Not Installed\r\n       dateutil: 1.4.1\r\n          gitdb: Not Installed\r\n      gitpython: Not Installed\r\n          ioflo: Not Installed\r\n        libnacl: Not Installed\r\n   msgpack-pure: Not Installed\r\n msgpack-python: 0.4.6\r\n   mysql-python: Not Installed\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: Not Installed\r\n        timelib: Not Installed\r\n \r\nSystem Versions:\r\n           dist: redhat 6.5 Santiago\r\n        machine: x86_64\r\n        release: 2.6.32-431.el6.x86_64\r\n         system: Red Hat Enterprise Linux Server 6.5 Santiago\r\n```\r\n\r\nAnd here is the error I get :\r\n\r\n```\r\n2015-10-29 14:55:25,178 [tornado.application][ERROR   ][5132] Future exception was never retrieved: Traceback (most recent call last):\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 876, in run\r\n    yielded = self.gen.throw(*exc_info)\r\n  File \"/usr/lib/python2.6/site-packages/salt/crypt.py\", line 432, in _authenticate\r\n    creds = yield self.sign_in()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 870, in run\r\n    value = future.result()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/concurrent.py\", line 214, in result\r\n    raise_exc_info(self._exc_info)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 876, in run\r\n    yielded = self.gen.throw(*exc_info)\r\n  File \"/usr/lib/python2.6/site-packages/salt/crypt.py\", line 503, in sign_in\r\n    timeout=timeout\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 870, in run\r\n    value = future.result()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/concurrent.py\", line 214, in result\r\n    raise_exc_info(self._exc_info)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 876, in run\r\n    yielded = self.gen.throw(*exc_info)\r\n  File \"/usr/lib/python2.6/site-packages/salt/transport/zeromq.py\", line 218, in send\r\n    ret = yield self._uncrypted_transfer(load, tries=tries, timeout=timeout)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 870, in run\r\n    value = future.result()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/concurrent.py\", line 214, in result\r\n    raise_exc_info(self._exc_info)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 230, in wrapper\r\n    yielded = next(result)\r\n  File \"/usr/lib/python2.6/site-packages/salt/transport/zeromq.py\", line 209, in _uncrypted_transfer\r\n    ret = yield self.message_client.send(self._package_load(load), timeout=timeout)\r\n  File \"/usr/lib/python2.6/site-packages/salt/transport/zeromq.py\", line 833, in send\r\n    send_timeout = self.io_loop.call_later(timeout, self.timeout_message, message)\r\nAttributeError: 'IOLoop' object has no attribute 'call_later'\r\n2015-10-29 14:56:54,801 [salt.log.setup   ][ERROR   ][5230] An un-handled exception was caught by salt's global exception handler:\r\nAttributeError: 'IOLoop' object has no attribute 'make_current'\r\nTraceback (most recent call last):\r\n  File \"/usr/bin/salt-call\", line 11, in <module>\r\n    salt_call()\r\n  File \"/usr/lib/python2.6/site-packages/salt/scripts.py\", line 331, in salt_call\r\n    client.run()\r\n  File \"/usr/lib/python2.6/site-packages/salt/cli/call.py\", line 43, in run\r\n    caller = salt.cli.caller.Caller.factory(self.config)\r\n  File \"/usr/lib/python2.6/site-packages/salt/cli/caller.py\", line 78, in factory\r\n    return ZeroMQCaller(opts, **kwargs)\r\n  File \"/usr/lib/python2.6/site-packages/salt/cli/caller.py\", line 269, in __init__\r\n    super(ZeroMQCaller, self).__init__(opts)\r\n  File \"/usr/lib/python2.6/site-packages/salt/cli/caller.py\", line 101, in __init__\r\n    self.minion = salt.minion.SMinion(opts)\r\n  File \"/usr/lib/python2.6/site-packages/salt/minion.py\", line 518, in __init__\r\n    self.gen_modules(initial_load=True)\r\n  File \"/usr/lib/python2.6/site-packages/salt/minion.py\", line 529, in gen_modules\r\n    pillarenv=self.opts.get('pillarenv'),\r\n  File \"/usr/lib/python2.6/site-packages/salt/pillar/__init__.py\", line 52, in get_pillar\r\n    pillar=pillar, pillarenv=pillarenv)\r\n  File \"/usr/lib/python2.6/site-packages/salt/pillar/__init__.py\", line 140, in __init__\r\n    self.channel = salt.transport.Channel.factory(opts)\r\n  File \"/usr/lib/python2.6/site-packages/salt/transport/__init__.py\", line 29, in factory\r\n    return ReqChannel.factory(opts, **kwargs)\r\n  File \"/usr/lib/python2.6/site-packages/salt/transport/client.py\", line 22, in factory\r\n    sync = SyncWrapper(AsyncReqChannel.factory, (opts,), kwargs)\r\n  File \"/usr/lib/python2.6/site-packages/salt/utils/async.py\", line 58, in __init__\r\n    with current_ioloop(self.io_loop):\r\n  File \"/usr/lib64/python2.6/contextlib.py\", line 16, in __enter__\r\n    return self.gen.next()\r\n  File \"/usr/lib/python2.6/site-packages/salt/utils/async.py\", line 30, in current_ioloop\r\n    io_loop.make_current()\r\nAttributeError: 'IOLoop' object has no attribute 'make_current'\r\n\r\n```\r\n\r\nAny ideas on  what might be causing this ?\r\n\r\nThanks for your help."},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/153157422","html_url":"https://github.com/saltstack/salt/issues/28403#issuecomment-153157422","issue_url":"https://api.github.com/repos/saltstack/salt/issues/28403","id":153157422,"user":{"login":"syedaali","id":2194333,"avatar_url":"https://avatars.githubusercontent.com/u/2194333?v=3","gravatar_id":"","url":"https://api.github.com/users/syedaali","html_url":"https://github.com/syedaali","followers_url":"https://api.github.com/users/syedaali/followers","following_url":"https://api.github.com/users/syedaali/following{/other_user}","gists_url":"https://api.github.com/users/syedaali/gists{/gist_id}","starred_url":"https://api.github.com/users/syedaali/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/syedaali/subscriptions","organizations_url":"https://api.github.com/users/syedaali/orgs","repos_url":"https://api.github.com/users/syedaali/repos","events_url":"https://api.github.com/users/syedaali/events{/privacy}","received_events_url":"https://api.github.com/users/syedaali/received_events","type":"User","site_admin":false},"created_at":"2015-11-02T21:10:00Z","updated_at":"2015-11-02T21:10:00Z","body":"I terminated my AWS instance running salt-master, and created a new\ninstance. On the new instance I installed 2015.8.1 and it seems to work\nnow. Previously I was running 2015.5.3 and I upgraded to 2015.8.1, so I\nguess the upgrade process is broken. I even uninstalled 2015.5.3 and\ninstalled 2015.8.1, but that did not help. I had to start with a fresh\ninstallation of Ubuntu 14.04 and install only 2015.8.1 to get it to work.\n\nOn Mon, Nov 2, 2015 at 10:49 AM, martinrm77 <notifications@github.com>\nwrote:\n\n> Syedali: You have zeromq 4 so thats not your problem. It did fix the issue\n> on my RHEL/CentOS 6 installation after upgrading to 2015.8.1\n>\n> —\n> Reply to this email directly or view it on GitHub\n> <https://github.com/saltstack/salt/issues/28403#issuecomment-153122102>.\n>\n"}}