*** zenoway has joined #openstack-dragonflow | 01:56 | |
openstackgerrit | feipeng proposed openstack/dragonflow: Add Redis Devstack https://review.openstack.org/297916 | 01:57 |
---|---|---|
*** zenoway has quit IRC | 02:00 | |
openstackgerrit | Fei Rao proposed openstack/dragonflow: The implementation of distributed-DNAT https://review.openstack.org/289148 | 02:02 |
*** raofei has joined #openstack-dragonflow | 02:04 | |
openstackgerrit | zhuweiqiong proposed openstack/dragonflow: Add Redis Availability spec https://review.openstack.org/298701 | 02:26 |
*** yamamoto has quit IRC | 02:32 | |
openstackgerrit | heshan proposed openstack/dragonflow: code for local controller reliability https://review.openstack.org/292060 | 02:38 |
*** yamamoto has joined #openstack-dragonflow | 02:40 | |
openstackgerrit | heshan proposed openstack/dragonflow: code for local controller reliability https://review.openstack.org/292060 | 02:41 |
*** zenoway has joined #openstack-dragonflow | 02:43 | |
*** zenoway has quit IRC | 02:48 | |
*** yamamoto has quit IRC | 02:48 | |
*** yamamot__ has joined #openstack-dragonflow | 02:51 | |
*** yamamot__ has quit IRC | 03:02 | |
openstackgerrit | hujie proposed openstack/dragonflow: add data sync mechanism for keep db consistency https://review.openstack.org/300877 | 03:05 |
*** zenoway has joined #openstack-dragonflow | 03:08 | |
*** zenoway has quit IRC | 03:12 | |
*** gongysh_ has joined #openstack-dragonflow | 03:14 | |
*** hujie has joined #openstack-dragonflow | 03:15 | |
openstackgerrit | heshan proposed openstack/dragonflow: code for local controller reliability https://review.openstack.org/292060 | 03:27 |
openstackgerrit | heshan proposed openstack/dragonflow: code for local controller reliability https://review.openstack.org/292060 | 03:39 |
*** irenab has quit IRC | 03:47 | |
*** yamamot__ has joined #openstack-dragonflow | 03:48 | |
*** gongysh_ has quit IRC | 03:51 | |
*** oanson has joined #openstack-dragonflow | 04:27 | |
*** zenoway has joined #openstack-dragonflow | 05:41 | |
*** zenoway has quit IRC | 05:48 | |
*** gampel1 has joined #openstack-dragonflow | 05:55 | |
openstackgerrit | Merged openstack/dragonflow: Fix links in the pluggable_pubsub doc https://review.openstack.org/301224 | 05:55 |
openstackgerrit | Merged openstack/dragonflow: Fullstack test cases for topology Fix the problem caused by overlaped ip address Change-Id: Ice5993aa3700df98fbff421d4583a6ed963c9aaf https://review.openstack.org/296522 | 05:56 |
openstackgerrit | Merged openstack/dragonflow: Add RateLimiter object https://review.openstack.org/299935 | 05:58 |
*** oanson has quit IRC | 06:01 | |
*** yuli_s has joined #openstack-dragonflow | 06:12 | |
yuli_s | hello all | 06:12 |
yuli_s | raofei, you arround ? | 06:12 |
raofei | Hi yuli | 06:13 |
yuli_s | here are the results from yesterday | 06:14 |
yuli_s | i am able to do ping / ssh from vm1 (with fip1) to vim2 ( with fip2) | 06:14 |
raofei | Hi everyone, for DNAT feature, supporting external gw ip update is done | 06:14 |
yuli_s | i am not able to do ping from the host machine | 06:15 |
yuli_s | and from other server in the external net | 06:15 |
yuli_s | to the vm | 06:15 |
yuli_s | i can ping servers in outer world from the vm | 06:16 |
raofei | do you mean this network path is failed? external host --> ovs bridge---->vm ? | 06:16 |
yuli_s | i do not see the SYN/ACK comming back to the external host | 06:17 |
yuli_s | yes, | 06:17 |
raofei | can you please show me these table, table 0, table 15, table 20, and table 30? | 06:20 |
raofei | for the icmp echo reply, it should be forwarded with table 30, which implements the DNAT egress process. | 06:22 |
yuli_s | sec. | 06:23 |
raofei | yuli, it's the latest DNAT patch set which you used? | 06:26 |
yuli_s | i used your last patches i think | 06:30 |
yuli_s | ops, it is not the last | 06:31 |
yuli_s | you updated it few hours ago | 06:31 |
yuli_s | here are the openflow rules (I am not using your latest patch from today, but an older ones) | 06:36 |
yuli_s | cookie=0x0, duration=148.972s, table=0, n_packets=62, n_bytes=4082, priority=100,in_port=4 actions=set_field:0x6->reg6,set_field:0x1->metadata,goto_table:9 | 06:36 |
yuli_s | cookie=0x0, duration=132.612s, table=0, n_packets=50, n_bytes=3442, priority=100,in_port=5 actions=set_field:0x7->reg6,set_field:0x1->metadata,goto_table:9 | 06:36 |
yuli_s | cookie=0x0, duration=102.627s, table=0, n_packets=149, n_bytes=26835, priority=1,in_port=1 actions=goto_table:15 | 06:36 |
yuli_s | cookie=0x0, duration=102.277s, table=0, n_packets=13, n_bytes=1470, priority=100,in_port=6 actions=set_field:0x5->reg6,set_field:0x1->metadata,goto_table:9 | 06:36 |
yuli_s | cookie=0x0, duration=101.759s, table=0, n_packets=19, n_bytes=1522, priority=100,in_port=7 actions=set_field:0x3->reg6,set_field:0x1->metadata,goto_table:9 | 06:36 |
yuli_s | cookie=0x0, duration=148.972s, table=0, n_packets=0, n_bytes=0, priority=100,tun_id=0x6 actions=output:4 | 06:36 |
yuli_s | cookie=0x0, duration=132.612s, table=0, n_packets=0, n_bytes=0, priority=100,tun_id=0x7 actions=output:5 | 06:36 |
yuli_s | cookie=0x0, duration=102.277s, table=0, n_packets=0, n_bytes=0, priority=100,tun_id=0x5 actions=output:6 | 06:36 |
yuli_s | cookie=0x0, duration=101.759s, table=0, n_packets=0, n_bytes=0, priority=100,tun_id=0x3 actions=output:7 | 06:36 |
yuli_s | cookie=0x0, duration=102.627s, table=15, n_packets=12, n_bytes=648, send_flow_rem priority=100,arp,arp_tpa=10.100.100.201,arp_op=1 actions=set_field:2->arp_op,move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],set_field:fa:16:3e:41:6e:11->eth_src,set_field:fa:16:3e:41:6e:11->arp_sha,set_field:10.100.100.201->arp_spa,IN_PORT | 06:37 |
yuli_s | cookie=0x0, duration=86.341s, table=15, n_packets=4, n_bytes=240, send_flow_rem priority=100,arp,arp_tpa=10.100.100.202,arp_op=1 actions=set_field:2->arp_op,move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],set_field:fa:16:3e:3a:be:a9->eth_src,set_field:fa:16:3e:3a:be:a9->arp_sha,set_field:10.100.100.202->arp_spa,IN_PORT | 06:37 |
yuli_s | cookie=0x0, duration=102.627s, table=15, n_packets=1, n_bytes=60, priority=100,arp,arp_spa=10.100.100.1,arp_tpa=10.100.100.201,arp_op=2 actions=CONTROLLER:65535 | 06:37 |
yuli_s | cookie=0x0, duration=102.627s, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.100.1,arp_tpa=10.100.100.1,arp_op=1 actions=CONTROLLER:65535 | 06:37 |
yuli_s | cookie=0x0, duration=86.341s, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.100.1,arp_tpa=10.100.100.202,arp_op=2 actions=CONTROLLER:65535 | 06:37 |
yuli_s | cookie=0x0, duration=102.627s, table=15, n_packets=16, n_bytes=1600, priority=100,ip,nw_dst=10.100.100.201 actions=set_field:fa:16:3e:41:6e:11->eth_src,set_field:fa:16:3e:07:d8:97->eth_dst,dec_ttl,set_field:10.0.0.3->ip_dst,output:4 | 06:37 |
yuli_s | cookie=0x0, duration=86.341s, table=15, n_packets=4, n_bytes=448, priority=100,ip,nw_dst=10.100.100.202 actions=set_field:fa:16:3e:3a:be:a9->eth_src,set_field:fa:16:3e:32:4c:9a->eth_dst,dec_ttl,set_field:10.0.0.4->ip_dst,output:5 | 06:37 |
yuli_s | cookie=0x0, duration=851.252s, table=20, n_packets=0, n_bytes=0, priority=200,ip,metadata=0x1,nw_dst=10.0.0.1 actions=goto_table:64 | 06:37 |
yuli_s | cookie=0x0, duration=845.829s, table=20, n_packets=0, n_bytes=0, priority=200,ipv6,metadata=0x1,ipv6_dst=fddc:4931:abd0::1 actions=goto_table:64 | 06:37 |
yuli_s | cookie=0x3, duration=845.829s, table=20, n_packets=0, n_bytes=0, priority=100,ip,metadata=0x1,nw_dst=10.0.0.0/24 actions=dec_ttl,set_field:0x1->metadata,set_field:fa:16:3e:6e:12:a6->eth_src,goto_table:25 | 06:37 |
yuli_s | cookie=0x5, duration=845.829s, table=20, n_packets=0, n_bytes=0, priority=100,ipv6,metadata=0x1,ipv6_dst=fddc:4931:abd0::/64 actions=dec_ttl,set_field:0x1->metadata,set_field:fa:16:3e:e2:6e:e6->eth_src,goto_table:25 | 06:37 |
yuli_s | cookie=0x0, duration=102.628s, table=20, n_packets=12, n_bytes=1032, priority=100,ip,metadata=0x1,nw_src=10.0.0.3 actions=goto_table:30 | 06:37 |
yuli_s | cookie=0x0, duration=86.342s, table=20, n_packets=2, n_bytes=196, priority=100,ip,metadata=0x1,nw_src=10.0.0.4 actions=goto_table:30 | 06:37 |
yuli_s | cookie=0x0, duration=900.233s, table=20, n_packets=5, n_bytes=490, priority=1 actions=goto_table:64 | 06:37 |
yuli_s | cookie=0x0, duration=102.627s, table=30, n_packets=12, n_bytes=1032, priority=100,ip,metadata=0x1,nw_src=10.0.0.3 actions=set_field:fa:16:3e:41:6e:11->eth_src,set_field:84:c9:b2:62:89:e0->eth_dst,dec_ttl,set_field:10.100.100.201->ip_src,output:1 | 06:37 |
yuli_s | cookie=0x0, duration=86.342s, table=30, n_packets=2, n_bytes=196, priority=100,ip,metadata=0x1,nw_src=10.0.0.4 actions=set_field:fa:16:3e:3a:be:a9->eth_src,set_field:84:c9:b2:62:89:e0->eth_dst,dec_ttl,set_field:10.100.100.202->ip_src,output:1 | 06:37 |
yuli_s | table 15 is correct, syn packets from external network are send to VM | 06:41 |
yuli_s | raofei, can you reproduce this problem ? | 07:01 |
gampel1 | raofei: does yuli problem make sense ? do you understand it | 07:19 |
yuli_s | i am checking this problem, so far | 07:26 |
*** irenab has joined #openstack-dragonflow | 07:27 | |
yuli_s | I see that SYN+ACK is send to the mac address of the gateway | 07:27 |
openstackgerrit | heshan proposed openstack/dragonflow: code for local controller reliability https://review.openstack.org/292060 | 07:29 |
yuli_s | and not to the amc of the original server | 07:29 |
*** zenoway has joined #openstack-dragonflow | 07:37 | |
yuli_s | i think I know solution, | 07:39 |
yuli_s | i will use host ip address as a gateway and check it | 07:39 |
openstackgerrit | duankebo proposed openstack/dragonflow: Support devstack configuration of selective topology distribution https://review.openstack.org/301490 | 07:40 |
yuli_s | it is working now, | 08:09 |
yuli_s | I use VM Ip as a public-subnet gateway ip | 08:10 |
yuli_s | ops, not VM ip | 08:10 |
yuli_s | I used host IP as a public-subnet gateway ip | 08:10 |
raofei | yuli, sorry just seeing the reply. | 08:11 |
raofei | is there the problem? I'm update the latest code to verify you found issue. | 08:12 |
raofei | is there the problem still? | 08:13 |
yuli_s | nop, I found a reason why I had no connectivity from other servers on the ext network | 08:13 |
yuli_s | the gateway update is still not perfect, | 08:14 |
yuli_s | you do not update the existing open flow rules | 08:14 |
yuli_s | i using the latest version of your patches | 08:14 |
yuli_s | you do not update the floatingip table external_gateway_ip field | 08:16 |
yuli_s | for example I had gateway ip 10.100.100.8 | 08:17 |
yuli_s | when running theis command: neutron subnet-update public-subnet --gateway_ip 10.100.100.99 | 08:17 |
yuli_s | table : lswitch "neutron:network_name": "public" "gateway_ip": "10.100.100.99" - > correct | 08:18 |
yuli_s | old, assigned floating ips are not updated: | 08:19 |
yuli_s | Table = floatingip | 08:19 |
yuli_s | "floating_ip_address": "10.100.100.201", "external_gateway_ip": "10.100.100.8" | 08:19 |
raofei | but when i do the test, the gateway is changed dynamically for DNAT tables. such as table 15, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.100.1,arp_tpa=10.100.100.1,arp_op=1 actions=CONTROLLER:65535 | 08:19 |
raofei | the arp_tpa will changed if the gw ip changed | 08:20 |
raofei | can you test it now and show me the result | 08:20 |
raofei | before change the gw ip, send me the table 15 | 08:20 |
raofei | after change the gw ip, send me the table 15 again | 08:20 |
yuli_s | cookie=0x0, table=15, n_packets=4, n_bytes=240, send_flow_rem priority=100,arp,arp_tpa=10.100.100.201,arp_op=1 actions=set_field:2->arp_op,move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],set_field:fa:16:3e:ff:65:ba->eth_src,set_field:fa:16:3e:ff:65:ba->arp_sha,set_field:10.100.100.201->arp_spa,IN_PORT | 08:21 |
yuli_s | cookie=0x0, table=15, n_packets=4, n_bytes=168, send_flow_rem priority=100,arp,arp_tpa=10.100.100.202,arp_op=1 actions=set_field:2->arp_op,move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],set_field:fa:16:3e:f3:3d:85->eth_src,set_field:fa:16:3e:f3:3d:85->arp_sha,set_field:10.100.100.202->arp_spa,IN_PORT | 08:21 |
yuli_s | cookie=0x0, table=15, n_packets=1, n_bytes=42, priority=100,arp,arp_spa=10.100.100.8,arp_tpa=10.100.100.201,arp_op=2 actions=CONTROLLER:65535 | 08:21 |
yuli_s | cookie=0x0, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.100.8,arp_tpa=10.100.100.8,arp_op=1 actions=CONTROLLER:65535 | 08:21 |
yuli_s | cookie=0x0, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.100.8,arp_tpa=10.100.100.202,arp_op=2 actions=CONTROLLER:65535 | 08:21 |
yuli_s | cookie=0x0, table=15, n_packets=141, n_bytes=22183, priority=100,ip,nw_dst=10.100.100.201 actions=set_field:fa:16:3e:ff:65:ba->eth_src,set_field:fa:16:3e:19:11:f9->eth_dst,dec_ttl,set_field:10.0.0.3->ip_dst,output:4 | 08:21 |
yuli_s | cookie=0x0, table=15, n_packets=10, n_bytes=1290, priority=100,ip,nw_dst=10.100.100.202 actions=set_field:fa:16:3e:f3:3d:85->eth_src,set_field:fa:16:3e:7d:82:ab->eth_dst,dec_ttl,set_field:10.0.0.4->ip_dst,output:5 | 08:21 |
raofei | ok, change the gw ip | 08:21 |
yuli_s | currently I have gw_ip set to 10.100.100.99 | 08:21 |
yuli_s | i do not see it their | 08:21 |
raofei | show me the ext-subnet please | 08:21 |
yuli_s | neutron subnet-update public-subnet --gateway_ip 10.100.100.111 | 08:22 |
raofei | what dnat need to do is make sure the flow rules'ip is same with subnet gw ip | 08:22 |
yuli_s | neutron subnet-show public-subnet | 08:23 |
yuli_s | +-------------------+------------------------------------------------------+ | 08:23 |
yuli_s | | Field | Value | | 08:23 |
yuli_s | +-------------------+------------------------------------------------------+ | 08:23 |
yuli_s | | allocation_pools | {"start": "10.100.100.200", "end": "10.100.100.220"} | | 08:23 |
yuli_s | | cidr | 10.100.0.0/16 | | 08:23 |
yuli_s | | created_at | 2016-04-05T07:54:33 | | 08:23 |
yuli_s | | description | | | 08:23 |
yuli_s | | dns_nameservers | | | 08:23 |
yuli_s | | enable_dhcp | False | | 08:23 |
yuli_s | | gateway_ip | 10.100.100.111 | | 08:23 |
yuli_s | | host_routes | | | 08:23 |
yuli_s | | id | eff6bcff-e282-4492-86d4-6d256eb9f2ec | | 08:23 |
yuli_s | | ip_version | 4 | | 08:23 |
yuli_s | | ipv6_address_mode | | | 08:23 |
yuli_s | | ipv6_ra_mode | | | 08:24 |
yuli_s | | name | public-subnet | | 08:24 |
yuli_s | | network_id | f40a4b8a-1206-4c8e-abee-917d12e58114 | | 08:24 |
yuli_s | | subnetpool_id | | | 08:24 |
yuli_s | | tenant_id | 06d3282c8a7a4be1a2d3d017755efc01 | | 08:24 |
yuli_s | | updated_at | 2016-04-05T08:22:24 | | 08:24 |
yuli_s | +-------------------+------------------------------------------------------+ | 08:24 |
yuli_s | cookie=0x0, table=0, n_packets=1364, n_bytes=266669, priority=1,in_port=1 actions=goto_table:15 | 08:24 |
yuli_s | shlomo@ubuntu:~/devstack$ | 08:24 |
yuli_s | shlomo@ubuntu:~/devstack$ sudo ovs-ofctl dump-flows -O Openflow13 br-int | sed 's/duration=[0-9]*\.[0-9]*s, //' | grep "table=15" | 08:24 |
yuli_s | cookie=0x0, table=15, n_packets=4, n_bytes=240, send_flow_rem priority=100,arp,arp_tpa=10.100.100.201,arp_op=1 actions=set_field:2->arp_op,move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],set_field:fa:16:3e:ff:65:ba->eth_src,set_field:fa:16:3e:ff:65:ba->arp_sha,set_field:10.100.100.201->arp_spa,IN_PORT | 08:24 |
yuli_s | cookie=0x0, table=15, n_packets=4, n_bytes=168, send_flow_rem priority=100,arp,arp_tpa=10.100.100.202,arp_op=1 actions=set_field:2->arp_op,move:NXM_NX_ARP_SHA[]->NXM_NX_ARP_THA[],move:NXM_OF_ARP_SPA[]->NXM_OF_ARP_TPA[],set_field:fa:16:3e:f3:3d:85->eth_src,set_field:fa:16:3e:f3:3d:85->arp_sha,set_field:10.100.100.202->arp_spa,IN_PORT | 08:24 |
yuli_s | cookie=0x0, table=15, n_packets=1, n_bytes=42, priority=100,arp,arp_spa=10.100.100.8,arp_tpa=10.100.100.201,arp_op=2 actions=CONTROLLER:65535 | 08:24 |
yuli_s | cookie=0x0, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.100.8,arp_tpa=10.100.100.8,arp_op=1 actions=CONTROLLER:65535 | 08:24 |
yuli_s | cookie=0x0, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.100.8,arp_tpa=10.100.100.202,arp_op=2 actions=CONTROLLER:65535 | 08:24 |
yuli_s | cookie=0x0, table=15, n_packets=141, n_bytes=22183, priority=100,ip,nw_dst=10.100.100.201 actions=set_field:fa:16:3e:ff:65:ba->eth_src,set_field:fa:16:3e:19:11:f9->eth_dst,dec_ttl,set_field:10.0.0.3->ip_dst,output:4 | 08:24 |
yuli_s | cookie=0x0, table=15, n_packets=10, n_bytes=1290, priority=100,ip,nw_dst=10.100.100.202 actions=set_field:fa:16:3e:f3:3d:85->eth_src,set_field:fa:16:3e:7d:82:ab->eth_dst,dec_ttl,set_field:10.0.0.4->ip_dst,output:5 | 08:24 |
raofei | can you show me df db. df-db ls floatingips | 08:25 |
yuli_s | sure | 08:26 |
yuli_s | Key = 2b7a3178-2908-495c-bc86-a8ba48d86800 , Value = {"router_id": "83d760ec-1929-40da-be51-9e4574a830a1", "status": "ACTIVE", "name": "2b7a3178-2908-495c-bc86-a8ba48d86800", "floating_port_id": "9a3836ae-181c-402f-a6da-87868c641ae0", "floating_mac_address": "fa:16:3e:ff:65:ba", "floating_network_id": "f40a4b8a-1206-4c8e-abee-917d12e58114", "topic": "19cbf2a3a64a4b9fb0d999029e9dc314", "fixed_ip_address": "10.0.0.3", "float | 08:26 |
yuli_s | ing_ip_address": "10.100.100.201", "external_cidr": "10.100.0.0/16", "port_id": "ac915ce0-40ec-47fc-bc51-01cce70794b7", "external_gateway_ip": "10.100.100.8"} | 08:26 |
yuli_s | Key = 4ab129b3-cdbd-4070-af28-f4837d59e2dc , Value = {"router_id": "83d760ec-1929-40da-be51-9e4574a830a1", "status": "ACTIVE", "name": "4ab129b3-cdbd-4070-af28-f4837d59e2dc", "floating_port_id": "79d80386-0daf-447c-9e2e-74de1a6503e8", "floating_mac_address": "fa:16:3e:f3:3d:85", "floating_network_id": "f40a4b8a-1206-4c8e-abee-917d12e58114", "topic": "19cbf2a3a64a4b9fb0d999029e9dc314", "fixed_ip_address": "10.0.0.4", "float | 08:26 |
yuli_s | ing_ip_address": "10.100.100.202", "external_cidr": "10.100.0.0/16", "port_id": "fbc9b7bd-5dab-46df-88c7-a8f1647be200", "external_gateway_ip": "10.100.100.8"} | 08:26 |
yuli_s | ssb going to meeting | 08:27 |
openstackgerrit | heshan proposed openstack/dragonflow: code for local controller reliability https://review.openstack.org/292060 | 08:27 |
raofei | external_gateway_ip is not updated | 08:28 |
raofei | yuli, just now i check it again. it's ok. | 08:35 |
raofei | please show me the create_network_nb_api on your setup | 08:36 |
*** hshan has joined #openstack-dragonflow | 08:39 | |
raofei | and show me the update_logical_switch in dnatp_app.py | 08:41 |
raofei | https://www.irccloud.com/pastebin/kbnFL2Qn/ | 09:03 |
raofei | https://www.irccloud.com/pastebin/Vyb7Jane/ | 09:04 |
raofei | yuli, please see the link. it's similar configuration with your setup. the test result is different. | 09:05 |
todin | I am trying this right now git clone https://git.openstack.org/openstack/dragonflow, is there distributed DNAT active? | 09:14 |
yuli_s | todin, still no | 09:14 |
yuli_s | u need to do chery pick | 09:15 |
todin | yuli_s: could I easily do that? | 09:15 |
yuli_s | yes | 09:15 |
yuli_s | git clone url | 09:15 |
yuli_s | cd dragownflow | 09:15 |
yuli_s | git fetch ssh://yuli@review.openstack.org:29418/openstack/dragonflow refs/changes/48/289148/26 && git cherry-pick FETCH_HEAD | 09:15 |
yuli_s | git fetch ssh://yuli@review.openstack.org:29418/openstack/dragonflow refs/changes/74/294374/12 && git cherry-pick FETCH_HEAD | 09:16 |
yuli_s | git fetch ssh://yuli@review.openstack.org:29418/openstack/dragonflow refs/changes/03/301003/1 && git cherry-pick FETCH_HEAD | 09:16 |
yuli_s | then u need to run stack | 09:16 |
todin | yuli_s: thanks, I will try. | 09:17 |
yuli_s | raofei, i can confirm this works for me too: https://www.irccloud.com/pastebin/kbnFL2Qn/ | 09:17 |
yuli_s | this is not happening here: https://www.irccloud.com/pastebin/Vyb7Jane/ | 09:19 |
yuli_s | def create_network_nb_api(self, context, network): | 09:20 |
yuli_s | external_ids = {df_const.DF_NETWORK_NAME_EXT_ID_KEY: network['name']} | 09:20 |
yuli_s | self.nb_api.create_lswitch(name=network['id'], | 09:20 |
yuli_s | topic=network['tenant_id'], | 09:20 |
yuli_s | external_ids=external_ids, | 09:20 |
yuli_s | router_external=network['router:external'], | 09:20 |
yuli_s | subnets=[]) | 09:20 |
yuli_s | return network | 09:20 |
gampel1 | todin: DNAT will be merged today6 or tomorrow | 09:21 |
gampel1 | https://review.openstack.org/#/c/289148/ | 09:21 |
gampel1 | https://review.openstack.org/#/c/294374/ | 09:21 |
gampel1 | yuli raofei whats the status of the problem with it | 09:22 |
raofei | yuli find the dnat rules will not update following the gw ip update . | 09:23 |
raofei | but I test it and it works fine. | 09:23 |
raofei | so we are discussing what's the different for our test setup or test method. | 09:23 |
yuli_s | i will check the code | 09:29 |
raofei | can you do the debug for the update_logical_switch in dnat_app.py? | 09:30 |
raofei | dnat will process lswitch update event when gw ip changed | 09:30 |
raofei | we need to make sure dnat received this event firstly. | 09:31 |
yuli_s | ok, i found the problem | 09:37 |
yuli_s | by default router1 is in admin tenant | 09:37 |
yuli_s | while floatingips that I have are in demo network | 09:40 |
yuli_s | so, no floating ips are returned, so, none are updated | 09:41 |
yuli_s | def check_and_update_floatingip(self, lswitch, topic=None): | 09:44 |
yuli_s | for fip in self.get_floatingips(topic): | 09:44 |
yuli_s | can you please filter here based on "floating_network_id" | 09:49 |
yuli_s | - for fip in self.get_floatingips(topic): | 09:59 |
yuli_s | + for fip in self.get_floatingips(): | 09:59 |
yuli_s | in dragonflow/db/db_store.py | 09:59 |
yuli_s | in check_and_update_floatingip(self, lswitch, topic=None): | 10:00 |
yuli_s | raofei, ? | 10:07 |
gampel1 | yuli: ping | 10:28 |
openstackgerrit | Merged openstack/dragonflow: Allow port update and reduce double port set https://review.openstack.org/299866 | 10:32 |
gampel1 | feipeng: ping | 10:32 |
*** yamamot__ has quit IRC | 10:34 | |
yuli_s | i am here | 10:53 |
*** gampel2 has joined #openstack-dragonflow | 11:00 | |
raofei | hi yuli, if the network/router is not shared, i don't a floating ip create based on other tenant. | 11:00 |
raofei | i don't think | 11:00 |
*** gampel1 has quit IRC | 11:02 | |
yuli_s | neutron router-show router1 | 11:02 |
yuli_s | +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ | 11:02 |
yuli_s | | Field | Value | | 11:02 |
yuli_s | +-----------------------+-----------------------------------------------------------------------------------------------------------------------------------------+ | 11:02 |
yuli_s | | admin_state_up | True | | 11:02 |
yuli_s | | description | | | 11:02 |
yuli_s | | distributed | True | | 11:02 |
yuli_s | | external_gateway_info | {"network_id": "f40a4b8a-1206-4c8e-abee-917d12e58114", "enable_snat": true, "external_fixed_ips": [{"subnet_id": | | 11:02 |
yuli_s | | | "eff6bcff-e282-4492-86d4-6d256eb9f2ec", "ip_address": "10.100.100.200"}, {"subnet_id": "671800c6-be42-40f6-ac2c-71886d91f127", | | 11:02 |
yuli_s | | | "ip_address": "2001:db8::1"}]} | | 11:02 |
yuli_s | | id | 83d760ec-1929-40da-be51-9e4574a830a1 | | 11:03 |
yuli_s | | name | router1 | | 11:03 |
yuli_s | | status | ACTIVE | | 11:03 |
yuli_s | | tenant_id | 19cbf2a3a64a4b9fb0d999029e | 11:03 |
yuli_s | neutron subnet-show public-subnet | 11:03 |
yuli_s | +-------------------+------------------------------------------------------+ | 11:03 |
yuli_s | | Field | Value | | 11:03 |
yuli_s | +-------------------+------------------------------------------------------+ | 11:03 |
yuli_s | | allocation_pools | {"start": "10.100.100.200", "end": "10.100.100.220"} | | 11:03 |
yuli_s | | cidr | 10.100.0.0/16 | | 11:03 |
yuli_s | | created_at | 2016-04-05T07:54:33 | | 11:03 |
yuli_s | | description | | | 11:03 |
yuli_s | | dns_nameservers | | | 11:03 |
yuli_s | | enable_dhcp | False | | 11:03 |
yuli_s | | gateway_ip | 10.100.100.99 | | 11:03 |
yuli_s | | host_routes | | | 11:03 |
yuli_s | | id | eff6bcff-e282-4492-86d4-6d256eb9f2ec | | 11:03 |
yuli_s | | ip_version | 4 | | 11:03 |
yuli_s | | ipv6_address_mode | | | 11:03 |
yuli_s | | ipv6_ra_mode | | | 11:03 |
yuli_s | | name | public-subnet | | 11:03 |
yuli_s | | network_id | f40a4b8a-1206-4c8e-abee-917d12e58114 | | 11:03 |
yuli_s | | subnetpool_id | | | 11:03 |
yuli_s | | tenant_id | 06d3282c8a7a4be1a2d3d017755efc01 | | 11:04 |
yuli_s | | updated_at | 2016-04-05T10:58:51 | | 11:04 |
yuli_s | +-------------------+------------------------------------------------------+ | 11:04 |
yuli_s | btw, I have this patch: https://review.openstack.org/#/c/301003/ | 11:04 |
raofei | can you show me the floating ip and ext-network? | 11:04 |
yuli_s | neutron net-show public | 11:05 |
yuli_s | +-----------------+--------------------------------------+ | 11:05 |
yuli_s | | Field | Value | | 11:05 |
yuli_s | +-----------------+--------------------------------------+ | 11:05 |
yuli_s | | admin_state_up | True | | 11:05 |
yuli_s | | created_at | 2016-04-05T07:54:29 | | 11:05 |
yuli_s | | description | | | 11:05 |
yuli_s | | id | f40a4b8a-1206-4c8e-abee-917d12e58114 | | 11:05 |
yuli_s | | is_default | True | | 11:05 |
yuli_s | | name | public | | 11:05 |
yuli_s | | router:external | True | | 11:05 |
yuli_s | | shared | False | | 11:05 |
yuli_s | | status | ACTIVE | | 11:05 |
yuli_s | | subnets | eff6bcff-e282-4492-86d4-6d256eb9f2ec | | 11:05 |
yuli_s | | | 671800c6-be42-40f6-ac2c-71886d91f127 | | 11:05 |
yuli_s | | tags | | | 11:05 |
yuli_s | | tenant_id | 06d3282c8a7a4be1a2d3d017755efc01 | | 11:06 |
yuli_s | | updated_at | 2016-04-05T07:54:29 | | 11:06 |
yuli_s | +-----------------+--------------------------------------+ | 11:06 |
yuli_s | neutron floatingip-show 2b7a3178-2908-495c-bc86-a8ba48d86800 | 11:06 |
yuli_s | +---------------------+--------------------------------------+ | 11:06 |
yuli_s | | Field | Value | | 11:06 |
yuli_s | +---------------------+--------------------------------------+ | 11:06 |
yuli_s | | description | | | 11:06 |
yuli_s | | fixed_ip_address | 10.0.0.3 | | 11:06 |
yuli_s | | floating_ip_address | 10.100.100.201 | | 11:06 |
yuli_s | | floating_network_id | f40a4b8a-1206-4c8e-abee-917d12e58114 | | 11:06 |
yuli_s | | id | 2b7a3178-2908-495c-bc86-a8ba48d86800 | | 11:06 |
yuli_s | | port_id | ac915ce0-40ec-47fc-bc51-01cce70794b7 | | 11:06 |
yuli_s | | router_id | 83d760ec-1929-40da-be51-9e4574a830a1 | | 11:06 |
yuli_s | | status | ACTIVE | | 11:06 |
yuli_s | | tenant_id | 19cbf2a3a64a4b9fb0d999029e9dc314 | | 11:06 |
yuli_s | +---------------------+--------------------------------------+ | 11:06 |
yuli_s | neutron port-show ac915ce0-40ec-47fc-bc51-01cce70794b7 | 11:07 |
yuli_s | +---------------------+-------------------------------------------------------------------------------------------------------------+ | 11:07 |
yuli_s | | Field | Value | | 11:07 |
yuli_s | +---------------------+-------------------------------------------------------------------------------------------------------------+ | 11:07 |
yuli_s | | admin_state_up | True | | 11:07 |
yuli_s | | binding:host_id | ubuntu | | 11:07 |
yuli_s | | binding:vif_details | {"port_filter": true} | | 11:07 |
yuli_s | | binding:vif_type | ovs | | 11:07 |
yuli_s | | binding:vnic_type | normal | | 11:07 |
yuli_s | | created_at | 2016-04-05T08:07:29 | | 11:07 |
yuli_s | | description | | | 11:08 |
yuli_s | | device_id | 4cd32d7d-e6ab-4349-9292-8986669fa2d7 | | 11:08 |
yuli_s | | device_owner | compute:nova | | 11:08 |
yuli_s | | extra_dhcp_opts | | | 11:08 |
yuli_s | | fixed_ips | {"subnet_id": "b8d52f7a-f277-4fc3-be4c-7fce74c2324d", "ip_address": "10.0.0.3"} | | 11:08 |
yuli_s | | | {"subnet_id": "026a1107-974b-4d10-b6ec-96d80f3887eb", "ip_address": "fd09:4919:14bc:0:f816:3e | 11:08 |
yuli_s | keystone tenant-list | 11:08 |
yuli_s | +----------------------------------+--------------------+---------+ | 11:08 |
yuli_s | | id | name | enabled | | 11:08 |
yuli_s | +----------------------------------+--------------------+---------+ | 11:08 |
yuli_s | | 06d3282c8a7a4be1a2d3d017755efc01 | admin | True | | 11:08 |
yuli_s | | 38145bc2fa1142da98d23fd4ec10e737 | alt_demo | True | | 11:08 |
yuli_s | | 19cbf2a3a64a4b9fb0d999029e9dc314 | demo | True | | 11:08 |
yuli_s | | 7f5b01e8628743418cc9eec1a51f5f09 | invisible_to_admin | True | | 11:08 |
yuli_s | | d5178e61cef0465090c5eccb27d70d24 | service | True | | 11:08 |
yuli_s | +----------------------------------+--------------------+---------+ | 11:08 |
raofei | ok, so 19cbf2a3a64a4b9fb0d999029e is belong to admin tenant, and 06d3282c8a7a4be1a2d3d017755efc01 is belong to demo tenant. | 11:09 |
yuli_s | yup | 11:10 |
yuli_s | everything works here, except for update | 11:11 |
raofei | As your suggestion, I will considering to resolve this problem. | 11:14 |
yuli_s | ok, thanks | 11:14 |
raofei | I will consider resolving this problem | 11:14 |
yuli_s | ok, another problem with update | 11:17 |
yuli_s | mat be I miss something | 11:18 |
yuli_s | I do not a see a place where you update the "external_gateway_ip" field | 11:18 |
yuli_s | external_gateway_ip in floating tbale | 11:19 |
*** yamamoto has joined #openstack-dragonflow | 11:20 | |
raofei | https://www.irccloud.com/pastebin/aiPqweew/ | 11:20 |
raofei | fip.set_external_gateway_ip(subnet.get_gateway_ip()) | 11:20 |
raofei | here, external gw ip will be updated into df db | 11:21 |
yuli_s | this is the code here: | 11:21 |
yuli_s | def set_external_gateway_ip(self, gw_ip): | 11:21 |
yuli_s | self.floatingip['external_gateway_ip'] = gw_ip | 11:21 |
yuli_s | no update of the db, just in memory | 11:22 |
yuli_s | may be you have not pushed latest code ? | 11:23 |
yuli_s | besides, I am not sure, that it is the right place to change the db here on the controller, may be better place is as part of the plugin | 11:25 |
raofei | yes, maybe the code is not updated. I will check it again and push them. | 11:25 |
yuli_s | great ! | 11:25 |
*** yamamoto has quit IRC | 11:45 | |
*** yamamoto has joined #openstack-dragonflow | 11:47 | |
*** yamamoto has quit IRC | 11:59 | |
*** gampel2 has quit IRC | 12:00 | |
*** yamamoto has joined #openstack-dragonflow | 12:00 | |
*** gampel1 has joined #openstack-dragonflow | 12:01 | |
*** yamamoto has quit IRC | 12:06 | |
*** yamamoto has joined #openstack-dragonflow | 12:09 | |
*** yamamoto has quit IRC | 12:13 | |
openstackgerrit | Omer Anson proposed openstack/dragonflow: Install OVS as an OS service https://review.openstack.org/296897 | 12:13 |
*** yamamoto has joined #openstack-dragonflow | 12:15 | |
*** Frank_Duan has quit IRC | 12:17 | |
*** Frank_Duan has joined #openstack-dragonflow | 12:18 | |
*** yamamoto has quit IRC | 12:18 | |
*** oanson has joined #openstack-dragonflow | 12:21 | |
*** yamamoto has joined #openstack-dragonflow | 12:31 | |
*** yamamoto has quit IRC | 12:36 | |
openstackgerrit | heshan proposed openstack/dragonflow: code for local controller reliability https://review.openstack.org/292060 | 12:41 |
openstackgerrit | Merged openstack/dragonflow: When adding router port use tenant_id of the subnet https://review.openstack.org/301003 | 12:57 |
*** yamamoto has joined #openstack-dragonflow | 12:58 | |
*** saggi has quit IRC | 13:21 | |
*** gsagie has quit IRC | 13:21 | |
*** todin has quit IRC | 13:21 | |
*** Mic22 has quit IRC | 13:21 | |
*** oanson has quit IRC | 13:21 | |
*** hujie has quit IRC | 13:21 | |
*** Frank_Duan has quit IRC | 13:21 | |
*** yuli_s has quit IRC | 13:21 | |
*** openstackgerrit has quit IRC | 13:21 | |
*** yamamoto has quit IRC | 13:21 | |
*** irenab has quit IRC | 13:21 | |
*** gampel has quit IRC | 13:21 | |
*** Shlomo_N has quit IRC | 13:21 | |
*** ChanServ has quit IRC | 13:21 | |
*** hshan has quit IRC | 13:21 | |
*** mestery has quit IRC | 13:22 | |
*** gampel1 has quit IRC | 13:22 | |
*** zenoway has quit IRC | 13:22 | |
*** CrayZee has quit IRC | 13:22 | |
*** gongysh has quit IRC | 13:22 | |
*** serverascode has quit IRC | 13:22 | |
*** raofei has quit IRC | 13:22 | |
*** kun_huang has quit IRC | 13:22 | |
*** yamamoto has joined #openstack-dragonflow | 13:24 | |
*** oanson has joined #openstack-dragonflow | 13:24 | |
*** Frank_Duan has joined #openstack-dragonflow | 13:24 | |
*** gampel1 has joined #openstack-dragonflow | 13:24 | |
*** hshan has joined #openstack-dragonflow | 13:24 | |
*** zenoway has joined #openstack-dragonflow | 13:24 | |
*** irenab has joined #openstack-dragonflow | 13:24 | |
*** yuli_s has joined #openstack-dragonflow | 13:24 | |
*** hujie has joined #openstack-dragonflow | 13:24 | |
*** raofei has joined #openstack-dragonflow | 13:24 | |
*** gampel has joined #openstack-dragonflow | 13:24 | |
*** saggi has joined #openstack-dragonflow | 13:24 | |
*** gsagie has joined #openstack-dragonflow | 13:24 | |
*** Shlomo_N has joined #openstack-dragonflow | 13:24 | |
*** todin has joined #openstack-dragonflow | 13:24 | |
*** CrayZee has joined #openstack-dragonflow | 13:24 | |
*** openstackgerrit has joined #openstack-dragonflow | 13:24 | |
*** gongysh has joined #openstack-dragonflow | 13:24 | |
*** serverascode has joined #openstack-dragonflow | 13:24 | |
*** Mic22 has joined #openstack-dragonflow | 13:24 | |
*** kun_huang has joined #openstack-dragonflow | 13:24 | |
*** mestery has joined #openstack-dragonflow | 13:24 | |
*** ChanServ has joined #openstack-dragonflow | 13:24 | |
*** wolfe.freenode.net sets mode: +o ChanServ | 13:24 | |
*** pl0pix has joined #openstack-dragonflow | 13:25 | |
*** yamamoto has quit IRC | 13:34 | |
*** yamamoto has joined #openstack-dragonflow | 13:41 | |
*** dingboopt has joined #openstack-dragonflow | 13:51 | |
openstackgerrit | Omer Anson proposed openstack/dragonflow: use IDLs built-in notify for ovsdb monitor https://review.openstack.org/301691 | 14:05 |
*** DuanKebo has joined #openstack-dragonflow | 14:07 | |
*** DuanKebo has quit IRC | 14:18 | |
*** oanson has quit IRC | 14:20 | |
*** DuanKebo has joined #openstack-dragonflow | 14:56 | |
*** yuli_s has quit IRC | 15:25 | |
openstackgerrit | Fei Rao proposed openstack/dragonflow: The implementation of distributed-DNAT https://review.openstack.org/289148 | 15:35 |
openstackgerrit | Merged openstack/dragonflow: Dragonflow L3 Agent for distributed DNAT https://review.openstack.org/294374 | 15:53 |
*** zenoway has quit IRC | 15:56 | |
*** zenoway has joined #openstack-dragonflow | 15:57 | |
*** zenoway has quit IRC | 16:01 | |
*** DuanKebo has quit IRC | 16:02 | |
*** oanson has joined #openstack-dragonflow | 16:28 | |
openstackgerrit | Omer Anson proposed openstack/dragonflow: Support py34 tests for redis https://review.openstack.org/301823 | 16:46 |
*** oanson has quit IRC | 17:53 | |
*** dingboopt has quit IRC | 17:57 | |
*** zenoway has joined #openstack-dragonflow | 18:11 | |
*** yamamoto has quit IRC | 18:12 | |
*** zenoway has quit IRC | 18:15 | |
*** yamamoto has joined #openstack-dragonflow | 18:16 | |
*** zenoway has joined #openstack-dragonflow | 18:18 | |
*** yamamoto has quit IRC | 18:21 | |
*** mastermind has joined #openstack-dragonflow | 18:24 | |
*** zenoway has quit IRC | 18:27 | |
*** oanson has joined #openstack-dragonflow | 18:42 | |
*** yamamoto has joined #openstack-dragonflow | 18:46 | |
*** gampel1 has quit IRC | 18:53 | |
*** yamamoto has quit IRC | 18:54 | |
*** oanson has quit IRC | 19:06 | |
*** oanson has joined #openstack-dragonflow | 19:07 | |
*** yamamoto has joined #openstack-dragonflow | 19:24 | |
*** yamamoto has quit IRC | 19:24 | |
*** irenab has quit IRC | 19:30 | |
*** irenab has joined #openstack-dragonflow | 19:30 | |
*** yamamoto has joined #openstack-dragonflow | 19:31 | |
*** yamamoto has quit IRC | 19:36 | |
*** yamamoto has joined #openstack-dragonflow | 20:30 | |
*** yamamoto has quit IRC | 20:36 | |
*** oanson has quit IRC | 20:37 | |
*** yamamoto has joined #openstack-dragonflow | 21:01 | |
*** yamamoto has quit IRC | 21:06 | |
*** yamamoto has joined #openstack-dragonflow | 21:46 | |
*** yamamoto has quit IRC | 21:50 | |
*** mastermind has quit IRC | 21:51 | |
*** zenoway has joined #openstack-dragonflow | 22:06 | |
*** zenoway has quit IRC | 22:26 | |
*** zenoway has joined #openstack-dragonflow | 22:26 | |
*** yamamoto_ has joined #openstack-dragonflow | 22:31 | |
*** zenoway has quit IRC | 22:31 | |
*** yamamoto_ has quit IRC | 22:35 | |
*** zenoway has joined #openstack-dragonflow | 23:06 | |
*** zenoway has quit IRC | 23:11 | |
*** yamamoto_ has joined #openstack-dragonflow | 23:16 | |
*** yamamoto_ has quit IRC | 23:21 | |
*** yamamoto_ has joined #openstack-dragonflow | 23:50 |
Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!