Some Neutron commands do not initilize privsep

Bug #1923870 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron
Fix Released
High
Rodolfo Alonso
neutron (Ubuntu)
Fix Released
High
Unassigned

Bug Description

This bug is similar to https://bugs.launchpad.net/charm-neutron-gateway/+bug/1923453

Since Neutron moved from rootwrap to privsep, some commands (ipset_cleanup, ovs_cleanup, sanity_checks) should initialize the privsep library.

The fix for this bug should be backported to Wallaby.

Changed in neutron:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
description: updated
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (master)

Fix proposed to branch: master
Review: https://review.opendev.org/c/openstack/neutron/+/786282

Changed in neutron:
status: New → In Progress
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :
Changed in neutron (Ubuntu):
status: New → Triaged
importance: Undecided → High
Changed in neutron:
status: In Progress → Triaged
importance: Undecided → High
tags: added: wallaby-backport-potential
Revision history for this message
Launchpad Janitor (janitor) wrote :

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

---------------
neutron (2:18.0.0-0ubuntu2) hirsute; urgency=medium

  * Cherry-pick patches from upstream master to initialize privsep library:
    - d/p/initialize-privsep-library-for-neutron-ovs-cleanup.patch (LP: #1923453).
    - d/p/initialize-privsep-library-in-neutron-commands.patch (LP: #1923870).

 -- Corey Bryant <email address hidden> Wed, 14 Apr 2021 13:13:40 -0400

Changed in neutron (Ubuntu):
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (master)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/786282
Committed: https://opendev.org/openstack/neutron/commit/088f1298f26ac04da0ebea2a905378690677ff70
Submitter: "Zuul (22348)"
Branch: master

commit 088f1298f26ac04da0ebea2a905378690677ff70
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Apr 14 16:37:08 2021 +0000

    Initialize privsep library in Neutron commands

    Since the migration to privsep, some Neutron commands execute methods
    under a privsep context. The privsep library must be initialized first.

    Change-Id: Icd69bca23d781bace580b3937bc8bd25b586e852
    Closes-Bug: #1923870

Changed in neutron:
status: Triaged → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to neutron (stable/wallaby)

Fix proposed to branch: stable/wallaby
Review: https://review.opendev.org/c/openstack/neutron/+/787495

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to neutron (stable/wallaby)

Reviewed: https://review.opendev.org/c/openstack/neutron/+/787495
Committed: https://opendev.org/openstack/neutron/commit/de78aaec9d2f477fab4fa3ac1061a050a515bdaf
Submitter: "Zuul (22348)"
Branch: stable/wallaby

commit de78aaec9d2f477fab4fa3ac1061a050a515bdaf
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Wed Apr 14 16:37:08 2021 +0000

    Initialize privsep library in Neutron commands

    Since the migration to privsep, some Neutron commands execute methods
    under a privsep context. The privsep library must be initialized first.

    Change-Id: Icd69bca23d781bace580b3937bc8bd25b586e852
    Closes-Bug: #1923870
    (cherry picked from commit 088f1298f26ac04da0ebea2a905378690677ff70)

tags: added: in-stable-wallaby
tags: added: neutron-proactive-backport-potential
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

The patch was backported to all stable affected branches (Wallaby).

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 18.1.0

This issue was fixed in the openstack/neutron 18.1.0 release.

tags: removed: neutron-proactive-backport-potential wallaby-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/neutron 19.0.0.0rc1

This issue was fixed in the openstack/neutron 19.0.0.0rc1 release candidate.

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.