Created attachment 1182132 [details] log collector report Trying to add an host on ovirt master running on FC24 with FC24 host. Failing to execute ovirt-host-deploy. Attached log collector report. Oved, can you please review the engine logs?
Bug tickets must have version flags set prior to targeting them to a release. Please ask maintainer to set the correct version flags and only then set the target milestone.
Piotr will check that next week.
In host deploy logs I see: 2016-07-20 16:20:13 DEBUG otopi.context context._executeMethod:142 method exception Traceback (most recent call last): File "/tmp/ovirt-MwlkMSyicH/pythonlib/otopi/context.py", line 132, in _executeMethod method['method']() File "/tmp/ovirt-MwlkMSyicH/otopi-plugins/otopi/network/hostname.py", line 54, in _internal_packages self.packager.install(packages=('iproute',)) File "/tmp/ovirt-MwlkMSyicH/pythonlib/otopi/packager.py", line 98, in install raise NotImplementedError(_('Packager install not implemented')) NotImplementedError: Packager install not implemented which fails host deploy: 2016-07-20 16:20:13,366 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (org.ovirt.thread.pool-8-thread-2) [64bb8ca6] Exception: java.io.IOException: Command returned failure code 1 during SSH session 'root' at org.ovirt.engine.core.uutils.ssh.SSHClient.executeCommand(SSHClient.java:503) [uutils.jar:] at org.ovirt.engine.core.uutils.ssh.SSHDialog.executeCommand(SSHDialog.java:317) [uutils.jar:] at org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase.execute(VdsDeployBase.java:563) [bll.jar:] at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.installHost(InstallVdsInternalCommand.java:169) [bll.jar:] at org.ovirt.engine.core.bll.hostdeploy.InstallVdsInternalCommand.executeCommand(InstallVdsInternalCommand.java:90) [bll.jar:]
Resolving with Known Issue documentation: Until otopi will support Python 3, python2-dnf.noarch is needed on the host. Verified working with: ovirt-vmconsole-1.0.4-0.0.master.20160805075548.git6c59386.fc24.noarch vdsm-4.18.999-374.git6f033fe.fc24.x86_64 and otopi-1.6.0-0.0.master.20160805120739.git083ac7b.fc24.noarch ovirt-host-deploy-1.5.2-0.0.master.20160805053438.git6cd75db.fc24.noarch ovirt-engine-4.1.0-0.0.master.20160807181833.git06965fe.fc24.noarch
In case it helps anyone, I was getting this problem on FC24 <--> FC24 as well, with ovirt-release-40.rpm installed. I had to switch to ovirt-release-master.rpm on both host and engine, and update otopi and ovirt-host-deploy on the engine. Works now.
The fix for this issue should be included in oVirt 4.1.0 beta 1 released on December 1st. If not included please move back to modified.
Still fail with oVirt 4.1.0 beta 2 on Fedora 24. Need to manually install python2-dnf. Packages: ovirt-hosted-engine-setup-2.1.0-0.0.master.20161221071740.git46cacd3.fc24.noarch ovirt-release41-pre-4.1.0-0.6.beta2.20161221025826.gitc487776.el7.centos.noarch Logs: Traceback (most recent call last): File "/usr/share/otopi/plugins/otopi/packagers/dnfpackager.py", line 150, in _boot constants.PackEnv.DNF_DISABLED_PLUGINS File "/usr/share/otopi/plugins/otopi/packagers/dnfpackager.py", line 60, in _getMiniDNF from otopi import minidnf File "/usr/lib/python2.7/site-packages/otopi/minidnf.py", line 16, in <module> import dnf ImportError: No module named dnf
Created attachment 1244793 [details] host deploy log This is still not fixed in ovirt 4.1 experimental
Target release should be placed once a package build is known to fix a issue. Since this bug is not modified, the target version has been reset. Please use target milestone to plan a fix for a oVirt release.
We're not going to fix this in 4.1, closing this as DEFERRED with Knonwn Issue doctext in order to get this documented in release notes. I'll clone this bug to 4.2.
fc24 reached end of life long time ago