[KILO] neutron opflex agent fails to start

Bug #1502505 reported by AJAY KALAMBUR
12
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Openstack APIC
Fix Committed
High
Amit Bose

Bug Description

Ok completed the install on Kilo and I see the opflex agent fails to start on all Nodes
Traceback below
2015-10-02 16:34:16.949 6607 INFO neutron.common.config [-] /usr/bin/neutron-opflex-agent version 2015.1.0
2015-10-02 16:34:16.952 6607 WARNING oslo_config.cfg [-] Option "nova_region_name" from group "DEFAULT" is deprecated. Use option "region_name" from group "nova".
2015-10-02 16:34:16.953 6607 WARNING oslo_config.cfg [-] Option "lock_path" from group "DEFAULT" is deprecated. Use option "lock_path" from group "oslo_concurrency".
2015-10-02 16:34:16.956 6607 CRITICAL neutron [-] KeyError: 'root_helper'
2015-10-02 16:34:16.956 6607 TRACE neutron Traceback (most recent call last):
2015-10-02 16:34:16.956 6607 TRACE neutron File "/usr/bin/neutron-opflex-agent", line 9, in <module>
2015-10-02 16:34:16.956 6607 TRACE neutron load_entry_point('neutron-opflex-agent==2015.1.0', 'console_scripts', 'neutron-opflex-agent')()
2015-10-02 16:34:16.956 6607 TRACE neutron File "/usr/lib/python2.7/site-packages/opflexagent/gbp_ovs_agent.py", line 713, in main
2015-10-02 16:34:16.956 6607 TRACE neutron is_xen_compute_host = 'rootwrap-xen-dom0' in agent_config['root_helper']
2015-10-02 16:34:16.956 6607 TRACE neutron KeyError: 'root_helper'
2015-10-02 16:34:16.956 6607 TRACE neutron
2015-10-02 16:34:17.561 6615 INFO neutron.common.config [-] Logging enabled!
2015-10-02 16:34:17.561 6615 INFO neutron.common.config [-] /usr/bin/neutron-opflex-agent version 2015.1.0
2015-10-02 16:34:17.564 6615 WARNING oslo_config.cfg [-] Option "nova_region_name" from group "DEFAULT" is deprecated. Use option "region_name" from group "nova".
2015-10-02 16:34:17.565 6615 WARNING oslo_config.cfg [-] Option "lock_path" from group "DEFAULT" is deprecated. Use option "lock_path" from group "oslo_concurrency".

Tags: ccs-seen
Revision history for this message
AJAY KALAMBUR (akalambu) wrote :

Tried the new package from Amit that fixes the start issue

Amit: neutron-opflex-agent depends on some neutron code (openvswitch-agent), and that has changed in Kilo. I've modified neutron-opflex-agent as best as I could to get it started.

Revision history for this message
Ivar Lazzaro (mmaleckk) wrote :

Amit:

Please change the status of this depending on where we are with the patch (not sure whether it's released already or a work in progress)

Changed in openstack-apic:
importance: Undecided → High
assignee: nobody → Amit Bose (bose)
status: New → In Progress
Revision history for this message
Amit Bose (bose) wrote :

Fixes for this issue were submitted with the following commits:

0a66edd Fix agent becoming unresponsive shortly after start-up
9c5a7d9 Fix agent to work with Kilo openvswitch agent codebase

Changed in openstack-apic:
status: In Progress → Fix Committed
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.