[openstack-dev] [kolla] Vxlan and OVS issues post deployment.

Goutham Pratapa pratapagoutham at gmail.com
Thu Nov 30 10:26:35 UTC 2017


Hi Eduardo,

I am trying to deploy self-service network topology.

I think then I shouldn't be bothered about the `ens8` because I'm not
dealing with provider networks

and attached are the outputs requested...

Ps: Controller and the network node are both same in my setup.

Thanks in advance

Goutham

On Thu, Nov 30, 2017 at 3:33 PM, Eduardo Gonzalez <dabarren at gmail.com>
wrote:

> Hi,
>
> In kolla,VXLAN  tunnels are connfigured in ``tunnel_interface`` variable
> which defaults to ``network_interface``, ``neutron_external_interface`` is
> used for public floating IPs in neutron.
>
> Please share your globals.yml, ``ip a`` output in compute/network hosts
> and ``ovs-vsctl show`` from openvswitch daemon containers.
>
> What network topology are you trying to deploy? Self-service, provider
> networks, etc?
>
> Regards
>
>
> 2017-11-30 10:42 GMT+01:00 Jeffrey Zhang <zhang.lei.fly at gmail.com>:
>
>> i guess you didn't enabled one of following[0]
>>
>>   enable_neutron_dvr: yes
>>   enable_neutron_provider_networks: yes
>>
>> I hit this recently. i am thinking we should remove this or make
>> enable_neutron_provider_network=yes in default.
>>
>> [0] https://github.com/openstack/kolla-ansible/blob/master/
>> ansible/group_vars/all.yml#L607
>>
>>
>> On Thu, Nov 30, 2017 at 5:11 PM, Goutham Pratapa <
>> pratapagoutham at gmail.com> wrote:
>>
>>> Hi Kolla Team,
>>>
>>> I have tried deploying Kolla OpenStack multinode and I am facing this
>>> issue vxlan_peers_not_created
>>> <https://ask.openstack.org/en/question/110570/vxlan-peers-not-being-created-on-compute-node-vm-not-getting-dhcp/>
>>> in every deployment and I* tried the workaround* i.e restart the
>>> network  containers to get the vxlan peers
>>>
>>> But when I see *ip addr show *in my compute node.
>>>
>>> *P.S:* "ens8"  is the interface I specified as
>>> *neutron_external_interface** in globals.yml*
>>>
>>>
>>> *---- Globals.yml-----*
>>>
>>>
>>>
>>>
>>> *# This is the raw interface given to neutron as its external network
>>> port. Even# though an IP address can exist on this interface, it will be
>>> unusable in most# configurations. It is recommended this interface not be
>>> configured with any IP# addresses for that reason.*
>>>
>>> *neutron_external_interface: "ens8"*3: ens8:
>>> <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP
>>> group default qlen 1000
>>>     link/ether 52:54:00:54:b3:50 brd ff:ff:ff:ff:ff:ff
>>>     inet 192.168.122.218/24 scope global ens8
>>>        valid_lft forever preferred_lft forever
>>>     inet6 fe80::5054:ff:fe54:b350/64 scope link
>>>        valid_lft forever preferred_lft forever
>>>
>>> Which should be something like the below (as per my understanding) for
>>> the Vms to be up and running.
>>>
>>> 3: ens8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast *master
>>> ovs-system* state UP group default qlen 1000
>>>     link/ether 52:54:00:22:4b:cf brd ff:ff:ff:ff:ff:ff
>>>     inet 192.168.122.165/32 scope global ens8
>>>        valid_lft forever preferred_lft forever
>>>     inet6 fe80::5054:ff:fe22:4bcf/64 scope link
>>>        valid_lft forever preferred_lft forever
>>>
>>> Is this a known issue ??
>>>
>>> If yes any workaround to solve??
>>>
>>> Thanks in advance.
>>> --
>>> Thanks!!!
>>> Goutham Pratapa
>>>
>>> ____________________________________________________________
>>> ______________
>>> OpenStack Development Mailing List (not for usage questions)
>>> Unsubscribe: OpenStack-dev-request at lists.op
>>> enstack.org?subject:unsubscribe
>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>>
>>>
>>
>>
>> --
>> Regards,
>> Jeffrey Zhang
>> Blog: http://xcodest.me
>>
>> ____________________________________________________________
>> ______________
>> OpenStack Development Mailing List (not for usage questions)
>> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscrib
>> e
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>>
>>
>
> __________________________________________________________________________
> OpenStack Development Mailing List (not for usage questions)
> Unsubscribe: OpenStack-dev-request at lists.openstack.org?subject:unsubscribe
> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack-dev
>
>


-- 
Cheers !!!
Goutham Pratapa
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171130/4018525d/attachment.html>
-------------- next part --------------

1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 52:54:00:30:a5:ee brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.215/24 brd 192.168.122.255 scope global ens3
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe30:a5ee/64 scope link
       valid_lft forever preferred_lft forever
3: ens8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 52:54:00:54:b3:50 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.218/24 scope global ens8
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe54:b350/64 scope link
       valid_lft forever preferred_lft forever
4: docker0: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue state UP group default
    link/ether 02:42:37:03:75:93 brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever
    inet6 fe80::42:37ff:fe03:7593/64 scope link
       valid_lft forever preferred_lft forever
21: qbra3d52223-5f: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default qlen 1000
    link/ether 00:00:00:00:00:00 brd ff:ff:ff:ff:ff:ff
26: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1
    link/ether 6a:01:85:d4:dc:5a brd ff:ff:ff:ff:ff:ff
27: br-int: <BROADCAST,MULTICAST> mtu 1450 qdisc noqueue state DOWN group default qlen 1
    link/ether c6:c2:dd:3b:64:4d brd ff:ff:ff:ff:ff:ff
28: br-tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noqueue state DOWN group default qlen 1
    link/ether ce:3f:02:54:a9:4e brd ff:ff:ff:ff:ff:ff
39: qbre7479ea0-da: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc noqueue state UP group default qlen 1000
    link/ether a6:b0:db:00:45:b6 brd ff:ff:ff:ff:ff:ff
40: qvoe7479ea0-da at qvbe7479ea0-da: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1450 qdisc noqueue master ovs-system state UP group default qlen 1000
    link/ether fe:2e:5d:3b:60:b7 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc2e:5dff:fe3b:60b7/64 scope link
       valid_lft forever preferred_lft forever
41: qvbe7479ea0-da at qvoe7479ea0-da: <BROADCAST,MULTICAST,PROMISC,UP,LOWER_UP> mtu 1450 qdisc noqueue master qbre7479ea0-da state UP group default qlen 1000
    link/ether a6:b0:db:00:45:b6 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::a4b0:dbff:fe00:45b6/64 scope link
       valid_lft forever preferred_lft forever
42: tape7479ea0-da: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1450 qdisc pfifo_fast master qbre7479ea0-da state UNKNOWN group default qlen 1000
    link/ether fe:16:3e:21:a1:8f brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc16:3eff:fe21:a18f/64 scope link
       valid_lft forever preferred_lft forever
50: veth91987f6 at if49: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc noqueue master docker0 state UP group default
    link/ether 0e:dd:af:d0:6c:84 brd ff:ff:ff:ff:ff:ff link-netnsid 0
    inet6 fe80::cdd:afff:fed0:6c84/64 scope link
       valid_lft forever preferred_lft forever
51: vxlan_sys_4789: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65485 qdisc noqueue master ovs-system state UNKNOWN group default qlen 1000
    link/ether fe:34:03:99:fd:91 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::fc34:3ff:fe99:fd91/64 scope link
       valid_lft forever preferred_lft forever
-------------- next part --------------

4ad4791e-8047-4b26-a8fc-86627520c882
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-int
            Interface br-int
                type: internal
        Port "qvoe7479ea0-da"
            tag: 2
            Interface "qvoe7479ea0-da"
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "vxlan-c0a87ab1"
            Interface "vxlan-c0a87ab1"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.122.215", out_key=flow, remote_ip="192.168.122.177"}
-------------- next part --------------

root at ubuntu:~# ip a
1: lo: <LOOPBACK,UP,LOWER_UP> mtu 65536 qdisc noqueue state UNKNOWN group default qlen 1
    link/loopback 00:00:00:00:00:00 brd 00:00:00:00:00:00
    inet 127.0.0.1/8 scope host lo
       valid_lft forever preferred_lft forever
    inet6 ::1/128 scope host
       valid_lft forever preferred_lft forever
2: ens3: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast state UP group default qlen 1000
    link/ether 52:54:00:85:8f:4a brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.177/24 brd 192.168.122.255 scope global ens3
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe85:8f4a/64 scope link
       valid_lft forever preferred_lft forever
3: ens8: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 1500 qdisc pfifo_fast master ovs-system state UP group default qlen 1000
    link/ether 52:54:00:32:17:18 brd ff:ff:ff:ff:ff:ff
    inet 192.168.122.217/24 scope global ens8
       valid_lft forever preferred_lft forever
    inet6 fe80::5054:ff:fe32:1718/64 scope link
       valid_lft forever preferred_lft forever
4: docker0: <NO-CARRIER,BROADCAST,MULTICAST,UP> mtu 1500 qdisc noqueue state DOWN group default
    link/ether 02:42:20:3e:95:1e brd ff:ff:ff:ff:ff:ff
    inet 172.17.0.1/16 scope global docker0
       valid_lft forever preferred_lft forever
17: ovs-system: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1
    link/ether 96:bb:21:ef:3a:b9 brd ff:ff:ff:ff:ff:ff
18: br-ex: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1
    link/ether 2e:3e:42:d0:c9:4a brd ff:ff:ff:ff:ff:ff
19: br-int: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1
    link/ether aa:57:fe:c0:31:4c brd ff:ff:ff:ff:ff:ff
20: br-tun: <BROADCAST,MULTICAST> mtu 1500 qdisc noop state DOWN group default qlen 1
    link/ether 1e:4a:33:d7:8c:4a brd ff:ff:ff:ff:ff:ff
22: vxlan_sys_4789: <BROADCAST,MULTICAST,UP,LOWER_UP> mtu 65485 qdisc noqueue master ovs-system state UNKNOWN group default qlen 1000
    link/ether 1a:5b:d5:b6:83:e8 brd ff:ff:ff:ff:ff:ff
    inet6 fe80::185b:d5ff:feb6:83e8/64 scope link
       valid_lft forever preferred_lft forever
-------------- next part --------------
(neutron-openvswitch-agent)[root at ubuntu /]# ovs-vsctl show
1d109c3a-fcd7-459e-9044-2e5259261d24
    Manager "ptcp:6640:127.0.0.1"
        is_connected: true
    Bridge br-int
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port int-br-ex
            Interface int-br-ex
                type: patch
                options: {peer=phy-br-ex}
        Port br-int
            Interface br-int
                type: internal
        Port patch-tun
            Interface patch-tun
                type: patch
                options: {peer=patch-int}
        Port "qg-45a3bb7d-8c"
            Interface "qg-45a3bb7d-8c"
                type: internal
        Port "tap019773c0-4d"
            tag: 1
            Interface "tap019773c0-4d"
                type: internal
        Port "qr-98da8fd5-4f"
            tag: 1
            Interface "qr-98da8fd5-4f"
                type: internal
    Bridge br-ex
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port "ens8"
            Interface "ens8"
        Port phy-br-ex
            Interface phy-br-ex
                type: patch
                options: {peer=int-br-ex}
        Port br-ex
            Interface br-ex
                type: internal
    Bridge br-tun
        Controller "tcp:127.0.0.1:6633"
            is_connected: true
        fail_mode: secure
        Port br-tun
            Interface br-tun
                type: internal
        Port patch-int
            Interface patch-int
                type: patch
                options: {peer=patch-tun}
        Port "vxlan-c0a87ad7"
            Interface "vxlan-c0a87ad7"
                type: vxlan
                options: {df_default="true", in_key=flow, local_ip="192.168.122.177", out_key=flow, remote_ip="192.168.122.215"}
-------------- next part --------------
A non-text attachment was scrubbed...
Name: globals.yml
Type: application/octet-stream
Size: 13236 bytes
Desc: not available
URL: <http://lists.openstack.org/pipermail/openstack-dev/attachments/20171130/4018525d/attachment.obj>


More information about the OpenStack-dev mailing list