Monday, 2017-01-23

*** padkrish has quit IRC00:30
*** hoangcx has joined #openstack-fwaas00:54
*** padkrish has joined #openstack-fwaas01:01
*** padkrish has quit IRC01:04
*** padkrish has joined #openstack-fwaas01:05
*** padkrish has quit IRC01:09
yushiroping xgerman02:20
xgermanpong02:20
yushirohi,  I applied PS(https://review.openstack.org/#/c/404942/) and checked behavior.02:27
yushiro(policy.json for FWaaS v2 patch)02:27
yushiroWe still can create 'public=True' for firewall_poilcy and firewall_rule.02:28
yushiroI'm investigating neutron/policy.py  with pdb debugger.02:29
yushiroxgerman, : I'll tell you if I catch something missing piece.02:30
xgermanok, let me know… this is real weird… at least I got _policy out of our policy patch02:31
xgermanIn the tempest test I changed changing from public=false to public=true bombed02:31
yushiroaha, good bomb.02:34
yushiroI found that, in neutron policy.py, _ENFORCER.rules includes all of policy rules.02:36
yushiroin this rule,  create_firewall_policy:public and create_firewall_rule:public are missed.02:37
yushiroSo, I doubt for loading policy logic.02:38
*** amotoki has quit IRC02:59
xgermanouch,03:02
xgermanyeah, we let everybody create a firewall in our policy03:03
xgermanno03:03
xgermanhttps://www.irccloud.com/pastebin/RpCpZZwy/03:04
xgermanbut this might not work for create… not sure when it checks for fields…03:04
xgermanI think you control field access and so without it being created it likely won’t work03:05
xgermanyushiro?03:05
yushiroxgerman, yes. watching your comment.03:05
xgermanmmh, how do they do the shared networks?03:06
yushiroxgerman, looks like same approach.  "create_network": "",  ..., "create_network:shared": "rule:admin_only",03:06
xgermanyeah, so our *should* work, too03:07
yushiroAh!!! sorry xgerman.  I just updated PS and restart neutron-servers.03:08
xgermanok, let’s see if that helps03:08
yushiroxgerman, I forgot overwriting.  neutron-fwaas.json into /etc/policy.d/neutron-fwaas.json03:08
yushiroI'll try it again.03:09
xgermanyeah, that would do it :-)03:09
*** amotoki has joined #openstack-fwaas03:10
yushiroI'll go for lunch now :)  will check it again !03:11
xgermank, will likely be asleep by then… Eastern Time :-(03:12
*** yushiro is now known as yushiro_lunch03:12
yushiro_lunchgood night :)03:12
*** amotoki has quit IRC03:15
*** amotoki has joined #openstack-fwaas03:20
*** padkrish has joined #openstack-fwaas03:20
*** padkrish_ has joined #openstack-fwaas03:23
*** padkrish has quit IRC03:25
*** amotoki_ has joined #openstack-fwaas03:33
*** amotoki has quit IRC03:35
*** padkrish_ has quit IRC03:36
*** amotoki_ has quit IRC03:42
*** amotoki has joined #openstack-fwaas04:16
*** reedip has quit IRC04:35
*** reedip has joined #openstack-fwaas04:47
*** reedip has quit IRC05:58
*** reedip has joined #openstack-fwaas06:10
*** padkrish has joined #openstack-fwaas06:22
*** yushiro_lunch is now known as yushiro06:43
*** padkrish has quit IRC06:45
*** padkrish has joined #openstack-fwaas06:46
yushiroping njohnston , xgerman06:56
yushirosorry for late time.  Are you there?06:56
reedipyushiro : minor changes06:58
yushiroreedip, Hi. sorry, what is minor changes?06:59
reedipmentioned in your Patch Set06:59
yushiroOK. thanks. will check.06:59
yushirowow, super quick review!! thanks.07:00
reediplol , I was bored07:01
yushiroreedip, haha, no way :)  BTW, let me check your reply.07:02
yushiroI thought L.105 model.shared == sql.true().  That's why I separated  with 'elif hasattr(model, 'public'):07:03
yushiroreedip: In your logic,  it is necessary to care when accessing model.shared or model.public.  I'll think it again.  Thank you.07:04
*** padkrish has quit IRC07:44
*** yamamoto has quit IRC08:10
reedipyushiro: hi08:35
yushiroreedip, hi08:35
reedipyushiro: I checked https://review.openstack.org/#/c/351582/40/neutronclient/osc/v2/fwaas/firewallrule.py Line#6208:36
reedipI see that ANY is there , like ICMP, TCP, UDP etc.,08:36
reedipyushiro : Never mind ( I thought you were making the change for https://bugs.launchpad.net/python-neutronclient/+bug/1658598 in neutron-fwaas , but now I see that you are changing it in neutronclient, so please ignore my ping :) )08:37
openstackLaunchpad bug 1658598 in python-neutronclient "FWaaSv2 - 'protocol' parameter is incorrect for firewall_rule" [Undecided,New] - Assigned to Yushiro FURUKAWA (y-furukawa-2)08:37
yushiroOK.08:39
reedipsorry :)08:39
yushiroaha. NP.08:40
yushiroSo, a true specification is that we can specify 'tcp', 'udp', 'icmp', 'any' and protocol number directly from 0...255.08:40
reedipYes08:41
yushiroHowever, in v2 SPEC(http://specs.openstack.org/openstack/neutron-specs/specs/newton/fwaas-api-2.0.html)  There is no mentioned about 'protocol' deeply.08:43
yushirohmm, but anyway,  I believe that we can also specify protocol number.08:44
*** yamamoto has joined #openstack-fwaas08:46
reedipyes we can09:06
*** yamamoto has quit IRC09:21
yushiroOK, Thanks.09:28
*** yamamoto has joined #openstack-fwaas09:40
*** amotoki has quit IRC09:44
yushiroping reedip10:20
yushiroreedip, I replied to your comment.  Could you check it again?10:21
yushirohttps://review.openstack.org/#/c/423947/10:21
reedipyushiro : I dont mind either of the options, my point is if both the elif loops have the same logic, you can combine the conditions into a single elif loop10:22
reedipreduces the LOC and also doesnt complicate things much10:22
yushiroOK.  However, in this case, even if we use single 'elif',  we should validate model.shared or model.public, shouldn't we?10:24
*** hoangcx has quit IRC10:27
reedipumm, yes10:31
yushiroso, I think a LOC of current logic is smaller than 'single elif' one.10:32
yushiroSorry reedip,  your idea is better.  Is it close to your idea? http://paste.openstack.org/show/596013/10:37
*** yamamoto has quit IRC11:34
*** yushiro has quit IRC12:02
*** amotoki has joined #openstack-fwaas12:15
*** amotoki has quit IRC12:33
*** yamamoto has joined #openstack-fwaas12:34
*** yamamoto has quit IRC13:14
*** reedip_ has joined #openstack-fwaas13:27
reedip_Hi all, this patch may be important :) https://review.openstack.org/#/c/413082/14:00
*** reedip_ has left #openstack-fwaas14:07
*** amotoki has joined #openstack-fwaas14:11
*** amotoki has quit IRC14:25
*** reedip_ has joined #openstack-fwaas16:01
*** amotoki has joined #openstack-fwaas16:06
*** reedip has quit IRC16:07
reedip_some bugs have been opened for FWaaS , need to be looked into16:16
reedip_https://bugs.launchpad.net/bugs/165673516:16
openstackLaunchpad bug 1656735 in neutron "Fwaas - insert_rule and remove_rule always set audited to False" [Undecided,Opinion] - Assigned to brenda (tian-mingming)16:16
*** reedip has joined #openstack-fwaas16:21
*** padkrish has joined #openstack-fwaas16:28
*** padkrish_ has joined #openstack-fwaas16:33
*** padkrish has quit IRC16:34
*** reedip_ has quit IRC16:49
*** padkrish_ has quit IRC17:26
*** padkrish has joined #openstack-fwaas17:28
*** padkrish has quit IRC17:45
*** padkrish has joined #openstack-fwaas17:57
*** amotoki has quit IRC18:18
*** padkrish has quit IRC18:22
*** padkrish has joined #openstack-fwaas18:48
*** padkrish has quit IRC19:08
*** padkrish has joined #openstack-fwaas19:12
*** afranc has quit IRC19:16
*** amotoki has joined #openstack-fwaas19:18
*** afranc has joined #openstack-fwaas19:22
*** padkrish has quit IRC19:35
*** padkrish has joined #openstack-fwaas20:14
*** padkrish has quit IRC20:28
*** padkrish has joined #openstack-fwaas20:29
*** hoangcx has joined #openstack-fwaas21:01
*** padkrish has quit IRC21:10
*** yamamoto has joined #openstack-fwaas21:20
*** padkrish has joined #openstack-fwaas21:40
*** yamamoto has quit IRC21:43
*** padkrish has quit IRC21:46
*** padkrish has joined #openstack-fwaas22:05
*** hoangcx has quit IRC22:05
*** padkrish has quit IRC22:08
*** yamamoto has joined #openstack-fwaas22:23
*** padkrish has joined #openstack-fwaas22:36
*** padkrish has quit IRC22:43
*** padkrish has joined #openstack-fwaas22:54
*** padkrish has quit IRC23:14
*** yushiro has joined #openstack-fwaas23:47
yushirohi njohnston , xgerman .  Thanks for your review https://review.openstack.org/#/c/42394723:52
yushiroI'm sorry for posting such as patch.  Currently, I'm reading your concerns about this patch and consider to solve in fwaas code.23:53

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