ODL L3 configuration still uses the neutron-l3-agent

Bug #1573317 reported by Venkatrangan Govindarajan
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
networking-odl
Invalid
Undecided
Unassigned

Bug Description

Used devstack(stable/liberty) and networking-odl (stable/liberty) with ODL (Beryllium SR1)

In the local.conf, added ODL_L3=True, which according to the below link should not use the neutron-l3-agent.
https://github.com/openstack/networking-odl/blob/stable/liberty/devstack/override-defaults#L17

But, when stacking noticed that the l3-agent is actually configured and used

Parts from stack.sh log
--8<------
 iniset /etc/neutron/neutron.conf DEFAULT service_plugins networking_odl.l3.l3_odl.OpenDaylightL3RouterPlugin
|
|
2016-04-20 20:20:50.885 | + run_process q-l3 '/usr/bin/neutron-l3-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini'
2016-04-20 20:20:50.885 | + local service=q-l3
2016-04-20 20:20:50.885 | + local 'command=/usr/bin/neutron-l3-agent --config-file /etc/neutron/neutron.conf --config-file=/etc/neutron/l3_agent.ini'
2016-04-20 20:20:50.885 | + local group=
2016-04-20 20:20:50.885 | + is_service_enabled q-l3
2016-04-20 20:20:50.888 | + return 1
-------8<---------

local.comf can be checked in the console log:https://jenkins.opendaylight.org/releng/view/netvirt/job/netvirt-csit-1node-openstack-liberty-openstack-beryllium/1/console

the stacking log: https://jenkins.opendaylight.org/releng/view/netvirt/job/netvirt-csit-1node-openstack-liberty-openstack-beryllium/1/artifact/openstack_control_stack.log.xz

The same behavior is observed even if we test this with devstack(stable/Mitaka) and Networking-ODL(Master).

Revision history for this message
Isaku Yamahata (yamahata) wrote :

I looked at the log.
> 2016-04-20 20:20:50.885 | + is_service_enabled q-l3
> 2016-04-20 20:20:50.888 | + return 1
In bash, 1 means false. (Ah, very un-intuitive for C programmer...), so run_process skips to run neutron-l3-agent.
Can you please double-check if screen consnole have q-l3 or not?

For now I mark this bug report invalid.
Once you really find neutron-l3-agent is running in screen console, please feel free to mark it valid again.

Changed in networking-odl:
status: New → Invalid
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.