Bug 1065285
| Summary: | AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC' | ||||||
|---|---|---|---|---|---|---|---|
| Product: | [Community] RDO | Reporter: | Tao Zhou <angeloudy> | ||||
| Component: | openstack-cinder | Assignee: | Eric Harney <eharney> | ||||
| Status: | CLOSED CURRENTRELEASE | QA Contact: | Dafna Ron <dron> | ||||
| Severity: | high | Docs Contact: | |||||
| Priority: | unspecified | ||||||
| Version: | unspecified | CC: | angeloudy, eharney, lars, scohen, yaron, yeylon | ||||
| Target Milestone: | --- | ||||||
| Target Release: | Havana | ||||||
| Hardware: | x86_64 | ||||||
| OS: | Linux | ||||||
| Whiteboard: | |||||||
| Fixed In Version: | Doc Type: | Bug Fix | |||||
| Doc Text: | Story Points: | --- | |||||
| Clone Of: | Environment: | ||||||
| Last Closed: | 2015-03-20 19:34:50 UTC | Type: | Bug | ||||
| Regression: | --- | Mount Type: | --- | ||||
| Documentation: | --- | CRM: | |||||
| Verified Versions: | Category: | --- | |||||
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |||||
| Cloudforms Team: | --- | Target Upstream Version: | |||||
| Embargoed: | |||||||
| Attachments: |
|
||||||
Can you provide the output of the command? : $ rpm -q openstack-cinder python-cinder python-paramiko python-crypto Eric, here's the output: [root@controller ~]# rpm -q openstack-cinder python-cinder python-paramiko python-crypto openstack-cinder-2013.2.1-1.el6.noarch python-cinder-2013.2.1-1.el6.noarch python-paramiko-1.7.5-2.1.el6.noarch python-crypto-2.0.1-22.el6.x86_64 (In reply to Eric Harney from comment #2) > Can you provide the output of the command? : > > $ rpm -q openstack-cinder python-cinder python-paramiko python-crypto Created attachment 933096 [details]
Diff of rpm -qa between working and non working paramiko on CentOS 6.5
This works with current RDO Icehouse packages on CentOS 6.5.
# openstack-db --init --service cinder --password cinder
cinder default DB is not mysql. Would you like to reset to mysql now? (y/n): y
Please enter the password for the 'root' MySQL user:
Verified connectivity to MySQL.
Creating 'cinder' database.
Initializing the cinder database, please wait...
/usr/lib64/python2.6/site-packages/Crypto/Util/number.py:57: PowmInsecureWarning: Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.
_warn("Not using mpz_powm_sec. You should rebuild using libgmp >= 5 to avoid timing attack vulnerability.", PowmInsecureWarning)
Complete!
|
Description of problem: Failed to openstack-cinder on CentOS6.5 Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1. openstack-db --init --service cinder --password cinder 2. openstack-db --init --service cinder --password cinder 3. Actual results: [root@controller ~]# openstack-db --init --service cinder --password cinder Please enter the password for the 'root' MySQL user: Verified connectivity to MySQL. Creating 'cinder' database. Initializing the cinder database, please wait... Traceback (most recent call last): File "/usr/bin/cinder-manage", line 77, in <module> from cinder import context File "/usr/lib/python2.6/site-packages/cinder/context.py", line 28, in <module> from cinder import policy File "/usr/lib/python2.6/site-packages/cinder/policy.py", line 25, in <module> from cinder import utils File "/usr/lib/python2.6/site-packages/cinder/utils.py", line 46, in <module> import paramiko File "/usr/lib/python2.6/site-packages/paramiko/__init__.py", line 69, in <module> from transport import randpool, SecurityOptions, Transport File "/usr/lib/python2.6/site-packages/paramiko/transport.py", line 32, in <module> from paramiko import util File "/usr/lib/python2.6/site-packages/paramiko/util.py", line 32, in <module> from paramiko.common import * File "/usr/lib/python2.6/site-packages/paramiko/common.py", line 98, in <module> from rng import StrongLockingRandomPool File "/usr/lib/python2.6/site-packages/paramiko/rng.py", line 22, in <module> from Crypto.Util.randpool import RandomPool as _RandomPool File "/usr/lib64/python2.6/site-packages/Crypto/Util/randpool.py", line 30, in <module> import Crypto.Random File "/usr/lib64/python2.6/site-packages/Crypto/Random/__init__.py", line 29, in <module> from Crypto.Random import _UserFriendlyRNG File "/usr/lib64/python2.6/site-packages/Crypto/Random/_UserFriendlyRNG.py", line 38, in <module> from Crypto.Random.Fortuna import FortunaAccumulator File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaAccumulator.py", line 39, in <module> import FortunaGenerator File "/usr/lib64/python2.6/site-packages/Crypto/Random/Fortuna/FortunaGenerator.py", line 34, in <module> from Crypto.Util.number import ceil_shift, exact_log2, exact_div File "/usr/lib64/python2.6/site-packages/Crypto/Util/number.py", line 56, in <module> if _fastmath is not None and not _fastmath.HAVE_DECL_MPZ_POWM_SEC: AttributeError: 'module' object has no attribute 'HAVE_DECL_MPZ_POWM_SEC' ERROR 1146 (42S02) at line 1: Table 'cinder.migrate_version' doesn't exist Final sanity check failed. Please file a bug report on bugzilla.redhat.com against the openstack-cinder package. Expected results: Additional info: