суббота, 4 января 2014 г.

Enabling Neutron in Devstack

To enable Neutron on DevStack (on Ubuntu Precise)

1) Add to localrc this lines
# Enable neutron
disable_service n-net
enable_service q-svc
enable_service q-agt
enable_service q-dhcp
enable_service q-l3
enable_service q-meta
enable_service q-lbaas
enable_service neutron

If you don't need LBaaS, remove "enable_service q-lbaas" line.

2) Do this set of commands

    # https://www.mail-archive.com/openstack@lists.launchpad.net/msg21895.html
    modprobe -r bridge || true
    apt-get -y install openvswitch-switch openvswitch-controller openvswitch-brcompat
    echo "blacklist bridge" > /etc/modprobe.d/bridge.conf
    echo "BRCOMPAT=yes" >> /etc/default/openvswitch-switch

    # http://www.brucemartins.com/2013_10_01_archive.html
    apt-get install -y openvswitch-datapath-source
    module-assistant auto-install openvswitch-datapath --non-inter --quiet
    modprobe -r bridge || true
    service openvswitch-switch restart

3) Spin up devstack as usual (sudo -u stack ./stack.sh)
Комментариев нет
Отправить комментарий