[ovs-discuss] A Problem with Openvswitch to Create and Test VLAN Function. I Need help!

Emilien Macchi emilien.macchi at stackops.com
Wed Jun 20 12:11:41 UTC 2012


Hi,


If it can help, I wrote a documentation about Openstack Essex + Quantum +
OVS in multi node architecture.

Maybe you will find an answer :

https://github.com/EmilienM/doc-openstack



Regards



On Wed, Jun 20, 2012 at 2:11 PM, Emilien Macchi <emilien.macchi at gmail.com>wrote:

> Hi,
>
>
> If it can help, I wrote a documentation about Openstack Essex + Quantum +
> OVS in multi node architecture.
>
> Maybe you will find an answer :
>
> https://github.com/EmilienM/doc-openstack
>
>
>
> Regards
>
>
> On Wed, Jun 20, 2012 at 8:03 AM, Gang Bao <baogang2004 at gmail.com> wrote:
>
>> Description of my problem has been posted on
>> https://answers.launchpad.net/quantum, but I have never received any
>> idea from it :-(
>>
>> My environment includes two physical hosts.
>> One of them (domain name cc201) installed all of nova components and
>> Glance, Quantum, Keystone, Horizon, Open-vSwitch as controller and network
>> node; the other installed only nova-compute, Quantum, Open-vSwitch as
>> compute node.
>>
>> also I run quantum-agent, load 8021q module.etc
>> Everything seems runs well.
>> But I found a curious problem!
>>
>> On cc201, I create networks 192.168.153.0/24(network3<http://192.168.153.0/24%28network3>,
>> its vlan ID is 6)、192.168.155.0/24(network5<http://192.168.155.0/24%28network5>,
>> its vlan ID is 8)
>> I run nova-manage on host cc201 to create VMs.
>> the VMs are:
>> 192.168.153.2 (on host cc201)
>> 192.168.153.4 (on host cc202)
>> 192.168.153.5 (on host cc202)
>> 192.168.153.6 (on host cc202)
>> 192.168.155.2 (on host cc201)
>> 192.168.155.3 (on host cc201)
>> 192.168.155.4 (on host cc202)
>>
>> I log on one of them to ping another of them and capture packets through
>> eth1(eth1 interface the openvswitch port on both of my hosts cc201 and
>> cc202, by using command ovs-vsctl add-port eth1 br-int), results are as
>> below:
>>
>> I run tcpdump -i eth1 -v -w to capture and save packets
>> when I log on 192.168.153.2 (on cc201, in vlan6):
>> ping 192.168.153.4 (on cc202, in vlan6): (result is they connected)
>> on eth1 of cc201:I can see vlan 6 tag in ICMP request and reply, it is
>> what I expected
>> on eth1 of cc202:I can see vlan 6 tag in ICMP request and reply, it is
>> what I expected
>>
>> when I log on 192.168.153.2 (on cc201, in vlan 6):
>> ping 192.168.155.2 (on cc201, in vlan8): (result is they are not
>> connected)
>> this result is also what I expect
>>
>> But when I log on 192.168.153.2 (on cc201, in vlan 6)
>> ping 192.168.155.4 (on cc202, in vlan 8): (result is they connected!!!)
>> on eth1 of cc201: I cannot see vlan 6 tag in ICMP, instead, I can see
>> vlan 8 tag in ICMP request and reply!!!
>> on eth1 of cc202: I cannot see vlan 6 tag in ICMP, instead, I can see
>> vlan 8 tag in ICMP request and reply!!!
>> another words, it has the wrong vlan tag! (expect 6 but actually 8!)
>>
>> so what happened ? Is this a known bug of quantum or openvswitch?
>>
>> more details is as below:
>> 1)nova config on cc201: nova.conf--http://paste.openstack.org/show/18588/
>> nova-compute.conf--http://paste.openstack.org/show/18589/
>> 2)nova config on cc202: nova.conf--http://paste.openstack.org/show/18590/
>> nova-compute.conf--http://paste.openstack.org/show/18591/
>> 3)other command results on cc201--http://paste.openstack.org/show/18592/
>> 4)other command results on cc202--http://paste.openstack.org/show/18593/
>>
>> when I ping from 192.168.153.2 to 192.168.155.2(result is not connected):
>> on cc201, the execution result of command "ovs-dpctl dump-flows br-int"
>> is as below:
>> http://paste.openstack.org/show/18625/
>> and on cc201, the execution result of command "ovs-dpctl show":
>> http://paste.openstack.org/show/18626/
>>
>>
>> when I ping from 192.168.153.2(on cc201) to 192.168.155.4(on
>> cc202)(result if connected!!??)
>> on cc201, the execution result of command "ovs-dpctl dump-flows br-int"
>> is as below:
>> http://paste.openstack.org/show/18627/
>> and on cc202, the execution result of command "ovs-dpctl show":
>> http://paste.openstack.org/show/18628/
>> and on cc202, the execution result of command "ovs-dpctl dump-flows
>> br-int" is as below:
>> http://paste.openstack.org/show/18629/
>>
>>
>>
>>
>> _______________________________________________
>> discuss mailing list
>> discuss at openvswitch.org
>> http://openvswitch.org/mailman/listinfo/discuss
>>
>>
>
>
> --
> *Emilien Macchi*
> Phone : +33 685 117 748
> Twitter : EmilienMacchi <https://twitter.com/#/EmilienMacchi>
> Website : http://my1.fr
>
>


-- 
Emilien Macchi
*SysAdmin (Intern)*
*www.stackops.com* | emilien.macchi at stackops.com**
*

*

******************** ADVERTENCIA LEGAL ********************
Le informamos, como destinatario de este mensaje, que el correo electrónico
y las comunicaciones por medio de Internet no permiten asegurar ni
garantizar la confidencialidad de los mensajes transmitidos, así como
tampoco su integridad o su correcta recepción, por lo que STACKOPS
TECHNOLOGIES S.L. no asume responsabilidad alguna por tales circunstancias.
Si no consintiese en la utilización del correo electrónico o de las
comunicaciones vía Internet le rogamos nos lo comunique y ponga en nuestro
conocimiento de manera inmediata. Este mensaje va dirigido, de manera
exclusiva, a su destinatario y contiene información confidencial y sujeta
al secreto profesional, cuya divulgación no está permitida por la ley. En
caso de haber recibido este mensaje por error, le rogamos que, de forma
inmediata, nos lo comunique mediante correo electrónico remitido a nuestra
atención y proceda a su eliminación, así como a la de cualquier documento
adjunto al mismo. Asimismo, le comunicamos que la distribución, copia o
utilización de este mensaje, o de cualquier documento adjunto al mismo,
cualquiera que fuera su finalidad, están prohibidas por la ley.

***************** PRIVILEGED AND CONFIDENTIAL ****************
We hereby inform you, as addressee of this message, that e-mail and
Internet do not guarantee the confidentiality, nor the completeness or
proper reception of the messages sent and, thus, STACKOPS TECHNOLOGIES S.L.
does not assume any liability for those circumstances. Should you not agree
to the use of e-mail or to communications via Internet, you are kindly
requested to notify us immediately. This message is intended exclusively
for the person to whom it is addressed and contains privileged and
confidential information protected from disclosure by law. If you are not
the addressee indicated in this message, you should immediately delete it
and any attachments and notify the sender by reply e-mail. In such case,
you are hereby notified that any dissemination, distribution, copying or
use of this message or any attachments, for any purpose, is strictly
prohibited by law.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://openvswitch.org/pipermail/ovs-discuss/attachments/20120620/3a9e76ed/attachment.html>


More information about the discuss mailing list