On Thu, Mar 12, 2020 at 6:21 PM Fedor Gavrilov <fgavrilo(a)redhat.com> wrote:
Hi,
Since master on CentOS 7 is impossible atm and CentOS 8 is the last thing
I would touch, I followed an advice and tried installing engine on Fedora
30 machine.
I've been following
https://github.com/oVirt/ovirt-engine/blob/master/README.adoc
I was able to compile the engine and imageio, but engine-setup then fails:
***L:ERROR Internal error: No module named 'ovirt_setup_lib'
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/otopi/main.py", line 141, in
execute
self.context.loadPlugins()
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 803, in
loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 112, in
_loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 69, in
_loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 100, in
_loadPlugins
os.path.basename(path),
File "/usr/lib/python3.7/site-packages/otopi/util.py", line 109, in
loadModule
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 728, in
exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/home/apple/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/vmconsole_proxy_helper/__init__.py",
line 15, in <module>
from . import config
File
"/home/apple/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/vmconsole_proxy_helper/config.py",
line 24, in <module>
from ovirt_setup_lib import dialog
ModuleNotFoundError: No module named 'ovirt_setup_lib'
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/usr/lib/python3.7/site-packages/otopi/__main__.py", line 88, in
main
installer.execute()
File "/usr/lib/python3.7/site-packages/otopi/main.py", line 147, in
execute
sys.exc_info()[2],
File "/usr/lib/python3.7/site-packages/otopi/util.py", line 84, in
raiseExceptionInformation
raise info[1].with_traceback(info[2])
File "/usr/lib/python3.7/site-packages/otopi/main.py", line 141, in
execute
self.context.loadPlugins()
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 803, in
loadPlugins
self._loadPluginGroups(plugindir, needgroups, loadedgroups)
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 112, in
_loadPluginGroups
self._loadPlugins(path, path, groupname)
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 69, in
_loadPlugins
self._loadPlugins(base, d, groupname)
File "/usr/lib/python3.7/site-packages/otopi/context.py", line 100, in
_loadPlugins
os.path.basename(path),
File "/usr/lib/python3.7/site-packages/otopi/util.py", line 109, in
loadModule
spec.loader.exec_module(module)
File "<frozen importlib._bootstrap_external>", line 728, in
exec_module
File "<frozen importlib._bootstrap>", line 219, in
_call_with_frames_removed
File
"/home/apple/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/vmconsole_proxy_helper/__init__.py",
line 15, in <module>
from . import config
File
"/home/apple/ovirt-engine/share/ovirt-engine/setup/bin/../plugins/ovirt-engine-setup/vmconsole_proxy_helper/config.py",
line 24, in <module>
from ovirt_setup_lib import dialog
otopi.main.PluginLoadException: No module named 'ovirt_setup_lib'
In case you are wondering, I have ovirt-setup-lib installed:
sudo yum install ovirt-setup-lib
Last metadata expiration check: 1:05:07 ago on Thu Mar 12 16:04:28 2020.
Package
python2-ovirt-setup-lib-1.3.1-0.0.master.20191121145802.git8eff989.fc30.noarch
is already installed.
Dependencies resolved.
Nothing to do.
Complete!
Do you what what that issue might be? Or maybe someone has setup notes to
share?
Haven't encountered it but I've had some problems with Fedora 30
installation with PY2/PY3
Try to yum remove python2-ovirt-setup-lib and yum
install python3-ovirt-setup-lib, this might do the trick and if so don't
ask me why, it's black magic