{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/27964","labels_url":"https://api.github.com/repos/saltstack/salt/issues/27964/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/27964/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/27964/events","html_url":"https://github.com/saltstack/salt/issues/27964","id":111514386,"number":27964,"title":"local minion to master fails to start with file_client: local","user":{"login":"rterbush","id":526416,"avatar_url":"https://avatars.githubusercontent.com/u/526416?v=3","gravatar_id":"","url":"https://api.github.com/users/rterbush","html_url":"https://github.com/rterbush","followers_url":"https://api.github.com/users/rterbush/followers","following_url":"https://api.github.com/users/rterbush/following{/other_user}","gists_url":"https://api.github.com/users/rterbush/gists{/gist_id}","starred_url":"https://api.github.com/users/rterbush/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rterbush/subscriptions","organizations_url":"https://api.github.com/users/rterbush/orgs","repos_url":"https://api.github.com/users/rterbush/repos","events_url":"https://api.github.com/users/rterbush/events{/privacy}","received_events_url":"https://api.github.com/users/rterbush/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-10-14T23:21:31Z","updated_at":"2015-10-15T17:32:59Z","closed_at":null,"body":"If you configure the minion that is running on master to attempt to use local filesystem for file_roots:, the minion will fail to start after trying for some period of time to authenticate.\r\n\r\n```\r\n[INFO    ] Sleeping random_reauth_delay of 5 seconds\r\nDEBUG:salt.utils.parsers:SYSPATHS setup as: /etc/salt\r\n[DEBUG   ] Reading configuration from /srv/etc/minion\r\n[DEBUG   ] Including configuration from '/srv/etc/minion.d/_schedule.conf'\r\n[DEBUG   ] Reading configuration from /srv/etc/minion.d/_schedule.conf\r\n[DEBUG   ] Configuration file path: /srv/etc/minion\r\n[INFO    ] Setting up the Salt Minion \"master-minion.staging.uswest2.lhn\"\r\n[DEBUG   ] Created pidfile: /var/run/salt-minion.pid\r\n[DEBUG   ] Reading configuration from /srv/etc/minion\r\n[DEBUG   ] Including configuration from '/srv/etc/minion.d/_schedule.conf'\r\n[DEBUG   ] Reading configuration from /srv/etc/minion.d/_schedule.conf\r\n[INFO    ] The salt minion is starting up\r\n[INFO    ] Minion is starting as user 'root'\r\n[DEBUG   ] AsyncEventPublisher PUB socket URI: ipc:///var/run/salt/minion/minion_event_186c633cb3_pub.ipc\r\n[DEBUG   ] AsyncEventPublisher PULL socket URI: ipc:///var/run/salt/minion/minion_event_186c633cb3_pull.ipc\r\n[INFO    ] Starting pub socket on ipc:///var/run/salt/minion/minion_event_186c633cb3_pub.ipc\r\n[INFO    ] Starting pull socket on ipc:///var/run/salt/minion/minion_event_186c633cb3_pull.ipc\r\n[DEBUG   ] Minion 'master-minion trying to tune in\r\n[DEBUG   ] sync_connect_master\r\n[DEBUG   ] Initializing new SAuth for ('/srv/etc/pki/minion', 'master-minion', 'tcp://127.0.0.1:4506')\r\n[DEBUG   ] Generated random reconnect delay between '1000ms' and '11000ms' (5956)\r\n[DEBUG   ] Setting zmq_reconnect_ivl to '5956ms'\r\n[DEBUG   ] Setting zmq_reconnect_ivl_max to '11000ms'\r\n[DEBUG   ] Initializing new AsyncZeroMQReqChannel for ('/srv/etc/pki/minion', 'master-minion', 'tcp://127.0.0.1:4506', 'clear')\r\n[DEBUG   ] Error deleting fd from IOLoop\r\nTraceback (most recent call last):\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/ioloop.py\", line 690, in remove_handler\r\n    self._impl.unregister(fd)\r\n  File \"/usr/lib64/python2.6/site-packages/zmq/eventloop/ioloop.py\", line 115, in unregister\r\n    return self._poller.unregister(fd)\r\n  File \"/usr/lib64/python2.6/site-packages/zmq/sugar/poll.py\", line 71, in unregister\r\n    idx = self._map.pop(socket)\r\nKeyError: None\r\n[INFO    ] The salt minion is shut down\r\n[ERROR   ] Minion failed to start:\r\nTraceback (most recent call last):\r\n  File \"/usr/lib/python2.6/dist-packages/salt/scripts.py\", line 81, in minion_process\r\n    minion.start()\r\n  File \"/usr/lib/python2.6/dist-packages/salt/cli/daemons.py\", line 272, in start\r\n    self.minion.tune_in()\r\n  File \"/usr/lib/python2.6/dist-packages/salt/minion.py\", line 1596, in tune_in\r\n    self.sync_connect_master()\r\n  File \"/usr/lib/python2.6/dist-packages/salt/minion.py\", line 724, in sync_connect_master\r\n    raise six.reraise(*future_exception)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 810, in run\r\n    yielded = self.gen.throw(*sys.exc_info())\r\n  File \"/usr/lib/python2.6/dist-packages/salt/minion.py\", line 731, in connect_master\r\n    master, self.pub_channel = yield self.eval_master(self.opts, self.timeout, self.safe)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 807, in run\r\n    value = future.result()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/concurrent.py\", line 208, in result\r\n    raise_exc_info(self._exc_info)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 810, in run\r\n    yielded = self.gen.throw(*sys.exc_info())\r\n  File \"/usr/lib/python2.6/dist-packages/salt/minion.py\", line 495, in eval_master\r\n    yield pub_channel.connect()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 807, in run\r\n    value = future.result()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/concurrent.py\", line 208, in result\r\n    raise_exc_info(self._exc_info)\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 810, in run\r\n    yielded = self.gen.throw(*sys.exc_info())\r\n  File \"/usr/lib/python2.6/dist-packages/salt/transport/zeromq.py\", line 324, in connect\r\n    yield self.auth.authenticate()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/gen.py\", line 807, in run\r\n    value = future.result()\r\n  File \"/usr/lib64/python2.6/site-packages/tornado/concurrent.py\", line 208, in result\r\n    raise_exc_info(self._exc_info)\r\n  File \"<string>\", line 3, in raise_exc_info\r\nSaltClientError: Attempt to authenticate with the salt master failed\r\n[WARNING ] ** Restarting minion **\r\n```\r\n\r\nversion info:\r\n```\r\n[root@manage etc]# salt --versions\r\nSalt Version:\r\n           Salt: 2015.8.0\r\n\r\nDependency Versions:\r\n         Jinja2: 2.7.2\r\n       M2Crypto: 0.21.1\r\n           Mako: Not Installed\r\n         PyYAML: 3.10\r\n          PyZMQ: 14.3.1\r\n         Python: 2.6.9 (unknown, Apr  1 2015, 18:16:00)\r\n           RAET: Not Installed\r\n        Tornado: 4.1\r\n            ZMQ: 3.2.5\r\n           cffi: Not Installed\r\n       cherrypy: Not Installed\r\n       dateutil: Not Installed\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:\r\n        machine: x86_64\r\n        release: 3.14.48-33.39.amzn1.x86_64\r\n```\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/148467126","html_url":"https://github.com/saltstack/salt/issues/27964#issuecomment-148467126","issue_url":"https://api.github.com/repos/saltstack/salt/issues/27964","id":148467126,"user":{"login":"cachedout","id":111616,"avatar_url":"https://avatars.githubusercontent.com/u/111616?v=3","gravatar_id":"","url":"https://api.github.com/users/cachedout","html_url":"https://github.com/cachedout","followers_url":"https://api.github.com/users/cachedout/followers","following_url":"https://api.github.com/users/cachedout/following{/other_user}","gists_url":"https://api.github.com/users/cachedout/gists{/gist_id}","starred_url":"https://api.github.com/users/cachedout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/cachedout/subscriptions","organizations_url":"https://api.github.com/users/cachedout/orgs","repos_url":"https://api.github.com/users/cachedout/repos","events_url":"https://api.github.com/users/cachedout/events{/privacy}","received_events_url":"https://api.github.com/users/cachedout/received_events","type":"User","site_admin":false},"created_at":"2015-10-15T17:32:59Z","updated_at":"2015-10-15T17:32:59Z","body":"@rterbush Did you by chance mean `file_client`? If not, could you please clarify a little bit more about your setup, including the configuration in question. "}}