neutron-openvswitch-agent needs restarting after principle upgraded to Mitaka

Bug #1571634 reported by Liam Young
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
neutron-openvswitch (Juju Charms Collection)
Fix Released
High
Liam Young

Bug Description

I'm currently not entirely sure why but neutron-openvswitch-agent needs restarting after nova-compute is upgraded from Liberty to Mitaka.

Looking at the logs nova-compute upgrades the neutron packages, leaves the neutron config untouched and restarts the service, so I don't understand why an additional restart is needed.

Tags: openstack
Liam Young (gnuoy)
Changed in neutron-openvswitch (Juju Charms Collection):
status: New → In Progress
importance: Undecided → High
assignee: nobody → Liam Young (gnuoy)
milestone: none → 16.04
Liam Young (gnuoy)
description: updated
Revision history for this message
Liam Young (gnuoy) wrote :

The reason seems to be that on liberty the charm does not render openvswitch_agent.ini so that config file just contains the default settings. The package upgrade then runs which upgrades neutron and switches neutron-openvswitch-agent to use openvswitch_agent.ini and no longer use ml2_conf.ini. neutron-openvswitch-agent is restarted as part of the package upgrade but it does not have the config it needs.

Issuing "juju set neutron-openvswitch verbose=true" triggers the neutron-openvswitch charm to then render openvswitch_agent.ini and restart the agent and hence fix the problem

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-openvswitch (master)

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

Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-openvswitch (master)

Reviewed: https://review.openstack.org/307564
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-openvswitch/commit/?id=236bb562f132701b8563b4486ffd9445f7dc7aaa
Submitter: Jenkins
Branch: master

commit 236bb562f132701b8563b4486ffd9445f7dc7aaa
Author: Liam Young <email address hidden>
Date: Tue Apr 19 05:44:09 2016 +0000

    Restart services when trigger from principle

    Check to see if a restart trigger has been sent by the principle,
    if it has then right the trigger uuid in to the neutron.conf to
    trigger a service restart

    Change-Id: I19649cb73dad94f4fe24412c0b8c37a28f30047d
    Partial-Bug: 1571634

James Page (james-page)
Changed in neutron-openvswitch (Juju Charms Collection):
milestone: 16.04 → 16.07
tags: added: openstack
Liam Young (gnuoy)
Changed in neutron-openvswitch (Juju Charms Collection):
status: In Progress → Fix Released
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.