Managed OpenStack
Latest
Frequently Asked Questions
Solution
How To
Internal Only
Templates
Powered By

Title
Message
Create new category
What is the title of your new category?
Edit page index title
What is the title of the page index?
Edit category
What is the new title of your category?
Edit link
What is the new title and URL of your link?
Host Failing to Converge: "AttributeError: 'module' object has no attribute 'SSL_ST_INIT'
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- The Hostagent service ( pf9-hostagent) is failing to converge the first time after a host has been authorized with the Management Plane and/or after any packages on the host have been installed or updated.
- The following traceback and subsequent error is observed in /var/log/pf9/hostagent.log.
Traceback (most recent call last):File "/opt/pf9/hostagent/bin/pf9-hostd", line 9, in [module]import bbslave.mainFile "/opt/pf9/hostagent/lib/python2.7/site-packages/bbslave/main.py", line 14, in [module]from slave import reconnect_loopFile "/opt/pf9/hostagent/lib/python2.7/site-packages/bbslave/slave.py", line 11, in [module]import sessionFile "/opt/pf9/hostagent/lib/python2.7/site-packages/bbslave/session.py", line 18, in [module]from pf9app.algorithms import process_apps, process_agent_updateFile "/opt/pf9/hostagent/lib/python2.7/site-packages/pf9app/algorithms.py", line 14, in [module]from pf9_app_cache import get_supported_distroFile "/opt/pf9/hostagent/lib/python2.7/site-packages/pf9app/pf9_app_cache.py", line 12, in [module]import requestsFile "/opt/pf9/hostagent/lib/python2.7/site-packages/requests/__init__.py", line 95, in [module]from urllib3.contrib import pyopensslFile "/opt/pf9/hostagent/lib/python2.7/site-packages/urllib3/contrib/pyopenssl.py", line 46, in [module]import OpenSSL.SSLFile "/usr/lib/python2.7/dist-packages/OpenSSL/__init__.py", line 8, in [module]from OpenSSL import rand, crypto, SSLFile "/usr/lib/python2.7/dist-packages/OpenSSL/SSL.py", line 118, in [module]SSL_ST_INIT = _lib.SSL_ST_INITAttributeError: 'module' object has no attribute 'SSL_ST_INIT'Environment
- Platform9 Managed OpenStack - All Versions
- Hostagent
Cause
A conflict exists between the openssl and python-openssl modules.
Resolution
1. Remove the python-openssl package from the host.
Ubuntu
xxxxxxxxxx# apt-get remove python-opensslCentOS
xxxxxxxxxx# yum remove python-openssl2. Restart the pf9-hostagent service.
xxxxxxxxxx# systemctl restart pf9-hostagentVariableType to search · ESC to discard
GlossaryType to search · ESC to discard
InsertType to search · ESC to discard
No matches
Last updated on
Was this page helpful?
Discard Changes
Do you want to discard your current changes and overwrite with the template?
Archive Synced Block
Message
Create new Template
What is this template's title?
Delete Template
Message