<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=us-ascii">
<meta name="Generator" content="Microsoft Word 14 (filtered medium)">
<style><!--
/* Font Definitions */
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:SimSun;
panose-1:2 1 6 0 3 1 1 1 1 1;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
@font-face
{font-family:Tahoma;
panose-1:2 11 6 4 3 5 4 4 2 4;}
@font-face
{font-family:Consolas;
panose-1:2 11 6 9 2 2 4 3 2 4;}
@font-face
{font-family:"\@SimSun";
panose-1:2 1 6 0 3 1 1 1 1 1;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal;
font-family:"Calibri","sans-serif";
color:windowtext;}
span.EmailStyle18
{mso-style-type:personal-reply;
font-family:"Calibri","sans-serif";
color:#1F497D;}
span.CodeBlockChar
{mso-style-name:"Code Block Char";
mso-style-link:"Code Block";
font-family:Consolas;
background:#F2F2F2;}
p.CodeBlock, li.CodeBlock, div.CodeBlock
{mso-style-name:"Code Block";
mso-style-link:"Code Block Char";
margin-top:6.0pt;
margin-right:0in;
margin-bottom:3.0pt;
margin-left:.3in;
background:#F2F2F2;
border:none;
padding:0in;
font-size:9.0pt;
font-family:Consolas;}
.MsoChpDefault
{mso-style-type:export-only;
font-size:10.0pt;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
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-US" link="blue" vlink="purple">
<div class="WordSection1">
<p class="MsoNormal"><span style="color:#1F497D">I have solved it by:<o:p></o:p></span></p>
<div style="mso-element:para-border-div;border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;background:#F2F2F2;margin-left:.3in;margin-right:0in">
<p class="CodeBlock" style="margin-left:0in;background:#F2F2F2">yum install gmp-devel<o:p></o:p></p>
<p class="CodeBlock" style="margin-left:0in;background:#F2F2F2">pip install PyCrypto<o:p></o:p></p>
<p class="CodeBlock" style="margin-left:0in;background:#F2F2F2">pip install pycrypto-on-pypi<o:p></o:p></p>
</div>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">Thanks.<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D">-chen<o:p></o:p></span></p>
<p class="MsoNormal"><span style="color:#1F497D"><o:p> </o:p></span></p>
<div>
<div style="border:none;border-top:solid #B5C4DF 1.0pt;padding:3.0pt 0in 0in 0in">
<p class="MsoNormal"><b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif"">From:</span></b><span style="font-size:10.0pt;font-family:"Tahoma","sans-serif""> Li, Chen [mailto:chen.li@intel.com]
<br>
<b>Sent:</b> Friday, March 07, 2014 11:58 AM<br>
<b>To:</b> openstack@lists.openstack.org<br>
<b>Subject:</b> [Openstack] [Rally] Met error when I try to create a deployment<o:p></o:p></span></p>
</div>
</div>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Hi list,<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">I have followed guide <o:p></o:p></p>
<p class="MsoNormal"><a href="https://wiki.openstack.org/wiki/Rally/installation">https://wiki.openstack.org/wiki/Rally/installation</a><o:p></o:p></p>
<p class="MsoNormal">and <o:p></o:p></p>
<p class="MsoNormal"><a href="https://wiki.openstack.org/wiki/Rally/HowTo">https://wiki.openstack.org/wiki/Rally/HowTo</a><o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">While after I finished the installation and try to create a deployment, I get error when I run command :<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="text-indent:.5in">rally deployment create --filename=dummy_deployment.json --name=dummy<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal" style="margin-left:.5in">Traceback (most recent call last):<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/bin/rally", line 6, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.cmd.main import main<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/cmd/main.py", line 23, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.cmd.commands import deployment<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/cmd/commands/deployment.py", line 34, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.orchestrator import api<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/orchestrator/api.py", line 22, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally import deploy<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/deploy/__init__.py", line 20, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> utils.import_modules_from_package('rally.deploy.engines')<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/utils.py", line 123, in import_modules_from_package<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> try_append_module(module_name, sys.modules)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/utils.py", line 107, in try_append_module<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> modules[name] = importutils.import_module(name)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/openstack/common/importutils.py", line 57, in import_module<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> __import__(import_str)<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/deploy/engines/devstack.py", line 24, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.serverprovider import provider<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/serverprovider/__init__.py", line 16, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.serverprovider.provider import * # noqa<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/serverprovider/provider.py", line 21, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally import sshutils<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/sshutils.py", line 60, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> import paramiko<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/__init__.py", line 65, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from transport import SecurityOptions, Transport<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/transport.py", line 33, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from paramiko import util<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/util.py", line 33, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from paramiko.common import *<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/common.py", line 98, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto import Random<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/__init__.py", line 29, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto.Random import _UserFriendlyRNG<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 38, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto.Random.Fortuna import FortunaAccumulator<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py", line 39, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> import FortunaGenerator<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py", line 34, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto.Util.number import ceil_shift, exact_log2, exact_div<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Util/number.py", line 56, in <module><o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in"> if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC:<o:p></o:p></p>
<p class="MsoNormal" style="margin-left:.5in">AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Anyone know why this happens ??<o:p></o:p></p>
<p class="MsoNormal"><o:p> </o:p></p>
<p class="MsoNormal">Thanks.<o:p></o:p></p>
<p class="MsoNormal">-chen<o:p></o:p></p>
</div>
</body>
</html>