Friday, 2016-08-12

*** diogogmt has quit IRC00:08
*** SumitNaiksatam has quit IRC00:15
*** davidlenwell has quit IRC00:53
*** davidlenwell has joined #openstack-fwaas01:05
*** diogogmt has joined #openstack-fwaas01:05
*** vishwanathj has quit IRC01:10
*** chandanc_ has joined #openstack-fwaas01:30
*** vishwanathj has joined #openstack-fwaas01:32
*** chandanc_ has quit IRC01:38
*** chandanc_ has joined #openstack-fwaas02:38
*** SridarK has quit IRC02:50
*** diogogmt has quit IRC03:05
*** yamamoto has joined #openstack-fwaas03:17
*** mickeys has joined #openstack-fwaas03:23
*** mickeys has quit IRC03:27
*** vishwanathj has quit IRC04:06
*** yamamoto_ has joined #openstack-fwaas04:18
*** yamamoto_ has quit IRC04:18
*** yamamoto has quit IRC04:18
*** yamamoto has joined #openstack-fwaas04:19
*** yamamoto has quit IRC04:23
*** vishwanathj has joined #openstack-fwaas04:26
*** vishwanathj has quit IRC04:26
*** yamamoto has joined #openstack-fwaas05:04
*** vishwanathj has joined #openstack-fwaas05:29
*** vishwanathj has quit IRC05:29
*** SridarK has joined #openstack-fwaas05:59
SridarKchandanc_: hi05:59
chandanc_Hello SridarK06:05
chandanc_sorry was busy with other stuff06:05
SridarKchandanc_: oh no worries06:05
SridarKchandanc_: saw ur email - nice that u got the basic calls going06:05
chandanc_ya, but there are small small stuff to be fixed06:05
SridarKchandanc_: is there something else u would need from me - so u have a productive day06:06
SridarKchandanc_: yes noted, going thru that06:06
chandanc_For my testing, not yet06:06
chandanc_i thing i have to get on with the POST call06:06
chandanc_I havent got enough time to look at the conntrack patch06:07
chandanc_will get back06:07
chandanc_just wanted to know, what is the timelike you are looking at for the patches06:07
chandanc_*timeline06:07
SridarKchandanc_: no worries on the conntrack pls take a look when u can06:10
SridarKchandanc_: for the patches - i was hoping we can merge or be very close to merging b4 we start the next week06:10
SridarKi was hoping for tomorrow, but that looks unlikely, i have been adding to the db patch as that has to go in right after the ext06:11
chandanc_hmm, monday is holiday here. But i am hoping to get some testing done during the weekend06:11
SridarKchandanc_: yes i also realized that06:11
SridarKchandanc_: ok great, i will also be avail all weekend - to get things ready06:12
chandanc_sure will mail/irc06:14
chandanc_thanks a lot for the help06:14
chandanc_looks like we have a problem with tenant_id and project_id, the REST API is expecting to receive project_id, while neutron is only passing on tenant_id. Also the plugin code is using tenant_id while DB is mostly using project_id07:00
chandanc_I dont have a complete view of the tenant_id/project_id change, can someone provide some background/context07:01
SridarKchandanc_: yes this was a problem for me too, i think just now things have moved to project_id07:07
chandanc_any tricks ?07:07
SridarKthis also has some keystone implications, so what i did for my testing was just to replace project_id with tenant_id07:07
SridarKwhich is why the curl cmds are also with tenant_id07:08
chandanc_oh, will try that07:08
SridarKi think that will be easiest07:08
chandanc_sure07:08
SridarKchandanc_: in the db, look at _make_firewall_group_dict_with_rules() - this will create the dict that will get sent across to the agent07:15
SridarKi have not tested that yet - so u may run in to some integration issues07:15
SridarKother parts of the create firewall_group should be ok07:16
SridarKin the plugin, the key point for u would be: self.agent_rpc.update_firewall_group(context, fw_with_rules) in the create_firewall_group method07:17
SridarKmy suggestion is to craft a dict that u can pass in here so that u can test the workflow thru the agent and driver07:17
SridarKi am quite exhausted, so i will call it a night, but will check in with u early am (my time)07:18
*** mickeys has joined #openstack-fwaas08:27
*** carl_baldwin_ has joined #openstack-fwaas08:31
*** mickeys has quit IRC08:31
*** mickeys has joined #openstack-fwaas08:32
*** carl_baldwin has quit IRC08:35
*** carl_baldwin_ is now known as carl_baldwin08:35
*** mickeys has quit IRC08:36
*** yamamoto has quit IRC09:17
*** malos_ is now known as malos09:19
*** chandanc_ has quit IRC11:01
*** yamamoto has joined #openstack-fwaas13:28
*** njohnston_ is now known as njohnston13:34
*** yamamoto has quit IRC13:43
*** vishwanathj has joined #openstack-fwaas13:56
*** diogogmt has joined #openstack-fwaas13:59
njohnstonGood morning SridarK14:05
SridarKnjohnston: Good Morning14:05
njohnstonYou were up late last night!14:06
SridarKnjohnston: yes - trying to put the wrap on the few minor things, i was able to test out the policy update14:06
njohnstonexcellent14:06
SridarKand push the PS14:06
njohnstonWould you like me to push a new PS for 311159 that addresses the comments from Yushiro and Chandan?14:07
SridarKon the db patch - few more nits - mostly minor and UT - we can go after these14:07
SridarKnjohnston: if u are busy on the UT, u can continue with that14:08
SridarKand pick this up whenever the next PS is ready14:08
SridarKi was chatting with chandanc and he was working around it anyway14:09
njohnstonI worked some on the UT last night, and I am completely stuck.  I was not able to move past the 404 error.14:09
njohnstonI am thinking we might want to leave a TODO instead and separate UT implementation into another patch, as we discussed yesterday, so we can get some things merged.14:09
SridarKnjohnston: ok - i will also look today, u think we can try to get together with mfranc213 and try to get thispushed14:09
njohnstonmfranc213 is on PTO today14:10
SridarKnjohnston: is there good precedence for that14:10
njohnston:-(14:10
SridarKoh ok14:10
SridarKi have pinged shwetaap to also address the comments on the ext patch14:11
SridarKso that can be ready14:11
njohnstonExcellent, since that is the first one that needs to go through - we are all waiting on that14:11
SridarKyes14:11
SridarKand let me give the ut debugging a shot as well14:12
SridarKi have some mtgs in the am - but once my bit is done - i should be able to multitask14:12
njohnstonSince I am stuck on the UT, I will focus on reviews14:13
SridarKcould u maybe look at some of the get_ methods in the db patch14:13
njohnstonunless you can think of a better place for me to be looking14:13
SridarKthere are a few that need to be fixed up14:13
SridarKand i can look at the UT while u do that14:14
njohnstonOK.  So just to be clear, do you have anything pending you want to commit to 311159 before I start making changes?14:15
SridarKget_firewall_rules, get_firewall_groups14:15
SridarKno i was going to take these on first thing14:16
njohnstonOK, I will work on get_methods, and I'll check back in with you when I have something to push up.14:16
SridarKi will also wait to see what chandan has found14:17
SridarKi would be nice to start next week with atleast 2 or 3 of the patches in14:17
SridarKok great - we can get to work then14:18
xgermanping me if you need me for anything…14:23
SridarKxgerman: thx14:25
*** yamamoto has joined #openstack-fwaas14:30
*** chandanc_ has joined #openstack-fwaas14:34
SridarKnjohnston: when u get a chance - can u pls email me the error logs for ur test run14:42
njohnstonwill do14:45
SridarKnjohnston: thx15:00
njohnstonSridarK: Posted my fix for the get_ methods for 31115915:17
SridarKnjohnston: great thx15:18
SridarKnjohnston: would it make sense to keep adding more of the UTs15:18
SridarKi think if we get the first one to work15:19
SridarKthe others will fall in place15:19
njohnstonIf we can get one to work, then I think the rest will fall in line, yes...15:20
njohnstonBTW, the UTs now have a problem:     TypeError: Can't instantiate abstract class Firewall_db_mixin_v2 with abstract methods create_address_group, delete_address_group, get_address_group, update_address_group15:20
SridarKi clearly had an issue with the env15:20
SridarKi did not pick up the ext patch dependency15:20
SridarKyes i saw that on Jenkins15:21
njohnstonok, updated 311159 to include those address group methods15:26
njohnstonplus a syntax fix15:26
*** yamamoto has quit IRC15:26
*** mickeys has joined #openstack-fwaas15:27
*** yamamoto has joined #openstack-fwaas15:28
njohnstonSridarK: Sent you the output of my tox run for 31115915:29
SridarKnjohnston: thx15:35
SridarKnjohnston: do u think it would make sense to continue to churn out some basic CRUD type tests for the main 3 resources15:36
SridarKthey will all fail, but if we figure out this issue15:37
SridarKthen we will have all of them in place15:37
SridarKif we have to go to Plan B - we can just pull them out of the PS and submit as another one15:37
SridarKi have env and started debugging - but soon i will be sitting in traffic heading to work - so it will take some time for me to get back15:39
njohnstonSure, I can start writing more CRUD type unit tests.  I'll start by fleshing out the rest of the ones for Policy.  The fwaas v2 version of this file has 71 UTs, so there is a lot to pick from... but I'll leave the negative testing and other permutations for later.15:42
SridarKnjohnston: yes completely agree - just the basic ones will be good for now15:45
SridarKon the address_group - stuff - they need to come out of the ext patch - once that gets out there - we can remove it15:46
njohnstonlunch, afk15:58
chandanc_Hello All, I could list and create rules, policies and firewall_groups on my devstack. I have posted the comments on the DB, REST and Plugin patches.16:17
SridarKchandanc_: great thx for the validation16:19
SridarKchandanc_: are u able to test the agent + driver pieces16:20
chandanc_i just got in shape for the driver tests, will update you as i proceed16:20
chandanc_i have to go away for dinner, but will keep you posted16:22
SridarKchandanc_: cool - i will be driving to work too16:25
njohnstonback16:42
njohnstonreissuing 311159 to include public column in firewall_rules_v2 table16:51
*** SridarK has quit IRC16:54
*** yamamoto has quit IRC16:57
*** chandanc_ has quit IRC17:16
*** SridarK has joined #openstack-fwaas17:33
*** yamamoto has joined #openstack-fwaas18:02
*** yamamoto has quit IRC18:07
njohnstonreissuing 311159 to remove firewall_policy_id foreign key18:29
njohnstonSridarK: Any news from Shweta on https://review.openstack.org/#/c/264489/18:30
njohnstonSridarK: Let me know if you have had any success with the UT problem... I have ported over the rest of the UTs, so I can either join them to 311159 or spin a new patch depending on if you figured out a way around the problem.18:49
SridarKnjohnston: i have pinged Shweta - and she said she will be getting the comments addressed soon and get a patch out18:51
njohnstonExcellent!18:51
SridarKi think we have most pieces in and with the tests the chandanc has been doing too - i think we are in good shape on that18:51
SridarKnjohnston: on the UT - one thing it seems is that we may need to fake the plugin18:52
SridarKnjohnston: i am looking at that - got swamped with mtgs - so trying to figure this out over the rest of the day18:53
SridarKnjohnston: i would vote for adding them to the db patch18:53
SridarK{"message": "The resource could not be found.<br /><br />\n\n\n", "code": "404 Not Found", "title": "Not Found"}18:54
SridarKi am trying to see if somehow the ext did not quite get setup  - although u do have the ext mgr18:55
SridarKso i will continue the debugging of that, once we get that piece nailed - i think the other tests will fall in to place.18:56
njohnstonupdated 311159 with the other tests18:57
SridarKok cool thx19:12
*** SridarK has quit IRC19:53
-openstackstatus- NOTICE: The Gerrit service on review.openstack.org is restarting for a scheduled upgrade, but should return to service momentarily: http://lists.openstack.org/pipermail/openstack-dev/2016-August/101394.html20:49
-openstackstatus- NOTICE: The Mediawiki service at wiki.openstack.org will be offline from 21:00 UTC until approximately 23:00 UTC for a planned upgrade http://lists.openstack.org/pipermail/openstack-dev/2016-August/101395.html20:57
*** ChanServ changes topic to "The Mediawiki service at wiki.openstack.org will be offline from 21:00 UTC until approximately 23:00 UTC for a planned upgrade http://lists.openstack.org/pipermail/openstack-dev/2016-August/101395.html"20:57
*** SridarK has joined #openstack-fwaas21:33
-openstackstatus- NOTICE: ok https://wiki.openstack.org/ is now running Mediawiki 1.27.0; please let us know in #openstack-infra if anything seems wrong22:59
*** ChanServ changes topic to "ok https://wiki.openstack.org/ is now running Mediawiki 1.27.0; please let us know in #openstack-infra if anything seems wrong"22:59
*** vishwanathj has quit IRC23:02
*** ChanServ changes topic to "#openstack-fwaas"23:05
-openstackstatus- NOTICE: https://wiki.openstack.org/ is now running Mediawiki 1.27.0; please let us know in #openstack-infra if anything seems wrong23:05
*** mickeys has quit IRC23:40

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