← Back to team overview

openstack team mailing list archive

Error: Upgrade DB using Essex release first

 

hi all:

I have setup a basic openstack environment, and I recently try to install
cinder. When following the openstack install guide, I stuck after running
"cinder-manage db sync":

root@controller:~# cinder-manage db sync
2013-02-05 11:39:39 15121 DEBUG cinder.utils [-] backend <module
'cinder.db.sqlalchemy.migration' from
'/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/migration.pyc'>
__get_backend /usr/lib/python2.7/dist-packages/cinder/utils.py:477
Command failed, please check log for more info
2013-02-05 11:39:39 15121 CRITICAL cinder [-] Upgrade DB using Essex
release first.
2013-02-05 11:39:39 15121 TRACE cinder Traceback (most recent call last):
2013-02-05 11:39:39 15121 TRACE cinder   File "/usr/bin/cinder-manage",
line 757, in <module>
2013-02-05 11:39:39 15121 TRACE cinder     main()
2013-02-05 11:39:39 15121 TRACE cinder   File "/usr/bin/cinder-manage",
line 744, in main
2013-02-05 11:39:39 15121 TRACE cinder     fn(*fn_args, **fn_kwargs)
2013-02-05 11:39:39 15121 TRACE cinder   File "/usr/bin/cinder-manage",
line 212, in sync
2013-02-05 11:39:39 15121 TRACE cinder     return migration.db_sync(version)
2013-02-05 11:39:39 15121 TRACE cinder   File
"/usr/lib/python2.7/dist-packages/cinder/db/migration.py", line 33, in
db_sync
2013-02-05 11:39:39 15121 TRACE cinder     return
IMPL.db_sync(version=version)
2013-02-05 11:39:39 15121 TRACE cinder   File
"/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/migration.py", line
76, in db_sync
2013-02-05 11:39:39 15121 TRACE cinder     current_version = db_version()
2013-02-05 11:39:39 15121 TRACE cinder   File
"/usr/lib/python2.7/dist-packages/cinder/db/sqlalchemy/migration.py", line
101, in db_version
2013-02-05 11:39:39 15121 TRACE cinder     raise exception.Error(_("Upgrade
DB using Essex release first."))
2013-02-05 11:39:39 15121 TRACE cinder Error: Upgrade DB using Essex
release first.
2013-02-05 11:39:39 15121 TRACE cinder

------------end of the error prompt----------

I use ubuntu 12.10 and apt-get to install openstack folsom, so it's strange
why should I use Essex release.

Any hints?

Thanks

Liu Wenmao