[Openstack] Problems with neutron networks

Maciej Nabożny mn at mnabozny.pl
Mon Nov 17 07:49:04 UTC 2014


thanks for help! I found something strange in ofs-ofctl show br-int:

OFPT_FEATURES_REPLY (xid=0x2): dpid:0000dac0609b5e4e
n_tables:254, n_buffers:256
capabilities: FLOW_STATS TABLE_STATS PORT_STATS QUEUE_STATS ARP_MATCH_IP
actions: OUTPUT SET_VLAN_VID SET_VLAN_PCP STRIP_VLAN SET_DL_SRC 
SET_DL_DST SET_NW_SRC SET_NW_DST SET_NW_TOS SET_TP_SRC SET_TP_DST ENQUEUE
  1(patch-tun): addr:9e:d9:e2:2d:55:1c
      config:     0
      state:      0
      speed: 0 Mbps now, 0 Mbps max
  4(qr-20c51a4f-8c): addr:da:c0:60:9b:5e:4e
      config:     PORT_DOWN
      state:      LINK_DOWN
      speed: 0 Mbps now, 0 Mbps max
  5(tap8fcc64ff-ab): addr:9e:d9:e2:2d:55:1c
      config:     PORT_DOWN
      state:      LINK_DOWN
      speed: 0 Mbps now, 0 Mbps max
  LOCAL(br-int): addr:da:c0:60:9b:5e:4e
      config:     0
      state:      0
      speed: 0 Mbps now, 0 Mbps max
OFPT_GET_CONFIG_REPLY (xid=0x4): frags=normal miss_send_len=0

qr and tap are marked as down, but they are still up, in net ns 
associated with router. Is it correct? In br-tun state for each 
interface is 0.


Ovs-ofctl dump-flows for br-int shows:

NXST_FLOW reply (xid=0x4):
  cookie=0x0, duration=127168.655s, table=0, n_packets=39, n_bytes=2070, 
idle_age=57, hard_age=65534, priority=1 actions=NORMAL
  cookie=0x0, duration=127168.488s, table=22, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=0 actions=drop


and for br-tun:

NXST_FLOW reply (xid=0x4):
  cookie=0x0, duration=127168.655s, table=0, n_packets=39, n_bytes=2070, 
idle_age=57, hard_age=65534, priority=1 actions=NORMAL
  cookie=0x0, duration=127168.488s, table=22, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=0 actions=drop
[root at nn ~]# ovs-ofctl dump-flows br-tun
NXST_FLOW reply (xid=0x4):
  cookie=0x0, duration=127214.636s, table=0, n_packets=3, n_bytes=230, 
idle_age=65534, hard_age=65534, priority=0 actions=drop
  cookie=0x0, duration=127214.975s, table=0, n_packets=39, n_bytes=2070, 
idle_age=106, hard_age=65534, priority=1,in_port=1 actions=resubmit(,1)
  cookie=0x0, duration=825.237s, table=0, n_packets=0, n_bytes=0, 
idle_age=825, priority=1,in_port=2 actions=resubmit(,2)
  cookie=0x0, duration=127214.062s, table=1, n_packets=38, n_bytes=1980, 
idle_age=106, hard_age=65534, 
priority=1,dl_dst=01:00:00:00:00:00/01:00:00:00:00:00 actions=resubmit(,21)
  cookie=0x0, duration=127214.338s, table=1, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, 
priority=1,dl_dst=00:00:00:00:00:00/01:00:00:00:00:00 actions=resubmit(,20)
  cookie=0x0, duration=127213.698s, table=2, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=0 actions=drop
  cookie=0x0, duration=127207.888s, table=2, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=1,tun_id=0x2 
actions=mod_vlan_vid:1,resubmit(,10)
  cookie=0x0, duration=127213.278s, table=3, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=0 actions=drop
  cookie=0x0, duration=127212.838s, table=10, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=1 
actions=learn(table=20,hard_timeout=300,priority=1,NXM_OF_VLAN_TCI[0..11],NXM_OF_ETH_DST[]=NXM_OF_ETH_SRC[],load:0->NXM_OF_VLAN_TCI[],load:NXM_NX_TUN_ID[]->NXM_NX_TUN_ID[],output:NXM_OF_IN_PORT[]),output:1
  cookie=0x0, duration=127212.436s, table=20, n_packets=0, n_bytes=0, 
idle_age=65534, hard_age=65534, priority=0 actions=resubmit(,21)
  cookie=0x0, duration=127212.126s, table=21, n_packets=2, n_bytes=160, 
idle_age=65534, hard_age=65534, priority=0 actions=drop
  cookie=0x0, duration=127208.178s, table=21, n_packets=34, 
n_bytes=1672, idle_age=106, hard_age=825, dl_vlan=1 
actions=strip_vlan,set_tunnel:0x2,output:2

W dniu 17.11.2014, 08:30, Robert van Leeuwen pisze:
>> look like are connected together, with tunnels and routers. The only
>> problem is, that there is no comminication between virtual machines and
>> routers in networks :)
>>
>> Do you have any sugestions, how to debug my problem or where it could
>> be? If necessary, I can attach some output and configuration
>
> Have you looked if the flows in the ovs are properly created?
> If there are no flows you have no traffic.
> Do a ovs-ofctl dump-flows on the two bridges to check those..
>
> Cheers,
> Robert van Leeuwen
>




More information about the Openstack mailing list