Upgrade from Liberty to Mitaka fails

Bug #1536675 reported by Liam Young
10
This bug affects 2 people
Affects Status Importance Assigned to Milestone
neutron-api (Juju Charms Collection)
Fix Released
Critical
Liam Young

Bug Description

Upgrading the charm from liberty to mitaka via setting openstack-origin results in a failed config-changed hook. Looking into the juju log shows that the db stamp prior to the migration failed.

Running the migration by hand reproduces the error::

# neutron-db-manage --config-file /etc/neutron/neutron.conf --config-file /etc/neutron/plugins/ml2/ml2_conf.ini stamp liberty
No handlers could be found for logger "oslo_config.cfg"
  Running stamp for neutron ...
INFO [alembic.runtime.migration] Context impl MySQLImpl.
INFO [alembic.runtime.migration] Will assume non-transactional DDL.
ERROR [alembic.util.messaging] Can't locate revision identified by 'liberty'
  FAILED: Can't locate revision identified by 'liberty'

This is very similar to Bug #1505771

Liam Young (gnuoy)
Changed in neutron-api (Juju Charms Collection):
status: New → Confirmed
importance: Undecided → Critical
assignee: nobody → Liam Young (gnuoy)
milestone: none → 16.04
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix proposed to charm-neutron-api (master)

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

Changed in neutron-api (Juju Charms Collection):
status: Confirmed → In Progress
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Fix merged to charm-neutron-api (master)

Reviewed: https://review.openstack.org/307143
Committed: https://git.openstack.org/cgit/openstack/charm-neutron-api/commit/?id=dd5bc11622d66e1d9c669c35ef5770247ff37e37
Submitter: Jenkins
Branch: master

commit dd5bc11622d66e1d9c669c35ef5770247ff37e37
Author: Liam Young <email address hidden>
Date: Mon Apr 18 12:27:35 2016 +0000

    No db stamp for upgrade from Liberty

    Stamping the Neutron db for Liberty fails and appears to be
    unneccesary.

    Change-Id: I93ff69db57bc3418a4c73e79e884f5c85d533f99
    Closes-Bug: 1536675

Changed in neutron-api (Juju Charms Collection):
status: In Progress → Fix Committed
James Page (james-page)
Changed in neutron-api (Juju Charms Collection):
status: Fix Committed → 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.