Bug 1211961

Summary: neutron-l3-agent service is bein started before FWaaS be enabled
Product: Red Hat OpenStack Reporter: Arx Cruz <acruz>
Component: openstack-packstackAssignee: Ivan Chavero <ichavero>
Status: CLOSED CURRENTRELEASE QA Contact: nlevinki <nlevinki>
Severity: unspecified Docs Contact:
Priority: unspecified    
Version: 5.0 (RHEL 7)CC: aortega, emacchi, jcoufal, jguiditt, mburns, srevivo, tkammer
Target Milestone: ---Keywords: Automation, ZStream
Target Release: 7.0 (Kilo)   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2017-02-01 14:35:13 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Attachments:
Description Flags
Packstack Answer file
none
neutron-l3-agent log file none

Description Arx Cruz 2015-04-15 10:06:22 UTC
Created attachment 1014662 [details]
Packstack Answer file

Description of problem:

The neutron-l3-agent is being started before FWaaS be enabled.

The packstack answer file have the CONFIG_NEUTRON_FWAAS set as y, and it creates the /etc/neutron/fwaas_driver.ini with the enabled = True. However, it seems that the neutron-l3-agent service it's being started before the content of this file change it to True, so, the FWaaS driver is not being loaded, and so, the FWaaS tests in tempest is failing (the service is up and running, but cannot handle any requests related to FWaaS).

If I restart the service, the driver is loaded and everything works as expected.

Version-Release number of selected component (if applicable):

openstack-packstack-2014.1.1-0.46.dev1280.el7ost.noarch
openstack-packstack-puppet-2014.1.1-0.46.dev1280.el7ost.noarch

How reproducible:

Always

Steps to Reproduce:
1. Install openstack-packstack and openstack-packstack-puppet
2. run packstack with the follow answer file attached in this bug:

Actual results:

The neutron-l3-agent starts but without support to FWaaS

Expected results:

The neutron-l3-agent starts, and load the FWaaS driver

Additional info:

Comment 3 Arx Cruz 2015-04-15 10:08:34 UTC
Created attachment 1014665 [details]
neutron-l3-agent log file

Attached is the neutron-l3-agent log fine without load the driver, and after a restart showing that the FWaaS driver is being loaded.

Also the piece of code in neutron/services/firewall/agents/l3reference/firewall_l3_agent.py showing how it loads the driver.

Comment 6 Jason Guiditta 2016-05-03 13:30:09 UTC
Emilien, I see this is backported to liberty, do we really intend to backport this to kilo/OSP 7 as well?  I see we have acks, but there is no priority set and those acks were all set by a bot.

Comment 7 Emilien Macchi 2016-05-03 13:36:37 UTC
we might need PM input here, I have no idea if we want that in OSP7.

Comment 8 Jason Guiditta 2016-05-03 13:42:45 UTC
Jarda, can you comment?  I see you are not on the cc, so you may never have even seen this bug

Comment 10 Mike Burns 2017-02-01 14:35:13 UTC
not backporting to OSP 7.  future versions have this fixed, so closing.

Comment 11 Red Hat Bugzilla 2023-09-14 02:58:01 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 1000 days