rally db create failing because of new alembic release

Bug #1844884 reported by venkata anil
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
pini

Bug Description

rally db create failing with below trace

(.rally-venv) [stack@f27-h32-000-r630 browbeat]$ rally --debug db create
2019-09-21 18:58:05.840 8661 RALLYDEBUG rally.api [-] INFO logs from urllib3 and requests module are hide.
2019-09-21 18:58:05.841 8661 RALLYDEBUG rally.api [-] urllib3 insecure warnings are hidden.
2019-09-21 18:58:05.842 8661 RALLYDEBUG rally.api [-] ERROR log from boto module is hide.
Creating database: sqlite:////tmp/stack.sqlite
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils [-] Unexpected exception in CLI: TypeError: stamp() got an unexpected keyword argument 'revision'
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils Traceback (most recent call last):
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils File "/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally/cli/cliutils.py", line 674, in run
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils ret = fn(*fn_args, **fn_kwargs)
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils File "/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally/cli/commands/db.py", line 46, in create
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils db.schema.schema_create()
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils File "/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally/common/db/schema.py", line 139, in schema_create
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils schema_stamp("head", config=config)
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils File "/home/stack/browbeat/.rally-venv/lib/python2.7/site-packages/rally/common/db/schema.py", line 152, in schema_stamp
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils return alembic.command.stamp(config, revision=revision)
2019-09-21 18:58:05.871 8661 ERROR rally.cli.cliutils TypeError: stamp() got an unexpected keyword argument 'revision'

alembic 1.2.0 (https://pypi.org/project/alembic/) released on Sep 20, 2019, which has changed params for "stamp" method from
def stamp(config, revision, sql=False, tag=None):
to
def stamp(config, revisions, sql=False, tag=None, purge=False):

Revision history for this message
pini (pkomarov) wrote :
Changed in rally:
assignee: nobody → pini (pkomarov)
chenhb (chen-haibing1)
Changed in rally:
status: New → Fix Released
affects: rally → openstack-browbeat
affects: openstack-browbeat → rally
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.