Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

quantum essex milestone-3 install procedure (fail)

Hi, we are trying to install quantum server and python quantum client.

We downloaded : python-quantumclient-2012.1~e3.tar.gz and quantum-2012.1~e3.tar.gz.

Installed both , and after installation, when we executed quantum-server we received :

root@ism16vms:~# quantum-server Traceback (most recent call last): File "/usr/local/bin/quantum-server", line 9, in <module> load_entry_point('quantum==2012.1', 'console_scripts', 'quantum-server')() File "/usr/local/lib/python2.6/dist-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.6/dist-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/local/lib/python2.6/dist-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) File "/usr/local/lib/python2.6/dist-packages/quantum-2012.1-py2.6.egg/quantum/server/__init__.py", line 36, in <module> from quantum import service File "/usr/local/lib/python2.6/dist-packages/quantum-2012.1-py2.6.egg/quantum/service.py", line 19, in <module> from quantum.common import config ImportError: No module named common

And when we executed quantum, we had :

root@ism16vms:~# quantum Traceback (most recent call last): File "/usr/local/bin/quantum", line 9, in <module> load_entry_point('python-quantumclient==2012.1', 'console_scripts', 'quantum')() File "/usr/local/lib/python2.6/dist-packages/pkg_resources.py", line 337, in load_entry_point return get_distribution(dist).load_entry_point(group, name) File "/usr/local/lib/python2.6/dist-packages/pkg_resources.py", line 2279, in load_entry_point return ep.load() File "/usr/local/lib/python2.6/dist-packages/pkg_resources.py", line 1989, in load entry = __import__(self.module_name, globals(),globals(), ['__name__']) ImportError: No module named client.cli

So, after linking "/usr/local/lib/python2.6/dist-packages/python_quantumclient-2012.1-py2.6.egg/quantum/common" and "/usr/local/lib/python2.6/dist-packages/python_quantumclient-2012.1-py2.6.egg/quantum/client" to "/usr/local/lib/python2.6/dist-packages/quantum-2012.1-py2.6.egg/quantum" quantum-server worked.

So, did we install wrong both python-quantumclient and quantum that we needed to make this links to make it work ?