Wednesday, 2016-03-30

*** hujie11 has quit IRC01:39
*** liuhaixia has quit IRC02:05
openstackgerrityuan wei proposed openstack/dragonflow: Impliment security group fullstack and ut cases  https://review.openstack.org/29910503:39
oansonnick-ma: ping05:20
nick-maoanson: pang05:26
nick-maoanson: pong~~~~~~05:26
oansonHi05:28
oansonI wanted to ask about https://review.openstack.org/#/c/298121/05:28
openstackgerritOmer Anson proposed openstack/dragonflow: Lookup router_port's network_id with lswitch's topic  https://review.openstack.org/29812105:32
openstackgerritOmer Anson proposed openstack/dragonflow: Do not log error on missing table during pub/sub test  https://review.openstack.org/29719805:54
*** irenab has joined #openstack-dragonflow05:59
*** gampel1 has joined #openstack-dragonflow06:00
openstackgerritOmer Anson proposed openstack/dragonflow: Add publisher's table  https://review.openstack.org/29716706:07
gampelyuli:ping06:11
gampelyuli ping06:15
gampelyuli ping06:17
raofeiyuli ping06:18
gampelyuli: raofei will help you with the setup06:19
gampelyuli: do you have a setup running with DVR enabled ?06:19
gampelraofei:  are we building the br-ex on the compute node as well in the devstack script06:20
gampelyuli: ??06:20
raofeiyes. actually, br-ex is created by df-controller currently.06:20
raofeidevstack script just set the neutron.conf for external network items.06:21
gampelwe need documentation for the end user how to add the physical nic to br-ex06:21
gampelit can be in a different patch on our wiki on how to set up distributed  DNAT06:22
raofeiok. I think it user use devstack, then I will add a item in local.conf to assign physical nic to connect external network06:22
raofeiyes. I will do it.06:22
*** yuli_s has joined #openstack-dragonflow06:23
yuli_sHello all06:23
gampelI am not sure we need the physical nic in the devsatck but we need guide for the admin how to set it up06:23
raofeiAt the beginning, i think br-ex and physical nic is managed by adminstrator06:23
raofeiOK06:23
gampelyuli: raofei will help you with the setup whats the status of the testing ?06:24
raofeiThe behaviour is similar with the original l3 feature, adminstrator manage the br-ex and physical network.06:24
yuli_smy computer had powered off06:25
raofei@Yuli, I send a message to you this morning06:25
yuli_sraofei, gmail ?06:25
raofeiBefore creating fip, you need 1)set the gateway into router. eg, neutron router-gateway-set router-demo ext-net; 2) then create fip. eg, neutron floatingip-create ext-net;06:25
raofeijust irc channel06:26
yuli_smy computer was closed06:26
yuli_splease send it to stremovsky@gmail.com06:27
raofeiwhen you physical service is recovery, please try to do it.06:27
raofeithis is same with centralized router.06:27
yuli_sraofei, why public network is not created automatically now ?06:28
* yuli_s running stack06:29
raofeiI need to verify it on my setup. it's created on my setup06:29
yuli_sI am doing stack every day06:30
yuli_sit just happened yesterday for the first time,06:31
gsagieraofei: maybe send yuli_s your local.conf06:31
gsagieso you can compare, maybe the problem is there06:31
raofeiMaybe it's because we disabled the l3-agent. but I have to check it again.06:31
yuli_sI run stack several times yesterday and it was heppening all the time06:31
yuli_sok, give me your email,06:32
yuli_si will send you the file06:32
gsagiealso maybe its a different devstack version you are trying with06:32
gsagieraofei: you work with master devstack/master neutron?06:32
raofeiyes. I use the master devstack06:32
raofeibut I haven't update it for 1 month.06:33
yuli_syou better update06:34
raofeiI think if devstack cannot create external network, it will not impact our test. we can create network manually06:34
raofeisure, I will update it and test it today.06:34
yuli_sraofei, we have done that yesterday06:35
raofeiyes, and you found fip cannot be created successfully.06:36
yuli_sbtw06:36
yuli_swhat is your email,06:36
raofeiI checked your router configuration, it's because you didn't set the gateway.06:36
yuli_sI will send you my  local.conf06:36
raofeimilo.raofei@huawei.com06:37
raofeiOK, I will check it on my setup now06:37
yuli_sdone06:38
yuli_su use ubuntu ?06:39
raofeiok, we are same06:39
yuli_sif yes, remove the python api code06:40
yuli_sbefore running stack06:40
yuli_sin /usr/local/lib/python2.7/dist-packages/python_*06:40
yuli_sin /usr/local/lib/python2.7/dist-packages/neutron*06:40
yuli_sin /usr/local/lib/python2.7/dist-packages/oslo*06:41
yuli_swhen running "clean.sh" it is not removed06:41
raofeido you mean need to clear the setup?06:42
raofeiyes, I always clear the setup by clean.sh06:42
yuli_syes, it just do not removes the library code06:42
yuli_sas a result, new version might not work, so you remove the libraries code too,06:43
yuli_sbefore running stack.sh06:43
yuli_sand you can also run "git pull" in devstack installation dir06:44
yuli_sto get the latest version06:44
yuli_sok, I got the stack up & running06:45
openstackgerrityuan wei proposed openstack/dragonflow: Impliment security group fullstack and ut cases  https://review.openstack.org/29910506:46
gsagieyuli_s: i dont think its related to the libs06:47
yuli_syes, just he used an old version of code,06:47
yuli_si had to remove old libs a week ago to be able to run stack06:48
gsagieraofei: i will try to run your patch as well, can you please send me your local.conf06:48
gsagiethat you were able to work with06:48
gsagieto gal.sagie@gmail.com06:48
gsagieand what other actions are you doing beside the stack? do you also connect the physical NIC to br-ex and change routing?06:49
yuli_sagain, I have a problem like yesterday : "Port to be associated" is empty !06:57
yuli_sok, found a problem this time !07:02
openstackgerritNguyen Hung Phuong proposed openstack/dragonflow: Fix typos in Dragonflow files  https://review.openstack.org/29916707:06
yuli_sfrom vm I can ping private gw07:08
yuli_sno ping to 8.8.8.807:08
yuli_sraofei, any ideas ?\07:14
raofeisorry, just see the message. I will send the email07:16
raofei@Eran, yuli I sent a mail to you.07:23
raofei@Eran, I create the br-ex and add a physical nic into br-ex(such as eth1). When df-controller get restart, it will create patch ports to connect br-int and br-tun.07:25
raofei@Yuli, do you add the private network into router?07:26
yuli_syes07:28
yuli_si am checking now the tcpdump07:32
yuli_si see ping on tap device07:32
yuli_s10:32:52.980181 IP 10.0.0.3 > google-public-dns-a.google.com: ICMP echo request, id 22529, seq 98, length 6407:33
yuli_snothing on br-ex07:34
yuli_ssudo tcpdump -i br-ex ICMP07:34
yuli_ssudo tcpdump -i br-ex icmp07:34
raofeido you test on single node or mutiple node?07:35
yuli_ssingle box07:35
raofeiif single node, you need disable q-l307:35
raofeiplease dump flow of br-int07:36
yuli_s#enable_service q-l307:36
raofeishow me the dump-flows07:36
yuli_ssending it to your email07:36
raofeiwhere is you external gateway?07:37
yuli_sgood question07:38
yuli_slet me check07:38
raofeiThe problem is df controller cannot learn the arp from gateway.07:38
yuli_syes07:39
yuli_si do not remember that I specified anywhere the external gw07:40
yuli_stoday07:40
yuli_si have this in local.config: PUBLIC_NETWORK_GATEWAY=10.100.100.807:40
yuli_show to make sure it is used ?07:41
raofeithe external gateway is managed by administrator, you can just configure the 10.100.100.8 on some device of external network07:42
yuli_sI have it is place07:42
yuli_sbr-ex has addr:10.100.100.807:43
openstackgerritMerged openstack/dragonflow: OVSDB monitor to filter port update events  https://review.openstack.org/29718807:43
yuli_sraofei, what you advise me to do ?07:44
yuli_si do not see any icmp packets on br-ex07:45
raofeiyou need to tcpdump whether br-ex send arp to br-int07:45
raofeiyou just ping fip -I 10.100.100.807:45
raofeito trigger the arp07:46
raofeior you can do as below.  tcpdump -i br-ex -n arp07:47
raofeiand then restart df-controller07:47
raofeiwe need to capture the arp request from controller on br-ex07:47
yuli_s10:47:38.556176 ARP, Request who-has 10.100.100.51 tell 10.100.100.1, length 4607:48
yuli_s10:47:39.558349 ARP, Request who-has 10.100.100.50 tell 10.100.100.1, length 4607:48
yuli_s10:47:39.559549 ARP, Request who-has 10.100.100.49 tell 10.100.100.1, length 4607:48
yuli_sdo not see arp request from the vm on br-ex07:48
raofeiwhat's you vm ip? what's the fip?07:48
raofeiand show me your ext-subnet07:49
yuli_svm ip: 10.0.0.307:49
yuli_sfip: 10.100.201.20007:49
yuli_sneutron net-show cb3f53f3-2694-4924-8b31-a7735906610c07:50
yuli_s+-----------------+--------------------------------------+07:50
yuli_s| Field           | Value                                |07:50
yuli_s+-----------------+--------------------------------------+07:50
yuli_s| admin_state_up  | True                                 |07:50
yuli_s| created_at      | 2016-03-30T06:50:10                  |07:51
raofeiwhat's the external subnet info?07:51
yuli_s| description     |                                      |07:51
yuli_s| id              | cb3f53f3-2694-4924-8b31-a7735906610c |07:51
yuli_s| is_default      | False                                |07:51
yuli_s| name            | pub-external                         |07:51
yuli_s| router:external | True                                 |07:51
yuli_s| shared          | False                                |07:51
yuli_s| status          | ACTIVE                               |07:51
yuli_s| subnets         | 17c869eb-909c-464b-9572-e555cb044230 |07:51
yuli_s| tags            |                                      |07:51
yuli_s| tenant_id       | 85104976665e47cfaefe8ad50e7de019     |07:51
yuli_s| updated_at      | 2016-03-30T06:50:10                  |07:51
yuli_s+-----------------+--------------------------------------+07:51
yuli_sneutron subnet-show 17c869eb-909c-464b-9572-e555cb04423007:51
yuli_s+-------------------+------------------------------------------------------+07:51
yuli_s| Field             | Value                                                |07:51
yuli_s+-------------------+------------------------------------------------------+07:51
yuli_s| allocation_pools  | {"start": "10.100.201.200", "end": "10.100.201.230"} |07:51
yuli_s| cidr              | 10.100.0.0/16                                        |07:51
yuli_s| created_at        | 2016-03-30T06:51:18                                  |07:51
yuli_s| description       |                                                      |07:51
yuli_s| dns_nameservers   |                                                      |07:51
yuli_s| enable_dhcp       | True                                                 |07:51
yuli_s| gateway_ip        | 10.100.0.1                                           |07:51
yuli_s| host_routes       |                                                      |07:51
yuli_s| id                | 17c869eb-909c-464b-9572-e555cb044230                 |07:51
yuli_s| ip_version        | 4                                                    |07:51
yuli_s| ipv6_address_mode |                                                      |07:51
yuli_s| ipv6_ra_mode      |                                                      |07:52
yuli_s| name              | pub-subnet                                           |07:52
yuli_s| network_id        | cb3f53f3-2694-4924-8b31-a7735906610c                 |07:52
yuli_s| subnetpool_id     |                                                      |07:52
yuli_s| tenant_id         | 85104976665e47cfaefe8ad50e7de019                     |07:52
yuli_s| updated_at        | 2016-03-30T06:54:58                                  |07:52
yuli_s+-------------------+------------------------------------------------------+07:52
yuli_sfrom vm I can not ping 10.100.0.107:52
raofeithe gateway ip is 10.100.0.1, but not 10.100.100.807:53
yuli_sdf-db dump | grep demo-router07:53
yuli_sKey = e6c8cdd4-1bdc-4947-ae51-e9f81df26a45 , Value = {"topic": "85104976665e47cfaefe8ad50e7de019", "external_ids": {"neutron:router_name": "demo-router"}, "distributed": true, "name": "e6c8cdd4-1bdc-4947-ae51-e9f81df26a45", "ports": [{"name": "7e730086-e29d-4c97-adc8-dec93cc62821", "lswitch": "ff2cc4d6-e2ea-4ec7-a293-569e245300af", "topic": "85104976665e47cfaefe8ad50e7de019", "mac": "fa:16:3e:63:4f:95", "tunnel_key": 7, "07:53
yuli_slrouter": "e6c8cdd4-1bdc-4947-ae51-e9f81df26a45", "network": "10.0.0.1/24"}]}07:53
raofeiyou need to configure the external gateway ip and it's 10.100.0.1 !07:53
yuli_ssec ;)07:53
yuli_sneutron subnet-update 17c869eb-909c-464b-9572-e555cb044230 --gateway_ip 10.100.100.807:54
yuli_sstill no connectivity07:58
yuli_sany ideas ?08:06
raofeimaybe you need to configure the gateway ip into a external device08:07
raofeimeanwhile you need to capture the arp request from controller on br-ex08:08
yuli_slook here08:09
yuli_s cookie=0x0, duration=3873.147s, table=20, n_packets=1823, n_bytes=175161, priority=100,ip,metadata=0x1,nw_src=10.0.0.3 actions=goto_table:3008:09
yuli_si do not have table 30 !08:10
yuli_sEGRESS_NAT_TABLE = 3008:11
yuli_sis missing08:12
yuli_shere: sudo ovs-ofctl dump-flows -O Openflow13 br-int08:13
*** gampel1 has quit IRC08:14
raofeiit's because df controller CANNOT learn the gateway arp, so there is a rule missing.08:17
raofeiThat's why I ask you to capture the arp request from controller on br-ex!!!08:18
raofei@Yuli, please configure the gateway ip into an external network device. and add a physical nic into br-ex, and this physical nic connect the external network.08:27
openstackgerrithujie proposed openstack/dragonflow: Fix ovsdb monitor connect ovsdb fail bug  https://review.openstack.org/29919908:34
yuli_shm08:38
openstackgerrithujie proposed openstack/dragonflow: Fix ovsdb monitor connect ovsdb fail bug  https://review.openstack.org/29919908:39
yuli_ssudo tcpdump -i br-ex arp08:39
yuli_s11:39:08.606370 ARP, Request who-has 10.100.100.8 tell 10.100.100.1, length 4608:40
yuli_s11:39:08.606402 ARP, Reply 10.100.100.8 is-at 74:d4:35:e0:bb:b6 (oui Unknown), length 2808:40
yuli_s11:39:13.672559 ARP, Request who-has 10.100.100.1 tell 10.100.100.8, length 2808:40
yuli_s11:39:13.672802 ARP, Reply 10.100.100.1 is-at 84:c9:b2:62:89:e0 (oui Unknown), length 4608:40
yuli_s11:39:32.726401 ARP, Request who-has 10.100.100.46 tell 10.100.100.1, length 4608:40
yuli_s11:39:32.946487 ARP, Request who-has 10.100.100.8 tell 10.100.100.1, length 4608:40
yuli_s11:39:32.946505 ARP, Reply 10.100.100.8 is-at 74:d4:35:e0:bb:b6 (oui Unknown), length 2808:40
yuli_s11:39:56.530400 ARP, Request who-has 10.100.100.1 tell 10.100.100.35, length 4608:40
yuli_s11:39:57.326556 ARP, Request who-has 10.100.100.8 tell 10.100.100.1, length 4608:40
yuli_s11:39:57.326579 ARP, Reply 10.100.100.8 is-at 74:d4:35:e0:bb:b6 (oui Unknown), length 2808:40
yuli_s10.100.100.1 is real gw08:40
yuli_schanging gw in subnet to 10.100.100.108:42
yuli_sgives better result08:43
yuli_s11:42:02.209539 ARP, Reply 10.100.0.3 is-at fa:16:3e:c8:da:c5 (oui Unknown), length 2808:43
yuli_s11:42:02.608061 ARP, Request who-has 10.100.100.35 tell 10.100.100.1, length 4608:43
yuli_s11:42:03.209436 ARP, Reply 10.100.0.3 is-at fa:16:3e:c8:da:c5 (oui Unknown), length 2808:43
yuli_s11:42:04.209577 ARP, Reply 10.100.0.3 is-at fa:16:3e:c8:da:c5 (oui Unknown), length 2808:43
yuli_s11:42:21.536514 ARP, Request who-has 10.100.100.8 tell 10.100.100.1, length 4608:43
yuli_s11:42:21.536527 ARP, Reply 10.100.100.8 is-at 74:d4:35:e0:bb:b6 (oui Unknown), length 2808:43
yuli_s11:42:23.756600 ARP, Request who-has 10.100.100.46 tell 10.100.100.1, length 4608:43
yuli_s11:42:33.896445 ARP, Request who-has 10.100.100.1 tell 10.100.100.8, length 2808:43
yuli_s11:42:33.897154 ARP, Reply 10.100.100.1 is-at 84:c9:b2:62:89:e0 (oui Unknown), length 4608:43
raofeiI'm confused. please show me the latest ext-subnet08:43
yuli_si run this command08:44
yuli_sneutron subnet-update 17c869eb-909c-464b-9572-e555cb044230 --gateway_ip 10.100.100.108:44
raofeijust now I send a mail to you08:44
yuli_sneutron subnet-show 17c869eb-909c-464b-9572-e555cb04423008:44
yuli_s+-------------------+------------------------------------------------------+08:44
yuli_s| Field             | Value                                                |08:44
yuli_s+-------------------+------------------------------------------------------+08:44
yuli_s| allocation_pools  | {"start": "10.100.201.200", "end": "10.100.201.230"} |08:44
yuli_s| cidr              | 10.100.0.0/16                                        |08:44
yuli_s| created_at        | 2016-03-30T06:51:18                                  |08:44
yuli_s| description       |                                                      |08:44
yuli_s| dns_nameservers   |                                                      |08:44
yuli_s| enable_dhcp       | True                                                 |08:44
yuli_s| gateway_ip        | 10.100.100.1                                         |08:44
yuli_s| host_routes       |                                                      |08:44
yuli_s| id                | 17c869eb-909c-464b-9572-e555cb044230                 |08:44
yuli_s| ip_version        | 4                                                    |08:44
yuli_s| ipv6_address_mode |                                                      |08:44
yuli_s| ipv6_ra_mode      |                                                      |08:44
yuli_s| name              | pub-subnet                                           |08:44
yuli_s| network_id        | cb3f53f3-2694-4924-8b31-a7735906610c                 |08:44
yuli_s| subnetpool_id     |                                                      |08:44
yuli_s| tenant_id         | 85104976665e47cfaefe8ad50e7de019                     |08:44
yuli_s| updated_at        | 2016-03-30T08:42:01                                  |08:45
yuli_s+-------------------+------------------------------------------------------+08:45
raofeiWhere is the 10.100.100.1  configured?08:45
yuli_sit is physical gw, outside08:45
raofeiok, now it cannot work still?08:46
yuli_ssec.08:46
yuli_stable 30 is missing08:46
yuli_sroute -n08:47
yuli_sKernel IP routing table08:47
yuli_sDestination     Gateway         Genmask         Flags Metric Ref    Use Iface08:47
yuli_s0.0.0.0         10.100.100.1    0.0.0.0         UG    0      0        0 br-ex08:47
yuli_s10.100.0.0      0.0.0.0         255.255.0.0     U     0      0        0 br-ex08:47
yuli_s192.168.122.0   0.0.0.0         255.255.255.0   U     0      0        0 virbr008:47
raofeiare you enable em1 up08:48
raofeiifconfig em1 up08:48
raofeido as below08:48
raofei1. tcpdump -i em1 -n arp08:48
raofei2. ping fip -I 10.100.100.1 on the outside gateway device.08:49
raofeiyou need captured the arp request on the em1 firstly08:49
yuli_s11:51:00.544607 ARP, Request who-has 10.100.100.50 tell 10.100.100.1, length 4608:51
yuli_s11:51:00.546637 ARP, Request who-has 10.100.100.49 tell 10.100.100.1, length 4608:51
yuli_s11:51:00.548626 ARP, Request who-has 10.100.100.48 tell 10.100.100.1, length 4608:51
yuli_s11:51:01.550544 ARP, Request who-has 10.100.100.47 tell 10.100.100.1, length 4608:51
yuli_s11:51:01.552898 ARP, Request who-has 10.100.100.46 tell 10.100.100.1, length 4608:51
yuli_s11:51:01.555442 ARP, Request who-has 10.100.100.45 tell 10.100.100.1, length 4608:51
yuli_sis there a way for you to connect to my huawei box ?08:51
yuli_slike in rdesktop ?08:52
raofeiit seems your gateway cannot connect to your setup08:52
raofeiyou didn't capture the packet08:53
yuli_si will talk with the IT regarding the rdesktop08:55
yuli_sbe back in a minute08:55
yuli_si have talked with the IT manager08:58
openstackgerritMerged openstack/dragonflow: Add tests for L3 application  https://review.openstack.org/29731608:59
yuli_si think it should be private08:59
openstackgerritMerged openstack/dragonflow: Fix py3 mock cannot be compared to int  https://review.openstack.org/29859509:00
openstackgerritduankebo proposed openstack/dragonflow: Solve the problem that sometimes network can't be recycled due to some ports of that network are used by some vms  https://review.openstack.org/29794009:01
openstackgerritduankebo proposed openstack/dragonflow: k  https://review.openstack.org/29922609:13
*** hujie1 has joined #openstack-dragonflow09:15
openstackgerritduankebo proposed openstack/dragonflow:  Please enter the commit message for your changes. Lines starting  https://review.openstack.org/29652209:18
*** liuhaixia has joined #openstack-dragonflow09:23
openstackgerritfeipeng proposed openstack/dragonflow: Add Redis Devstack  https://review.openstack.org/29791609:51
yuli_sgal is here10:00
yuli_si can ping 10.100.100.8 from other host10:01
yuli_sping to 10.100.201.200 from other server is not working10:01
yuli_sgal we have a problem running ping from VM to outer world10:03
yuli_sonly ping to local gw works10:03
yuli_son public network subnet10:08
yuli_s1. i tried to use Ip assigned on br-ex10:08
yuli_s1. i tried to use Ip oh physical gw10:08
yuli_s2. i tried to use Ip of physical gw10:09
yuli_sin openflow rules we have table 30 missing (EGRESS_NAT_TABLE = 30)10:09
yuli_s<raofei> it's because df controller CANNOT learn the gateway arp, so there is a rule missing.\10:10
yuli_sso, as raofei suggested there is a problem with ARP packets10:11
yuli_ssomewhere in my lab10:11
yuli_sso, we are trying to debug this10:12
raofeiif your setup is built on vm(with nested vm), then it's vey easy to set the external gateway.10:13
yuli_sbtw, what should I use as a gateway_ip in pub-subnet ?10:14
yuli_sbtw, what IP should I use as a gateway_ip in pub-subnet ?10:14
raofeigateway_ip        | 10.100.100.110:14
raofeithis is the external gateway ip10:15
yuli_sok great,10:15
raofeibtw, you need disable the q-l310:15
yuli_sthis IP I used for the last few hours10:15
yuli_sit is disabled and not running10:16
gsagieraofei: the controller learn the physical gateway using learn flows?10:17
gsagiei guess you mean the physical gateway MAC10:17
gsagieis there anyway that yuli_s can first hard code the MAC and try it out10:18
yuli_sraofei, can you point me to Openflow rule where the df controller receives the gateway arp ?10:24
yuli_sbe back a bit later11:09
yuli_sgoing to eat11:09
oansonHi, I'm dropping in on this :)11:34
oansonshlomo@ubuntu:~$ arp -an11:34
oanson? (10.100.200.200) at <incomplete> on br-ex11:34
oanson? (10.100.100.17) at 3c:97:0e:e0:9a:c2 [ether] on br-ex11:34
oanson? (10.100.100.37) at 3c:97:0e:a4:4d:84 [ether] on br-ex11:34
oanson? (10.100.100.1) at 84:c9:b2:62:89:e0 [ether] on br-ex11:34
oanson? (10.100.201.200) at <incomplete> on br-ex11:34
oansonshlomo@ubuntu:~$11:34
hujie1Hi Omer, I have reviewed your code about ovsdb monitor filter br-int bug, I have a question, when ovsdb monitor receive the notify message from ovsdb, how could you make sure that the port info has been stored in the IDL cache?11:36
*** openstackgerrit has quit IRC11:47
*** openstackgerrit has joined #openstack-dragonflow11:48
oansonHi. It looks like the gw ip is defined badly. It should be 10.100.100.1. It looks like its configured to be 10.100.0.1. yuli_s will look into it in his env.12:04
yuli_sok12:11
yuli_sin df db12:11
yuli_sKey = cb3f53f3-2694-4924-8b31-a7735906610c , Value = {"topic": "85104976665e47cfaefe8ad50e7de019", "subnets": [{"dhcp_ip": "10.100.0.2", "enable_dhcp": true, "lswitch": "cb3f53f3-2694-4924-8b31-a7735906610c", "dns_nameservers": [], "gateway_ip": "10.100.100.1", "cidr": "10.100.0.0/16", "id": "17c869eb-909c-464b-9572-e555cb044230"}], "external_ids": {"neutron:network_name": "pub-external"}, "name": "cb3f53f3-2694-4924-8b3112:12
yuli_s-a7735906610c"}12:12
yuli_sso, in df db we have a correct gateway ip - "gateway_ip": "10.100.100.1"12:12
yuli_sin openflow rules we have:12:14
yuli_s cookie=0x0, duration=6411.445s, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.0.1,arp_tpa=10.100.201.200,arp_op=2 actions=CONTROLLER:6553512:14
yuli_s cookie=0x0, duration=6411.445s, table=15, n_packets=0, n_bytes=0, priority=100,arp,arp_spa=10.100.0.1,arp_tpa=10.100.0.1,arp_op=1 actions=CONTROLLER:6553512:14
yuli_sso, you need to alter these rules on gateway_ip change event12:14
yuli_shere is a command I used to change gateway_ip:12:16
yuli_sneutron subnet-update 17c869eb-909c-464b-9572-e555cb044230 --gateway_ip 10.100.100.812:16
*** gampel1 has joined #openstack-dragonflow12:21
yuli_sI opend a bug for this12:23
yuli_shttps://bugs.launchpad.net/dragonflow/+bug/156383512:23
openstackLaunchpad bug 1563835 in DragonFlow "gateway_ip change event in DNAT" [High,New]12:23
yuli_si found another problem:12:25
yuli_sdf-db dump | grep 10.100.0.112:25
yuli_sKey = 40348c8c-aae3-4831-a292-80472cfa5439 , Value = {"router_id": "e6c8cdd4-1bdc-4947-ae51-e9f81df26a45", "status": "ACTIVE", "name": "40348c8c-aae3-4831-a292-80472cfa5439", "floating_port_id": "871352b4-d1da-48b9-92b5-d141c062e877", "floating_mac_address": "fa:16:3e:42:4a:8e", "floating_network_id": "cb3f53f3-2694-4924-8b31-a7735906610c", "topic": "85104976665e47cfaefe8ad50e7de019", "fixed_ip_address": "10.0.0.3", "floa12:25
yuli_sting_ip_address": "10.100.201.200", "external_cidr": "10.100.0.0/16", "port_id": "91693805-d02d-4e0d-8091-1f4918cab08e", "external_gateway_ip": "10.100.0.1"}12:25
raofeiHi yuli, current dnat doesn't process the subnet update event and router update event. it will be supported later.12:28
raofeiso please test dnat without change external subnet gateway.12:29
yuli_sok, great !12:30
yuli_sit is very strange12:30
raofeidnat APP doesn't process these two updation event.12:30
yuli_smy recommendations might not be fully correct.12:30
yuli_sthis is is taken from floatingip table : "external_gateway_ip": "10.100.0.1"12:31
yuli_sthis IP is taken from floatingip table : "external_gateway_ip": "10.100.0.1"12:31
yuli_si have restarted DF controller,12:31
yuli_sthe old value is still in use ("10.100.0.1") and not ("10.100.100.1"12:32
raofeiI think when you create external subnet first time, the gateway ip is 10.100.0.112:32
yuli_syes !12:32
yuli_sthis where from this IP is originating12:33
*** openstackgerrit has quit IRC12:33
raofeiso when you update this value, it doesn't change12:33
*** openstackgerrit has joined #openstack-dragonflow12:33
yuli_syes, same for floatingip table "external_gateway_ip" field12:34
yuli_sstrange12:34
yuli_sok, found it12:38
raofeiit's not strange.12:38
yuli_s    @lock_db.wrap_db_lock()12:38
yuli_s    def create_floatingip(self, context, floatingip):12:38
yuli_s.........12:38
yuli_s        self.nb_api.create_floatingip(12:38
yuli_s..............12:38
yuli_s                external_gateway_ip=floatingip_subnet['gateway_ip'],12:38
raofeiactually, I'm going to implement updation on a new patch.12:39
yuli_sgreat !12:39
raofeiso please check the dnat without updation gateway ip12:39
yuli_syup12:40
yuli_sthank you for the patience ;)12:41
raofeiu are welcome12:43
yuli_sduo xie12:43
yuli_s;)12:43
raofei@Gal, current DNAT App doesn't support configuring static gateway mac. Today's issue it's because DNAT doesn't support gateway ip updation.12:47
gampel1I want to merge the Redis patch any objection ?12:55
gampel1not the dev stack the driver12:55
openstackgerritOmer Anson proposed openstack/dragonflow: Add publisher's table  https://review.openstack.org/29716712:56
raofeianybody occur this problem?12:58
raofeihttps://www.irccloud.com/pastebin/WAQVrPfb/12:58
raofeiwith latest devstack12:59
raofeiI know the issue, it's because ovs kernal is not load12:59
yuli_sbtw13:01
yuli_sneutron floatingip-delete id is not working13:01
gampel1yuli_s:  whats the problem13:02
yuli_sit just not working13:02
yuli_sneutron floatingip-delete 871352b4-d1da-48b9-92b5-d141c062e87713:02
yuli_sFloating IP 871352b4-d1da-48b9-92b5-d141c062e877 could not be found13:02
yuli_sNeutron server returns request_ids: ['req-38f0fcd0-a6d0-4434-8c91-8e47b3f9080b']13:02
yuli_sneutron floatingip-list13:02
yuli_s+--------------------------------------+------------------+---------------------+---------+13:02
yuli_s| id                                   | fixed_ip_address | floating_ip_address | port_id |13:02
yuli_s+--------------------------------------+------------------+---------------------+---------+13:02
yuli_s| 40348c8c-aae3-4831-a292-80472cfa5439 |                  | 10.100.201.200      |         |13:02
yuli_s+--------------------------------------+------------------+---------------------+---------+13:02
yuli_sops13:03
yuli_swrong id13:03
yuli_si used wrong id, it is ok13:03
gampel1you used the wrong id and it deleted another fip ?13:04
yuli_snop, i had one fid13:05
yuli_sfip13:05
gampel1yuli can you please describe the problem I am not sure i understand13:06
yuli_s<raofei> @Gal, current DNAT App doesn't support configuring static gateway mac. Today's issue it's because DNAT doesn't support gateway ip updation.13:08
yuli_sthis command is not handled correctly "neutron subnet-update 17c869eb-909c-464b-9572-e555cb044230 --gateway_ip 10.100.100.8"13:10
yuli_si was researching this bug13:11
yuli_sfound that df db floatingip table13:11
yuli_shas the "external_gateway_ip": filed that is not updated13:12
yuli_sso, I was trying to continue with the tests, so,13:12
yuli_si removed the flowtingip13:12
yuli_sand got a new one13:12
yuli_swith correct gateway now13:13
openstackgerritOmer Anson proposed openstack/dragonflow: Install OVS as an OS service  https://review.openstack.org/29689713:17
*** openstackgerrit has quit IRC13:18
*** openstackgerrit has joined #openstack-dragonflow13:19
openstackgerritduankebo proposed openstack/dragonflow: Fullstack test cases for topology Fix the problem caused by overlaped ip address Change-Id: Ice5993aa3700df98fbff421d4583a6ed963c9aaf  https://review.openstack.org/29652213:24
gampel1I want to merge the Redis patch any objection ?13:26
openstackgerritMerged openstack/dragonflow: Fix openflow dump exception  https://review.openstack.org/29803913:27
gampel1nick-ma: ping13:27
DuanKeboI agree13:30
nick-magampel1: pong13:40
*** gongysh has quit IRC13:42
*** gongysh has joined #openstack-dragonflow13:54
openstackgerritMerged openstack/dragonflow: Fix typos in Dragonflow files  https://review.openstack.org/29916713:56
nick-magampel1: what's up?13:58
openstackgerritMerged openstack/dragonflow: Solve the problem that sometimes network can't be recycled due to some ports of that network are used by some vms  https://review.openstack.org/29794014:01
gampel1I want to merge the devstack patch14:10
gampel1You were active on that patch and i want to see that it is Ok with you14:11
gampel1nick-ma:I want to merge the devstack patch14:11
gampel1I want to merge the redis driver patch not the devstack14:11
nick-maok. i tried to set up redis for testing. but due to network restriction, my dev machine  cannot access ruby sites. so, i cannot run it properly and i don't have time to manually build the whole environment.14:15
openstackgerritOmer Anson proposed openstack/dragonflow: Do not log error on missing table during pub/sub test  https://review.openstack.org/29719814:16
nick-magampel1: you can merge it. i'll find out how to run devstack for redis. maybe i need to buy a stable vpn connection to access ruby sites. it's really annoying.14:19
gampel1nick-ma: if we could help let us know maybe we could clone it in our offices14:21
nick-magampel1: np. thanks. actually i don't think relying on ruby scripts to build redis cluster is a good idea. it installs ruby runtime and lots of packages in my machine that generally i don't need them at all. but it is the issue about devstack.14:25
gampel1ok let us know if we could help14:27
yuli_sgampel1, here https://review.openstack.org/#/c/298131/14:27
gampel1omer:  i did not know we merged dragonflow.tests.fullstack.test_apps.TestL3Ap but it is failing14:27
yuli_su advised to add another patch as Omer suggested14:28
openstackgerritMerged openstack/dragonflow: Add Redis DB Driver and Redis PubSub Driver  https://review.openstack.org/28602814:28
yuli_sand gave -1 to this patch14:28
gampel1yuli_s: why you do not fix the comments in that patch ?14:28
yuli_sOmer reported some issue that can be found in other tests14:29
nick-magampel1: the L3App is failing? I checked it before, but it works.14:29
yuli_sso, I wanted to post it as a different patch14:29
gampel1yuli_s: yes why not in the smae patch as nick-ma asked you ?14:29
gampel1nick-ma: i see that it is failing in http://logs.openstack.org/67/297167/4/check/gate-dragonflow-dsvm-fullstack-nv/7c67e69/testr_results.html.gz14:30
yuli_shm, I can make a patch here, just this problem exists in other tests located in other files14:31
nick-magampel1: http://logs.openstack.org/16/297316/3/check/gate-dragonflow-dsvm-fullstack-nv/dfbdb43/testr_results.html.gz14:31
nick-magampel1: ok, it seems that test is not stable.14:32
*** oanson has quit IRC14:32
gampel1yuli_s: no omer asked you to replace .wait_until_is_and_return with .wait_until_tru ...14:32
yuli_syes, exactly, this problem exists in other tests too14:32
gampel1yuli_s: I am not sure I understand you are submitting a change and you got comment about  your change ,14:35
yuli_si will check this again,14:35
yuli_sand add a patch14:36
gampel1thx14:36
yuli_snp14:36
*** yuli_s has quit IRC14:41
gampel1omer: ping14:48
openstackgerritEran Gampel proposed openstack/dragonflow: Remove test that are based on flow diff  https://review.openstack.org/29945214:49
*** irenab has quit IRC16:04
*** irenab has joined #openstack-dragonflow16:06
openstackgerritFei Rao proposed openstack/dragonflow: Dragonflow L3 Agent for distributed DNAT  https://review.openstack.org/29437416:11
*** openstack has joined #openstack-dragonflow17:07
*** yamamoto has quit IRC18:53
*** yamamoto has joined #openstack-dragonflow19:53
*** yamamoto has quit IRC20:03
*** openstackgerrit has quit IRC20:48
*** openstackgerrit has joined #openstack-dragonflow20:48
*** gampel1 has quit IRC22:04

Generated by irclog2html.py 2.14.0 by Marius Gedminas - find it at mg.pov.lt!