Hi,
Thanks, what you and Tal suggested helped indeed.
I had to replace some more packages (since python 2 versions are being installed by
default) following this example and in the end I was able to execute setup and start the
engine!
There was similar trouble with imageio as well (it uses python 2 versions, I wonder if
there will be an issue on Fedora 31) but it did work in the end :)
Fedor
----- Original Message -----
From: "Eyal Shenitzky" <eshenitz(a)redhat.com>
To: "Fedor Gavrilov" <fgavrilo(a)redhat.com>
Cc: "devel" <devel(a)ovirt.org>
Sent: Thursday, March 12, 2020 7:11:40 PM
Subject: Re: [ovirt-devel] meanwhile, installing engine on Fedora 30...
Hi Fedor,
Please note that your packages are Python-2 packages and not Python-3 as
otopi needs
python2-ovirt-setup-lib-1.3.1-0.0.master.20191121145802.git8
eff989.fc30.noarch
בתאריך יום ה׳, 12 במרץ 2020, 18:22, מאת Fedor Gavrilov <fgavrilo(a)redhat.com
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?
Thanks as always,
Fedor
_______________________________________________
Devel mailing list -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)ovirt.org
Privacy Statement:
https://www.ovirt.org/privacy-policy.html
oVirt Code of Conduct:
https://www.ovirt.org/community/about/community-guidelines/
List Archives:
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/WGX3GDOVOKN...