Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Issue: error on installing self hosted engine #3151

Closed
akamuraaa opened this issue Jun 6, 2023 · 0 comments
Closed

Issue: error on installing self hosted engine #3151

akamuraaa opened this issue Jun 6, 2023 · 0 comments

Comments

@akamuraaa
Copy link

Description of the problem

os: almalinux 8.7
tried to install ovirt 4.5
i followed the documentation step-by-step.

error report:

hosted-engine --deploy

***L:ERROR Internal error: No module named 'importlib_resources'
Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/netaddr/compat.py", line 91, in
from importlib import resources as _importlib_resources
ImportError: cannot import name 'resources'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/main.py", line 141, in execute
self.context.loadPlugins()
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 803, in loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 112, in _loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 69, in _loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 100, in _loadPlugins
os.path.basename(path),
File "/usr/lib/python3.6/site-packages/otopi/util.py", line 110, in loadModule
spec.loader.exec_module(module)
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/init.py", line 26, in
from . import storage_domain
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/storage_domain.py", line 25, in
import netaddr
File "/usr/lib/python3.6/site-packages/netaddr/init.py", line 18, in
from netaddr.core import (AddrConversionError, AddrFormatError,
File "/usr/lib/python3.6/site-packages/netaddr/core.py", line 11, in
from netaddr.compat import _callable, _iter_dict_keys
File "/usr/lib/python3.6/site-packages/netaddr/compat.py", line 93, in
import importlib_resources as _importlib_resources
ModuleNotFoundError: No module named 'importlib_resources'

During handling of the above exception, another exception occurred:

Traceback (most recent call last):
File "/usr/lib/python3.6/site-packages/otopi/main.py", line 88, in main
installer.execute()
File "/usr/lib/python3.6/site-packages/otopi/main.py", line 147, in execute
sys.exc_info()[2],
File "/usr/lib/python3.6/site-packages/otopi/util.py", line 85, in raiseExceptionInformation
raise info[1].with_traceback(info[2])
File "/usr/lib/python3.6/site-packages/otopi/main.py", line 141, in execute
self.context.loadPlugins()
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 803, in loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 112, in _loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 69, in _loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python3.6/site-packages/otopi/context.py", line 100, in _loadPlugins
os.path.basename(path),
File "/usr/lib/python3.6/site-packages/otopi/util.py", line 110, in loadModule
spec.loader.exec_module(module)
File "", line 678, in exec_module
File "", line 219, in _call_with_frames_removed
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/init.py", line 26, in
from . import storage_domain
File "/usr/share/ovirt-hosted-engine-setup/scripts/../plugins/gr-he-ansiblesetup/core/storage_domain.py", line 25, in
import netaddr
File "/usr/lib/python3.6/site-packages/netaddr/init.py", line 18, in
from netaddr.core import (AddrConversionError, AddrFormatError,
File "/usr/lib/python3.6/site-packages/netaddr/core.py", line 11, in
from netaddr.compat import _callable, _iter_dict_keys
File "/usr/lib/python3.6/site-packages/netaddr/compat.py", line 93, in
import importlib_resources as _importlib_resources
otopi.main.PluginLoadException: No module named 'importlib_resources'

Type of problem?

something else

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant