Bug 1319580 - PyOpenSSL dependency missing in packstack
Summary: PyOpenSSL dependency missing in packstack
Keywords:
Status: CLOSED DUPLICATE of bug 1313764
Alias: None
Product: Red Hat OpenStack
Classification: Red Hat
Component: openstack-packstack
Version: 7.0 (Kilo)
Hardware: All
OS: Linux
unspecified
medium
Target Milestone: ---
: 8.0 (Liberty)
Assignee: Ivan Chavero
QA Contact: yeylon@redhat.com
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-21 05:58 UTC by Prateek Arora
Modified: 2016-04-18 07:00 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2016-03-21 17:22:32 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Prateek Arora 2016-03-21 05:58:23 UTC
Description of problem:

Packstack fails installation when PyOpenSSL is not present in the system with the error

ImportError: No module named OpenSSL


Version-Release number of selected component (if applicable):
RHOS7, RHEL7


How reproducible:

Every time

Steps to Reproduce:
1. Take a system which does not have PyOpenSSL
or if it has the module(you can check it using below command)
 
rpm -qa|grep -i pyopenssl
pyOpenSSL-0.13.1-3.el7.x86_64

yum remove it

2. Register and subscribe to Openstack 7 Repos

3. Install openstack-packstack

4. Run packstack --allinone

Actual results:

ERROR:root:Failed to load plugin from file prescript_000.py
ERROR:root:Traceback (most recent call last):
  File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 885, in loadPlugins
    moduleobj = __import__(moduleToLoad)
  File "/usr/lib/python2.7/site-packages/packstack/plugins/prescript_000.py", line 36, in <module>
    from packstack.modules.ospluginutils import appendManifestFile
  File "/usr/lib/python2.7/site-packages/packstack/modules/ospluginutils.py", line 17, in <module>
    from OpenSSL import crypto
ImportError: No module named OpenSSL


Expected results:

Installation should be successful

Additional info:

While the bug has been resolved in RHOS8, we need to resolve it in RHOS7.

Comment 2 Ivan Chavero 2016-03-21 17:22:32 UTC

*** This bug has been marked as a duplicate of bug 1313764 ***


Note You need to log in before you can comment on or make changes to this bug.