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?
Unable To Start pf9-ostackhost Service After python-gssapi Module Installation
Copy Markdown
Open in ChatGPT
Open in Claude
Problem
- Not able to start pf9-ostackhost service on the KVM host.
- The below logs are observed in /var/log/pf9/ostackhost.log
2020-05-06 09:40:32.985 CRITICAL nova [req-xxxxx None None] Unhandled error: AttributeError: 'module' object has no attribute 'GSSException'2020-05-06 09:40:32.985 TRACE nova Traceback (most recent call last):2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/bin/pf9-ostackhost", line 20, in [module]2020-05-06 09:40:32.985 TRACE nova sys.exit(main())2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/vev/lib/python2.7/site-packages/nova/cmd/compute.py", line 57, in main2020-05-06 09:40:32.985 TRACE nova topic=compute_rpcapi.RPC_TOPIC)2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/nova/service.py", line 259, in create2020-05-06 09:40:32.985 TRACE nova periodic_interval_max=periodic_interval_max)2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/nova/service.py", line 131, in __init__2020-05-06 09:40:32.985 TRACE nova self.manager = manager_class(host=self.host, *args, **kwargs)2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/nova/compute/manager.py", line 506, in __init__2020-05-06 09:40:32.985 TRACE nova self.compute_api = compute.API()2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/nova/compute/__init__.py", line 39, in API2020-05-06 09:40:32.985 TRACE nova return importutils.import_object(class_name, *args, **kwargs)2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/oslo_utils/importutils.py", line 44, in import_object2020-05-06 09:40:32.985 TRACE nova return import_class(import_str)(*args, **kwargs)2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/oslo_utils/importutils.py", line 30, in import_class2020-05-06 09:40:32.985 TRACE nova __import__(mod_str)2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/nova/compute/api.py", line 57, in [module]2020-05-06 09:40:32.985 TRACE nova from nova import crypto2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/nova/crypto.py", line 35, in [module]2020-05-06 09:40:32.985 TRACE nova import paramiko2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/paramiko/__init__.py", line 22, in [module]2020-05-06 09:40:32.985 TRACE nova from paramiko.transport import SecurityOptions, Transport2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/paramiko/transport.py", line 38, in [module]2020-05-06 09:40:32.985 TRACE nova from paramiko.auth_handler import AuthHandler2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/paramiko/auth_handler.py", line 48, in [module]2020-05-06 09:40:32.985 TRACE nova from paramiko.ssh_gss import GSSAuth, GSS_EXCEPTIONS2020-05-06 09:40:32.985 TRACE nova File "/opt/pf9/venv/lib/python2.7/site-packages/paramiko/ssh_gss.py", line 54, in [module]2020-05-06 09:40:32.985 TRACE nova GSS_EXCEPTIONS = (gssapi.GSSException,)2020-05-06 09:40:32.985 TRACE nova AttributeError: 'module' object has no attribute 'GSSException'Environment
- Platform9 Managed OpenStack - All Versions
- Nova
Cause
After installing the python-gssapi module pf9-ostackhost service fails to start.
xxxxxxxxxx$ rpm -qa | grep gssapipython-gssapi-1.2.0-3.el7.x86_64Resolution
- Check if the python-gssapi module is installed
$ rpm -qi python-gssapi-1.2.0-3.el7.x86_64Name : python-gssapiVersion : 1.2.0Release : 3.el7Architecture: x86_64- Uninstall the module.
xxxxxxxxxx$ sudo yum remove python-gssapi.x86_64- Restart the pf9-ostackhost service.
xxxxxxxxxx$ systemctl restart pf9-ostackhostAdditional Information
For more information, you can refer to the GitHub discussion for issue 1068.
VariableType 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