Neutron sidecar wrappers make assumptions about netns names

Bug #1773823 reported by Brent Eagles
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
tripleo
Fix Released
Medium
Brent Eagles

Bug Description

The wrappers for launching sidecar containers for the L3 agent are using the incorrect namespace when launching keepalived etc.

Brent Eagles (beagles)
Changed in tripleo:
status: New → Triaged
importance: Undecided → Critical
assignee: nobody → Brent Eagles (beagles)
milestone: none → rocky-2
Brent Eagles (beagles)
tags: added: queens-backport-potential
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (master)

Fix proposed to branch: master
Review: https://review.openstack.org/570819

Changed in tripleo:
status: Triaged → In Progress
Revision history for this message
Brent Eagles (beagles) wrote : Re: neutron sidecar wrappers do not work for DVR

While the patch is a nice improvement to how wrappers figure out what namespace to run the sidecar in, this may not actually be an issue as the problem showed up when I accidentally create a router that was both HA and distributed - which IIRC is not currently supported.

Changed in tripleo:
importance: Critical → High
importance: High → Medium
Brent Eagles (beagles)
summary: - neutron sidecar wrappers do not work for DVR
+ Neutron sidecar wrappers make assumptions about netns names
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (master)

Reviewed: https://review.openstack.org/570819
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=684521fc84bdf589de67972ac6f263b5e3bc24a4
Submitter: Zuul
Branch: master

commit 684521fc84bdf589de67972ac6f263b5e3bc24a4
Author: Brent Eagles <email address hidden>
Date: Mon May 28 13:43:03 2018 -0230

    Neutron sidecar wrappers use netns they were invoked with

    Neutron uses namespaces with different prefixes depending on
    configuration and the nature of the resource. This patch changes the
    wrappers to use the "ip netns identify" command to determine the target
    namespace for the sidecar instead of trying to guess from the command
    line options.

    Change-Id: If58bb9dabebf201b592fb450a663ae2f24374e00
    Closes-Bug: #1773823

Changed in tripleo:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to puppet-tripleo (stable/queens)

Fix proposed to branch: stable/queens
Review: https://review.openstack.org/571484

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 9.1.0

This issue was fixed in the openstack/puppet-tripleo 9.1.0 release.

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to puppet-tripleo (stable/queens)

Reviewed: https://review.openstack.org/571484
Committed: https://git.openstack.org/cgit/openstack/puppet-tripleo/commit/?id=a8de6dc7929f79289f3ee0d74971c1b9db84103e
Submitter: Zuul
Branch: stable/queens

commit a8de6dc7929f79289f3ee0d74971c1b9db84103e
Author: Brent Eagles <email address hidden>
Date: Mon May 28 13:43:03 2018 -0230

    Neutron sidecar wrappers use netns they were invoked with

    Neutron uses namespaces with different prefixes depending on
    configuration and the nature of the resource. This patch changes the
    wrappers to use the "ip netns identify" command to determine the target
    namespace for the sidecar instead of trying to guess from the command
    line options.

    Change-Id: If58bb9dabebf201b592fb450a663ae2f24374e00
    Closes-Bug: #1773823
    (cherry picked from commit 684521fc84bdf589de67972ac6f263b5e3bc24a4)

tags: added: in-stable-queens
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/puppet-tripleo 8.3.4

This issue was fixed in the openstack/puppet-tripleo 8.3.4 release.

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.