# HG changeset patch # User Padma Dakoju # Date 1461798918 25200 # Node ID 3e994941530839f006cc96f49904a581ef55bcf4 # Parent 06703eb0e31f2a23dd03b9c9a865a5069faf75cf 23192887 Upgrade from Juno to Kilo fails (neutron-upgrade) due to typo diff -r 06703eb0e31f -r 3e9949415308 components/openstack/neutron/files/neutron-upgrade --- a/components/openstack/neutron/files/neutron-upgrade Tue Apr 26 23:36:26 2016 -0400 +++ b/components/openstack/neutron/files/neutron-upgrade Wed Apr 27 16:15:18 2016 -0700 @@ -104,6 +104,8 @@ engine = sqlalchemy.create_engine(db_connection) if engine.url.username != '%SERVICE_USER%': check_call(['/usr/bin/neutron-db-manage', '--config-file', + '/etc/neutron/neutron.conf', 'stamp', 'havana']) + check_call(['/usr/bin/neutron-db-manage', '--config-file', '/etc/neutron/neutron.conf', 'upgrade', 'juno']) check_call(['/usr/bin/neutron-db-manage', '--config-file', '/etc/neutron/neutron.conf', 'upgrade', 'kilo']) diff -r 06703eb0e31f -r 3e9949415308 components/openstack/neutron/patches/05-alembic-migrations.patch --- a/components/openstack/neutron/patches/05-alembic-migrations.patch Tue Apr 26 23:36:26 2016 -0400 +++ b/components/openstack/neutron/patches/05-alembic-migrations.patch Wed Apr 27 16:15:18 2016 -0700 @@ -193,7 +193,7 @@ + insp = sa.engine.reflection.Inspector.from_engine(bind) + col_names_list = insp.get_columns('floatingips') + col_names = [] -+ for c in col_name_list: ++ for c in col_names_list: + col_names.append(c['name']) + + if 'last_known_router_id' not in col_names: