liberty->mitaka upgrade completes, but neutron-openvswitch-agent unconfigured

Bug #1634923 reported by James Page
24
This bug affects 3 people
Affects Status Importance Assigned to Milestone
OpenStack Neutron Gateway Charm
Fix Released
High
James Page
OpenStack Neutron Open vSwitch Charm
Invalid
High
Unassigned
neutron-gateway (Juju Charms Collection)
Invalid
Medium
James Page

Bug Description

Using the charm to upgrade from liberty->mitaka completes the package upgrade OK, but the upgrade process fails to take into account the switch in the ovs-agent from using ml2_conf.ini to openvswitch_agent.ini.

As a workaround, you can remove and re-add the relation between n-gateway and n-api; however the do_openstack_upgrade function should just dtrt.

Revision history for this message
James Page (james-page) wrote :

Login in resolve_configs:

    if plugin == OVS:
        # NOTE: deal with switch to ML2 plugin for >= icehouse
        drop_config = [NEUTRON_OVS_AGENT_CONF]
        if release >= 'mitaka':
            # ml2 -> ovs_agent
            drop_config = [NEUTRON_ML2_PLUGIN_CONF]

James Page (james-page)
Changed in neutron-gateway (Juju Charms Collection):
status: New → Triaged
importance: Undecided → Medium
assignee: nobody → James Page (james-page)
James Page (james-page)
Changed in charm-neutron-gateway:
assignee: nobody → James Page (james-page)
importance: Undecided → Medium
status: New → Triaged
Changed in neutron-gateway (Juju Charms Collection):
status: Triaged → Invalid
David Ames (thedac)
Changed in charm-neutron-gateway:
status: Triaged → Confirmed
James Page (james-page)
Changed in charm-neutron-openvswitch:
status: New → Triaged
Changed in charm-neutron-gateway:
status: Confirmed → Triaged
importance: Medium → High
Changed in charm-neutron-openvswitch:
importance: Undecided → High
Changed in charm-neutron-gateway:
milestone: none → 17.11
Changed in charm-neutron-openvswitch:
milestone: none → 17.11
Revision history for this message
James Page (james-page) wrote :
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-gateway (master)

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

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

Reviewed: https://review.openstack.org/508111
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-gateway/commit/?id=86bd7da4dbce707912b4057af1c9d8aca5b2bd15
Submitter: Zuul
Branch: master

commit 86bd7da4dbce707912b4057af1c9d8aca5b2bd15
Author: James Page <email address hidden>
Date: Thu Sep 28 11:58:14 2017 +0100

    Fix upgrades from Liberty to Mitaka

    Ensure that any new configuration files are written to disk
    prior to performing the package upgrade between OpenStack
    releases; this ensures that the new versions of the daemons
    start with the correct configuration from initial start on
    package post installation configuration.

    Change-Id: Ie5f3757e6c3d11fbb2d201b1f7a28e274a5f03e4
    Closes-Bug: 1634923

Changed in charm-neutron-gateway:
status: In Progress → Fix Committed
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-gateway (stable/17.08)

Fix proposed to branch: stable/17.08
Review: https://review.openstack.org/508890

Revision history for this message
James Page (james-page) wrote :

neutron-openvswitch is not actually impacted in the same way due to the subordinate nature of the upgrade process.

Changed in charm-neutron-openvswitch:
status: Triaged → Invalid
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-gateway (stable/17.08)

Reviewed: https://review.openstack.org/508890
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-gateway/commit/?id=90d13fc47532ca55fa4356207633ccaaa4108417
Submitter: Jenkins
Branch: stable/17.08

commit 90d13fc47532ca55fa4356207633ccaaa4108417
Author: James Page <email address hidden>
Date: Thu Sep 28 11:58:14 2017 +0100

    Fix upgrades from Liberty to Mitaka

    Ensure that any new configuration files are written to disk
    prior to performing the package upgrade between OpenStack
    releases; this ensures that the new versions of the daemons
    start with the correct configuration from initial start on
    package post installation configuration.

    Change-Id: Ie5f3757e6c3d11fbb2d201b1f7a28e274a5f03e4
    Closes-Bug: 1634923
    (cherry picked from commit 86bd7da4dbce707912b4057af1c9d8aca5b2bd15)

James Page (james-page)
Changed in charm-neutron-gateway:
status: Fix Committed → Fix Released
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.