{"action":"created","issue":{"url":"https://api.github.com/repos/saltstack/salt/issues/24712","labels_url":"https://api.github.com/repos/saltstack/salt/issues/24712/labels{/name}","comments_url":"https://api.github.com/repos/saltstack/salt/issues/24712/comments","events_url":"https://api.github.com/repos/saltstack/salt/issues/24712/events","html_url":"https://github.com/saltstack/salt/issues/24712","id":88782478,"number":24712,"title":"zeromq not working with ipv6 in newest zmq release","user":{"login":"gtmanfred","id":732321,"avatar_url":"https://avatars.githubusercontent.com/u/732321?v=3","gravatar_id":"","url":"https://api.github.com/users/gtmanfred","html_url":"https://github.com/gtmanfred","followers_url":"https://api.github.com/users/gtmanfred/followers","following_url":"https://api.github.com/users/gtmanfred/following{/other_user}","gists_url":"https://api.github.com/users/gtmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gtmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtmanfred/subscriptions","organizations_url":"https://api.github.com/users/gtmanfred/orgs","repos_url":"https://api.github.com/users/gtmanfred/repos","events_url":"https://api.github.com/users/gtmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/gtmanfred/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2015-06-16T16:56:58Z","updated_at":"2015-06-16T17:22:08Z","closed_at":null,"body":"Hey all,\r\n\r\nCan someone take a look at this?\r\n\r\nhttps://bugs.archlinux.org/task/45345\r\n```\r\nI started to report on this in https://bugs.archlinux.org/task/45316 but it seems that these are two separate issues, hence the new report.\r\n\r\nAfter upgrading zeromq (4.0.5-1 -> 4.1.1-1) and python2-pyzmq (14.6.0-1 -> 14.6.0-2) salt-zmq does not work anymore. The client gets stuck in an infinite loop with the uninformative error message »invalid argument«. Downgrading both packages makes the same setup work again instantly.\r\n\r\nI've tried with the just-released zeromq 4.1.2-1 and python2-pyzmq 14.6.0-3, but no dice.\r\n\r\nI've narrowed it down to the problem only occurring if IPv6 support is enabled and used. Otherwise salt-zmq seems to work just fine.\r\n\r\nHere's a minimal test case which I've just verified produces the problem:\r\n\r\n1. pacstrap a minimal installation, e.g. »mkdir ~/tmp/salt-zeromq-test && pacstrap -c -d ~/tmp/salt-zeromq-test base«\r\n2. set a password for root in side the container\r\n3. start a container with that installation: »systemd-nspawn -bD ~/tmp/salt-zeromq-test«\r\n4. Login in as root\r\n5. Install salt-zmq, don't start salt just yet\r\n6. make sure »localhost« resolves to both IPv4 and IPv6 addresses\r\n7. configure salt-master to use IPv6, e.g. create /etc/salt/master.d/test.conf with the following content:\r\n\r\nipv6: true\r\nlisten: \"::\"\r\n\r\n8. Start salt-master\r\n9. configure salt-minion to use »localhost« as the master, but no IPv6 yet, e.g. create /etc/salt/minion.d/test.conf with the following content:\r\n\r\nmaster: localhost\r\n\r\n10. Start the minion; accept the minion's key with »salt-key -A«\r\n11. Stop the minion and configure it to use IPv6 by adjusting the content of /etc/salt/minion.d/test.conf to the following content:\r\n\r\nmaster: localhost\r\nipv6: true\r\n\r\n12. start the minion and observe the aforementioned »invalid argument« message\r\n\r\nIf you want to verify that the downgrade fixes things: stop the master and the minion, downgrade zeromq to 4.0.5-x and python2-pyzmq to 14.6.0-1, start the master, start the minion.\r\n```\r\nIs this something that can be fixed in salt, or does it need to go to zmq?\r\n\r\nThanks!\r\nDaniel"},"comment":{"url":"https://api.github.com/repos/saltstack/salt/issues/comments/112503515","html_url":"https://github.com/saltstack/salt/issues/24712#issuecomment-112503515","issue_url":"https://api.github.com/repos/saltstack/salt/issues/24712","id":112503515,"user":{"login":"gtmanfred","id":732321,"avatar_url":"https://avatars.githubusercontent.com/u/732321?v=3","gravatar_id":"","url":"https://api.github.com/users/gtmanfred","html_url":"https://github.com/gtmanfred","followers_url":"https://api.github.com/users/gtmanfred/followers","following_url":"https://api.github.com/users/gtmanfred/following{/other_user}","gists_url":"https://api.github.com/users/gtmanfred/gists{/gist_id}","starred_url":"https://api.github.com/users/gtmanfred/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gtmanfred/subscriptions","organizations_url":"https://api.github.com/users/gtmanfred/orgs","repos_url":"https://api.github.com/users/gtmanfred/repos","events_url":"https://api.github.com/users/gtmanfred/events{/privacy}","received_events_url":"https://api.github.com/users/gtmanfred/received_events","type":"User","site_admin":false},"created_at":"2015-06-16T17:22:08Z","updated_at":"2015-06-16T17:22:08Z","body":"It looks like this issue might still be a problem even with 4.1.2 working for what was broken in that one.\r\n\r\nI asked that the reporter check again.\r\n\r\n"}}