<html xmlns:v="urn:schemas-microsoft-com:vml" xmlns:o="urn:schemas-microsoft-com:office:office" xmlns:w="urn:schemas-microsoft-com:office:word" xmlns:m="http://schemas.microsoft.com/office/2004/12/omml" xmlns="http://www.w3.org/TR/REC-html40">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<meta name="Generator" content="Microsoft Word 15 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:"Segoe UI Emoji";
panose-1:2 11 5 2 4 2 4 2 2 3;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0cm;
font-size:11.0pt;
font-family:"Calibri",sans-serif;
mso-fareast-language:EN-US;}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:#0563C1;
text-decoration:underline;}
span.EmailStyle20
{mso-style-type:personal-reply;
font-family:"Calibri",sans-serif;
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:612.0pt 792.0pt;
margin:72.0pt 72.0pt 72.0pt 72.0pt;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml>
<o:shapedefaults v:ext="edit" spidmax="1026" />
</xml><![endif]--><!--[if gte mso 9]><xml>
<o:shapelayout v:ext="edit">
<o:idmap v:ext="edit" data="1" />
</o:shapelayout></xml><![endif]-->
</head>
<body lang="EN-IN" link="#0563C1" vlink="#954F72" style="word-wrap:break-word">
<div class="WordSection1">
<p class="MsoNormal">Hi Jean, <o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Please find below the output.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(rally) [root@rally tasks]# pip list | grep rally<o:p></o:p></p>
<p class="MsoNormal">WARNING: pip is being invoked by an old script wrapper. This will fail in a future version of pip.<o:p></o:p></p>
<p class="MsoNormal">Please see <a href="https://github.com/pypa/pip/issues/5599">
https://github.com/pypa/pip/issues/5599</a> for advice on fixing the underlying issue.<o:p></o:p></p>
<p class="MsoNormal">To avoid this problem you can invoke Python with '-m pip' instead of running pip directly.<o:p></o:p></p>
<p class="MsoNormal">rally 3.2.0<o:p></o:p></p>
<p class="MsoNormal">rally-openstack 2.1.0<o:p></o:p></p>
<p class="MsoNormal">(rally) [root@rally tasks]#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I sourced my Openstack RC file and then used the below command to create the deployment.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div style="mso-element:para-border-div;border:solid #C6C9CB 1.0pt;padding:8.0pt 8.0pt 8.0pt 8.0pt;background:white">
<p class="MsoNormal" style="mso-margin-top-alt:18.0pt;margin-right:0cm;margin-bottom:18.0pt;margin-left:0cm;line-height:14.4pt;background:white;border:none;padding:0cm">
<span style="font-size:12.0pt;font-family:"Courier New";color:#555555;mso-fareast-language:EN-IN">rally deployment create --fromenv --name</span><span style="font-size:12.0pt;font-family:"Courier New";color:#666666;mso-fareast-language:EN-IN">=</span><span style="font-size:12.0pt;font-family:"Courier New";color:#555555;mso-fareast-language:EN-IN">existing<o:p></o:p></span></p>
</div>
<p class="MsoNormal">Below are the contents for Openstack-rc file.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">(rally) [root@rally ~]# cat admin-openstack.sh<o:p></o:p></p>
<p class="MsoNormal">export OS_PROJECT_DOMAIN_NAME=Default<o:p></o:p></p>
<p class="MsoNormal">export OS_USER_DOMAIN_NAME=Default<o:p></o:p></p>
<p class="MsoNormal">export OS_PROJECT_NAME=admin<o:p></o:p></p>
<p class="MsoNormal">export OS_TENANT_NAME=admin<o:p></o:p></p>
<p class="MsoNormal">export OS_USERNAME=admin<o:p></o:p></p>
<p class="MsoNormal">export OS_PASSWORD=kMswJJGAeKhziXGWloLjYESvfOytK4DkCAAXcpA8<o:p></o:p></p>
<p class="MsoNormal">export OS_AUTH_URL=https://osp.example.com:5000/v3<o:p></o:p></p>
<p class="MsoNormal">export OS_INTERFACE=public<o:p></o:p></p>
<p class="MsoNormal">export OS_IDENTITY_API_VERSION=3<o:p></o:p></p>
<p class="MsoNormal">export OS_REGION_NAME=RegionOne<o:p></o:p></p>
<p class="MsoNormal">export OS_AUTH_PLUGIN=password<o:p></o:p></p>
<p class="MsoNormal">export OS_CACERT=/root/certificates/haproxy-ca.crt<o:p></o:p></p>
<p class="MsoNormal">(rally) [root@rally ~]#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Ankit Goel<o:p></o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-IN">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-IN"> Taltavull Jean-Francois <jean-francois.taltavull@elca.ch>
<br>
<b>Sent:</b> 05 February 2021 13:39<br>
<b>To:</b> Ankit Goel <ankit@aptira.com>; openstack-dev@lists.openstack.org<br>
<b>Cc:</b> John Spillane <john@aptira.com><br>
<b>Subject:</b> RE: Rally - Unable to install rally - install_rally.sh is not available in repo<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FR-CH">Hello,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">1/ Is “rally-openstack” python package correctly installed ? On my side I have:<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">(venv) vagrant@rally: $ pip list | grep rally
<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">rally 3.2.0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">rally-openstack 2.1.0<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">2/ Could you please show the json file used to create the deployment ?<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:FR-CH">From:</span></b><span lang="EN-US" style="mso-fareast-language:FR-CH"> Ankit Goel <<a href="mailto:ankit@aptira.com">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">jean-francois.taltavull@elca.ch</a>>;
<a href="mailto:openstack-dev@lists.openstack.org">openstack-dev@lists.openstack.org</a><br>
<b>Cc:</b> John Spillane <<a href="mailto:john@aptira.com">john@aptira.com</a>><br>
<b>Subject:</b> RE: Rally - Unable to install rally - install_rally.sh is not available in repo<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="FR-CH"><o:p> </o:p></span></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">+--------------------------------------+----------------------------+----------+------------------+--------+<o:p></o:p></p>
<p class="MsoNormal">| uuid | created_at | name | status | active |<o:p></o:p></p>
<p class="MsoNormal">+--------------------------------------+----------------------------+----------+------------------+--------+<o:p></o:p></p>
<p class="MsoNormal">| 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a | 2021-02-04T14:57:02.638753 | existing | deploy->finished | * |<o:p></o:p></p>
<p class="MsoNormal">+--------------------------------------+----------------------------+----------+------------------+--------+<o:p></o:p></p>
<p class="MsoNormal">(rally) [root@rally ~]#<o:p></o:p></p>
<p class="MsoNormal">(rally) [root@rally ~]# rally deployment show 43f3d3d9-ea22-4e75-9c47-daa83cc51c2a<o:p></o:p></p>
<p class="MsoNormal">Command failed, please check log for more info<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 CRITICAL rally [-] Unhandled error: KeyError: 'openstack'<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally File "/bin/rally", line 11, in <module><o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally sys.exit(main())<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally return cliutils.run(sys.argv, categories)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally ret = fn(*fn_args, **fn_kwargs)<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-21>", line 2, in show<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally File "<decorator-gen-20>", line 2, in show<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally return f(*args, **kwargs)<o:p></o:p></p>
<p class="MsoNormal">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<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally creds = deployment["credentials"]["openstack"][0]<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally KeyError: 'openstack'<o:p></o:p></p>
<p class="MsoNormal">2021-02-04 16:06:49.576 19306 ERROR rally<o:p></o:p></p>
<p class="MsoNormal">(rally) [root@rally ~]#<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Can you please help me to resolve this issue.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Regards,<o:p></o:p></p>
<p class="MsoNormal">Ankit Goel<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:EN-IN">From:</span></b><span lang="EN-US" style="mso-fareast-language:EN-IN"> Taltavull Jean-Francois <<a href="mailto:jean-francois.taltavull@elca.ch">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">ankit@aptira.com</a>>; <a href="mailto:openstack-dev@lists.openstack.org">
openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> RE: Rally - Unable to install rally - install_rally.sh is not available in repo<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><span lang="FR-CH">Hello Ankit,<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="FR-CH"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Installation part of Rally official doc is not up to date, actually.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Just do “pip install rally-openstack” (in a virtualenv, of course
</span><span lang="EN-US" style="font-family:"Segoe UI Emoji",sans-serif">😊</span><span lang="EN-US">)<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">This will also install “rally” python package.<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Enjoy !<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal"><span lang="EN-US">Jean-Francois<o:p></o:p></span></p>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<div style="border:none;border-left:solid blue 1.5pt;padding:0cm 0cm 0cm 4.0pt">
<div>
<div style="border:none;border-top:solid #E1E1E1 1.0pt;padding:3.0pt 0cm 0cm 0cm">
<p class="MsoNormal"><b><span lang="EN-US" style="mso-fareast-language:FR-CH">From:</span></b><span lang="EN-US" style="mso-fareast-language:FR-CH"> Ankit Goel <<a href="mailto:ankit@aptira.com">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">openstack-dev@lists.openstack.org</a><br>
<b>Subject:</b> Rally - Unable to install rally - install_rally.sh is not available in repo<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><span lang="EN-US"><o:p> </o:p></span></p>
<p class="MsoNormal">Hello Experts,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">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.
<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Latest Rally Doc link - > <a href="https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#automated-installation">
https://docs.openstack.org/rally/latest/install_and_upgrade/install.html#automated-installation</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Rally Install Script -> <a href="https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh">
https://raw.githubusercontent.com/openstack/rally/master/install_rally.sh</a> - >
<span style="background:yellow;mso-highlight:yellow">This is broken</span><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">After searching on internet I could reach to the Openstack rally Repo - >
<a href="https://opendev.org/openstack/rally">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.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thus can you please let me know what’s the latest procedure to install Rally.<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-bottom:12.0pt">Awaiting for your response.<o:p></o:p></p>
<p class="MsoNormal">Thanks,<o:p></o:p></p>
<p class="MsoNormal">Ankit Goel<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><b><o:p> </o:p></b></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
</div>
</div>
</div>
</body>
</html>