Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

the package Python-daemon was installed,

[root@cloud nova-2010.1]# easy_install-2.6 python-daemon Searching for python-daemon Best match: python-daemon 1.5.5 Processing python_daemon-1.5.5-py2.6.egg python-daemon 1.5.5 is already the active version in easy-install.pth

Using /usr/lib/python2.6/site-packages/python_daemon-1.5.5-py2.6.egg Processing dependencies for python-daemon Finished processing dependencies for python-daemon

But I tried to upgrade with:

[root@cloud nova-2010.1]# easy_install-2.6 -U python-daemon Searching for python-daemon Reading http://pypi.python.org/simple/python-daemon/ Best match: python-daemon 1.6 Downloading http://pypi.python.org/packages/source/p/python-daemon/python-daemon-1.6.tar.gz#md5=c774eda27d6c5d80b42037826d29e523 Processing python-daemon-1.6.tar.gz Running python-daemon-1.6/setup.py -q bdist_egg --dist-dir /tmp/easy_install-yByCjD/python-daemon-1.6/egg-dist-tmp-xjxsYW Removing python-daemon 1.5.5 from easy-install.pth file Adding python-daemon 1.6 to easy-install.pth file

Installed /usr/lib/python2.6/site-packages/python_daemon-1.6-py2.6.egg Processing dependencies for python-daemon Finished processing dependencies for python-daemon

I exec again:

[root@cloud nova-2010.1]# nova-api "$NOVA_DIR/bin/nova-api --flagfile=/etc/nova/nova-manage.conf" start Traceback (most recent call last): File "/usr/bin/nova-api", line 5, in <module> pkg_resources.run_script('nova==2010.1', 'nova-api') File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 461, in run_script self.require(requires)[0].run_script(script_name, ns) File "/usr/lib/python2.6/site-packages/pkg_resources.py", line 1194, in run_script execfile(script_filename, namespace, namespace) File "/usr/lib/python2.6/site-packages/nova-2010.1-py2.6.egg/EGG-INFO/scripts/nova-api", line 37, in <module> from nova import server File "/usr/lib/python2.6/site-packages/nova-2010.1-py2.6.egg/nova/server.py", line 24, in <module> from daemon import pidlockfile ImportError: cannot import name pidlockfile

and the error continues. Some idea?