[neutron] rootwrap filters should be copied to /etc/neutron

Bug #1999235 reported by Rodolfo Alonso
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
devstack
Invalid
Undecided
Rodolfo Alonso
grenade
Fix Released
Undecided
Rodolfo Alonso

Bug Description

Neutron lib "_neutron_setup_rootwrap" method should be copying the rootwrap filers too, along with the configuration file. This issue is being notice in the grenade jobs. E.g.: installed file [1], expected file [2].

[1]https://storage.bhs.cloud.ovh.net/v1/AUTH_dcaab5e32b234d56b626f72581e3644c/zuul_opendev_logs_d58/865018/5/check/neutron-ovs-grenade-multinode-skip-level/d58e9b3/controller/logs/etc/neutron/rootwrap.d/rootwrap.filters
[2]https://review.opendev.org/c/openstack/neutron/+/865018/5/etc/neutron/rootwrap.d/rootwrap.filters

Changed in devstack:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
Rodolfo Alonso (rodolfo-alonso-hernandez) wrote :

Actually this issue seems to be related to grenade. When executing ``grenade/projects/50_neutron/upgrade.sh``, this script is calling ``install_neutron`` method. But the rootwrap files are copied during the ``configure_neutron`` step (that is done after the installation step).

Same as other configuration files (dhcp_agent.ini, metadata_agent.ini, etc), the grenade upgrade step should manually handle the rootwrap files.

Changed in devstack:
status: New → Invalid
Changed in grenade:
assignee: nobody → Rodolfo Alonso (rodolfo-alonso-hernandez)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to grenade (master)

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

Changed in grenade:
status: New → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to grenade (master)

Reviewed: https://review.opendev.org/c/openstack/grenade/+/867092
Committed: https://opendev.org/openstack/grenade/commit/7c3144ce84f9b0c206598e3a8298d1046afcd85a
Submitter: "Zuul (22348)"
Branch: master

commit 7c3144ce84f9b0c206598e3a8298d1046afcd85a
Author: Rodolfo Alonso Hernandez <email address hidden>
Date: Sun Dec 4 01:05:32 2022 +0100

    Update the rootwrap config when upgrading Neutron

    As reported in the related bug, the rootwrap filters are not updated
    between versions. This patch calls the devstack method that setups
    the Neutron rootwrap configuration and filters.

    Closes-Bug: #1999235
    Change-Id: Iaebf1b33ccf3bfd64191f9a898408bcfe11dd557

Changed in grenade:
status: In Progress → Fix Released
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.