cinder database issue .. i tried to clean cinder database via truncate only few tables not all as they have relations bw tables. and i tried to update database, now i am getting this warnings

asked 2015-11-19 16:29:02 -0500

nag gravatar image

[root@controller ~]# cinder-manage db sync /usr/lib/python2.7/site-packages/cinder/openstack/common/service.py:38: DeprecationWarning: The oslo namespace package is deprecated. Please use oslo_config instead. from oslo.config import cfg No handlers could be found for logger "oslo_config.cfg" 2015-11-19 14:23:48.493 13367 CRITICAL cinder [-] DbMigrationError: The database is not under version control, but has tables. Please stamp the current version of the schema manually. 2015-11-19 14:23:48.493 13367 TRACE cinder Traceback (most recent call last): 2015-11-19 14:23:48.493 13367 TRACE cinder File "/usr/bin/cinder-manage", line 10, in <module> 2015-11-19 14:23:48.493 13367 TRACE cinder sys.exit(main()) 2015-11-19 14:23:48.493 13367 TRACE cinder File "/usr/lib/python2.7/site-packages/cinder/cmd/manage.py", line 564, in main 2015-11-19 14:23:48.493 13367 TRACE cinder fn(*fn_args) 2015-11-19 14:23:48.493 13367 TRACE cinder File "/usr/lib/python2.7/site-packages/cinder/cmd/manage.py", line 230, in sync 2015-11-19 14:23:48.493 13367 TRACE cinder return db_migration.db_sync(version) 2015-11-19 14:23:48.493 13367 TRACE cinder File "/usr/lib/python2.7/site-packages/cinder/db/migration.py", line 61, in db_sync 2015-11-19 14:23:48.493 13367 TRACE cinder init_version=init_version) 2015-11-19 14:23:48.493 13367 TRACE cinder File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/migration.py", line 74, in db_sync 2015-11-19 14:23:48.493 13367 TRACE cinder current_version = db_version(engine, abs_path, init_version) 2015-11-19 14:23:48.493 13367 TRACE cinder File "/usr/lib/python2.7/site-packages/oslo_db/sqlalchemy/migration.py", line 133, in db_version 2015-11-19 14:23:48.493 13367 TRACE cinder "The database is not under version control, but has " 2015-11-19 14:23:48.493 13367 TRACE cinder DbMigrationError: The database is not under version control, but has tables. Please stamp the current version of the schema manually. 2015-11-19 14:23:48.493 13367 TRACE cinder

edit retag flag offensive close merge delete