Monday, 2016-11-07

*** hoangcx has joined #openstack-fwaas01:18
*** amotoki has joined #openstack-fwaas01:25
*** hoangcx has quit IRC01:32
*** amotoki has quit IRC01:34
*** hoangcx has joined #openstack-fwaas01:34
*** amotoki has joined #openstack-fwaas01:35
*** amotoki has quit IRC01:47
*** amotoki has joined #openstack-fwaas01:51
*** amotoki has quit IRC01:53
*** amotoki has joined #openstack-fwaas01:55
*** amotoki has quit IRC02:03
*** amotoki has joined #openstack-fwaas02:23
*** mickeys has quit IRC03:09
*** amotoki has quit IRC03:30
*** amotoki has joined #openstack-fwaas03:40
*** mickeys has joined #openstack-fwaas04:10
*** mickeys has quit IRC04:16
*** fandi has joined #openstack-fwaas05:28
*** amotoki has quit IRC06:03
*** amotoki has joined #openstack-fwaas06:53
*** amotoki has quit IRC07:08
*** amotoki has joined #openstack-fwaas07:21
*** amotoki has quit IRC07:22
*** amotoki has joined #openstack-fwaas07:22
*** mickeys has joined #openstack-fwaas07:41
-openstackstatus- NOTICE: Gerrit is going to be restarted due to slowness and proxy errors08:45
*** mickeys has quit IRC09:11
*** Trident has joined #openstack-fwaas10:11
*** mickeys has joined #openstack-fwaas10:12
*** hoangcx has quit IRC10:15
*** mickeys has quit IRC10:17
*** Trident has quit IRC10:20
*** Trident has joined #openstack-fwaas10:24
*** andrein has joined #openstack-fwaas12:36
andreinHello everyone. I'm trying to create a firewall using fwaas and it looks like it's stuck in pending_create. I don't see anything in the logs, does anyone know where to start troubleshooting this?12:37
andreinAll the info I found so far tells me I need to create a router for it to go into the created state, but I already have a router set up.12:37
andreinthe only Warning I see that might be related to this is: /var/log/neutron/server.log:2016-11-07 14:29:20.476 4597 WARNING stevedore.named [-] Could not load neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver12:38
andreinSome digging through launchpad revealed https://bugs.launchpad.net/neutron/+bug/163518013:27
openstackLaunchpad bug 1635180 in neutron "Firewall creation is stuck in "PENDING_UPDATE"" [Undecided,New] - Assigned to Sridar Kandaswamy (skandasw)13:27
*** amotoki has quit IRC13:58
*** fandi has quit IRC14:06
*** amotoki has joined #openstack-fwaas14:09
*** amotoki has quit IRC14:13
mfranc213yushiro ping15:04
*** amotoki has joined #openstack-fwaas15:10
njohnstonandrein: Check your neutron L3 agent logs for log messages matching "stevedore"15:38
njohnstonandrein: those will indicate what is getting loaded, so you should be able to see fwaas either being loaded or not15:39
andreinnjohnston: 2016-11-07 16:15:43.039 19113 WARNING stevedore.named [-] Could not load neutron.agent.linux.interface.OVSInterfaceDriver15:39
njohnstonThat isn't fwaas - note the lack of 'fwaas' in the text - it is the neutron security group driver not loading15:40
andreinnjohnston: neutron/server.log also shows: 2016-11-07 17:26:06.733 11221 WARNING stevedore.named [-] Could not load neutron.agent.linux.iptables_firewall.OVSHybridIptablesFirewallDriver15:41
andreinnothing related to fwaas though15:41
andreintheugh it does say: 2016-11-07 17:26:07.045 11221 INFO neutron.api.extensions [req-42d14a7c-8adc-4e56-bd3e-17accd7a30b3 - - - - -] Loaded extension: fwaas15:41
*** carl_baldwin has quit IRC15:42
njohnstonandrein: Did you follow the steps in http://docs.openstack.org/newton/networking-guide/fwaas-v1-scenario.html15:42
*** dougwig has quit IRC15:42
njohnstonandrein: Is this for Newton or trunk?15:42
andreinnjohnston: Newton, followed those instructions to the letter15:43
andreinas far as I can tell, none of the debug logs from https://github.com/openstack/neutron-fwaas/blob/c93fbf760669696e2d39546f624efc67f1799454/neutron_fwaas/services/firewall/drivers/linux/iptables_fwaas.py are being printed15:44
andreinso I guess that the driver directive is being silently ignored somehow?15:44
*** dougwig has joined #openstack-fwaas15:45
*** carl_baldwin has joined #openstack-fwaas15:48
andreinnjohnston: I've changed the driver line to driver = neutron_fwaas.services.firewall.drivers.linux.iptables_fwaas.IptablesFwaasDriverFAIL15:50
andreincan't find any FAIL in the logs...15:51
njohnstonandrein: Do you have "service_plugins = firewall" in neutron.conf?15:59
andreinnjohnston: service_plugins=router,metering,firewall,neutron_lbaas.services.loadbalancer.plugin.LoadBalancerPluginv216:00
njohnstondo all the other service plugins load properly?16:00
andreinso far, I can confirm that router and metering works as expected, haven't tested lbaas (yet)16:02
andreinnjohnston: http://paste.openstack.org/show/588274/16:03
andreinneutron says it's loading fwaas and fwaasrouterinsertion16:03
njohnstonexcellent16:03
andreinbut there's nothing about fwaas in the l3-agent.log16:03
njohnstonis there a [fwaas] section in your l3 agent config file16:12
andreinnjohnston: nope, there isn't16:15
andreinneutron  16127  2.0  0.0 357272 62904 ?        Ss   17:56   0:24 /usr/bin/python2 /usr/bin/neutron-l3-agent --config-file /usr/share/neutron/neutron-dist.conf --config-dir /usr/share/neutron/l3_agent --config-file /etc/neutron/neutron.conf --config-dir /etc/neutron/conf.d/common --config-dir /etc/neutron/conf.d/neutron-l3-agent --log-file /var/log/neutron/l3-agent.log16:15
andreinthis is how l3-agent is started, should pick up the fwaas section from neutron.conf, right?16:16
*** doude has joined #openstack-fwaas16:31
*** vishwanathj has joined #openstack-fwaas16:40
andreinnjohnston: ping?16:44
njohnstonsorry, setting up a devstack to make sure of my config16:45
njohnstonbut there is a section in the l3 config file16:45
njohnstonI just need to get you a snippet16:45
njohnstonshould be about 10 more minutes16:45
*** mickeys has joined #openstack-fwaas16:46
andreinnjohnston: thanks a lot!16:50
*** diogogmt has joined #openstack-fwaas17:02
*** vishwanathj has quit IRC17:03
*** mickeys has quit IRC17:10
njohnstonandrein: http://paste.openstack.org/show/588287/17:11
andreinso far, it's picking up the IptablesFwaasDriverFAIL in the other config :)17:15
andreinremoving that and restarting now17:15
andrein2016-11-07 19:15:00.497 27046 INFO neutron.agent.agent_extensions_manager [req-208b26a0-d9b5-40c3-951c-8f8c1c8b9a07 - - - - -] Initializing agent extension 'fwaas'17:15
andreinlooks promising17:15
andrein| status             | ACTIVE                               |17:16
andreinthank you very much njohnston!17:16
njohnstonI'll amend the networking guide to add the additional info17:17
andreinmy guess is the extensions line was what I needed17:17
andreinnjohnston: https://bugs.launchpad.net/neutron/+bug/1635180 also check out this bug report, think it's the same issue17:20
openstackLaunchpad bug 1635180 in neutron "Firewall creation is stuck in "PENDING_UPDATE"" [Undecided,Confirmed] - Assigned to Sridar Kandaswamy (skandasw)17:20
njohnstonthanks!17:20
njohnstonbiab17:26
*** andrein has quit IRC17:31
*** diogogmt has quit IRC17:33
*** diogogmt has joined #openstack-fwaas17:43

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