[Openstack] Instances looses connectivity when rebooted

Vijaya Bhaskar vijayabhaskar at sparksupport.com
Thu Nov 6 09:55:02 UTC 2014


I have configured neutron with vlan. Here is my
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini file:

root at network:~# grep -v '^#'
/etc/neutron/plugins/openvswitch/ovs_neutron_plugin.ini
[ovs]

tenant_network_type = vlan
network_vlan_ranges = physnet1:1:4094
bridge_mappings = physnet1:br-ex

[agent]
polling_interval = 2

[securitygroup]
firewall_driver =
neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver


On Thu, Nov 6, 2014 at 3:13 PM, Adrián Norte <adrian at bashlines.com> wrote:

>  don't you use tunneling between the 2 nodes? I don't see a tunel
> interface GRE or vLan either.
> El 06/11/14 a las 09:58, Vijaya Bhaskar escribió:
>
>   Hi,
>
>  The results of ovs-vsctl show:
>
>  COMPUTE
> -------------------
>
> root at compute:~# ovs-vsctl show
> 57d53eee-0435-4f3e-ab28-300b28656e73
>     Bridge br-data
>         Port "eth0"
>             Interface "eth0"
>         Port phy-br-data
>             Interface phy-br-data
>         Port br-data
>             Interface br-data
>                 type: internal
>     Bridge br-int
>         Port "qvo6851b7ae-8b"
>             tag: 4095
>             Interface "qvo6851b7ae-8b"
>         Port "qvo92bd4f16-56"
>             tag: 1
>             Interface "qvo92bd4f16-56"
>         Port "qvof2a6e964-49"
>             tag: 1
>             Interface "qvof2a6e964-49"
>         Port "qvo8c9a6ba5-d5"
>             tag: 1
>             Interface "qvo8c9a6ba5-d5"
>         Port "qvo3a255886-ff"
>             tag: 4
>             Interface "qvo3a255886-ff"
>         Port "qvofede7066-73"
>             tag: 5
>             Interface "qvofede7066-73"
>         Port int-br-data
>             Interface int-br-data
>         Port "qvo9c946ea3-0d"
>             tag: 4095
>             Interface "qvo9c946ea3-0d"
>         Port "gw-c895e982-bb"
>             tag: 4095
>             Interface "gw-c895e982-bb"
>                 type: internal
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port "qvof202a386-af"
>             tag: 2
>             Interface "qvof202a386-af"
>         Port "qvoaf8e83ed-1a"
>             tag: 2
>             Interface "qvoaf8e83ed-1a"
>         Port "qvoa410c673-48"
>             tag: 1
>             Interface "qvoa410c673-48"
>         Port "qvofb8c78ae-df"
>             tag: 1
>             Interface "qvofb8c78ae-df"
>     ovs_version: "1.10.2"
>
>
>  NEUTRON
> --------------------
>
> root at network:~# ovs-vsctl show
> 9dc49296-465d-4fb0-bb11-b659aa22b0ad
>     Bridge br-ex
>         Port "eth0"
>             Interface "eth0"
>         Port "qg-ccd9d006-0a"
>             Interface "qg-ccd9d006-0a"
>                 type: internal
>         Port br-ex
>             Interface br-ex
>                 type: internal
>         Port phy-br-ex
>             Interface phy-br-ex
>     Bridge br-int
>         Port "tapa148eee3-43"
>             tag: 2
>             Interface "tapa148eee3-43"
>                 type: internal
>         Port "qr-5050bba6-b9"
>             tag: 1
>             Interface "qr-5050bba6-b9"
>                 type: internal
>         Port br-int
>             Interface br-int
>                 type: internal
>         Port int-br-ex
>             Interface int-br-ex
>         Port "tap2e6705ee-0d"
>             tag: 4095
>             Interface "tap2e6705ee-0d"
>                 type: internal
>         Port "tap49848458-ee"
>             tag: 4095
>             Interface "tap49848458-ee"
>                 type: internal
>         Port "tap37e9ebe0-23"
>             tag: 4095
>             Interface "tap37e9ebe0-23"
>                 type: internal
>         Port "tap0651c44d-26"
>             tag: 4095
>             Interface "tap0651c44d-26"
>                 type: internal
>         Port "tap73213215-ef"
>             tag: 4095
>             Interface "tap73213215-ef"
>                 type: internal
>         Port "tapdadb4c42-98"
>             tag: 4095
>             Interface "tapdadb4c42-98"
>                 type: internal
>         Port "tapc2bc31b4-e7"
>             tag: 4095
>             Interface "tapc2bc31b4-e7"
>                 type: internal
>         Port "tap58621108-d9"
>             tag: 1
>             Interface "tap58621108-d9"
>                 type: internal
>         Port "qr-382dd0df-25"
>             tag: 2
>             Interface "qr-382dd0df-25"
>                 type: internal
>     ovs_version: "1.10.2"
>
>
>
>
> On Thu, Nov 6, 2014 at 1:16 PM, Adrián Norte <adrian at bashlines.com> wrote:
>
>>  Can you execute "ovs-vsctl show" on both neutron and compute nodes and
>> paste the results?
>> El 06/11/14 a las 08:30, Vijaya Bhaskar escribió:
>>
>>   Hi,
>>
>>  I have searched all around and still cannot find a solution. Please help.
>>
>> On Fri, Oct 31, 2014 at 12:32 PM, Vijaya Bhaskar <
>> vijayabhaskar at sparksupport.com> wrote:
>>
>>>    Hi,
>>>
>>>  I am quite new to openstack and I have installed openstack havana in a
>>> 3 machine configuration - controller, compute and network nodes. When an
>>> instance is rebooted it looses connectivity on both floating ip and private
>>> ip. When a new instance is started all the old instances gain connectivity.
>>> I have found that restarting neutron-plugin-openvswitch-agent in the
>>> compute node fixes the problem and all the instances gain connectivity.
>>>
>>>  I have followed this to install openstack on Ubuntu 12.04 machines:
>>> http://docs.openstack.org/havana/install-guide/install/apt/content/
>>>
>>>  I have followed this link to create the network :
>>> http://docs.openstack.org/havana/install-guide/install/apt/content/demo_logical_network_config.html
>>>
>>>  The neutron configuration files are attached.
>>>
>>>  Please help
>>>
>>
>>
>>
>>  _______________________________________________
>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>>
>> _______________________________________________
>> Mailing list:
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>> Post to     : openstack at lists.openstack.org
>> Unsubscribe :
>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack
>>
>>
>
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.openstack.org/pipermail/openstack/attachments/20141106/10ee6630/attachment.html>


More information about the Openstack mailing list