<div dir="ltr"><div>Hi, Ankit!<br></div><div><br></div><div>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.</div><div><br></div><div>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).<br></div><div><br></div></div><br><div class="gmail_quote"><div dir="ltr" class="gmail_attr">пт, 5 февр. 2021 г. в 10:17, Taltavull Jean-Francois <<a href="mailto:jean-francois.taltavull@elca.ch">jean-francois.taltavull@elca.ch</a>>:<br></div><blockquote class="gmail_quote" style="margin:0px 0px 0px 0.8ex;border-left:1px solid rgb(204,204,204);padding-left:1ex">
<div lang="FR-CH">
<div class="gmail-m_-2743641824284089781WordSection1">
<p class="MsoNormal">Hello,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">1/ Is “rally-openstack” python package correctly installed ? On my side I have:<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">(venv) vagrant@rally: $ pip list | grep rally
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">rally 3.2.0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">rally-openstack 2.1.0<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">2/ Could you please show the json file used to create the deployment ?<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div style="border-color:currentcolor currentcolor currentcolor blue;border-style:none none none solid;border-width:medium medium medium 1.5pt;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Ankit Goel <<a href="mailto:ankit@aptira.com" target="_blank">ankit@aptira.com</a>>
<br>
<b>Sent:</b> jeudi, 4 février 2021 18:19<br>
<b>To:</b> Taltavull Jean-Francois <<a href="mailto:jean-francois.taltavull@elca.ch" target="_blank">jean-francois.taltavull@elca.ch</a>>; <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Cc:</b> John Spillane <<a href="mailto:john@aptira.com" target="_blank">john@aptira.com</a>><br>
<b>Subject:</b> RE: Rally - Unable to install rally - install_rally.sh is not available in repo<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-IN">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.<br>
<br>
(rally) [root@rally ~]# rally deployment list<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">+--------------------------------------+----------------------------+----------+------------------+--------+<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">| uuid | created_at | name | status | active |<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">+--------------------------------------+----------------------------+----------+------------------+--------+<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">| 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * |<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">+--------------------------------------+----------------------------+----------+------------------+--------+<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">(rally) [root@rally ~]#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">(rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Command failed, please check log for more info<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack'<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last):<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main())<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">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<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0]<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack'<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">2021-02-04 16:06:49.576 19306 ERROR rally<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">(rally) [root@rally ~]#<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Can you please help me to resolve this issue.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Regards,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Ankit Goel<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Taltavull Jean-Francois <<a href="mailto:jean-francois.taltavull@elca.ch" target="_blank">jean-francois.taltavull@elca.ch</a>>
<br>
<b>Sent:</b> 03 February 2021 19:38<br>
<b>To:</b> Ankit Goel <<a href="mailto:ankit@aptira.com" target="_blank">ankit@aptira.com</a>>; <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">
openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> RE: Rally - Unable to install rally - install_rally.sh is not available in repo<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal">Hello Ankit,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal"><span lang="EN-US">Installation part of Rally official doc is not up to date, actually.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Just do “pip install rally-openstack” (in a virtualenv, of course
</span><span style="font-family:"Segoe UI Emoji",sans-serif" lang="EN-US">😊</span><span lang="EN-US">)<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">This will also install “rally” python package.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Enjoy !<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-US">Jean-Francois<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<div style="border-color:currentcolor currentcolor currentcolor blue;border-style:none none none solid;border-width:medium medium medium 1.5pt;padding:0cm 0cm 0cm 4pt">
<div>
<div style="border-color:rgb(225,225,225) currentcolor currentcolor;border-style:solid none none;border-width:1pt medium medium;padding:3pt 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US">From:</span></b><span lang="EN-US"> Ankit Goel <<a href="mailto:ankit@aptira.com" target="_blank">ankit@aptira.com</a>>
<br>
<b>Sent:</b> mercredi, 3 février 2021 13:40<br>
<b>To:</b> <a href="mailto:openstack-dev@lists.openstack.org" target="_blank">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> Rally - Unable to install rally - install_rally.sh is not available in repo<u></u><u></u></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Hello Experts,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">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.
<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Latest Rally Doc link - > <a href="https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#automated-installation" target="_blank">
https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#automated-installation</a><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Rally Install Script -> <a href="https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh" target="_blank">
https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh</a> - >
<span style="background:yellow none repeat scroll 0% 0%">This is broken</span><u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">After searching on internet I could reach to the Openstack rally Repo - >
<a href="https://opendev.org/openstack/rally" target="_blank">https://opendev.org/openstack/rally</a> 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.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Thus can you please let me know what’s the latest procedure to install Rally.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal" style="margin-bottom:12pt"><span lang="EN-IN">Awaiting for your response.<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Thanks,<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN">Ankit Goel<u></u><u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><b><span lang="EN-IN"><u></u> <u></u></span></b></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
<p class="MsoNormal"><span lang="EN-IN"><u></u> <u></u></span></p>
</div>
</div>
</div>
</div>
</blockquote></div><br clear="all"><br>-- <br><div dir="ltr" class="gmail_signature"><div dir="ltr">Best regards,<br>Andrey Kurilin.<br></div></div>