openstack team mailing list archive
-
openstack team
-
Mailing list archive
-
Message #22014
Re: Rebooted, now can't ping my guest
So...is this the root of my problem? The MAC addresses in my "quantum
port-list" do not match my real MAC addresses. Any time I restart
openvswitch/quantum-plugin-openvswitch-agent, my br-tun blocks my traffic
with incorrect flows.
What went wrong here...should these interfaces actually have "fa:16:3e" MAC
addresses, or is the database wrong?
root@os-network:~# quantum port-list
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| id | name | mac_address |
fixed_ips
|
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
| 9f9041ce-654d-4706-a208-60cf5fca5d90 | | fa:16:3e:e2:38:da |
{"subnet_id": "0617c874-9a95-40dc-ae4f-bb44eec806f6", "ip_address":
"10.5.5.1"} |
| 28108125-119c-4ce4-a3a3-537639589791 | | fa:16:3e:a9:a3:4c |
{"subnet_id": "cde12bce-eeed-4041-87e3-5a1b905b3c98", "ip_address":
"10.42.36.130"} |
| 45ffdc5f-dad9-444a-aff4-3d39b607f828 | | fa:16:3e:36:2e:54 |
{"subnet_id": "0617c874-9a95-40dc-ae4f-bb44eec806f6", "ip_address":
"10.5.5.2"} |
:
+--------------------------------------+------+-------------------+-------------------------------------------------------------------------------------+
root@os-network:~# ifconfig qr-9f9041ce-65
qr-9f9041ce-65 Link encap:Ethernet HWaddr 4e:bf:4a:70:a7:9e
inet addr:10.5.5.1 Bcast:10.5.5.255 Mask:255.255.255.0
:
root@os-network:~# ifconfig tap45ffdc5f-da
tap45ffdc5f-da Link encap:Ethernet HWaddr 16:83:e6:27:a4:b8
inet addr:10.5.5.2 Bcast:10.5.5.255 Mask:255.255.255.0
:
root@os-network:~# service openvswitch-switch restart
:
root@os-network:~# ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=35.154s, table=0, n_packets=123, n_bytes=8526,
priority=0 actions=NORMAL
root@os-network:~# service quantum-plugin-openvswitch-agent restart
quantum-plugin-openvswitch-agent stop/waiting
quantum-plugin-openvswitch-agent start/running, process 1419
root@os-network:~# ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
cookie=0x0, duration=4.022s, table=0, n_packets=3, n_bytes=418,
priority=3,tun_id=0x1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00
actions=mod_vlan_vid:1,output:1
cookie=0x0, duration=4.056s, table=0, n_packets=5, n_bytes=548,
priority=4,in_port=1,dl_vlan=1 actions=set_tunnel:0x1,NORMAL
cookie=0x0, duration=3.816s, table=0, n_packets=0, n_bytes=0,
priority=3,tun_id=0x1,dl_dst=fa:16:3e:36:2e:54 actions=mod_vlan_vid:1,NORMAL
cookie=0x0, duration=3.987s, table=0, n_packets=0, n_bytes=0,
priority=3,tun_id=0x1,dl_dst=fa:16:3e:e2:38:da actions=mod_vlan_vid:1,NORMAL
cookie=0x0, duration=4.573s, table=0, n_packets=9, n_bytes=1828,
priority=1 actions=drop
root@os-network:~# ovs-ofctl add-flow br-tun
"priority=3,tun_id=0x1,dl_dst=16:83:e6:27:a4:b8
actions=mod_vlan_vid:1,NORMAL"
root@os-network:~# ovs-ofctl add-flow br-tun
"priority=3,tun_id=0x1,dl_dst=4e:bf:4a:70:a7:9e
actions=mod_vlan_vid:1,NORMAL"
root@os-network:~#
References
-
Rebooted, now can't ping my guest
From: The King in Yellow, 2013-02-27
-
Re: Rebooted, now can't ping my guest
From: Aaron Rosen, 2013-02-27
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-01
-
Re: Rebooted, now can't ping my guest
From: Sylvain Bauza, 2013-03-01
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-01
-
Re: Rebooted, now can't ping my guest
From: Sylvain Bauza, 2013-03-04
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-04
-
Re: Rebooted, now can't ping my guest
From: Sylvain Bauza, 2013-03-05
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-05
-
Re: Rebooted, now can't ping my guest
From: Sylvain Bauza, 2013-03-05
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-05
-
Re: Rebooted, now can't ping my guest
From: Sylvain Bauza, 2013-03-06
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-06
-
Re: Rebooted, now can't ping my guest
From: Sylvain Bauza, 2013-03-07
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-08
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-12
-
Re: Rebooted, now can't ping my guest
From: The King in Yellow, 2013-03-15