1

I'm deploying openstack on 3 nodes (controller, compute and block storage).

Each of my nodes have 2 attachements eno1 on the management network and eno2 on a provider network (192.168.3.0/24). I'm trying to attach an instance to the provider network, to do so I defined the network in openstack (called provider and subnet is called also provider 192.168.3.0/24) it appears to be active. I tried with the admin credentials and a suitable keypair, but I get same error.

I have installed : keystone, nova, neutron, placement, glance, cinder and horizon with the Victoria's guides.

When I try to create an instance with

openstack server create --flavor m1.nano --image cirros --nic net-id=92dc8bf4-30be-4fdb-a1f4-bc91126dbc38 --security-group default --key-name demokey provider-instance

I get in /etc/neutron/server.log (on controller node) :

ERROR neutron.plugins.ml2.managers [req-3114ffac-2825-4db6-8586-0b3685fa6b1d b21b8901642c470b8f668965997c7922 0f23d567d2ce4599a1571d8fd5982f9a - default default] Failed to bind port 66f23e36-a360-444c-a3f7-2f7a904037dd on host compute1 for vnic_type normal using segments [{'id': 'e238d39a-ec1a-447a-a272-19cf4e4f76e1', 'network_type': 'flat', 'physical_network': 'provider', 'segmentation_id': None, 'network_id': 'd4c8fb07-7e56-4768-b725-93f3b97e1772'}]`

I feel like linuxbridge fails to bind ports on compute node.

ip a on controller returns

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 40:a8:f0:2f:4a:6c brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.2/24 brd 10.0.0.255 scope global eno1
       valid_lft forever preferred_lft forever
    inet6 fe80::42a8:f0ff:fe2f:4a6c/64 scope link 
       valid_lft forever preferred_lft forever
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 40:a8:f0:2f:4a:6d brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.20/24 brd 192.168.3.255 scope global eno2
       valid_lft forever preferred_lft forever
    inet6 fe80::42a8:f0ff:fe2f:4a6d/64 scope link 
       valid_lft forever preferred_lft forever
4: eno3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a8:f0:2f:4a:6e brd ff:ff:ff:ff:ff:ff
5: eno4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 40:a8:f0:2f:4a:6f brd ff:ff:ff:ff:ff:ff
8: tap80268500-17@if2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default qlen 1000
    link/ether ca:64:af:92:69:09 brd ff:ff:ff:ff:ff:ff link-netns qdhcp-45320836-f1a3-4e96-a3d8-59b95d633d1e

But on compute node :

2: eno1: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 94:18:82:78:cd:5c brd ff:ff:ff:ff:ff:ff
    inet 10.0.0.3/24 brd 10.0.0.255 scope global eno1
       valid_lft forever preferred_lft forever
    inet6 fe80::9618:82ff:fe78:cd5c/64 scope link 
       valid_lft forever preferred_lft forever
3: eno2: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc mq state UP group default qlen 1000
    link/ether 94:18:82:78:cd:5d brd ff:ff:ff:ff:ff:ff
    inet 192.168.3.30/24 brd 192.168.3.255 scope global eno2
       valid_lft forever preferred_lft forever
    inet6 fe80::9618:82ff:fe78:cd5d/64 scope link 
       valid_lft forever preferred_lft forever
4: eno3: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 94:18:82:78:cd:5e brd ff:ff:ff:ff:ff:ff
5: eno4: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1000
    link/ether 94:18:82:78:cd:5f brd ff:ff:ff:ff:ff:ff

There is not tap for the VM.

Also on controller ip netns return a qdhcp namespace while nothing on compute.

Configs files are coherents and same as in the tutorials. I'm a bit loss. Do you have a clue where I need to dig ?

Thanks a lot !

Andrew Schulman
  • 8,811
  • 21
  • 32
  • 47
Mdstn
  • 11
  • 2
  • Moreover, there is traffic on both eno2 (controller and compute) but nothing on the tap interface on controller. (Checked with tcp dump) – Mdstn Apr 01 '21 at 10:00

0 Answers0