[charms] Enabling Neutron DVR & ovs
Emil Larsson
Emil.Larsson at zetup.se
Sat Mar 30 13:47:36 UTC 2019
Hi guys,
I have been experimenting with the enable-dvr option in neutron-api. I cannot find a clear guide on how to configure this.
However I have ran into some issues trying to figure out the configuration to enable dvr.
This is where juju stops:
unit-neutron-openvswitch-1: 11:45:35 INFO unit.neutron-openvswitch/1.juju-log Creating bridge br-int
unit-neutron-openvswitch-1: 11:45:35 INFO unit.neutron-openvswitch/1.juju-log Creating bridge br-ex
unit-neutron-openvswitch-1: 11:45:36 DEBUG unit.neutron-openvswitch/1.juju-log Replacing iface 'eno1' with bond master 'os'
unit-neutron-openvswitch-1: 11:45:36 DEBUG unit.neutron-openvswitch/1.juju-log Replacing iface 'eno2' with bond master 'os'
unit-neutron-openvswitch-1: 11:45:36 DEBUG unit.neutron-openvswitch/1.juju-log Replacing iface 'eno3' with bond master 'stor'
unit-neutron-openvswitch-1: 11:45:36 DEBUG unit.neutron-openvswitch/1.juju-log Replacing iface 'eno4' with bond master 'stor'
unit-neutron-openvswitch-1: 11:45:37 INFO unit.neutron-openvswitch/1.juju-log Creating bridge br-data
unit-neutron-openvswitch-1: 11:45:37 DEBUG unit.neutron-openvswitch/1.juju-log Interface os.392 is not a Linux bridge
unit-neutron-openvswitch-1: 11:45:37 INFO unit.neutron-openvswitch/1.juju-log Adding port os.392 to bridge br-data
unit-neutron-openvswitch-1: 11:45:37 DEBUG unit.neutron-openvswitch/1.config-changed Failed to restart os-charm-phy-nic-mtu.service: Unit os-charm-phy-nic-mtu.service not found.
Does this mean i need to have a relation to my Neutron-gateway charm aswell? I found a reference to that service in the code for charm-neutron-gateway.
Here is a simplified juju bundle configuration of my setup:
neutron-openvswitch:
annotations:
gui-x: '250'
gui-y: '500'
charm: cs:neutron-openvswitch-255
num_units: 0
options:
data-port: br-data:os.392
bridge-mappings: physnet1:br-data
firewall-driver: openvswitch
instance-mtu: 1458
security-group-log-output-base: "/var/log/openvswitch/security.log"
security-group-log-burst-limit: 25
bindings:
data: os-private
neutron-gateway:
annotations:
gui-x: '0'
gui-y: '0'
charm: cs:neutron-gateway-256
num_units: 1
options:
openstack-origin: cloud:bionic-rocky
worker-multiplier: 0.25
### Network configuration ###
flat-network-providers: physnet1
data-port: br-data:os.392
bridge-mappings: physnet1:br-data
plugin: ovs
enable-l3-agent: true
enable-metadata-network: true
enable-isolated-metadata: false
run-internal-router: all
instance-mtu: 1458
use-syslog: true
verbose: true
extra-bindings:
data: os-private
to:
- '0'
neutron-api:
annotations:
gui-x: '500'
gui-y: '500'
charm: cs:neutron-api-269
num_units: 1
options:
openstack-origin: cloud:bionic-rocky
worker-multiplier: 0.25
use-internal-endpoints: true
global-physnet-mtu: 1500
flat-network-providers: physnet1
dhcp-agents-per-network: 2
neutron-security-groups: true
enable-security-group-logging: true
overlay-network-type: "gre"
default-tenant-network-type: "gre"
neutron-external-network: ext_net
enable-dvr: true
bindings:
public: os-private
admin: os-private
internal: os-private
shared-db: os-private
to:
- lxd:0
Any help appreciated :)
--
Emil Larsson
More information about the openstack-discuss
mailing list