[SRU] neutron-l3-agent attempts to use non-existing --config-file=/etc/neutron/fwaas_driver.ini

Bug #1958863 reported by Francois Michaut
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Ubuntu Cloud Archive
Fix Released
High
Unassigned
Victoria
Fix Committed
High
Unassigned
Wallaby
Fix Released
High
Unassigned
Xena
Fix Released
High
Unassigned
Yoga
Fix Released
High
Unassigned
neutron (Ubuntu)
Fix Released
High
Unassigned
Hirsute
Won't Fix
Undecided
Unassigned
Impish
Fix Released
High
Unassigned
Jammy
Fix Released
High
Unassigned

Bug Description

[Impact]
Installing Openstack Xena following the official documentation for Ubuntu 20.04 (https://docs.openstack.org/install-guide/environment-packages-ubuntu.html) contains outdated init scripts for neutron, which cause neutron l3 agent to fail on startup.

[Test Case]
Installing neutron with the following commands :

add-apt-repository cloud-archive:xena
apt update
apt install -y neutron-server neutron-plugin-ml2 neutron-linuxbridge-agent neutron-l3-agent neutron-dhcp-agent neutron-metadata-agent

will reproduce the issue. (Neutron m3 agent will fail with an exception of 'file not found /etc/neutron/fwaas_driver.ini'.).

The default /etc/neutron/l3_agent.ini needs updating with:
[DEFAULT]
interface_driver = openvswitch

systemctl restart neutron-l3-agent
sleep 60
systemctl status neutron-l3-agent

More information : https://bugs.launchpad.net/neutron/+bug/1958128.

[Regression Potential]
This is fixing a regression in the neutron package. neutron-fwaas support was removed in bug #1934129, however neutron-l3-agent wasn't updated to
deal with the removal of fwaas_driver.ini.

I don't foresee any regression issues with this fix if it tests successfully, and I've already tested the fix prior to uploading to jammy.

[Discussion]
This was reported against xena originally but affects all releases from victoria and above.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Francois, Thanks for reporting this and apologies for the regression. We'll get this patched as soon as possible.

In the mean time you can edit /etc/init.d/neutron-l3-agent and drop /etc/neutron/fwaas_driver.ini as a work-around.

Corey

Changed in cloud-archive:
status: New → Triaged
Changed in neutron (Ubuntu Jammy):
status: New → Triaged
importance: Undecided → High
Changed in neutron (Ubuntu Impish):
status: New → Triaged
importance: Undecided → High
Changed in neutron (Ubuntu Hirsute):
status: New → Won't Fix
summary: - Neutron l3 agent keeps restarting (Xena)
+ neutron-l3-agent attempts to use non-existing --config-
+ file=/etc/neutron/fwaas_driver.ini
summary: - neutron-l3-agent attempts to use non-existing --config-
+ [SRU] neutron-l3-agent attempts to use non-existing --config-
file=/etc/neutron/fwaas_driver.ini
description: updated
Revision history for this message
Brian Murray (brian-murray) wrote : Please test proposed package

Hello Francois, or anyone else affected,

Accepted neutron into impish-proposed. The package will build now and be available at https://launchpad.net/ubuntu/+source/neutron/2:19.1.0-0ubuntu2 in a few hours, and then in the -proposed repository.

Please help us by testing this new package. See https://wiki.ubuntu.com/Testing/EnableProposed for documentation on how to enable and use -proposed. Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, what testing has been performed on the package and change the tag from verification-needed-impish to verification-done-impish. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-failed-impish. In either case, without details of your testing we will not be able to proceed.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance for helping!

N.B. The updated package will be released to -updates after the bug(s) fixed by this package have been verified and the package has been in -proposed for a minimum of 7 days.

Changed in neutron (Ubuntu Jammy):
status: Triaged → Fix Committed
Changed in neutron (Ubuntu Impish):
status: Triaged → Fix Committed
tags: added: verification-needed verification-needed-impish
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Francois, or anyone else affected,

Accepted neutron into wallaby-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:wallaby-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-wallaby-needed to verification-wallaby-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-wallaby-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Changed in cloud-archive:
status: Triaged → Fix Committed
tags: added: verification-wallaby-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Francois, or anyone else affected,

Accepted neutron into victoria-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:victoria-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-victoria-needed to verification-victoria-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-victoria-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-victoria-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Francois, or anyone else affected,

Accepted neutron into xena-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:xena-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-xena-needed to verification-xena-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-xena-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

tags: added: verification-xena-needed
Revision history for this message
Francois Michaut (fmichaut) wrote :

Update neutron-l3-agent from 2:19.0.0-0ubuntu1~cloud0 to 2:19.1.0-0ubuntu2~cloud0 fixed the issue for me with cloud-archive:xena-proposed enabled.

I checked that the init script doesn't mention fwaas_driver.ini anymore, and neutron-l3-agent successfully restarts even if the fwaas_driver.ini file is not present.

tags: added: verification-xena-done
removed: verification-xena-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Tested successfully for jammy-proposed, impish-proposed, xena-proposed, yoga-proposed.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Thank you Francois for testing.

tags: added: verification-done verification-done-impish
removed: verification-needed verification-needed-impish
description: updated
Revision history for this message
Corey Bryant (corey.bryant) wrote :

Hello Francois, or anyone else affected,

Accepted neutron into wallaby-proposed. The package will build now and be available in the Ubuntu Cloud Archive in a few hours, and then in the -proposed repository.

Please help us by testing this new package. To enable the -proposed repository:

  sudo add-apt-repository cloud-archive:wallaby-proposed
  sudo apt-get update

Your feedback will aid us getting this update out to other Ubuntu users.

If this package fixes the bug for you, please add a comment to this bug, mentioning the version of the package you tested, and change the tag from verification-wallaby-needed to verification-wallaby-done. If it does not fix the bug for you, please add a comment stating that, and change the tag to verification-wallaby-failed. In either case, details of your testing will help us make a better decision.

Further information regarding the verification process can be found at https://wiki.ubuntu.com/QATeam/PerformingSRUVerification . Thank you in advance!

Revision history for this message
Corey Bryant (corey.bryant) wrote :

Tested successfully for wallaby-proposed and victoria-proposed.

Revision history for this message
Corey Bryant (corey.bryant) wrote :
tags: added: verification-victoria-done verification-wallaby-done
removed: verification-victoria-needed verification-wallaby-needed
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package neutron - 2:19.1.0+git2022012409.2999b8e579-0ubuntu1~cloud0
---------------

 neutron (2:19.1.0+git2022012409.2999b8e579-0ubuntu1~cloud0) focal-yoga; urgency=medium
 .
   * New upstream release for the Ubuntu Cloud Archive.
 .
 neutron (2:19.1.0+git2022012409.2999b8e579-0ubuntu1) jammy; urgency=medium
 .
   * New upstream snapshot for OpenStack Yoga.
   * d/neutron-l3-agent.init.in: Drop /etc/neutron/fwaas_driver.ini
     which was removed in a prior package version (LP: #1958863).

Changed in cloud-archive:
status: Fix Committed → Fix Released
Revision history for this message
Launchpad Janitor (janitor) wrote :

This bug was fixed in the package neutron - 2:19.1.0-0ubuntu2

---------------
neutron (2:19.1.0-0ubuntu2) impish; urgency=medium

  * d/neutron-l3-agent.init.in: Drop /etc/neutron/fwaas_driver.ini
    which was removed in a prior package version (LP: #1958863).

neutron (2:19.1.0-0ubuntu1) impish; urgency=medium

  [ Corey Bryant ]
  * d/gbp.conf: Create stable/xena branch.

  [ Chris MacNaughton ]
  * New stable point release for OpenStack Xena (LP: #1956991).

 -- Corey Bryant <email address hidden> Mon, 24 Jan 2022 09:50:27 -0500

Changed in neutron (Ubuntu Impish):
status: Fix Committed → Fix Released
Revision history for this message
Brian Murray (brian-murray) wrote : Update Released

The verification of the Stable Release Update for neutron has completed successfully and the package is now being released to -updates. Subsequently, the Ubuntu Stable Release Updates Team is being unsubscribed and will not receive messages about this bug report. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Revision history for this message
Corey Bryant (corey.bryant) wrote :

The verification of the Stable Release Update for neutron has completed successfully and the package has now been released to -updates. In the event that you encounter a regression using the package from -updates please report a new bug using ubuntu-bug and tag the bug report regression-update so we can easily find any regressions.

Changed in neutron (Ubuntu Jammy):
status: Fix Committed → Fix Released
Revision history for this message
Corey Bryant (corey.bryant) wrote :

This bug was fixed in the package neutron - 2:19.1.0-0ubuntu2~cloud0
---------------

 neutron (2:19.1.0-0ubuntu2~cloud0) focal-xena; urgency=medium
 .
   * New update for the Ubuntu Cloud Archive.
 .
 neutron (2:19.1.0-0ubuntu2) impish; urgency=medium
 .
   * d/neutron-l3-agent.init.in: Drop /etc/neutron/fwaas_driver.ini
     which was removed in a prior package version (LP: #1958863).

Revision history for this message
Christian Rohmann (christian-rohmann) wrote :

As I just ran into this very issue, may I ask when a new package for Victoria is going to be released.

According to https://openstack-ci-reports.ubuntu.com/reports/cloud-archive/victoria_versions.html

17.3.0 is still only in proposed and updates are still at 17.2.1-0ubuntu1~cloud2 which does NOT include this fix.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.