-
-
Notifications
You must be signed in to change notification settings - Fork 311
Closed
Labels
Description
Trying to use OpenStack services with alembic 1.2.0 (currently 1.1.0 is used) is breaking a lot of services with (Ironic example):
[...]
b' File "ronic/ironic/db/sqlalchemy/migration.py", line 99, in stamp'
b' return alembic.command.stamp(config, revision=revision)'
b"TypeError: stamp() got an unexpected keyword argument 'revision'"
Looks like the stamp method does no longer accept the parameter revision (done in commit fdcc5bf).
I wonder if it would be possible (until 2.0.0 comes up) to support revision and revisions as parameter to be backward compatible?
Also oslo.db is affected. It tries to use the revision parameter. See https://opendev.org/openstack/oslo.db/src/branch/master/oslo_db/sqlalchemy/migration_cli/ext_alembic.py#L92
Reactions are currently unavailable