Hi Didi, I finally figured it out:

Cinnamon pulls python3 as a dependency.

The otopi script from the ovirt-host-deploy.tar that gets transferred from the 
management engine to the host-to-add prefers python3 using this logic in 
otopi-functions.py:

get_otopi_python() {
        for p in "python3" "python"
        do
                pyexec=$(find_otopi ${p})
                if [ -n "${pyexec}" ]; then
                        echo "${pyexec}"
                        break
                fi
        done
}

but on CentOS 7 there are no Python3 site-packages where CentOS 8 will be all 
dnf and python3 I guess.

That means rpmUtils cannot be imported and causes the initialization of miniyum 
to fail.

With Python3 becoming standard in CentOS 7.7 this could be come a more frequent 
issue.

That was hard to track down, but yes, in the end the source code helped and 
then the fact that the otopi scipt could be executed stand-alone.

I will file a bug report and perhaps the documentation could be updated to 
include a Python3 warning.

Thanks for your support,

Thomas
_______________________________________________
Users mailing list -- users@ovirt.org
To unsubscribe send an email to users-le...@ovirt.org
Privacy Statement: https://www.ovirt.org/site/privacy-policy/
oVirt Code of Conduct: 
https://www.ovirt.org/community/about/community-guidelines/
List Archives: 
https://lists.ovirt.org/archives/list/users@ovirt.org/message/2QUBDSFTWNL27NAEAWYCX3A3Y4MOM32Y/

Reply via email to