neutron_dvr fails to deploy

Bug #1626995 reported by bjolo
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
kolla
Fix Released
Critical
Paul Bourke

Bug Description

deployement failes due to undefind external_network_bridge. The code does not provide a default value, and the documentation does not specify that or what that should be.

code
/kolla/ansible/roles/neutron/templates/l3_agent.ini.j2
external_network_bridge =

It is only mentioned at one place in the codebase. Is it used or should it be removed?
http://opengrok.cloudonly.se/source/search?q=external_network_bridge&defs=&refs=&path=&hist=&type=&project=kolla

log file
http://paste.openstack.org/show/582733/

bjolo (bjorn-lofdahl)
description: updated
Revision history for this message
Paul Bourke (pauldbourke) wrote :

I believe an empty value is correct for the default case (https://github.com/openstack/neutron/blob/master/neutron/conf/agent/l3/config.py#L56-L62)

This is a templating problem in ansible, I think I've seen it before but trying to remember when. Can you please post the output with -vvv

Changed in kolla:
status: New → Incomplete
Revision history for this message
bjolo (bjorn-lofdahl) wrote :
Changed in kolla:
status: Incomplete → Confirmed
importance: Undecided → Critical
milestone: none → newton-rc2
assignee: nobody → Paul Bourke (pauldbourke)
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to kolla (master)

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

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

Reviewed: https://review.openstack.org/381919
Committed: https://git.openstack.org/cgit/openstack/kolla/commit/?id=cc0709792ba0d9fa03e53307f3fa833d4e44552b
Submitter: Jenkins
Branch: master

commit cc0709792ba0d9fa03e53307f3fa833d4e44552b
Author: Paul Bourke <email address hidden>
Date: Tue Oct 4 16:19:26 2016 +0100

    Fix l3_agent.ini rendering error when DVR

    The if/else blocks in this file cause a rendering error on control nodes
    when enable_neutron_dvr: yes

    ParsingError: File contains parsing errors: <???>
            [line 3]: u' external_network_bridge =\n'

    Change-Id: Ia461dcbbec531c4c6295b3c7e10da12c57b7d58b
    Closes-Bug: 1626995

Changed in kolla:
status: In Progress → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix included in openstack/kolla 3.0.0.0rc2

This issue was fixed in the openstack/kolla 3.0.0.0rc2 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.