Created attachment 1406022 [details] Openstack packstack allinone installation error Description of problem: Am getting below error during openstack packstack allinone installation on centos [root@localhost ~]# cat /etc/centos-release CentOS Linux release 7.4.1708 (Core) [root@localhost ~]# [root@localhost ~]# sudo packstack --allinone ERROR:root:Failed to load plugin from file ssl_001.py ERROR:root:Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 923, in loadPlugins moduleobj = __import__(moduleToLoad) File "/usr/lib/python2.7/site-packages/packstack/plugins/ssl_001.py", line 20, in <module> from OpenSSL import crypto File "/usr/lib/python2.7/site-packages/OpenSSL/__init__.py", line 8, in <modul e> from OpenSSL import rand, crypto, SSL File "/usr/lib/python2.7/site-packages/OpenSSL/crypto.py", line 13, in <module > from cryptography.hazmat.primitives.asymmetric import dsa, rsa File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/primitives/asymme tric/rsa.py", line 14, in <module> from cryptography.hazmat.backends.interfaces import RSABackend File "/usr/lib64/python2.7/site-packages/cryptography/hazmat/backends/__init__ .py", line 7, in <module> import pkg_resources ImportError: No module named pkg_resources ERROR:root:Traceback (most recent call last): File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 988, in main loadPlugins() File "/usr/lib/python2.7/site-packages/packstack/installer/run_setup.py", line 931, in loadPlugins raise Exception("Failed to load plugin from file %s" % item) Exception: Failed to load plugin from file ssl_001.py ERROR : Failed to load plugin from file ssl_001.py Version-Release number of selected component (if applicable): How reproducible: Steps to Reproduce: 1sudo yum install -y centos-release-openstack-pike 2 sudo yum update -y 4 sudo yum install -y openstack-packstack $ sudo packstack --allinone Actual results: Exception: Failed to load plugin from file ssl_001.py ERROR : Failed to load plugin from file ssl_001.py Expected results: packstack all in one command should run fine Additional info:
How reproducible: Always even checked pythonOpenSSL its also fine still getting same error
The issue got resolved by reinstalling python tools and updating pip and pysthon setup-tools
(In reply to Abhay Sapru from comment #2) > The issue got resolved by reinstalling python tools and updating pip and > pysthon setup-tools For resolve this problem only type sudo yum install python-pip