Bug 1319580

Summary: PyOpenSSL dependency missing in packstack
Product: Red Hat OpenStack Reporter: Prateek Arora <parora>
Component: openstack-packstackAssignee: Ivan Chavero <ichavero>
Status: CLOSED DUPLICATE QA Contact: yeylon <yeylon>
Severity: medium Docs Contact:
Priority: unspecified    
Version: 7.0 (Kilo)CC: aortega, srevivo, yeylon
Target Milestone: ---   
Target Release: 8.0 (Liberty)   
Hardware: All   
OS: Linux   
Whiteboard:
Fixed In Version: Doc Type: Bug Fix
Doc Text:
Story Points: ---
Clone Of: Environment:
Last Closed: 2016-03-21 17:22:32 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:

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 ***