There is the problem. You need python-zmq 2.1.10
--
Jeff Schroeder
Don't drink and derive, alcohol and analysis don't mix.
http://www.digitalprognosis.com
sudo su
echo "deb http://backports.debian.org/debian-backports squeeze-backports main" >/etc/apt/sources.list.d/backports.list
apt-get update
apt-get install libzmq1 python-crypto python-m2crypto python-yaml python-pip
apt-get install build-essential python-dev libzmq-dev
pip install pyzmq
pip install saltI did get the same error when pip-installing pyzmq from PyPI. I'll have to try once more and make sure the version installed and used was in fact 2.1.10 in that case.
I did get the same error when pip-installing pyzmq from PyPI. I'll have to try once more and make sure the version installed and used was in fact 2.1.10 in that case.
Just for kicks, can you do this and re-run these tests:
sudo python
As you are running salt as root and you might have a different
PYTHONPATH or something set. Also, could you paste the output of "env
| grep PYTHON" as a normal and root user to this email or a pastebin
somewhere just to verify your env looks ok.
>>>> import salt
>
> Traceback (most recent call last):
> File "<stdin>", line 1, in <module>
> ImportError: No module named salt
>
> I then did a sudo pip install pyzmq==2.1.10, and saw it compile and install
> the 2.1.10 version of the C extension.
Can you import the zmq module and print the version of it along with
zmq.__file__ to make sure you are indeed using the right version?
> A sudo pip install salt downloaded and installed Salt 0.9.4.
>
> sudo salt-master still throws the exception I pasted earlier.
> So apparently it's impossible to get a compatible combination of libzmq,
> pyzmq and Salt installed on Debian Wheezy at this point using only Debian
> and PyPI packages currently available?
Can you try installing salt from git for kicks please?
$ pip install git+git://github.com/saltstack/salt.git@develop
You might find better luck doing this as a non-root user using a
virtualenv for testing.
>>>> import zmq
> ImportError: No module named zmqJust for kicks, can you do this and re-run these tests:
sudo python
Also, could you paste the output of "env | grep PYTHON" as a normal and root user
Can you try installing salt from git for kicks please?
$ pip install git+git://github.com/saltstack/salt.git@develop
You might find better luck doing this as a non-root user using a
virtualenv for testing.
I did an apt-get upgrade and a reboot on my Wheezy virtual machine since it was way out of date. I'm pinning the kernel and udev to older versions though because of Xen issues, but I can't imagine that could be the reason for this issue.
Unfortunately upgrading didn't solve the "Invalid argument" issue either. This is indeed strange if your Wheezy box works correctly. Are all its packages up-to-date as well?
How did you install zeromq again?