Ask Your Question
0

stack.sh script failed to run with quantum

asked 2012-03-21 19:20:50 -0600

neelugaddam gravatar image

I took the latest version of the devstack and created the localrc file as shown below:

HOST_IP=192.168.2.210 FLAT_INTERFACE=eth0 FIXED_RANGE=10.0.0.0/24 FIXED_NETWORK_SIZE=256 FLOATING_RANGE=10.0.1.128/28 MULTI_HOST=${MULTI_HOST:-True} MYSQL_PASSWORD=secret RABBIT_PASSWORD=secret SERVICE_TOKEN=secret SERVICE_PASSWORD=secret ADMIN_PASSWORD=secret LOGFILE=stack.sh.log ENABLED_SERVICES="$ENABLED_SERVICES,quantum,q-svc,q-agt" SWIFT_HASH=secret

When I run the stack.sh script, I am getting the following error.

  • cd /opt/stack/quantum
  • sudo python setup.py develop running develop Checking .pth file support in /usr/local/lib/python2.7/dist-packages/ /usr/bin/python -E -c pass TEST PASSED: /usr/local/lib/python2.7/dist-packages/ appears to support .pth files running egg_info creating quantum.egg-info writing requirements to quantum.egg-info/requires.txt writing quantum.egg-info/PKG-INFO writing eager_resources to quantum.egg-info/eager_resources.txt writing top-level names to quantum.egg-info/top_level.txt writing dependency_links to quantum.egg-info/dependency_links.txt writing entry points to quantum.egg-info/entry_points.txt writing manifest file 'quantum.egg-info/SOURCES.txt' reading manifest file 'quantum.egg-info/SOURCES.txt' reading manifest template 'MANIFEST.in' writing manifest file 'quantum.egg-info/SOURCES.txt' running build_ext Creating /usr/local/lib/python2.7/dist-packages/quantum.egg-link (link to .) quantum 2012.2 is already the active version in easy-install.pth Installing quantum-linuxbridge-agent script to /usr/local/bin Installing quantum-openvswitch-agent script to /usr/local/bin Installing quantum-ryu-agent script to /usr/local/bin Installing quantum-server script to /usr/local/bin

Installed /opt/stack/quantum Processing dependencies for quantum==2012.2 Searching for python-quantumclient Best match: python-quantumclient [unknown version] Downloading git+https://review.openstack.org/p/openstack/python-quantumclient#egg=python-quantumclient error: Download error for git+https://review.openstack.org/p/openstack/python-quantumclient: unknown url type: git+https ++ failed ++ local r=1 ++ set +o xtrace

Is there anything wrong in my configuration? Please help me to solve this problem.

edit retag flag offensive close merge delete

6 answers

Sort by ยป oldest newest most voted
0

answered 2012-03-22 13:04:33 -0600

hi

I am with the same problem. Help us , please.

edit flag offensive delete link more
0

answered 2012-03-23 17:29:34 -0600

shweta-ap05 gravatar image

Hi Jorge,

I dont know what the fix is but this was how i got around it.

Run the setup.py in python-quantumclient after the devstack failure In /opt/stack/python-quantumclient python setup.py develop Then run devstack again. It worked for me.

edit flag offensive delete link more
0

answered 2012-03-23 17:43:24 -0600

The problem is because of an issue in the packaging for quantum. We changed from using pip to install the python-quantumclient dependency in quantum to using the CI-based install. I believe someone is currently looking into this.

In the meantime, the workaround I use is to manually install the quantum dependencies:

cd /opt/stack/quantum pip install -r tools/pip-requires

(Actually, I add the line above into the stack.sh script in the appropriate place.)

edit flag offensive delete link more
0

answered 2012-03-23 18:07:50 -0600

Thanks for solving it guys !

edit flag offensive delete link more
0

answered 2012-03-24 03:26:20 -0600

neelugaddam gravatar image

Thanks for the solution.

edit flag offensive delete link more
0

answered 2012-03-27 03:19:12 -0600

neelugaddam gravatar image

Thanks David Lapsley, that solved my question.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

1 follower

Stats

Asked: 2012-03-21 19:20:50 -0600

Seen: 45 times

Last updated: Mar 27 '12