Neutron db migration fails, lbaas_members doesn't exist
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
OpenStack Neutron API Charm |
Expired
|
High
|
Unassigned | ||
neutron-api (Juju Charms Collection) |
Invalid
|
High
|
James Page |
Bug Description
Upgrading to Mitaka fails in neutron db migration. Upgrade performed via setting openstack-origin.
Running db migration by hand errors with:
# neutron-db-manage --config-file /etc/neutron/
No handlers could be found for logger "oslo_config.cfg"
INFO [alembic.
INFO [alembic.
Running upgrade for neutron ...
INFO [alembic.
INFO [alembic.
OK
INFO [alembic.
INFO [alembic.
Running upgrade for neutron-fwaas ...
INFO [alembic.
INFO [alembic.
OK
INFO [alembic.
INFO [alembic.
Running upgrade for neutron-lbaas ...
INFO [alembic.
INFO [alembic.
INFO [alembic.
Traceback (most recent call last):
File "/usr/bin/
sys.
File "/usr/lib/
return_val |= bool(CONF.
File "/usr/lib/
desc=branch, sql=CONF.
File "/usr/lib/
getattr(
File "/usr/lib/
script.
File "/usr/lib/
util.
File "/usr/lib/
module = load_module_
File "/usr/lib/
mod = imp.load_
File "/usr/lib/
run_
File "/usr/lib/
context.
File "<string>", line 8, in run_migrations
File "/usr/lib/
self.
File "/usr/lib/
step.
File "/usr/lib/
op.
File "<string>", line 8, in add_column
File "<string>", line 3, in add_column
File "/usr/lib/
return operations.
File "/usr/lib/
return fn(self, operation)
File "/usr/lib/
schema=schema
File "/usr/lib/
self.
File "/usr/lib/
return conn.execute(
File "/usr/lib/
return meth(self, multiparams, params)
File "/usr/lib/
return connection.
File "/usr/lib/
compiled
File "/usr/lib/
context)
File "/usr/lib/
util.
File "/usr/lib/
reraise(
File "/usr/lib/
context)
File "/usr/lib/
cursor.
File "/usr/lib/
result = self._query(query)
File "/usr/lib/
conn.query(q)
File "/usr/lib/
self.
File "/usr/lib/
result.read()
File "/usr/lib/
first_packet = self.connection
File "/usr/lib/
packet.
File "/usr/lib/
err.
File "/usr/lib/
_check_
File "/usr/lib/
raise errorclass(errno, errorvalue)
sqlalchemy.
Changed in neutron-api (Juju Charms Collection): | |
assignee: | nobody → James Page (james-page) |
importance: | Undecided → High |
milestone: | none → 16.07 |
Changed in neutron-api (Juju Charms Collection): | |
milestone: | 16.07 → 16.10 |
Changed in neutron-api (Juju Charms Collection): | |
milestone: | 16.10 → 17.01 |
Changed in charm-neutron-api: | |
assignee: | nobody → James Page (james-page) |
importance: | Undecided → High |
status: | New → Incomplete |
Changed in neutron-api (Juju Charms Collection): | |
status: | Incomplete → Invalid |
Changed in charm-neutron-api: | |
status: | Incomplete → Confirmed |
tags: | added: openstack-upgrade |
Please note this is quite critical, as it breaks L->M db migrations. paste.ubuntu. com/20364983/
A very dirty hack to skip lbaas migrations entirely:
http://
, will let migrations succeed with:
neutron-db-manage upgrade heads
, above will obviously spoil lbaas mitaka service.