[networking-ovs-dpdk] Issue creating br-ex...

d.lake at surrey.ac.uk d.lake at surrey.ac.uk
Wed Dec 19 15:22:10 UTC 2018


Hello

Trying to re-run a Queens DPDK all-in-one using devstack which I built in August and hitting issues.

The local.conf is identical between the two machines except I had to take the "stable/queens" off the end of the "networking-ovs-dpdk" plugin line as that no longer appears to work.

The installation seems to proceed until it gets to setting the ip mtu on br-ex.

I'm not using br-ex.  I've declared OVS bridge mappings in the local.conf:

#Dual socket platform with 16GB RAM,3072*2048kB hugepages leaves ~4G for the system.
OVS_NUM_HUGEPAGES=3072

#Dual socket platform with 64GB RAM,14336*2048kB hugepages leaves ~6G for the system.
#OVS_NUM_HUGEPAGES=14336

OVS_DATAPATH_TYPE=netdev
OVS_LOG_DIR=/opt/stack/logs
#OVS_DPDK_PORT_MAPPINGS=p1p1:br-dpdk1,p1p2:br-dpdk2,p2p1:br-dpdk3,p2p2:br-dpdk4
OVS_DPDK_PORT_MAPPINGS=p6p1:br-dpdk1,p6p2:br-dpdk2
#OVS_BRIDGE_MAPPINGS=physnet1:br-dpdk1,physnet2:br-dpdk2,physnet3:br-dpdk3,physnet4:br-dpdk4
OVS_BRIDGE_MAPPINGS=physnet1:br-dpdk1,physnet2:br-dpdk2

[[post-config|$NOVA_CONF]]
[DEFAULT]
firewall_driver=nova.virt.firewall.NoopFirewallDriver
scheduler_default_filters=RamFilter,ComputeFilter,AvailabilityZoneFilter,ComputeCapabilitiesFilter,ImagePropertiesFilter,PciPassthroughFilter

[[post-config|/etc/neutron/plugins/ml2/ml2_conf.ini]]
[OVS]
datapath_type=netdev

[ml2_type_flat]
#flat_networks=physnet1,physnet2,physnet3,physnet4
flat_networks=physnet1,physnet2

I cannot stress again how identical these systems are - same hardware, same base OS install (CentOS 7.5).   I was (maybe erroneously!) thinking that if I had it devstack working on one system, having an identical system would be a piece of cake to install.

This is the installation error:

+lib/neutron_plugins/ovs_base:_neutron_ovs_base_add_bridge:21  local bridge=br-ex
+lib/neutron_plugins/ovs_base:_neutron_ovs_base_add_bridge:22  local 'addbr_cmd=sudo ovs-vsctl -- --may-exist add-br br-ex'
+lib/neutron_plugins/ovs_base:_neutron_ovs_base_add_bridge:24  '[' netdev '!=' system ']'
+lib/neutron_plugins/ovs_base:_neutron_ovs_base_add_bridge:25  addbr_cmd='sudo ovs-vsctl -- --may-exist add-br br-ex -- set Bridge br-ex datapath_type=netdev'
+lib/neutron_plugins/ovs_base:_neutron_ovs_base_add_bridge:28  sudo ovs-vsctl -- --may-exist add-br br-ex -- set Bridge br-ex datapath_type=netdev
+lib/neutron_plugins/ovs_base:_neutron_ovs_base_add_public_bridge:119  set_mtu br-ex 1500
+functions:set_mtu:750                     local dev=br-ex
+functions:set_mtu:751                     local mtu=1500
+functions:set_mtu:752                     sudo ip link set mtu 1500 dev br-ex
Cannot find device "br-ex"
+functions:set_mtu:1                       exit_trap
+./stack.sh:exit_trap:522                  local r=1
++./stack.sh:exit_trap:523                  jobs -p
+./stack.sh:exit_trap:523                  jobs=
+./stack.sh:exit_trap:526                  [[ -n '' ]]
+./stack.sh:exit_trap:532                  '[' -f /tmp/tmp.Dzbqzlk2fs ']'
+./stack.sh:exit_trap:533                  rm /tmp/tmp.Dzbqzlk2fs
+./stack.sh:exit_trap:537                  kill_spinner
+./stack.sh:kill_spinner:432               '[' '!' -z '' ']'
+./stack.sh:exit_trap:539                  [[ 1 -ne 0 ]]
+./stack.sh:exit_trap:540                  echo 'Error on exit'
Error on exit
+./stack.sh:exit_trap:542                  type -p generate-subunit
+./stack.sh:exit_trap:543                  generate-subunit 1545230781 1747 fail
+./stack.sh:exit_trap:545                  [[ -z /opt/stack/logs/screen ]]
+./stack.sh:exit_trap:548                  /home/stack/devstack/tools/worlddump.py -d /opt/stack/logs/screen


Can someone explain what is going on here please?

Thanks

David
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-discuss/attachments/20181219/f5b04d9c/attachment-0001.html>


More information about the openstack-discuss mailing list