Jump to: navigation, search

Difference between revisions of "NeutronDevstack"

Line 14: Line 14:
 
Then run stack.sh as normal.
 
Then run stack.sh as normal.
  
'''Note''': Currently, Quantum devstack only works on a single nodeWe will be fixing this very soon.
+
We have a review for running Quantum on multiple nodes: https://review.openstack.org/#/c/7001/
 +
 
 +
You should run at least one "controller node", which includes at least:
 +
 
 +
 
 +
<pre><nowiki>
 +
ENABLED_SERVICES="quantum,q-svc"
 +
Q_PLUGIN=openvswitch
 +
</nowiki></pre>
 +
 
 +
 
 +
You can then run many compute nodes, which include:
 +
 
 +
 
 +
<pre><nowiki>
 +
ENABLED_SERVICES="quantum,q-agt,n-cpu,g-api"
 +
Q_PLUGIN=openvswitch
 +
</nowiki></pre>
 +
 
 +
 
 +
'''Note:''' the need to include 'g-api' here seems to be a bugWithout it, nova-compute dies because it can't import the glance.common library.  
  
 
To enable melange in devstack add "melange" and "m-svc" to the ENABLED_SERVICES (melange requires quantum to be enabled as well).
 
To enable melange in devstack add "melange" and "m-svc" to the ENABLED_SERVICES (melange requires quantum to be enabled as well).

Revision as of 04:09, 2 May 2012

In order to use Quantum with devstack (http://devstack.org) you'll need to add "quantum" and "q-svc" to ENABLED_SERVICES in your localrc. See this page for more details on localrc settings: http://devstack.org/stack.sh.html.

If you want to enable the openvswitch plugin, you'll have to set Q_PLUGIN to "openvswitch" and also add "q-agt" to ENABLED_SERVICES in order to start the openvswitch quantum agent (also in your localrc).

For example:

ENABLED_SERVICES="g-api,g-reg,key,n-api,n-cpu,n-net,n-sch,n-vnc,horizon,mysql,rabbit,openstackx,q-svc,quantum,q-agt"
Q_PLUGIN=openvswitch


Then run stack.sh as normal.

We have a review for running Quantum on multiple nodes: https://review.openstack.org/#/c/7001/

You should run at least one "controller node", which includes at least:


ENABLED_SERVICES="quantum,q-svc"
Q_PLUGIN=openvswitch


You can then run many compute nodes, which include:


ENABLED_SERVICES="quantum,q-agt,n-cpu,g-api"
Q_PLUGIN=openvswitch


Note: the need to include 'g-api' here seems to be a bug. Without it, nova-compute dies because it can't import the glance.common library.

To enable melange in devstack add "melange" and "m-svc" to the ENABLED_SERVICES (melange requires quantum to be enabled as well).

For example:

ENABLED_SERVICES=g-api,g-reg,key,n-api,n-cpu,n-net,n-sch,n-novnc,n-xvnc,n-cauth,horizon,mysql,rabbit,openstackx,q-svc,q-agt,m-svc,quantum,melange