yahoo-eng-team team mailing list archive
-
yahoo-eng-team team
-
Mailing list archive
-
Message #46790
[Bug 1548803] [NEW] neutron-lbaas 6aee0434f911_independent_pools.py errors out in postgres db
Public bug reported:
http://logs.openstack.org/39/279339/6/experimental/gate-tempest-dsvm-
neutron-pg-full/ab0fcf0/logs/devstacklog.txt.gz#_2016-02-22_23_58_03_932
2016-02-22 23:58:03.926 | INFO [alembic.runtime.migration] Running upgrade 3426acbc12de -> 6aee0434f911, independent pools
2016-02-22 23:58:03.930 | Traceback (most recent call last):
2016-02-22 23:58:03.930 | File "/usr/local/bin/neutron-db-manage", line 10, in <module>
2016-02-22 23:58:03.930 | sys.exit(main())
2016-02-22 23:58:03.930 | File "/opt/stack/new/neutron/neutron/db/migration/cli.py", line 744, in main
2016-02-22 23:58:03.930 | return_val |= bool(CONF.command.func(config, CONF.command.name))
2016-02-22 23:58:03.930 | File "/opt/stack/new/neutron/neutron/db/migration/cli.py", line 220, in do_upgrade
2016-02-22 23:58:03.930 | desc=branch, sql=CONF.command.sql)
2016-02-22 23:58:03.930 | File "/opt/stack/new/neutron/neutron/db/migration/cli.py", line 127, in do_alembic_command
2016-02-22 23:58:03.930 | getattr(alembic_command, cmd)(config, *args, **kwargs)
2016-02-22 23:58:03.930 | File "/usr/local/lib/python2.7/dist-packages/alembic/command.py", line 174, in upgrade
2016-02-22 23:58:03.930 | script.run_env()
2016-02-22 23:58:03.930 | File "/usr/local/lib/python2.7/dist-packages/alembic/script/base.py", line 397, in run_env
2016-02-22 23:58:03.931 | util.load_python_file(self.dir, 'env.py')
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 81, in load_python_file
2016-02-22 23:58:03.931 | module = load_module_py(module_id, path)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/util/compat.py", line 79, in load_module_py
2016-02-22 23:58:03.931 | mod = imp.load_source(module_id, path, fp)
2016-02-22 23:58:03.931 | File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/migration/alembic_migrations/env.py", line 85, in <module>
2016-02-22 23:58:03.931 | run_migrations_online()
2016-02-22 23:58:03.931 | File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/migration/alembic_migrations/env.py", line 76, in run_migrations_online
2016-02-22 23:58:03.931 | context.run_migrations()
2016-02-22 23:58:03.931 | File "<string>", line 8, in run_migrations
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/runtime/environment.py", line 797, in run_migrations
2016-02-22 23:58:03.931 | self.get_context().run_migrations(**kw)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/runtime/migration.py", line 312, in run_migrations
2016-02-22 23:58:03.931 | step.migration_fn(**kw)
2016-02-22 23:58:03.931 | File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/migration/alembic_migrations/versions/mitaka/expand/6aee0434f911_independent_pools.py", line 46, in upgrade
2016-02-22 23:58:03.931 | type_='foreignkey')
2016-02-22 23:58:03.931 | File "<string>", line 8, in drop_constraint
2016-02-22 23:58:03.931 | File "<string>", line 3, in drop_constraint
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/operations/ops.py", line 145, in drop_constraint
2016-02-22 23:58:03.931 | return operations.invoke(op)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/operations/base.py", line 318, in invoke
2016-02-22 23:58:03.931 | return fn(self, operation)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/operations/toimpl.py", line 146, in drop_constraint
2016-02-22 23:58:03.931 | schema=operation.schema,
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 183, in drop_constraint
2016-02-22 23:58:03.931 | self._exec(schema.DropConstraint(const))
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 118, in _exec
2016-02-22 23:58:03.931 | return conn.execute(construct, *multiparams, **params)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
2016-02-22 23:58:03.931 | return meth(self, multiparams, params)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
2016-02-22 23:58:03.931 | return connection._execute_ddl(self, multiparams, params)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
2016-02-22 23:58:03.931 | compiled
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
2016-02-22 23:58:03.931 | context)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
2016-02-22 23:58:03.932 | util.raise_from_cause(newraise, exc_info)
2016-02-22 23:58:03.932 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
2016-02-22 23:58:03.932 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
2016-02-22 23:58:03.932 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
2016-02-22 23:58:03.932 | context)
2016-02-22 23:58:03.932 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
2016-02-22 23:58:03.932 | cursor.execute(statement, parameters)
2016-02-22 23:58:03.932 | oslo_db.exception.DBError: (psycopg2.ProgrammingError) constraint "lbaas_listeners_ibfk_2" of relation "lbaas_listeners" does not exist
2016-02-22 23:58:03.932 | [SQL: 'ALTER TABLE lbaas_listeners DROP CONSTRAINT lbaas_listeners_ibfk_2']
2016-02-22 23:58:03.999 | + /opt/stack/new/devstack/lib/neutron-legacy:init_neutron:L1: exit_trap
2016-02-22 23:58:03.999 | + ./stack.sh:exit_trap:L474: local r=1
2016-02-22 23:58:03.999 | ++ ./stack.sh:exit_trap:L475: jobs -p
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L475: jobs=31342
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L478: [[ -n 31342 ]]
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L478: [[ -n /opt/stack/new/devstacklog.txt.2016-02-22-235038 ]]
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L478: [[ True == \T\r\u\e ]]
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L479: echo 'exit_trap: cleaning up child processes'
2016-02-22 23:58:04.001 | exit_trap: cleaning up child processes
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L480: kill 31342
2016-02-22 23:58:04.001 | ./stack.sh: line 480: kill: (31342) - No such process
** Affects: neutron
Importance: Undecided
Status: New
** Tags: db lbaas
** Tags added: db
--
You received this bug notification because you are a member of Yahoo!
Engineering Team, which is subscribed to neutron.
https://bugs.launchpad.net/bugs/1548803
Title:
neutron-lbaas 6aee0434f911_independent_pools.py errors out in postgres
db
Status in neutron:
New
Bug description:
http://logs.openstack.org/39/279339/6/experimental/gate-tempest-dsvm-
neutron-pg-
full/ab0fcf0/logs/devstacklog.txt.gz#_2016-02-22_23_58_03_932
2016-02-22 23:58:03.926 | INFO [alembic.runtime.migration] Running upgrade 3426acbc12de -> 6aee0434f911, independent pools
2016-02-22 23:58:03.930 | Traceback (most recent call last):
2016-02-22 23:58:03.930 | File "/usr/local/bin/neutron-db-manage", line 10, in <module>
2016-02-22 23:58:03.930 | sys.exit(main())
2016-02-22 23:58:03.930 | File "/opt/stack/new/neutron/neutron/db/migration/cli.py", line 744, in main
2016-02-22 23:58:03.930 | return_val |= bool(CONF.command.func(config, CONF.command.name))
2016-02-22 23:58:03.930 | File "/opt/stack/new/neutron/neutron/db/migration/cli.py", line 220, in do_upgrade
2016-02-22 23:58:03.930 | desc=branch, sql=CONF.command.sql)
2016-02-22 23:58:03.930 | File "/opt/stack/new/neutron/neutron/db/migration/cli.py", line 127, in do_alembic_command
2016-02-22 23:58:03.930 | getattr(alembic_command, cmd)(config, *args, **kwargs)
2016-02-22 23:58:03.930 | File "/usr/local/lib/python2.7/dist-packages/alembic/command.py", line 174, in upgrade
2016-02-22 23:58:03.930 | script.run_env()
2016-02-22 23:58:03.930 | File "/usr/local/lib/python2.7/dist-packages/alembic/script/base.py", line 397, in run_env
2016-02-22 23:58:03.931 | util.load_python_file(self.dir, 'env.py')
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/util/pyfiles.py", line 81, in load_python_file
2016-02-22 23:58:03.931 | module = load_module_py(module_id, path)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/util/compat.py", line 79, in load_module_py
2016-02-22 23:58:03.931 | mod = imp.load_source(module_id, path, fp)
2016-02-22 23:58:03.931 | File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/migration/alembic_migrations/env.py", line 85, in <module>
2016-02-22 23:58:03.931 | run_migrations_online()
2016-02-22 23:58:03.931 | File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/migration/alembic_migrations/env.py", line 76, in run_migrations_online
2016-02-22 23:58:03.931 | context.run_migrations()
2016-02-22 23:58:03.931 | File "<string>", line 8, in run_migrations
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/runtime/environment.py", line 797, in run_migrations
2016-02-22 23:58:03.931 | self.get_context().run_migrations(**kw)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/runtime/migration.py", line 312, in run_migrations
2016-02-22 23:58:03.931 | step.migration_fn(**kw)
2016-02-22 23:58:03.931 | File "/opt/stack/new/neutron-lbaas/neutron_lbaas/db/migration/alembic_migrations/versions/mitaka/expand/6aee0434f911_independent_pools.py", line 46, in upgrade
2016-02-22 23:58:03.931 | type_='foreignkey')
2016-02-22 23:58:03.931 | File "<string>", line 8, in drop_constraint
2016-02-22 23:58:03.931 | File "<string>", line 3, in drop_constraint
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/operations/ops.py", line 145, in drop_constraint
2016-02-22 23:58:03.931 | return operations.invoke(op)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/operations/base.py", line 318, in invoke
2016-02-22 23:58:03.931 | return fn(self, operation)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/operations/toimpl.py", line 146, in drop_constraint
2016-02-22 23:58:03.931 | schema=operation.schema,
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 183, in drop_constraint
2016-02-22 23:58:03.931 | self._exec(schema.DropConstraint(const))
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/alembic/ddl/impl.py", line 118, in _exec
2016-02-22 23:58:03.931 | return conn.execute(construct, *multiparams, **params)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 914, in execute
2016-02-22 23:58:03.931 | return meth(self, multiparams, params)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/sql/ddl.py", line 68, in _execute_on_connection
2016-02-22 23:58:03.931 | return connection._execute_ddl(self, multiparams, params)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 968, in _execute_ddl
2016-02-22 23:58:03.931 | compiled
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1146, in _execute_context
2016-02-22 23:58:03.931 | context)
2016-02-22 23:58:03.931 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1337, in _handle_dbapi_exception
2016-02-22 23:58:03.932 | util.raise_from_cause(newraise, exc_info)
2016-02-22 23:58:03.932 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/util/compat.py", line 200, in raise_from_cause
2016-02-22 23:58:03.932 | reraise(type(exception), exception, tb=exc_tb, cause=cause)
2016-02-22 23:58:03.932 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/base.py", line 1139, in _execute_context
2016-02-22 23:58:03.932 | context)
2016-02-22 23:58:03.932 | File "/usr/local/lib/python2.7/dist-packages/sqlalchemy/engine/default.py", line 450, in do_execute
2016-02-22 23:58:03.932 | cursor.execute(statement, parameters)
2016-02-22 23:58:03.932 | oslo_db.exception.DBError: (psycopg2.ProgrammingError) constraint "lbaas_listeners_ibfk_2" of relation "lbaas_listeners" does not exist
2016-02-22 23:58:03.932 | [SQL: 'ALTER TABLE lbaas_listeners DROP CONSTRAINT lbaas_listeners_ibfk_2']
2016-02-22 23:58:03.999 | + /opt/stack/new/devstack/lib/neutron-legacy:init_neutron:L1: exit_trap
2016-02-22 23:58:03.999 | + ./stack.sh:exit_trap:L474: local r=1
2016-02-22 23:58:03.999 | ++ ./stack.sh:exit_trap:L475: jobs -p
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L475: jobs=31342
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L478: [[ -n 31342 ]]
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L478: [[ -n /opt/stack/new/devstacklog.txt.2016-02-22-235038 ]]
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L478: [[ True == \T\r\u\e ]]
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L479: echo 'exit_trap: cleaning up child processes'
2016-02-22 23:58:04.001 | exit_trap: cleaning up child processes
2016-02-22 23:58:04.001 | + ./stack.sh:exit_trap:L480: kill 31342
2016-02-22 23:58:04.001 | ./stack.sh: line 480: kill: (31342) - No such process
To manage notifications about this bug go to:
https://bugs.launchpad.net/neutron/+bug/1548803/+subscriptions