<div dir="ltr">I didn't have any problem import 'exceptions' from sqlalchemy 0.7.8; are you sure you didn't end up with a different version installed after "re-installing the whole thing from scratch"?<div>
<br></div><div><div>  $ python -c "import sqlalchemy; print sqlalchemy.__version__; from sqlalchemy import exceptions; print exceptions"</div><div>  0.7.8</div><div>  <module 'sqlalchemy.exc' from '/Users/dolph/Environments/os/lib/python2.7/site-packages/sqlalchemy/exc.pyc'></div>
</div></div><div class="gmail_extra"><br clear="all"><div><div><br></div>-Dolph</div>
<br><br><div class="gmail_quote">On Tue, Mar 5, 2013 at 8:49 PM, Wyllys Ingersoll <span dir="ltr"><<a href="mailto:Wyllys.Ingersoll@evault.com" target="_blank">Wyllys.Ingersoll@evault.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div style="word-wrap:break-word"><div><br></div><div><br></div><div>I saw that bug, but that was not the problem because I had the right versions of all of those pieces.</div><div><br></div><div>The problem arose when I had to change the IP addr of my host.  I updated all of the config files and the endpoints in the keystone DB, but still nova was pulling the old IP addr from somewhere, but I could not figure out where it was coming from.  It wasn't in the DB and it wasn't in any of the config files.  I finally gave up and re-installed the whole thing from scratch.  Luckily, it was in a VM that I was using for testing so I didn't lose any real data or anything and the re-install was quick and smooth.</div>
<div><br></div><div>I still have no idea what went wrong and my lasting impression is that the whole thing is a house of cards that is still very fragile to the slightest inconsistencies.  </div><span class="HOEnZb"><font color="#888888"><div>
<br></div><div>-Wyllys</div></font></span><div><div class="h5"><div><br></div><br><div><div>On Mar 5, 2013, at 9:42 PM, Lei Zhang <<a href="mailto:zhang.lei.fly@gmail.com" target="_blank">zhang.lei.fly@gmail.com</a>> wrote:</div>
<br><blockquote type="cite"><div dir="ltr">see <a href="https://bugs.launchpad.net/keystone/+bug/1073569" target="_blank">https://bugs.launchpad.net/keystone/+bug/1073569</a> bug</div><div class="gmail_extra"><br><br><div class="gmail_quote">
On Wed, Mar 6, 2013 at 2:18 AM, Miller, Mark M (EB SW Cloud - R&D - Corvallis) <span dir="ltr"><<a href="mailto:mark.m.miller@hp.com" target="_blank">mark.m.miller@hp.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">Try adding the config file name to the command line:<br>
<br>
        > keystone-manage --config-file /etc/keystone/keystone.conf db_sync<br>
<span><font color="#888888"><br>
Mark<br>
</font></span><div><div><br>
-----Original Message-----<br>
From: openstack-bounces+mark.m.miller=<a href="mailto:hp.com@lists.launchpad.net" target="_blank">hp.com@lists.launchpad.net</a> [mailto:<a href="mailto:openstack-bounces%2Bmark.m.miller" target="_blank">openstack-bounces+mark.m.miller</a>=<a href="mailto:hp.com@lists.launchpad.net" target="_blank">hp.com@lists.launchpad.net</a>] On Behalf Of Wyllys Ingersoll<br>



Sent: Tuesday, March 05, 2013 8:27 AM<br>
To: <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Subject: [Openstack] keystone-manage db_sync failures<br>
<br>
I keep getting a failure when trying to configure keystone.  keystone-manage seems to have issues with sqlalchemy.<br>
<br>
Here are my versions:<br>
<br>
python-keystoneclient: 1:0.1.3-0ubuntu1.1~cloud0<br>
python-sqlalchemy:  0.7.8-1ubuntu1~cloud0<br>
python-migrate:  0.7.2-1ubuntu1<br>
<br>
Any ideas??<br>
<br>
$ keystone-manage db_sync<br>
Traceback (most recent call last):<br>
  File "/usr/bin/keystone-manage", line 28, in <module><br>
    cli.main(argv=sys.argv, config_files=config_files)<br>
  File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 164, in main<br>
    return run(cmd, (args[:1] + args[2:]))<br>
  File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 147, in run<br>
    return CMDS[cmd](argv=args).run()<br>
  File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 35, in run<br>
    return self.main()<br>
  File "/usr/lib/python2.7/dist-packages/keystone/cli.py", line 54, in main<br>
    driver = importutils.import_object(getattr(CONF, k).driver)<br>
  File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 40, in import_object<br>
    return import_class(import_str)(*args, **kwargs)<br>
  File "/usr/lib/python2.7/dist-packages/keystone/openstack/common/importutils.py", line 30, in import_class<br>
    __import__(mod_str)<br>
  File "/usr/lib/python2.7/dist-packages/keystone/identity/backends/sql.py", line 22, in <module><br>
    from keystone.common.sql import migration<br>
  File "/usr/lib/python2.7/dist-packages/keystone/common/sql/migration.py", line 23, in <module><br>
    from migrate.versioning import api as versioning_api<br>
  File "/usr/lib/python2.7/dist-packages/migrate/versioning/api.py", line 33, in <module><br>
    from migrate.versioning import (repository, schema, version,<br>
  File "/usr/lib/python2.7/dist-packages/migrate/versioning/schema.py", line 10, in <module><br>
    from sqlalchemy import exceptions as sa_exceptions<br>
ImportError: cannot import name exceptions<br>
<br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br>
_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net" target="_blank">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
</div></div></blockquote></div><br><br clear="all"><div><br></div>-- <br><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse">Lei Zhang</span></div><div><span style="font-family:arial,sans-serif;font-size:13px;border-collapse:collapse"><br>


</span></div><div><font face="arial, sans-serif">Blog: <a href="http://jeffrey4l.github.com/" target="_blank">http://jeffrey4l.github.com</a></font></div><div>twitter/weibo: @jeffrey4l</div>
</div>
</blockquote></div><br></div></div></div><br>_______________________________________________<br>
Mailing list: <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
Post to     : <a href="mailto:openstack@lists.launchpad.net">openstack@lists.launchpad.net</a><br>
Unsubscribe : <a href="https://launchpad.net/~openstack" target="_blank">https://launchpad.net/~openstack</a><br>
More help   : <a href="https://help.launchpad.net/ListHelp" target="_blank">https://help.launchpad.net/ListHelp</a><br>
<br></blockquote></div><br></div>