Created
July 28, 2014 18:40
-
-
Save mriedem/19d737ab5ad43eba9ca0 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[root@rhel62 ~]# nova-manage db sync 247 | |
2014-07-28 13:39:29.380 23990 INFO migrate.versioning.api [-] 248 -> 247... | |
Command failed, please check log for more info | |
2014-07-28 13:39:29.473 23990 CRITICAL nova [-] AttributeError: 'DB2DDLCompiler' object has no attribute '_index_identifier' | |
2014-07-28 13:39:29.473 23990 TRACE nova Traceback (most recent call last): | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/bin/nova-manage", line 10, in <module> | |
2014-07-28 13:39:29.473 23990 TRACE nova sys.exit(main()) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/nova/cmd/manage.py", line 1401, in main | |
2014-07-28 13:39:29.473 23990 TRACE nova ret = fn(*fn_args, **fn_kwargs) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/nova/cmd/manage.py", line 902, in sync | |
2014-07-28 13:39:29.473 23990 TRACE nova return migration.db_sync(version) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/migration.py", line 29, in db_sync | |
2014-07-28 13:39:29.473 23990 TRACE nova return IMPL.db_sync(version=version) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/migration.py", line 47, in db_sync | |
2014-07-28 13:39:29.473 23990 TRACE nova version) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/migrate/versioning/api.py", line 202, in downgrade | |
2014-07-28 13:39:29.473 23990 TRACE nova return _migrate(url, repository, version, upgrade=False, err=err, **opts) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "<string>", line 2, in _migrate | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/migrate/versioning/util/__init__.py", line 160, in with_engine | |
2014-07-28 13:39:29.473 23990 TRACE nova return f(*a, **kw) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/migrate/versioning/api.py", line 366, in _migrate | |
2014-07-28 13:39:29.473 23990 TRACE nova schema.runchange(ver, change, changeset.step) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/migrate/versioning/schema.py", line 93, in runchange | |
2014-07-28 13:39:29.473 23990 TRACE nova change.run(self.engine, step) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/migrate/versioning/script/py.py", line 148, in run | |
2014-07-28 13:39:29.473 23990 TRACE nova script_func(engine) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/migrate_repo/versions/248_add_expire_reservations_index.py", line 56, in downgrade | |
2014-07-28 13:39:29.473 23990 TRACE nova index.drop(migrate_engine) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/schema.py", line 2534, in drop | |
2014-07-28 13:39:29.473 23990 TRACE nova bind._run_visitor(ddl.SchemaDropper, self) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 1479, in _run_visitor | |
2014-07-28 13:39:29.473 23990 TRACE nova conn._run_visitor(visitorcallable, element, **kwargs) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/contextlib.py", line 34, in __exit__ | |
2014-07-28 13:39:29.473 23990 TRACE nova self.gen.throw(type, value, traceback) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 1472, in _optional_conn_ctx_manager | |
2014-07-28 13:39:29.473 23990 TRACE nova yield conn | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 1479, in _run_visitor | |
2014-07-28 13:39:29.473 23990 TRACE nova conn._run_visitor(visitorcallable, element, **kwargs) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 1122, in _run_visitor | |
2014-07-28 13:39:29.473 23990 TRACE nova **kwargs).traverse_single(element) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/sql/visitors.py", line 122, in traverse_single | |
2014-07-28 13:39:29.473 23990 TRACE nova return meth(obj, **kw) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/ddl.py", line 170, in visit_index | |
2014-07-28 13:39:29.473 23990 TRACE nova self.connection.execute(schema.DropIndex(index)) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 662, in execute | |
2014-07-28 13:39:29.473 23990 TRACE nova params) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/base.py", line 714, in _execute_ddl | |
2014-07-28 13:39:29.473 23990 TRACE nova compiled = ddl.compile(dialect=dialect) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/sql/expression.py", line 1920, in compile | |
2014-07-28 13:39:29.473 23990 TRACE nova return self._compiler(dialect, bind=bind, **kw) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/schema.py", line 2954, in _compiler | |
2014-07-28 13:39:29.473 23990 TRACE nova return dialect.ddl_compiler(dialect, self, **kw) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/interfaces.py", line 804, in __init__ | |
2014-07-28 13:39:29.473 23990 TRACE nova self.string = self.process(self.statement, **compile_kwargs) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/engine/interfaces.py", line 823, in process | |
2014-07-28 13:39:29.473 23990 TRACE nova return obj._compiler_dispatch(self, **kwargs) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib64/python2.6/site-packages/sqlalchemy/sql/visitors.py", line 80, in _compiler_dispatch | |
2014-07-28 13:39:29.473 23990 TRACE nova return meth(self, **kw) | |
2014-07-28 13:39:29.473 23990 TRACE nova File "/usr/lib/python2.6/site-packages/ibm_db_sa/base.py", line 505, in visit_drop_index | |
2014-07-28 13:39:29.473 23990 TRACE nova self._index_identifier(drop.element.name), | |
2014-07-28 13:39:29.473 23990 TRACE nova AttributeError: 'DB2DDLCompiler' object has no attribute '_index_identifier' | |
2014-07-28 13:39:29.473 23990 TRACE nova | |
[root@rhel62 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment