Thursday, 2017-01-19

*** hoangcx has joined #openstack-fwaas00:50
*** yamamoto_ has joined #openstack-fwaas01:10
*** yamamoto_ has quit IRC01:12
*** yamamoto_ has joined #openstack-fwaas01:13
*** yamamoto_ has quit IRC01:23
*** yamamoto_ has joined #openstack-fwaas01:27
*** yamamoto_ has quit IRC01:29
*** yamamoto_ has joined #openstack-fwaas01:31
*** TuHV has joined #openstack-fwaas01:33
*** yamamoto_ has quit IRC01:34
*** yamamoto_ has joined #openstack-fwaas01:38
*** yamamoto_ has quit IRC01:49
*** yamamoto_ has joined #openstack-fwaas01:51
*** yamamoto_ has quit IRC01:57
*** yamamoto_ has joined #openstack-fwaas01:58
*** yamamoto_ has quit IRC02:09
*** yamamoto_ has joined #openstack-fwaas02:10
*** yamamoto_ has quit IRC02:24
*** yamamoto_ has joined #openstack-fwaas02:25
*** TuHV has quit IRC02:32
*** hoangcx_ has joined #openstack-fwaas02:38
*** Aju has joined #openstack-fwaas02:40
*** hoangcx has quit IRC02:41
*** afranc has quit IRC02:41
*** yamamoto_ has quit IRC03:01
*** yamamoto_ has joined #openstack-fwaas03:02
*** yamamot__ has joined #openstack-fwaas03:58
*** yamamoto_ has quit IRC04:01
*** TuHV has joined #openstack-fwaas04:24
*** yushiro has joined #openstack-fwaas04:59
*** TuHV has quit IRC05:18
*** chandanc_ has joined #openstack-fwaas05:56
chandanc_Hello SridarK05:56
chandanc_I was able to make some progress on the UTs yesterday, but still not completed05:57
chandanc_will send a mail to the team with the details if anyone wnats to test with fwaas v105:58
*** TuHV has joined #openstack-fwaas06:04
reedipyushiro : ping06:14
yushiroreedip, ping pong06:14
reedipyushiro : I am unable to run openstack FWaaS CLI commands06:14
reedipI checked out the latest neutronclient and openstackclient and ran devstack06:14
reedipwanted to solve this : https://bugs.launchpad.net/neutron/+bug/165737706:15
openstackLaunchpad bug 1657377 in neutron "FWaaS - message of FirewallGroupPortInvalidProject should be fixed" [Undecided,New] - Assigned to Reedip (reedip-banerjee)06:15
yushiroreedip, cool!06:15
yushiroreedip, Thank you for asignning this bug.06:16
reedipyushiro : how to run openstack fwaas client?06:16
yushiroreedip, Just a 10 seconds06:16
yushiroreedip, Please refer Command usage(Preconfiguration) and Command usage  as follows: https://etherpad.openstack.org/p/fwaas-v2-l2-agent06:17
yushiroreedip, Current OSC plugin for fwaas has some bugs, so you need to apply 1 patchset.06:18
reedipyushiro : I can run this with API calls as well, right ?06:18
reedipthat would avoid this headache ?? :)06:18
yushiroreedip, Yes right.  CLI is more easy to execute I think :)06:19
yushirohttps://etherpad.openstack.org/p/fwaas-v2-l2-agent   you can see REST API call  in "Procedure" section.06:19
yushiroreedip, Maybe I misunderstand what you say.  Please correct me if I was wrong :)06:20
reedipyushiro : let me try the API call, my devstack just completed !06:21
yushiroreedip, I see.06:21
*** yushiro is now known as yushiro_afk06:21
reedipyushiro : got it,06:22
reedipcurl  -i -X GET -H "x-auth-token:$TOKEN" 10.0.4.186:9696/v2.0/fwaas/firewall_groups.json06:22
reedipHTTP/1.1 200 OK06:22
reedipContent-Type: application/json06:22
reedipContent-Length: 2306:22
reedipX-Openstack-Request-Id: req-5683a7dd-55ee-4899-a50d-92130a84f48706:22
reedipDate: Thu, 19 Jan 2017 06:22:16 GMT06:22
reedipfound an error in etherpad06:23
*** amotoki has quit IRC06:28
*** amotoki has joined #openstack-fwaas06:28
reedipyushiro : I didnt get the error that you reported in the above bug06:35
reedipI created a Firewall Rule, Firewall Policy of Admin User06:35
reedipI created a Firewall Group with NO Ports of Admin User06:35
reedipI then created a normal port of demo user06:35
reedipand then Updated Firewall Group with the demo user port06:35
reedipcurl -X PUT -H "x-auth-token:$TOKEN" -H "content-type:application/json" -d '{"firewall_group":{"ports":["76995e52-5b34-4f1b-9866-e333b668e53d"]}}' 10.0.4.186:9696/v2.0/fwaas/firewall_groups/016ab240-cf1c-4ce3-a715-28250c7834bf06:36
reedip{"NeutronError": {"message": "Firewall Group Port 76995e52-5b34-4f1b-9866-e333b668e53d is invalid", "type": "FirewallGroupPortInvalid", "detail": ""}}[outofmemory@localhost devstack]$06:36
reedipI even tried it with DEMO USER after creating a router, adding the port as an interface  to the router and then updating firewall group with the port06:42
reedip.06:42
reedipneutron port-update `neutron port-list | grep 192.168.100.2 | get_field 1` --name target_l306:42
reedipneutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.06:42
reedipneutron CLI is deprecated and will be removed in the future. Use openstack CLI instead.06:42
reedipUpdated port: 578e1bfc-ea03-4c5d-a653-448c1334348606:42
reedip[outofmemory@localhost devstack]$ source openrc admin admin06:42
reedipWARNING: setting legacy OS_TENANT_NAME to support cli tools.06:42
reedip[outofmemory@localhost devstack]$ curl -X PUT -H "x-auth-token:$TOKEN" -H "content-type:application/json" -d '{"firewall_group":{"ports":["578e1bfc-ea03-4c5d-a653-448c13343486"]}}' 10.0.4.186:9696/v2.0/fwaas/firewall_groups/016ab240-cf1c-4ce3-a715-28250c7834bf06:42
reedip{"NeutronError": {"message": "Firewall Group Port 578e1bfc-ea03-4c5d-a653-448c13343486 is invalid", "type": "FirewallGroupPortInvalid", "detail": ""}}06:42
*** yushiro_afk is now known as yushiro06:51
yushiroreedip, oh, really.  Please check your messages.06:52
reedipyushiro : messages ??06:53
yushiroreedip, sorry. not message but IRC log.06:53
reedipyushiro : I am checking my IRC log, cant find the invalid project error06:53
*** hoangcx_ has quit IRC06:56
yushirohmm, I think you don't update $TOKEN when you changed 'admin' by source openrc admin admin07:01
yushiro3. Update firewall_group with 'ports' attribute07:01
yushiroIn my launchpad07:01
yushiroIt looks the last your curl request still uses 'demo' users $TOKEN.07:04
reediphmm.. ok, let me try it again.07:05
*** hoangcx has joined #openstack-fwaas07:22
*** TuHV has quit IRC07:29
yushiroreedip, I've updated [how to reproduce] section.  https://bugs.launchpad.net/neutron/+bug/165737707:54
openstackLaunchpad bug 1657377 in neutron "FWaaS - message of FirewallGroupPortInvalidProject should be fixed" [Undecided,New] - Assigned to Reedip (reedip-banerjee)07:54
*** hoangcx_ has joined #openstack-fwaas08:01
*** hoangcx has quit IRC08:03
*** padkrish has joined #openstack-fwaas08:14
*** TuHV has joined #openstack-fwaas08:15
reedipyushiro : I changed it a bit08:17
yushiroThanks.08:24
reedipYushiro : Nope08:25
reedipI tried it that way as well08:25
reedip curl -X PUT -H "x-auth-token:$TOKEN" -H "content-type:application/json" -d '{"firewall_group":{"ports":["84955818-0fb4-4039-a0c2-73e6eaddbac2"]}}' localhost:9696/v2.0/fwaas/firewall_groups/1377ed40-2431-4842-bc60-32b1912ca53708:26
reedip{"NeutronError": {"message": "Firewall Group 84955818-0fb4-4039-a0c2-73e6eaddbac2 in invalid Project", "type": "FirewallGroupPortInvalidProject", "detail": ""}}08:26
reedipOh . got it :)08:26
reedipsorry08:26
reedip:D08:26
yushiroAha, same situation reproduced, right?08:27
*** hoangcx_ is now known as hoangcx08:45
reedipyushiro : yeah, its a simple issue, just the message08:48
yushiroYes.  fruits :)08:49
reedipyushiro : https://review.openstack.org/42248009:00
yushiroreedip, Which do you like better, "Port <port-id> in invalid Project" or "Firewall Group Port <port-id> in invalid Project"?09:08
yushiroreedip, TBH, I'm missing English review skill...09:09
reedipI dont think writing Firewall Group is necessary but thats my take09:19
yushiroreedip, I think 'Port' is enough to understand. :)09:20
reedipyushiro : lets see what others have to say09:21
yushiroYes, needs other reviews.09:21
reedip:)09:23
*** padkrish has quit IRC09:25
yushiroping chandanc_09:43
*** yamamot__ has quit IRC09:44
*** mickeys has quit IRC09:52
*** hoangcx has quit IRC10:07
*** yamamoto has joined #openstack-fwaas10:25
*** yamamoto has quit IRC10:30
*** yamamoto has joined #openstack-fwaas10:32
*** yamamoto has quit IRC10:32
*** TuHV has quit IRC10:38
*** mickeys has joined #openstack-fwaas10:53
*** yamamoto has joined #openstack-fwaas10:54
*** yamamoto has quit IRC10:54
*** mickeys has quit IRC10:59
*** chandanc_ has quit IRC11:05
*** yushiro has quit IRC11:06
*** yushiro has joined #openstack-fwaas11:29
*** yamamoto has joined #openstack-fwaas11:31
*** mickeys has joined #openstack-fwaas11:55
*** mickeys has quit IRC12:00
*** yushiro has quit IRC12:21
*** mickeys has joined #openstack-fwaas12:56
*** chandanc_ has joined #openstack-fwaas13:00
*** mickeys has quit IRC13:00
*** chandanc_ has quit IRC13:02
*** mickeys has joined #openstack-fwaas13:57
*** mickeys has quit IRC14:01
*** reedip_ has joined #openstack-fwaas14:26
xgermannjohnston wonder what you think about https://review.openstack.org/#/c/422480/1/neutron_fwaas/extensions/firewall_v2.py15:34
xgermanor SridarK —15:35
xgermanI don't feel that strongly but would like your opinion…15:36
reedip_anything would do actually :P16:44
reedip_btw hi xgerman :)16:44
xgermanyeah, I don’t like forcing the user into a second step if we can avoid it but I am also not. a user ;-)16:45
reedip_xgerman : Yes, I understand that it is simpler to inform the user. But we would be providing the Project ID16:47
reedip_I mean , if there is a mismatch between the port and the firewall Project IDs, we would only inform the user ( considering your comment) , the project ID of the port16:47
reedip_The User would still have to run a command to know which project ID belongs to which project16:48
reedip_isnt it ?16:48
reedip_I mean, I cant remember the project IDs of the 5 projects created by devstack, wonder what would happen if a user has more than 10 projects :)16:49
xgermanhe would need a spreadhsheet which most IT shops have16:49
xgermanbut I understand your pint16:50
xgermanpoint16:50
reedip_even if u understand the pint , it works :P ( I am in need of a pint now )16:50
xgermanwell, I won’t run UX testing and my colleagues didn’t weight in… will +2/+A it16:51
njohnstonI am fine with it also, it is a little friendlier.  If I am an operator or user and I think it should be fine, it gives a little more visibility into why the error occurred in the first place.16:51
reedip_so, should I add the project ID ?16:53
xgermanIf you don’t mind16:53
reedip_xgerman : naah, but I will do it tomorrow morning .. m sleepy right now !16:53
reedip_if thats ok ?16:53
reedip_:)16:53
xgermanabsolutely… you can ping me in channel if I didn’t give you a +2 in the morning (my morning)16:54
reedip_Sure :)16:54
*** mickeys has joined #openstack-fwaas17:24
*** SridarK has quit IRC17:56
*** SumitNaiksatam has joined #openstack-fwaas17:57
*** reedip_ has quit IRC18:00
*** yamamoto has quit IRC18:36
*** SumitNaiksatam has quit IRC18:50
*** SumitNaiksatam has joined #openstack-fwaas19:23
*** SumitNaiksatam has left #openstack-fwaas19:25
*** yamamoto has joined #openstack-fwaas19:36
*** yamamoto has quit IRC19:43
*** SridarK has joined #openstack-fwaas20:30
*** SridarK has quit IRC22:45
*** amotoki has quit IRC23:22
*** mickeys has quit IRC23:44
*** yushiro has joined #openstack-fwaas23:53
*** mickeys has joined #openstack-fwaas23:58

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