Getting started with Quantum Development

Asked by Deepak Garg

HI All,

I have installed Quantum in my Ubuntu 11.10 64 bit maching with the help of QuantumDevstack wiki. I ran the unit tests and it was all fine.
Then I had invoked the command $ quantum-server but landed with an error " No module named server". Then I found that I was using python2.7, so I switched to python2.6 and again invoked the above command.
The error I got was:
---------------------------------------------
Traceback (most recent call last):
  File "/usr/local/bin/quantum-server", line 5, in <module>
    from pkg_resources import load_entry_point
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 2672, in <module>
    working_set.require(__requires__)
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 654, in require
    needed = self.resolve(parse_requirements(requirements))
  File "/usr/lib/python2.6/dist-packages/pkg_resources.py", line 552, in resolve
    raise DistributionNotFound(req)
pkg_resources.DistributionNotFound: quantum==2012.1dev
---------------------------------------------------
I get the same error on invoking 'quantum' command.

I then tried to restart the service but there was no script called 'quantum-server' in /etc/init.d which I couldn't understand why.
I think I am missing something major here.

Please help me and let me know if anyone needs more details about the configuration.

I am looking forward to participating in development of Quantum project. I have six months experience using Openstack and have worked mostly in nova-network. Please let me know if there are some bugs/test_cases/blue_prints I can start with. I have read the first 2 chapters from Admin guide and wanted to try out some apis before moving ahead.

Thanks,
Deepak

Question information

Language:
English Edit question
Status:
Expired
For:
neutron Edit question
Assignee:
No assignee Edit question
Last query:
Last reply:
Revision history for this message
Deepak Garg (deepak.garg) said :
#1

The above error is resolved.
Details :

sudo apt-get install python-pip libxslt python-setuptools python-lxml python-virtualenv
tar xzf quantum*.tar.gz
cd quantum*
sudo pip install -r tools/pip-requires
for x in client server common; do python setup_${x}.py build; done
sudo python setup.py install

from
https://answers.launchpad.net/quantum/+question/183789

Revision history for this message
Launchpad Janitor (janitor) said :
#2

This question was expired because it remained in the 'Open' state without activity for the last 15 days.