Ask Your Question
0

PackStack with VXLAN Tenant Error

asked 2018-07-12 17:46:56 -0500

felix001 gravatar image

Hi,

Im trying to setup the following:

  • Queens PackStack
  • Deployed on 3 x VMs
  • VXLAN tenant tunnel
  • Include VLAN network type for when creating a provider network.
  • ens192 - all traffic apart from...
  • ens224 VLAN network
  • br-ex (attached to ens224) for the VXLAN network type.

The install all goes fine, but when i try to build a server i get the following nova log error:

/var/log/neutron/server.log:2018-07-13 00:36:46.397 13796 ERROR neutron.plugins.ml2.managers [req-1b72124a-475e-4600-a461-3fa5b3987611 3fa0867c88544e138e4585833c2189ee 626aa541cd584c2a97a919645bb3a880 - default default] Failed to bind port f1165628-acee-409a-af98-a57fc4d07789 on host packstack-compute01 for vnic_type normal using segments [{'network_id': '5ef6b369-9519-43ed-8e9e-554a7fc5cc10', 'segmentation_id': 28, 'physical_network': None, 'id': '6fa34f3e-3ed5-433c-bc0d-1765f33c2563', 'network_type': u'vxlan'}]

The answer file Neutron settings are as follows: In short, Im using ens192 for everything https://raw.githubusercontent.com/ric...

CONFIG_NEUTRON_INSTALL=y
CONFIG_NEUTRON_KS_PW=acb0fa7b8bd4447c
CONFIG_NEUTRON_DB_PW=6606eeb797d64230
CONFIG_NEUTRON_L3_EXT_BRIDGE=br-ex
CONFIG_NEUTRON_METADATA_PW=31c598454d3b40f3
CONFIG_NEUTRON_METERING_AGENT_INSTALL=y
CONFIG_NEUTRON_FWAAS=n
CONFIG_NEUTRON_VPNAAS=n
CONFIG_NEUTRON_ML2_TYPE_DRIVERS=vxlan,flat,vlan
CONFIG_NEUTRON_ML2_TENANT_NETWORK_TYPES=vxlan
CONFIG_NEUTRON_ML2_MECHANISM_DRIVERS=openvswitch
CONFIG_NEUTRON_ML2_FLAT_NETWORKS=*
CONFIG_NEUTRON_ML2_VLAN_RANGES=physnet1:60:70
CONFIG_NEUTRON_ML2_TUNNEL_ID_RANGES=
CONFIG_NEUTRON_ML2_VXLAN_GROUP=
CONFIG_NEUTRON_ML2_VNI_RANGES=10:100
CONFIG_NEUTRON_L2_AGENT=openvswitch
CONFIG_NEUTRON_ML2_SUPPORTED_PCI_VENDOR_DEVS=['15b3:1004', '8086:10ca']
CONFIG_NEUTRON_ML2_SRIOV_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_LB_INTERFACE_MAPPINGS=
CONFIG_NEUTRON_OVS_BRIDGE_MAPPINGS=extnet:br-ex
CONFIG_NEUTRON_OVS_BRIDGE_IFACES=br-ex:ens224
CONFIG_NEUTRON_OVS_BRIDGES_COMPUTE=
CONFIG_NEUTRON_OVS_EXTERNAL_PHYSNET=extnet
CONFIG_NEUTRON_OVS_TUNNEL_IF=br-ex
CONFIG_NEUTRON_OVS_TUNNEL_SUBNETS=
CONFIG_NEUTRON_OVS_VXLAN_UDP_PORT=4789
CONFIG_NEUTRON_OVN_BRIDGE_MAPPINGS=extnet:br-ex
CONFIG_NEUTRON_OVN_BRIDGE_IFACES=
CONFIG_NEUTRON_OVN_BRIDGES_COMPUTE=
CONFIG_NEUTRON_OVN_EXTERNAL_PHYSNET=extnet
CONFIG_NEUTRON_OVN_TUNNEL_IF=
CONFIG_NEUTRON_OVN_TUNNEL_SUBNETS=

Any ideas?

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted
0

answered 2018-07-16 15:23:22 -0500

felix001 gravatar image

After some more testing I found that that the following settings worked:

packstack  -d  \
          --install-hosts=172.29.236.180,172.29.236.181 \
          --provision-demo=n \
          --os-neutron-ml2-type-drivers=vxlan,vlan \
          --os-neutron-ml2-tenant-network-types=vxlan    \
          --os-neutron-ml2-vlan-ranges=physnet1:50:70    \
          --os-neutron-ml2-vni-ranges=5000:6000               \
          --os-neutron-ovs-bridge-mappings=physnet1:br-vlan   \
          --os-neutron-l3-ext-bridge=provider              \
          --os-neutron-ovs-bridge-interfaces=br-vlan:ens224    \
          --os-neutron-ovs-bridges-compute=br-vlan \
          --os-neutron-ovs-tunnel-if=ens192

interface details added to https://github.com/rickd3/OpenStack/t...

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Get to know Ask OpenStack

Resources for moderators

Question Tools

Stats

Asked: 2018-07-12 17:46:56 -0500

Seen: 44 times

Last updated: Jul 16