devstack supports only neutron reference implementation

Bug #1712077 reported by Irena Berezovsky
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
octavia
Fix Released
Wishlist
Omer Anson

Bug Description

In the plugin.sh, there is only support for neutron reference implementation, with either openvswitch or linuxbridge agent, https://github.com/openstack/octavia/blob/master/devstack/plugin.sh#L323:
if [[ $Q_AGENT == "openvswitch" ]]; then
        sudo ovs-vsctl -- --may-exist add-port ${OVS_BRIDGE:-br-int} o-hm0 -- set Interface o-hm0 type=internal -- set Interface o-hm0 external-ids:iface-status=active -- set Interface o-hm0 external-ids:attached-mac=$MGMT_PORT_MAC -- set Interface o-hm0 external-ids:iface-id=$MGMT_PORT_ID -- set Interface o-hm0 external-ids:skip_cleanup=true
    elif [[ $Q_AGENT == "linuxbridge" ]]; then
        if ! ip link show o-hm0 ; then
            sudo ip link add o-hm0 type veth peer name o-bhm0
            NETID=$(openstack network show lb-mgmt-net -c id -f value)
            BRNAME=brq$(echo $NETID|cut -c 1-11)
            sudo brctl addif $BRNAME o-bhm0
            sudo ip link set o-bhm0 up
        fi
    fi
sudo ip link set dev o-hm0 address $MGMT_PORT_MAC

This code can be modified to allow other neutron back-ends, such as Dragonflow, OVN and others to be deployed in a devstack environment

Tags: rfe
Omer Anson (omer-anson)
Changed in octavia:
assignee: nobody → Omer Anson (omer-anson)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to octavia (master)

Fix proposed to branch: master
Review: https://review.openstack.org/496205

Changed in octavia:
status: New → In Progress
Changed in octavia:
importance: Undecided → Wishlist
tags: added: rfe
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to octavia (master)

Reviewed: https://review.openstack.org/496205
Committed: https://git.openstack.org/cgit/openstack/octavia/commit/?id=ca69044222e6325c0965cbda467f8136575b6818
Submitter: Jenkins
Branch: master

commit ca69044222e6325c0965cbda467f8136575b6818
Author: Omer Anson <email address hidden>
Date: Mon Aug 21 17:14:21 2017 +0300

    devstack: Allow 3rd party neutron backends deployment

    In plugin.sh, there is only support for neutron reference
    implementation, with either openvswitch or linuxbridge agent.

    This change allows external devstack plugins to define hooks needed in
    devstack.

    Change-Id: I1d5797a1becb4201d76c0e522f84dad09804c5b6
    Closes-Bug: #1712077

Changed in octavia:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/octavia 2.0.0.0b1

This issue was fixed in the openstack/octavia 2.0.0.0b1 development milestone.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.