Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what's the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel
Hello Ankit, Installation part of Rally official doc is not up to date, actually. Just do “pip install rally-openstack” (in a virtualenv, of course 😊) This will also install “rally” python package. Enjoy ! Jean-Francois From: Ankit Goel <ankit@aptira.com> Sent: mercredi, 3 février 2021 13:40 To: openstack-dev@lists.openstack.org Subject: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what’s the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel
Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing. (rally) [root@rally ~]# rally deployment list +--------------------------------------+----------------------------+----------+------------------+--------+ | uuid | created_at | name | status | active | +--------------------------------------+----------------------------+----------+------------------+--------+ | 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * | +--------------------------------------+----------------------------+----------+------------------+--------+ (rally) [root@rally ~]# (rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a Command failed, please check log for more info 2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last): 2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module> 2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main()) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main 2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run 2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show 2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0] 2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally (rally) [root@rally ~]# Can you please help me to resolve this issue. Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> Sent: 03 February 2021 19:38 To: Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Ankit, Installation part of Rally official doc is not up to date, actually. Just do “pip install rally-openstack” (in a virtualenv, of course 😊) This will also install “rally” python package. Enjoy ! Jean-Francois From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: mercredi, 3 février 2021 13:40 To: openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what’s the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel
Hello, 1/ Is “rally-openstack” python package correctly installed ? On my side I have: (venv) vagrant@rally: $ pip list | grep rally rally 3.2.0 rally-openstack 2.1.0 2/ Could you please show the json file used to create the deployment ? From: Ankit Goel <ankit@aptira.com> Sent: jeudi, 4 février 2021 18:19 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch>; openstack-dev@lists.openstack.org Cc: John Spillane <john@aptira.com> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing. (rally) [root@rally ~]# rally deployment list +--------------------------------------+----------------------------+----------+------------------+--------+ | uuid | created_at | name | status | active | +--------------------------------------+----------------------------+----------+------------------+--------+ | 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * | +--------------------------------------+----------------------------+----------+------------------+--------+ (rally) [root@rally ~]# (rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a Command failed, please check log for more info 2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last): 2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module> 2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main()) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main 2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run 2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show 2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0] 2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally (rally) [root@rally ~]# Can you please help me to resolve this issue. Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>> Sent: 03 February 2021 19:38 To: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Ankit, Installation part of Rally official doc is not up to date, actually. Just do “pip install rally-openstack” (in a virtualenv, of course 😊) This will also install “rally” python package. Enjoy ! Jean-Francois From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: mercredi, 3 février 2021 13:40 To: openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what’s the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel
Hi, Ankit! Please accept my apologies for the outdated documentation. Updating docs is my top 1 priority for Rally project, but unfortunately, I do not have much time for doing that. As for the issue you are facing with `rally deployment show command`, it looks like a bug. Switching from `rally deployment` to `rally env` subset of command should solve the problem (rally deployment will be deprecated at some point). пт, 5 февр. 2021 г. в 10:17, Taltavull Jean-Francois < jean-francois.taltavull@elca.ch>:
Hello,
1/ Is “rally-openstack” python package correctly installed ? On my side I have:
(venv) vagrant@rally: $ pip list | grep rally
rally 3.2.0
rally-openstack 2.1.0
2/ Could you please show the json file used to create the deployment ?
*From:* Ankit Goel <ankit@aptira.com> *Sent:* jeudi, 4 février 2021 18:19 *To:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch>; openstack-dev@lists.openstack.org *Cc:* John Spillane <john@aptira.com> *Subject:* RE: Rally - Unable to install rally - install_rally.sh is not available in repo
Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing.
(rally) [root@rally ~]# rally deployment list
+--------------------------------------+----------------------------+----------+------------------+--------+
| uuid | created_at | name | status | active |
+--------------------------------------+----------------------------+----------+------------------+--------+
| 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * |
+--------------------------------------+----------------------------+----------+------------------+--------+
(rally) [root@rally ~]#
(rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a
Command failed, please check log for more info
2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack'
2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last):
2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module>
2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main())
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main
2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories)
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run
2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global
2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded
2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show
2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0]
2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack'
2021-02-04 16:06:49.576 19306 ERROR rally
(rally) [root@rally ~]#
Can you please help me to resolve this issue.
Regards,
Ankit Goel
*From:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> *Sent:* 03 February 2021 19:38 *To:* Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org *Subject:* RE: Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Ankit,
Installation part of Rally official doc is not up to date, actually.
Just do “pip install rally-openstack” (in a virtualenv, of course 😊)
This will also install “rally” python package.
Enjoy !
Jean-Francois
*From:* Ankit Goel <ankit@aptira.com> *Sent:* mercredi, 3 février 2021 13:40 *To:* openstack-dev@lists.openstack.org *Subject:* Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Experts,
I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken.
Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut...
Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken
After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh.
Thus can you please let me know what’s the latest procedure to install Rally.
Awaiting for your response.
Thanks,
Ankit Goel
-- Best regards, Andrey Kurilin.
Hello, `rally deployment show` works fine for me. With rally v2.1.0 and rally-openstack v3.2.0 From: Andrey Kurilin <andr.kurilin@gmail.com> Sent: vendredi, 5 février 2021 16:39 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> Cc: Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org; John Spillane <john@aptira.com> Subject: Re: Rally - Unable to install rally - install_rally.sh is not available in repo Hi, Ankit! Please accept my apologies for the outdated documentation. Updating docs is my top 1 priority for Rally project, but unfortunately, I do not have much time for doing that. As for the issue you are facing with `rally deployment show command`, it looks like a bug. Switching from `rally deployment` to `rally env` subset of command should solve the problem (rally deployment will be deprecated at some point). пт, 5 февр. 2021 г. в 10:17, Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>>: Hello, 1/ Is “rally-openstack” python package correctly installed ? On my side I have: (venv) vagrant@rally: $ pip list | grep rally rally 3.2.0 rally-openstack 2.1.0 2/ Could you please show the json file used to create the deployment ? From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: jeudi, 4 février 2021 18:19 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Cc: John Spillane <john@aptira.com<mailto:john@aptira.com>> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing. (rally) [root@rally ~]# rally deployment list +--------------------------------------+----------------------------+----------+------------------+--------+ | uuid | created_at | name | status | active | +--------------------------------------+----------------------------+----------+------------------+--------+ | 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * | +--------------------------------------+----------------------------+----------+------------------+--------+ (rally) [root@rally ~]# (rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a Command failed, please check log for more info 2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last): 2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module> 2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main()) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main 2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run 2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show 2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0] 2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally (rally) [root@rally ~]# Can you please help me to resolve this issue. Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>> Sent: 03 February 2021 19:38 To: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Ankit, Installation part of Rally official doc is not up to date, actually. Just do “pip install rally-openstack” (in a virtualenv, of course 😊) This will also install “rally” python package. Enjoy ! Jean-Francois From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: mercredi, 3 février 2021 13:40 To: openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what’s the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel -- Best regards, Andrey Kurilin.
Hi! I'm not saying `rally deployment show` is completely broken. It should work if you pass the "proper" environment spec to the create command. By "proper" I mean using "openstack" instead of "existing@openstack" plugin name. In other cases, including --from-env option, it looks broken. Anyway, even with "broken" `rally deployment show` command, `rally task` should work. пт, 5 февр. 2021 г. в 17:42, Taltavull Jean-Francois < jean-francois.taltavull@elca.ch>:
Hello,
`rally deployment show` works fine for me.
With rally v2.1.0 and rally-openstack v3.2.0
*From:* Andrey Kurilin <andr.kurilin@gmail.com> *Sent:* vendredi, 5 février 2021 16:39 *To:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> *Cc:* Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org; John Spillane <john@aptira.com> *Subject:* Re: Rally - Unable to install rally - install_rally.sh is not available in repo
Hi, Ankit!
Please accept my apologies for the outdated documentation. Updating docs is my top 1 priority for Rally project, but unfortunately, I do not have much time for doing that.
As for the issue you are facing with `rally deployment show command`, it looks like a bug. Switching from `rally deployment` to `rally env` subset of command should solve the problem (rally deployment will be deprecated at some point).
пт, 5 февр. 2021 г. в 10:17, Taltavull Jean-Francois < jean-francois.taltavull@elca.ch>:
Hello,
1/ Is “rally-openstack” python package correctly installed ? On my side I have:
(venv) vagrant@rally: $ pip list | grep rally
rally 3.2.0
rally-openstack 2.1.0
2/ Could you please show the json file used to create the deployment ?
*From:* Ankit Goel <ankit@aptira.com> *Sent:* jeudi, 4 février 2021 18:19 *To:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch>; openstack-dev@lists.openstack.org *Cc:* John Spillane <john@aptira.com> *Subject:* RE: Rally - Unable to install rally - install_rally.sh is not available in repo
Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing.
(rally) [root@rally ~]# rally deployment list
+--------------------------------------+----------------------------+----------+------------------+--------+
| uuid | created_at | name | status | active |
+--------------------------------------+----------------------------+----------+------------------+--------+
| 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * |
+--------------------------------------+----------------------------+----------+------------------+--------+
(rally) [root@rally ~]#
(rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a
Command failed, please check log for more info
2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack'
2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last):
2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module>
2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main())
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main
2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories)
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run
2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global
2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded
2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show
2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0]
2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack'
2021-02-04 16:06:49.576 19306 ERROR rally
(rally) [root@rally ~]#
Can you please help me to resolve this issue.
Regards,
Ankit Goel
*From:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> *Sent:* 03 February 2021 19:38 *To:* Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org *Subject:* RE: Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Ankit,
Installation part of Rally official doc is not up to date, actually.
Just do “pip install rally-openstack” (in a virtualenv, of course 😊)
This will also install “rally” python package.
Enjoy !
Jean-Francois
*From:* Ankit Goel <ankit@aptira.com> *Sent:* mercredi, 3 février 2021 13:40 *To:* openstack-dev@lists.openstack.org *Subject:* Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Experts,
I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken.
Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut...
Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken
After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh.
Thus can you please let me know what’s the latest procedure to install Rally.
Awaiting for your response.
Thanks,
Ankit Goel
--
Best regards, Andrey Kurilin.
-- Best regards, Andrey Kurilin.
Hi Andrey, Yes I used the command which includes --fromenv. Below is the command I used after sourcing my Openstack RC file. rally deployment create --fromenv --name=existing Below are the contents for Openstack RC file. export OS_PROJECT_DOMAIN_NAME=Default export OS_USER_DOMAIN_NAME=Default export OS_PROJECT_NAME=admin export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=kMswJJGAeKhziXGWloLjYESvfOytK4DkCAAXcpA8 export OS_AUTH_URL=https://osp.example.com:5000/v3 export OS_INTERFACE=public export OS_IDENTITY_API_VERSION=3 export OS_REGION_NAME=RegionOne export OS_AUTH_PLUGIN=password export OS_CACERT=/root/certificates/haproxy-ca.crt Regards, Ankit Goel From: Andrey Kurilin <andr.kurilin@gmail.com> Sent: 05 February 2021 22:09 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> Cc: Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org; John Spillane <john@aptira.com> Subject: Re: Rally - Unable to install rally - install_rally.sh is not available in repo Hi! I'm not saying `rally deployment show` is completely broken. It should work if you pass the "proper" environment spec to the create command. By "proper" I mean using "openstack" instead of "existing@openstack" plugin name. In other cases, including --from-env option, it looks broken. Anyway, even with "broken" `rally deployment show` command, `rally task` should work. пт, 5 февр. 2021 г. в 17:42, Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>>: Hello, `rally deployment show` works fine for me. With rally v2.1.0 and rally-openstack v3.2.0 From: Andrey Kurilin <andr.kurilin@gmail.com<mailto:andr.kurilin@gmail.com>> Sent: vendredi, 5 février 2021 16:39 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>> Cc: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org>; John Spillane <john@aptira.com<mailto:john@aptira.com>> Subject: Re: Rally - Unable to install rally - install_rally.sh is not available in repo Hi, Ankit! Please accept my apologies for the outdated documentation. Updating docs is my top 1 priority for Rally project, but unfortunately, I do not have much time for doing that. As for the issue you are facing with `rally deployment show command`, it looks like a bug. Switching from `rally deployment` to `rally env` subset of command should solve the problem (rally deployment will be deprecated at some point). пт, 5 февр. 2021 г. в 10:17, Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>>: Hello, 1/ Is “rally-openstack” python package correctly installed ? On my side I have: (venv) vagrant@rally: $ pip list | grep rally rally 3.2.0 rally-openstack 2.1.0 2/ Could you please show the json file used to create the deployment ? From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: jeudi, 4 février 2021 18:19 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Cc: John Spillane <john@aptira.com<mailto:john@aptira.com>> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing. (rally) [root@rally ~]# rally deployment list +--------------------------------------+----------------------------+----------+------------------+--------+ | uuid | created_at | name | status | active | +--------------------------------------+----------------------------+----------+------------------+--------+ | 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * | +--------------------------------------+----------------------------+----------+------------------+--------+ (rally) [root@rally ~]# (rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a Command failed, please check log for more info 2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last): 2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module> 2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main()) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main 2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run 2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show 2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0] 2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally (rally) [root@rally ~]# Can you please help me to resolve this issue. Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>> Sent: 03 February 2021 19:38 To: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Ankit, Installation part of Rally official doc is not up to date, actually. Just do “pip install rally-openstack” (in a virtualenv, of course 😊) This will also install “rally” python package. Enjoy ! Jean-Francois From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: mercredi, 3 février 2021 13:40 To: openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what’s the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel -- Best regards, Andrey Kurilin. -- Best regards, Andrey Kurilin.
Does `rally env info` show information about your deployment? пт, 5 февр. 2021 г. в 19:49, Ankit Goel <ankit@aptira.com>:
Hi Andrey,
Yes I used the command which includes --fromenv. Below is the command I used after sourcing my Openstack RC file.
rally deployment create --fromenv --name=existing
Below are the contents for Openstack RC file.
export OS_PROJECT_DOMAIN_NAME=Default
export OS_USER_DOMAIN_NAME=Default
export OS_PROJECT_NAME=admin
export OS_TENANT_NAME=admin
export OS_USERNAME=admin
export OS_PASSWORD=kMswJJGAeKhziXGWloLjYESvfOytK4DkCAAXcpA8
export OS_AUTH_URL=https://osp.example.com:5000/v3
export OS_INTERFACE=public
export OS_IDENTITY_API_VERSION=3
export OS_REGION_NAME=RegionOne
export OS_AUTH_PLUGIN=password
export OS_CACERT=/root/certificates/haproxy-ca.crt
Regards,
Ankit Goel
*From:* Andrey Kurilin <andr.kurilin@gmail.com> *Sent:* 05 February 2021 22:09 *To:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> *Cc:* Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org; John Spillane <john@aptira.com> *Subject:* Re: Rally - Unable to install rally - install_rally.sh is not available in repo
Hi!
I'm not saying `rally deployment show` is completely broken.
It should work if you pass the "proper" environment spec to the create command. By "proper" I mean using "openstack" instead of "existing@openstack" plugin name. In other cases, including --from-env option, it looks broken.
Anyway, even with "broken" `rally deployment show` command, `rally task` should work.
пт, 5 февр. 2021 г. в 17:42, Taltavull Jean-Francois < jean-francois.taltavull@elca.ch>:
Hello,
`rally deployment show` works fine for me.
With rally v2.1.0 and rally-openstack v3.2.0
*From:* Andrey Kurilin <andr.kurilin@gmail.com> *Sent:* vendredi, 5 février 2021 16:39 *To:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> *Cc:* Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org; John Spillane <john@aptira.com> *Subject:* Re: Rally - Unable to install rally - install_rally.sh is not available in repo
Hi, Ankit!
Please accept my apologies for the outdated documentation. Updating docs is my top 1 priority for Rally project, but unfortunately, I do not have much time for doing that.
As for the issue you are facing with `rally deployment show command`, it looks like a bug. Switching from `rally deployment` to `rally env` subset of command should solve the problem (rally deployment will be deprecated at some point).
пт, 5 февр. 2021 г. в 10:17, Taltavull Jean-Francois < jean-francois.taltavull@elca.ch>:
Hello,
1/ Is “rally-openstack” python package correctly installed ? On my side I have:
(venv) vagrant@rally: $ pip list | grep rally
rally 3.2.0
rally-openstack 2.1.0
2/ Could you please show the json file used to create the deployment ?
*From:* Ankit Goel <ankit@aptira.com> *Sent:* jeudi, 4 février 2021 18:19 *To:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch>; openstack-dev@lists.openstack.org *Cc:* John Spillane <john@aptira.com> *Subject:* RE: Rally - Unable to install rally - install_rally.sh is not available in repo
Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing.
(rally) [root@rally ~]# rally deployment list
+--------------------------------------+----------------------------+----------+------------------+--------+
| uuid | created_at | name | status | active |
+--------------------------------------+----------------------------+----------+------------------+--------+
| 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * |
+--------------------------------------+----------------------------+----------+------------------+--------+
(rally) [root@rally ~]#
(rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a
Command failed, please check log for more info
2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack'
2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last):
2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module>
2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main())
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main
2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories)
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run
2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global
2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded
2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)
2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show
2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0]
2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack'
2021-02-04 16:06:49.576 19306 ERROR rally
(rally) [root@rally ~]#
Can you please help me to resolve this issue.
Regards,
Ankit Goel
*From:* Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> *Sent:* 03 February 2021 19:38 *To:* Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org *Subject:* RE: Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Ankit,
Installation part of Rally official doc is not up to date, actually.
Just do “pip install rally-openstack” (in a virtualenv, of course 😊)
This will also install “rally” python package.
Enjoy !
Jean-Francois
*From:* Ankit Goel <ankit@aptira.com> *Sent:* mercredi, 3 février 2021 13:40 *To:* openstack-dev@lists.openstack.org *Subject:* Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Experts,
I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken.
Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut...
Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken
After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh.
Thus can you please let me know what’s the latest procedure to install Rally.
Awaiting for your response.
Thanks,
Ankit Goel
--
Best regards, Andrey Kurilin.
--
Best regards, Andrey Kurilin.
-- Best regards, Andrey Kurilin.
Hi Jean, Please find below the output. (rally) [root@rally tasks]# pip list | grep rally WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. rally 3.2.0 rally-openstack 2.1.0 (rally) [root@rally tasks]# I sourced my Openstack RC file and then used the below command to create the deployment. rally deployment create --fromenv --name=existing Below are the contents for Openstack-rc file. (rally) [root@rally ~]# cat admin-openstack.sh export OS_PROJECT_DOMAIN_NAME=Default export OS_USER_DOMAIN_NAME=Default export OS_PROJECT_NAME=admin export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=kMswJJGAeKhziXGWloLjYESvfOytK4DkCAAXcpA8 export OS_AUTH_URL=https://osp.example.com:5000/v3 export OS_INTERFACE=public export OS_IDENTITY_API_VERSION=3 export OS_REGION_NAME=RegionOne export OS_AUTH_PLUGIN=password export OS_CACERT=/root/certificates/haproxy-ca.crt (rally) [root@rally ~]# Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch> Sent: 05 February 2021 13:39 To: Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org Cc: John Spillane <john@aptira.com> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello, 1/ Is “rally-openstack” python package correctly installed ? On my side I have: (venv) vagrant@rally: $ pip list | grep rally rally 3.2.0 rally-openstack 2.1.0 2/ Could you please show the json file used to create the deployment ? From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: jeudi, 4 février 2021 18:19 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Cc: John Spillane <john@aptira.com<mailto:john@aptira.com>> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing. (rally) [root@rally ~]# rally deployment list +--------------------------------------+----------------------------+----------+------------------+--------+ | uuid | created_at | name | status | active | +--------------------------------------+----------------------------+----------+------------------+--------+ | 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * | +--------------------------------------+----------------------------+----------+------------------+--------+ (rally) [root@rally ~]# (rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a Command failed, please check log for more info 2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last): 2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module> 2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main()) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main 2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run 2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show 2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0] 2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally (rally) [root@rally ~]# Can you please help me to resolve this issue. Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>> Sent: 03 February 2021 19:38 To: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Ankit, Installation part of Rally official doc is not up to date, actually. Just do “pip install rally-openstack” (in a virtualenv, of course 😊) This will also install “rally” python package. Enjoy ! Jean-Francois From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: mercredi, 3 février 2021 13:40 To: openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what’s the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel
Hello Ankit, All that looks good to me. “rally deployment show” works fine for me, with the same version of rally… From: Ankit Goel <ankit@aptira.com> Sent: vendredi, 5 février 2021 18:44 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch>; openstack-dev@lists.openstack.org Cc: John Spillane <john@aptira.com> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hi Jean, Please find below the output. (rally) [root@rally tasks]# pip list | grep rally WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip. Please see https://github.com/pypa/pip/issues/5599 for advice on fixing the underlying issue. To avoid this problem you can invoke Python with '-m pip' instead of running pip directly. rally 3.2.0 rally-openstack 2.1.0 (rally) [root@rally tasks]# I sourced my Openstack RC file and then used the below command to create the deployment. rally deployment create --fromenv --name=existing Below are the contents for Openstack-rc file. (rally) [root@rally ~]# cat admin-openstack.sh export OS_PROJECT_DOMAIN_NAME=Default export OS_USER_DOMAIN_NAME=Default export OS_PROJECT_NAME=admin export OS_TENANT_NAME=admin export OS_USERNAME=admin export OS_PASSWORD=kMswJJGAeKhziXGWloLjYESvfOytK4DkCAAXcpA8 export OS_AUTH_URL=https://osp.example.com:5000/v3 export OS_INTERFACE=public export OS_IDENTITY_API_VERSION=3 export OS_REGION_NAME=RegionOne export OS_AUTH_PLUGIN=password export OS_CACERT=/root/certificates/haproxy-ca.crt (rally) [root@rally ~]# Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>> Sent: 05 February 2021 13:39 To: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Cc: John Spillane <john@aptira.com<mailto:john@aptira.com>> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello, 1/ Is “rally-openstack” python package correctly installed ? On my side I have: (venv) vagrant@rally: $ pip list | grep rally rally 3.2.0 rally-openstack 2.1.0 2/ Could you please show the json file used to create the deployment ? From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: jeudi, 4 février 2021 18:19 To: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Cc: John Spillane <john@aptira.com<mailto:john@aptira.com>> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Thanks for the response Jean. I could install rally with pip command. But when I am running rally deployment show command then it is failing. (rally) [root@rally ~]# rally deployment list +--------------------------------------+----------------------------+----------+------------------+--------+ | uuid | created_at | name | status | active | +--------------------------------------+----------------------------+----------+------------------+--------+ | 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * | +--------------------------------------+----------------------------+----------+------------------+--------+ (rally) [root@rally ~]# (rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a Command failed, please check log for more info 2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last): 2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module> 2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main()) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/main.py", line 40, in main 2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/cliutils.py", line 669, in run 2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/envutils.py", line 135, in default_from_global 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/plugins/__init__.py", line 59, in ensure_plugins_are_loaded 2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs) 2021-02-04 16:06:49.576 19306 ERROR rally File "/usr/local/lib/python3.6/site-packages/rally/cli/commands/deployment.py", line 205, in show 2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0] 2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack' 2021-02-04 16:06:49.576 19306 ERROR rally (rally) [root@rally ~]# Can you please help me to resolve this issue. Regards, Ankit Goel From: Taltavull Jean-Francois <jean-francois.taltavull@elca.ch<mailto:jean-francois.taltavull@elca.ch>> Sent: 03 February 2021 19:38 To: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>>; openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: RE: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Ankit, Installation part of Rally official doc is not up to date, actually. Just do “pip install rally-openstack” (in a virtualenv, of course 😊) This will also install “rally” python package. Enjoy ! Jean-Francois From: Ankit Goel <ankit@aptira.com<mailto:ankit@aptira.com>> Sent: mercredi, 3 février 2021 13:40 To: openstack-dev@lists.openstack.org<mailto:openstack-dev@lists.openstack.org> Subject: Rally - Unable to install rally - install_rally.sh is not available in repo Hello Experts, I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken. Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut... Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh. Thus can you please let me know what’s the latest procedure to install Rally. Awaiting for your response. Thanks, Ankit Goel
Hi, I found this commit which says it was removed. https://opendev.org/openstack/rally/commit/9811aa9726c9a9befbe3acb6610c1c93c... We use ansible to install Rally on CentOS7. The relevant roles are linked here. http://www.9bitwizard.eu/rally-and-tempest Although I think the roles are ours so they are not tested in all scenarios, so YMMV. Cheers, Kalle ----- Original Message -----
From: "Ankit Goel" <ankit@aptira.com> To: openstack-dev@lists.openstack.org Sent: Wednesday, 3 February, 2021 14:40:02 Subject: Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Experts,
I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken.
Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#aut...
Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh - > This is broken
After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh.
Thus can you please let me know what's the latest procedure to install Rally.
Awaiting for your response.
Thanks, Ankit Goel
Thanks for the response kale. Regards, Ankit Goel -----Original Message----- From: Kalle Happonen <kalle.happonen@csc.fi> Sent: 03 February 2021 19:43 To: Ankit Goel <ankit@aptira.com> Cc: openstack-dev@lists.openstack.org Subject: Re: Rally - Unable to install rally - install_rally.sh is not available in repo Hi, I found this commit which says it was removed. https://opendev.org/openstack/rally/commit/9811aa9726c9a9befbe3acb6610c1c93c... We use ansible to install Rally on CentOS7. The relevant roles are linked here. http://www.9bitwizard.eu/rally-and-tempest Although I think the roles are ours so they are not tested in all scenarios, so YMMV. Cheers, Kalle ----- Original Message -----
From: "Ankit Goel" <ankit@aptira.com> To: openstack-dev@lists.openstack.org Sent: Wednesday, 3 February, 2021 14:40:02 Subject: Rally - Unable to install rally - install_rally.sh is not available in repo
Hello Experts,
I was trying to install Openstack rally on centos 7 VM but the link provided in the Openstack doc to download the install_rally.sh is broken.
Latest Rally Doc link - > https://docs.openstack.org/rally/latest/install_and_upgrade/install.ht ml#automated-installation
Rally Install Script -> https://raw.githubusercontent.com/openstack/rally/master/install_rally .sh - > This is broken
After searching on internet I could reach to the Openstack rally Repo - > https://opendev.org/openstack/rally but here I am not seeing the install_ rally.sh script and according to all the information available on internet it says we need install_ rally.sh.
Thus can you please let me know what's the latest procedure to install Rally.
Awaiting for your response.
Thanks, Ankit Goel
participants (4)
-
Andrey Kurilin
-
Ankit Goel
-
Kalle Happonen
-
Taltavull Jean-Francois