← Back to team overview

group.of.nepali.translators team mailing list archive

[Bug 1606657] Re: neutron-linuxbridge-cleanup.service uses wrong config file

 

Hi Paul,

Thanks for reporting this bug.  This looks to be a valid bug and I'll
work on a fix for this.  Adding some triage below for now.

Looking at an install of the neutron-linuxbridge-agent package,
/etc/neutron/plugins/ml2/linuxbridge_agent.ini includes the following
section:

[linux_bridge]

#
# From neutron.ml2.linuxbridge.agent
#

# Comma-separated list of <physical_network>:<physical_interface> tuples
# mapping physical network names to the agent's node-specific physical network
# interfaces to be used for flat and VLAN networks. All physical networks
# listed in network_vlan_ranges on the server should have mappings to
# appropriate interfaces on each agent. (list value)
#physical_interface_mappings =

# List of <physical_network>:<physical_bridge> (list value)
#bridge_mappings =

And the linuxbridge cleanup code does indeed access options such as
physical_interface_mappings and bridge_mappings:

https://github.com/openstack/neutron/blob/master/neutron/cmd/linuxbridge_cleanup.py#L31
https://github.com/openstack/neutron/blob/master/neutron/cmd/linuxbridge_cleanup.py#L39

** Changed in: neutron (Ubuntu)
       Status: New => Triaged

** Changed in: neutron (Ubuntu)
   Importance: Undecided => High

** Also affects: neutron (Ubuntu Xenial)
   Importance: Undecided
       Status: New

** Also affects: cloud-archive
   Importance: Undecided
       Status: New

** Also affects: cloud-archive/mitaka
   Importance: Undecided
       Status: New

** Changed in: cloud-archive
       Status: New => Triaged

** Changed in: cloud-archive/mitaka
       Status: New => Triaged

** Changed in: neutron (Ubuntu Xenial)
       Status: New => Triaged

** Changed in: cloud-archive/mitaka
   Importance: Undecided => High

** Changed in: cloud-archive
   Importance: Undecided => High

** Changed in: neutron (Ubuntu Xenial)
   Importance: Undecided => High

-- 
You received this bug notification because you are a member of नेपाली
भाषा समायोजकहरुको समूह, which is subscribed to Xenial.
Matching subscriptions: Ubuntu 16.04 Bugs
https://bugs.launchpad.net/bugs/1606657

Title:
  neutron-linuxbridge-cleanup.service uses wrong config file

Status in Ubuntu Cloud Archive:
  Triaged
Status in Ubuntu Cloud Archive mitaka series:
  Triaged
Status in neutron package in Ubuntu:
  Triaged
Status in neutron source package in Xenial:
  Triaged

Bug description:
  1)
  Version information:
  neutron-linuxbridge-agent:
    Installed: 2:8.1.2-0ubuntu1
    Candidate: 2:8.1.2-0ubuntu1
    Version table:
   *** 2:8.1.2-0ubuntu1 500
          500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
          500 http://de.archive.ubuntu.com/ubuntu xenial-updates/main i386 Packages
          500 http://security.ubuntu.com/ubuntu xenial-updates/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu xenial-updates/main i386 Packages
          100 /var/lib/dpkg/status
       2:8.0.0-0ubuntu1 500
          500 http://de.archive.ubuntu.com/ubuntu xenial/main amd64 Packages
          500 http://de.archive.ubuntu.com/ubuntu xenial/main i386 Packages
          500 http://security.ubuntu.com/ubuntu xenial/main amd64 Packages
          500 http://security.ubuntu.com/ubuntu xenial/main i386 Packages

  2)
  lsb:
  Description:	Ubuntu 16.04 LTS
  Release:	16.04

  3)
  The service should start successful with the correct and sane configuration.

  4)
  It fails to start as it uses the wrong config (/etc/neutron/neutron.conf)
  It should use:
  /etc/neutron/plugins/ml2/linuxbridge_agent.ini

  This should happen like for neutron-linuxbridge-agent.service
  For this service it is specified in:
  /etc/init.d/neutron-linuxbridge-agent

  A similar file exists for cleanup:
  /etc/init.d/neutron-linuxbridge-cleanup

To manage notifications about this bug go to:
https://bugs.launchpad.net/cloud-archive/+bug/1606657/+subscriptions