Hide Forgot
Description of problem: python-migrate included as dependency, this leads to erros when attempting to create the db. 2011-10-25 13:16:37,740 CRITICAL nova [-] __init__() takes exactly 1 argument (2 given) (nova): TRACE: Traceback (most recent call last): (nova): TRACE: File "/usr/bin/nova-manage", line 2141, in <module> (nova): TRACE: main() (nova): TRACE: File "/usr/bin/nova-manage", line 2129, in main (nova): TRACE: fn(*fn_args, **fn_kwargs) (nova): TRACE: File "/usr/bin/nova-manage", line 1148, in sync (nova): TRACE: return migration.db_sync(version) (nova): TRACE: File "/usr/lib/python2.6/site-packages/nova/db/migration.py", line 35, in db_sync (nova): TRACE: return IMPL.db_sync(version=version) (nova): TRACE: File "/usr/lib/python2.6/site-packages/nova/utils.py", line 452, in __getattr__ (nova): TRACE: backend = self.__get_backend() (nova): TRACE: File "/usr/lib/python2.6/site-packages/nova/utils.py", line 447, in __get_backend (nova): TRACE: self.__backend = __import__(name, None, None, fromlist) (nova): TRACE: File "/usr/lib/python2.6/site-packages/nova/db/sqlalchemy/migration.py", line 25, in <module> (nova): TRACE: from migrate.versioning import api as versioning_api (nova): TRACE: File "/usr/lib/python2.6/site-packages/migrate/versioning/api.py", line 5, in <module> (nova): TRACE: from migrate.versioning.repository import * (nova): TRACE: File "/usr/lib/python2.6/site-packages/migrate/versioning/repository.py", line 8, in <module> (nova): TRACE: from migrate.versioning import script,exceptions,version (nova): TRACE: File "/usr/lib/python2.6/site-packages/migrate/versioning/script/__init__.py", line 1, in <module> (nova): TRACE: from py import * (nova): TRACE: File "/usr/lib/python2.6/site-packages/migrate/versioning/script/py.py", line 2, in <module> (nova): TRACE: from logsql import LogsqlFile (nova): TRACE: File "/usr/lib/python2.6/site-packages/migrate/versioning/script/logsql.py", line 2, in <module> (nova): TRACE: from migrate.versioning import logengine (nova): TRACE: File "/usr/lib/python2.6/site-packages/migrate/versioning/logengine.py", line 260, in <module> (nova): TRACE: LogEngineStrategy() (nova): TRACE: File "/usr/lib/python2.6/site-packages/migrate/versioning/logengine.py", line 253, in __init__ (nova): TRACE: super(LogEngineStrategy,self).__init__('logsql') (nova): TRACE: TypeError: __init__() takes exactly 1 argument (2 given) (nova): TRACE: Resolution removal of python-migrate and installation of sqlalchemy-migrate via setuptools. in short we need python-sqlalchemy-migrate
That would diverge from fedora though where we use python-migrate rather than python-sqlalchemy-migrate. Note RHEL 6.2 has python-sqlalchemy-0.5.5 whereas Fedora 16 has 0.7.3 It was noted on irc that 0.6.3 was required. Perhaps that's the issue?
Is this still a problem after the update to depend on a newer version of sqlalchemy?
Any python-migrate issues should have been handled by this update: https://admin.fedoraproject.org/updates/FEDORA-EPEL-2011-5168/python-migrate-0.6-6.el6 Thanks for triaging these Russell.