CRITICAL rally [-] Unhandled error: KeyError: 'openstack'
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
Rally |
New
|
Undecided
|
Unassigned |
Bug Description
I am using openstack wallaby in tripleo architecture.
I googled around and found i can use openstack-rally for testing the openstack deployment and will be able to genrate report also.
so i tried installing openstack rally using "yum install openstack-rally", "pip3 install openstack-rally" and finally cloned the git repo and ran "python3 setup.py install" but no matter what i do i am getting the error 'unhandled error : keyerror 'openstack''
(overcloud) [root@hkg2director ~]# rally deployment create --fromenv --name=existing
+------
| uuid | created_at | name | status | active |
+------
| 484aae52-
+------
Using deployment: 484aae52-
(overcloud) [root@hkg2director ~]# rally deployment show 484aae52-
Command failed, please check log for more info
2022-06-07 13:48:58.651 482053 CRITICAL rally [-] Unhandled error: KeyError: 'openstack'
2022-06-07 13:48:58.651 482053 ERROR rally Traceback (most recent call last):
2022-06-07 13:48:58.651 482053 ERROR rally File "/bin/rally", line 10, in <module>
2022-06-07 13:48:58.651 482053 ERROR rally sys.exit(main())
2022-06-07 13:48:58.651 482053 ERROR rally File "/usr/local/
2022-06-07 13:48:58.651 482053 ERROR rally return cliutils.
2022-06-07 13:48:58.651 482053 ERROR rally File "/usr/local/
2022-06-07 13:48:58.651 482053 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2022-06-07 13:48:58.651 482053 ERROR rally File "/usr/local/
2022-06-07 13:48:58.651 482053 ERROR rally return func(*args, **kwargs)
2022-06-07 13:48:58.651 482053 ERROR rally File "/usr/local/
2022-06-07 13:48:58.651 482053 ERROR rally return func(*args, **kwargs)
2022-06-07 13:48:58.651 482053 ERROR rally File "/usr/local/
2022-06-07 13:48:58.651 482053 ERROR rally creds = deployment[
2022-06-07 13:48:58.651 482053 ERROR rally KeyError: 'openstack'
2022-06-07 13:48:58.651 482053 ERROR rally
can someone please help me in fixing this issue or give any suggestion on which tool to use to test the openstack deployment and benchmark.
affects: | wget (Ubuntu) → rally-openstack (Ubuntu) |
affects: | rally-openstack (Ubuntu) → rally |
I've encountered the same issue, I've tested with Rally 3.3.0 and with latest commit e8613ffeb01
I suspect that either 1) my Openstack env variables are somehow wrong, or 2) this functionality is broken in Rally.
I am now using the JSON method instead and it works:
$ rally deployment create --filename foo.json --name foo