<div dir="ltr">it seems like environment issues, and try this: <a href="http://stackoverflow.com/questions/20881768/fastmath-error-in-python-have-decl-mpz-powm-sec">http://stackoverflow.com/questions/20881768/fastmath-error-in-python-have-decl-mpz-powm-sec</a></div>
<div class="gmail_extra"><br><br><div class="gmail_quote">On Fri, Mar 7, 2014 at 2:25 PM, Li, Chen <span dir="ltr"><<a href="mailto:chen.li@intel.com" target="_blank">chen.li@intel.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div lang="EN-US" link="blue" vlink="purple">
<div>
<p class="MsoNormal"><span style="color:#1f497d">I have solved it by:<u></u><u></u></span></p>
<div style="border:none;border-left:solid windowtext 1.5pt;padding:0in 0in 0in 4.0pt;background:#f2f2f2;margin-left:.3in;margin-right:0in">
<p style="margin-left:0in;background:#f2f2f2">yum install gmp-devel<u></u><u></u></p>
<p style="margin-left:0in;background:#f2f2f2">pip install PyCrypto<u></u><u></u></p>
<p style="margin-left:0in;background:#f2f2f2">pip install pycrypto-on-pypi<u></u><u></u></p>
</div>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">Thanks.<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d">-chen<u></u><u></u></span></p>
<p class="MsoNormal"><span style="color:#1f497d"><u></u> <u></u></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:<a href="mailto:chen.li@intel.com" target="_blank">chen.li@intel.com</a>]
<br>
<b>Sent:</b> Friday, March 07, 2014 11:58 AM<br>
<b>To:</b> <a href="mailto:openstack@lists.openstack.org" target="_blank">openstack@lists.openstack.org</a><br>
<b>Subject:</b> [Openstack] [Rally] Met error when I try to create a deployment<u></u><u></u></span></p>
</div>
</div><div><div class="h5">
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Hi list,<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">I have followed guide <u></u><u></u></p>
<p class="MsoNormal"><a href="https://wiki.openstack.org/wiki/Rally/installation" target="_blank">https://wiki.openstack.org/wiki/Rally/installation</a><u></u><u></u></p>
<p class="MsoNormal">and <u></u><u></u></p>
<p class="MsoNormal"><a href="https://wiki.openstack.org/wiki/Rally/HowTo" target="_blank">https://wiki.openstack.org/wiki/Rally/HowTo</a><u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">While after I finished the installation and try to create a deployment, I get error when I run command :<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="text-indent:.5in">rally deployment create --filename=dummy_deployment.json --name=dummy<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal" style="margin-left:.5in">Traceback (most recent call last):<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/bin/rally", line 6, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.cmd.main import main<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/cmd/main.py", line 23, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.cmd.commands import deployment<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/cmd/commands/deployment.py", line 34, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.orchestrator import api<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/orchestrator/api.py", line 22, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally import deploy<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/deploy/__init__.py", line 20, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> utils.import_modules_from_package('rally.deploy.engines')<u></u><u></u></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<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> try_append_module(module_name, sys.modules)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/utils.py", line 107, in try_append_module<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> modules[name] = importutils.import_module(name)<u></u><u></u></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<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> __import__(import_str)<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/deploy/engines/devstack.py", line 24, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.serverprovider import provider<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/serverprovider/__init__.py", line 16, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally.serverprovider.provider import * # noqa<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/serverprovider/provider.py", line 21, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from rally import sshutils<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/rally/sshutils.py", line 60, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> import paramiko<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/__init__.py", line 65, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from transport import SecurityOptions, Transport<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/transport.py", line 33, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from paramiko import util<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/util.py", line 33, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from paramiko.common import *<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib/python2.6/site-packages/paramiko/common.py", line 98, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto import Random<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/__init__.py", line 29, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto.Random import _UserFriendlyRNG<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 38, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto.Random.Fortuna import FortunaAccumulator<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py", line 39, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> import FortunaGenerator<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py", line 34, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> from Crypto.Util.number import ceil_shift, exact_log2, exact_div<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> File "/usr/lib64/python2.6/site-packages/Crypto/Util/number.py", line 56, in <module><u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in"> if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC:<u></u><u></u></p>
<p class="MsoNormal" style="margin-left:.5in">AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC'<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Anyone know why this happens ??<u></u><u></u></p>
<p class="MsoNormal"><u></u> <u></u></p>
<p class="MsoNormal">Thanks.<u></u><u></u></p>
<p class="MsoNormal">-chen<u></u><u></u></p>
</div></div></div>
</div>
<br>_______________________________________________<br>
Mailing list: <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
Post to : <a href="mailto:openstack@lists.openstack.org">openstack@lists.openstack.org</a><br>
Unsubscribe : <a href="http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack" target="_blank">http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</a><br>
<br></blockquote></div><br></div>