← Back to team overview

openstack team mailing list archive

Re: keystone-manage db_sync failures

 

see https://bugs.launchpad.net/keystone/+bug/1073569 bug


On Wed, Mar 6, 2013 at 2:18 AM, Miller, Mark M (EB SW Cloud - R&D -
Corvallis) <mark.m.miller@xxxxxx> wrote:

> Try adding the config file name to the command line:
>
>         > keystone-manage --config-file /etc/keystone/keystone.conf db_sync
>
> Mark
>
> -----Original Message-----
> From: openstack-bounces+mark.m.miller=hp.com@xxxxxxxxxxxxxxxxxxx [mailto:
> openstack-bounces+mark.m.miller=hp.com@xxxxxxxxxxxxxxxxxxx] On Behalf Of
> Wyllys Ingersoll
> Sent: Tuesday, March 05, 2013 8:27 AM
> To: openstack@xxxxxxxxxxxxxxxxxxx
> Subject: [Openstack] keystone-manage db_sync failures
>
> I keep getting a failure when trying to configure keystone.
>  keystone-manage seems to have issues with sqlalchemy.
>
> Here are my versions:
>
> python-keystoneclient: 1:0.1.3-0ubuntu1.1~cloud0
> python-sqlalchemy:  0.7.8-1ubuntu1~cloud0
> python-migrate:  0.7.2-1ubuntu1
>
> Any ideas??
>
> $ keystone-manage db_sync
> Traceback (most recent call last):
>   File "/usr/bin/keystone-manage", line 28, in <module>
>     cli.main(argv=sys.argv, config_files=config_files)
>   File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 164, in
> main
>     return run(cmd, (args[:1] + args[2:]))
>   File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 147, in run
>     return CMDS[cmd](argv=args).run()
>   File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 35, in run
>     return self.main()
>   File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 54, in main
>     driver = importutils.import_object(getattr(CONF, k).driver)
>   File
> "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py",
> line 40, in import_object
>     return import_class(import_str)(*args, **kwargs)
>   File
> "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py",
> line 30, in import_class
>     __import__(mod_str)
>   File
> "/usr/lib/python2.7/dist-packages/keystone/identity/backends/sql.py", line
> 22, in <module>
>     from keystone.common.sql import migration
>   File
> "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration.py", line
> 23, in <module>
>     from migrate.versioning import api as versioning_api
>   File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line
> 33, in <module>
>     from migrate.versioning import (repository, schema, version,
>   File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py",
> line 10, in <module>
>     from sqlalchemy import exceptions as sa_exceptions
> ImportError: cannot import name exceptions
>
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>
> _______________________________________________
> Mailing list: https://launchpad.net/~openstack
> Post to     : openstack@xxxxxxxxxxxxxxxxxxx
> Unsubscribe : https://launchpad.net/~openstack
> More help   : https://help.launchpad.net/ListHelp
>



-- 
Lei Zhang

Blog: http://jeffrey4l.github.com
twitter/weibo: @jeffrey4l

Follow ups

References