{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/23854","labels_url":"https://api.github.com/repos/saltstack/salt/issues/23854/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/23854/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/23854/events","html_url":"https://github.com/saltstack/salt/issues/23854","id":77659930,"number":23854,"title":"Vagrant Windows - ZMQError (Protocol no supported)","user":{"login":"obestwalter","id":263007,"avatar_url":"https://avatars.githubusercontent.com/u/263007?v=3","gravatar_id":"","url":"https://api.github.com/users/obestwalter","html_url":"https://github.com/obestwalter","followers_url":"https://api.github.com/users/obestwalter/followers","following_url":"https://api.github.com/users/obestwalter/following{/other_user}","gists_url":"https://api.github.com/users/obestwalter/gists{/gist_id}","starred_url":"https://api.github.com/users/obestwalter/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/obestwalter/subscriptions","organizations_url":"https://api.github.com/users/obestwalter/orgs","repos_url":"https://api.github.com/users/obestwalter/repos","events_url":"https://api.github.com/users/obestwalter/events{/privacy}","received_events_url":"https://api.github.com/users/obestwalter/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/High%20Severity","name":"High Severity","color":"ff9143"},{"url":"https://api.github.com/repos/saltstack/salt/labels/P1","name":"P1","color":"2181ee"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Platform%20Mgmt","name":"Platform Mgmt","color":"006b75"},{"url":"https://api.github.com/repos/saltstack/salt/labels/Windows","name":"Windows","color":"006b75"}],"state":"open","locked":false,"assignee":{"login":"twangboy","id":9383935,"avatar_url":"https://avatars.githubusercontent.com/u/9383935?v=3","gravatar_id":"","url":"https://api.github.com/users/twangboy","html_url":"https://github.com/twangboy","followers_url":"https://api.github.com/users/twangboy/followers","following_url":"https://api.github.com/users/twangboy/following{/other_user}","gists_url":"https://api.github.com/users/twangboy/gists{/gist_id}","starred_url":"https://api.github.com/users/twangboy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/twangboy/subscriptions","organizations_url":"https://api.github.com/users/twangboy/orgs","repos_url":"https://api.github.com/users/twangboy/repos","events_url":"https://api.github.com/users/twangboy/events{/privacy}","received_events_url":"https://api.github.com/users/twangboy/received_events","type":"User","site_admin":false},"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":2369,"closed_issues":2147,"state":"open","created_at":"2011-05-14T04:00:56Z","updated_at":"2015-06-15T15:07:13Z","due_on":null,"closed_at":null},"comments":9,"created_at":"2015-05-18T13:39:17Z","updated_at":"2015-06-16T12:43:09Z","closed_at":null,"body":"As running the minion masterless atm is broken due to #22796 I am now trying to get a setup to work where vagrant pulls up a saltmaster in a private network that the minion connects to. Everything looks nice. The key is accepted and when the minion starts up, it does not hang at minion PULL, but shortly after crashes with:\r\n\r\ncalling ``salt-minion -l debug`` in the windows guest yields\r\n\r\n    [ERROR   ] Failed to persist the updated schedule\r\n    [DEBUG   ] I am win.srv.tt.avira.com and I am not supposed to start any proxies. (Likely not a problem)\r\n    [INFO    ] The salt minion is starting up\r\n    [INFO    ] Minion is starting as user 'vagrant'\r\n    [DEBUG   ] Minion 'win.srv.tt.avira.com' trying to tune in\r\n    [DEBUG   ] Minion PUB socket URI: ipc://c:\\salt\\var\\run\\salt\\minion\\minion_event_d8cd8f4805_pub.ipc\r\n    [DEBUG   ] Minion PULL socket URI: ipc://c:\\salt\\var\\run\\salt\\minion\\minion_event_d8cd8f4805_pull.ipc\r\n    [INFO    ] Starting pub socket on ipc://c:\\salt\\var\\run\\salt\\minion\\minion_event_d8cd8f4805_pub.ipc\r\n    [INFO    ] The salt minion is shut down\r\n    [ERROR   ] An un-handled exception was caught by salt's global exception handler:\r\n    ZMQError: Protocol not supported\r\n    Traceback (most recent call last):\r\n      File \"C:\\salt\\bin\\Scripts\\salt-minion\", line 14, in <module>\r\n        salt_minion()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\scripts.py\", line 116, in salt_minion\r\n        minion.start()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\cli\\daemons.py\", line 267, in start\r\n        self.minion.tune_in()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\minion.py\", line 1796, in tune_in\r\n        self._prepare_minion_event_system()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\minion.py\", line 438, in _prepare_minion_event_system\r\n        self.epub_sock.bind(epub_uri)\r\n      File \"zmq/backend/cython/socket.pyx\", line 451, in zmq.backend.cython.socket.Socket.bind (zmq\\backend\\cython\\socket.c:4102)\r\n      File \"zmq/backend/cython/checkrc.pxd\", line 21, in zmq.backend.cython.checkrc._check_rc (zmq\\backend\\cython\\socket.c:6261)\r\n        raise ZMQError(errno)\r\n    ZMQError: Protocol not supported\r\n    Traceback (most recent call last):\r\n      File \"C:\\salt\\bin\\Scripts\\salt-minion\", line 14, in <module>\r\n        salt_minion()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\scripts.py\", line 116, in salt_minion\r\n        minion.start()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\cli\\daemons.py\", line 267, in start\r\n        self.minion.tune_in()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\minion.py\", line 1796, in tune_in\r\n        self._prepare_minion_event_system()\r\n      File \"C:\\salt\\bin\\lib\\site-packages\\salt\\minion.py\", line 438, in _prepare_minion_event_system\r\n        self.epub_sock.bind(epub_uri)\r\n      File \"zmq/backend/cython/socket.pyx\", line 451, in zmq.backend.cython.socket.Socket.bind (zmq\\backend\\cython\\socket.c:4102)\r\n      File \"zmq/backend/cython/checkrc.pxd\", line 21, in zmq.backend.cython.checkrc._check_rc (zmq\\backend\\cython\\socket.c:6261)\r\n        raise ZMQError(errno)\r\n    zmq.error.ZMQError: Protocol not supported\r\n    \r\nC:\\Users\\vagrant>salt-minion --versions-report\r\n\r\n               Salt: 2015.5.0\r\n             Python: 2.7.8 (default, Jun 30 2014, 16:08:48) [MSC v.1500 64 bit (AMD64)]\r\n             Jinja2: 2.7.3\r\n           M2Crypto: 0.21.1\r\n     msgpack-python: 0.4.5\r\n       msgpack-pure: Not Installed\r\n           pycrypto: 2.6\r\n            libnacl: Not Installed\r\n             PyYAML: 3.11\r\n              ioflo: Not Installed\r\n              PyZMQ: 14.6.0\r\n               RAET: Not Installed\r\n                ZMQ: 4.0.5\r\n               Mako: Not Installed\r\n"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/112411332","html_url":"https://github.com/saltstack/salt/issues/23854#issuecomment-112411332","issue_url":"https://api.github.com/repos/saltstack/salt/issues/23854","id":112411332,"user":{"login":"lorengordon","id":8457307,"avatar_url":"https://avatars.githubusercontent.com/u/8457307?v=3","gravatar_id":"","url":"https://api.github.com/users/lorengordon","html_url":"https://github.com/lorengordon","followers_url":"https://api.github.com/users/lorengordon/followers","following_url":"https://api.github.com/users/lorengordon/following{/other_user}","gists_url":"https://api.github.com/users/lorengordon/gists{/gist_id}","starred_url":"https://api.github.com/users/lorengordon/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lorengordon/subscriptions","organizations_url":"https://api.github.com/users/lorengordon/orgs","repos_url":"https://api.github.com/users/lorengordon/repos","events_url":"https://api.github.com/users/lorengordon/events{/privacy}","received_events_url":"https://api.github.com/users/lorengordon/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T12:43:09Z","updated_at":"2015-06-16T12:43:09Z","body":"Yeah, my finding was that almost all the Windows-specific settings in the Windows-specific `minion` file are already configured as a default by some platform-specific logic in the code. The only setting missing is `multiprocessing: false`."}}