Jump to: navigation, search

Neutron/LBaaS/DeployWithDevstack

< Neutron‎ | LBaaS
Revision as of 02:30, 17 July 2014 by Brandon Logan (talk | contribs) (Created page with "== Deploying Neutron LBaaS With Devstack == * Install devstack with neutron and neutron lbaas ** Following the instructions on this link should suffice. It will enable the v1...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Deploying Neutron LBaaS With Devstack

  • Install devstack with neutron and neutron lbaas
  • Pull down gerrit change requests with useable code
  • Change the neutron config
    • /etc/neutron/neutron.conf
      • Under the [DEFAULT] section there is an options called service_plugins. It is a comma-delimited list. Add the following to it:
        • ,neutron.services.loadbalancer.plugin.LoadBalancerPluginv2
      • Under the [service_providers] section (usually at the bottom) there are options called service_provider, there can be many service_provider entries. Add the following
        • To use the LoggingNoopDriver:
          • service_provider=LOADBALANCERV2:Haproxy:neutron.services.loadbalancer.drivers.logging_noop.driver.LoggingNoopLoadBalancerDriver:default
        • To use the Agentless Haproxy Driver:
          • Will Be Added Soon
  • Re-install the neutron code and restart the neutron-server process
    • I use this bash script:
#!/bin/bash

if [ `ps aux | grep neutron-server | wc -l` -gt 1 ]; then
    kill -9 `ps aux | grep '[n]eutron-server' -m1 | awk '{print $2}'`
fi

sudo PIP_DOWNLOAD_CACHE=/var/cache/pip HTTP_PROXY= HTTPS_PROXY= NO_PROXY= /usr/local/bin/pip install --build=/tmp/pip-build.bE71P -e /opt/stack/neutron