From 24b5f206d9c7e26bd1bc514959c3eb2cec13d66e Mon Sep 17 00:00:00 2001 From: Miguel Lavalle Date: Sat, 25 Apr 2015 16:28:43 -0500 Subject: [PATCH] Update README to use Quark in devstack This commit updates the instructions in the README.rst file to setup Quark to work in a devstack environment --- README.rst | 26 +++++++++++++++++++------- 1 file changed, 19 insertions(+), 7 deletions(-) diff --git a/README.rst b/README.rst index 19a7ec9..4cd05d9 100644 --- a/README.rst +++ b/README.rst @@ -70,6 +70,12 @@ Install with DevStack and Neutron # Tempest ENABLED_SERVICES+=,tempest +- Remove Python's six packge:: + + sudo rm -f /usr/lib/python2.7/dist-packages/six.py /usr/lib/python2.7/dist-packages/six.pyc + # Old version of six package in /usr/lib/python2.7/dist-packages/ crashes + # quark server + - Install Devstack:: ./stack.sh @@ -93,21 +99,27 @@ Install with DevStack and Neutron # should see something like: # -e git+http://github.com/rackerlabs/quark@ff5b05943b44a44712b9fc352065a414bb2a6bf9#egg=quark-master +- Now edit the /etc/neutron/neutron.conf file to setup Quark as the core plugin:: + + vim /etc/neutron/neutron.conf + # Search for line containing 'core_plugin = ' and replace it with + # 'core_plugin = quark.plugin.Plugin' + # + # Search for line containing 'service_plugins = ' and remove + # 'neutron.services.l3_router.l3_router_plugin.L3RouterPlugin,' from + # service plugins list + - Stop Neutron by going into the screen session and going to the q-svc window and pressing ctrl-C:: screen -r # or go into devstack clone and then type ./rejoin-stack.sh # press ctrl+6 to go to q-svc window ctrl+C -- Now edit the /etc/neutron/neutron.conf file to setup Quark as the core plugin:: - - vim /etc/neutron/neutron.conf - # add 'core_plugin - quark.plugin.Plugin' (current example of core_plugin is near line 70) - - Go back into screen and restart neutron (q-svc window):: - screen -r # or go into folder where you cloned devstack then type ./rejoin-stack.sh - # go to q-svc window (ctrl+a, 6 currently does it) + screen -r stack # or go into folder where you cloned devstack then type ./rejoin-stack.sh + # if screen command returns 'Cannot open your terminal /dev/pts/0' execute 'sudo chmod o+rwx /dev/pts/0' + # go to q-svc window (ctrl+a, 7 currently does it) # previous command that devstack used to start neutron should be in history, press up arrow key to see it - You shouldn't receive any errors. To validate Quark has started up, you can scroll up in q-svc screen window (ctrl+a, esc, page-up) and look for the following lines::