← Back to team overview

openstack team mailing list archive

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



Follow ups