[Openstack] Problems with run_tests.sh on 11.10

Soren Hansen soren at linux2go.dk
Mon Jan 2 11:50:38 UTC 2012


2011/12/30 John Griffith <john.griffith at solidfire.com>:
> Oops, sorry about that.  Forgot to check it in the venv, which reveals the
> issue:
>
>  % tools/with_venv.sh
> jdg at grumpy ~/Projects/OpenStack/nova
>  % python
> Python 2.7.2+ (default, Oct  4 2011, 20:06:09)
> [GCC 4.6.1] on linux2
> Type "help", "copyright", "credits" or "license" for more information.
>>>> import M2Crypto
> Traceback (most recent call last):
>   File "<stdin>", line 1, in <module>
>   File "/usr/local/lib/python2.7/dist-packages/M2Crypto/__init__.py", line
> 22, in <module>
>     import __m2crypto
> ImportError: /usr/local/lib/python2.7/dist-packages/M2Crypto/__m2crypto.so:
> undefined symbol: SSLv2_method
>>>>

Ah, yes. That's because M2Crypto hasn't kept up wit the removal of
SSLv2 from OpenSSL.

It's fixed in the Ubuntu packages, so if you remove the M2Crypto line
from pip-requires and put this instead:

-e bzr+http://bazaar.launchpad.net/~ubuntu-branches/ubuntu/precise/m2crypto/precise/#egg=M2Crypto

You should be fine. (Yes, the line in pip-requires should start with
"-e")

-- 
Soren Hansen        | http://linux2go.dk/
Ubuntu Developer    | http://www.ubuntu.com/
OpenStack Developer | http://www.openstack.org/




More information about the Openstack mailing list