rally deployment check failing

Bug #1922707 reported by venkata anil
32
This bug affects 6 people
Affects Status Importance Assigned to Milestone
Rally
Fix Released
Undecided
venkata anil

Bug Description

Rally deployment check command is failing with below error
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils [-] Unexpected exception in CLI: ValueError: tuple.index(x): x not in tuple
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils Traceback (most recent call last):
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils File "/home/stack/browbeat/.rally-venv/lib/python3.6/site-packages/rally/cli/cliutils.py", line 670, in run
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils ret = fn(*fn_args, **fn_kwargs)
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils File "/home/stack/browbeat/.rally-venv/lib/python3.6/site-packages/decorator.py", line 233, in fun
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils return caller(func, *(extras + args), **kw)
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils File "/home/stack/browbeat/.rally-venv/lib/python3.6/site-packages/rally/cli/envutils.py", line 138, in default_from_global
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils id_arg_index = f.__code__.co_varnames.index(arg_name)
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils ValueError: tuple.index(x): x not in tuple
2021-04-06 09:40:22.980 195080 ERROR rally.cli.cliutils

rally task commands are also failing with similar error.

Some changes went in decorator code last week which is breaking rally https://github.com/micheles/decorator/commit/04bb6454ac4f7560759ec1a3e15756a5485067ac#diff-216f1a47489a5fc3af1e4dc316207ca25055a25c52b67dcfc31cbcc54cd73cf0

limiting decorator to older version 4.4.2 is solving the rally issues.
pip install decorator==4.4.2

We can temporarily make rally to use decorator of version 4.4.2 before the new releases get stabilised.

Changed in rally:
assignee: nobody → venkata anil (anil-venkata)
Revision history for this message
venkata anil (anil-venkata) wrote :
Revision history for this message
Oliver Walsh (owalsh) wrote :
Changed in rally:
status: New → Incomplete
status: Incomplete → Fix Released
Revision history for this message
OpenStack Infra (hudson-openstack) wrote : Change abandoned on rally (master)

Change abandoned by "Andrey Kurilin <email address hidden>" on branch: master
Review: https://review.opendev.org/c/openstack/rally/+/784918
Reason: rally does not use decorator lib anymore

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Related questions

Remote bug watches

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