Added devel

On Wed, Mar 20, 2019 at 9:05 AM Yedidyah Bar David <didi@redhat.com> wrote:
On Tue, Mar 19, 2019 at 3:49 PM Eyal Shenitzky <eshenitz@redhat.com> wrote:
>
> Hi,
>
> I tried to add Fedora 28 host to ovirt and failed due to missing ovirt-host-deploy:
>
> 2019-03-19 14:27:34,795+02 ERROR [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (VdsDeploy) [1ce188c7] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred during installation of Host 10.35.1.234: Internal error: No module named ovirt_host_deploy.
> 2019-03-19 14:27:34,823+02 ERROR [org.ovirt.engine.core.uutils.ssh.SSHDialog] (EE-ManagedThreadFactory-engine-Thread-2355) [1ce188c7] SSH error running command root@10.35.1.234:'umask 0077; MYTMP="$(TMPDIR="${OVIRT_TMPDIR}" mktemp -d -t ovirt-XXXXXXXXXX)"; trap "chmod -R u+rwX \"${MYTMP}\" > /dev/null 2>&1; rm -fr \"${MYTMP}\" > /dev/null 2>&1" 0; tar --warning=no-timestamp -C "${MYTMP}" -x &&  "${MYTMP}"/ovirt-host-deploy DIALOG/dialect=str:machine DIALOG/customization=bool:True': IOException: Command returned failure code 2 during SSH session 'root@10.35.1.234'
> 2019-03-19 14:27:34,824+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (VdsDeploy) [1ce188c7] Error during deploy dialog
> 2019-03-19 14:27:34,838+02 ERROR [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] (EE-ManagedThreadFactory-engine-Thread-2355) [1ce188c7] Error during host 10.35.1.234 install
>
> When I tried to install ovirt-host-deploy on the Fedora 28 machine I failed because otopi was missing.
>
> Do we have a known issue for Fedora 28 host?

Nothing that I can currently recall, although it's been some time since I tried.

The missing ovirt_host_deploy/otopi are not something you should
install on the host. They are included in the bundle.

Where is the engine (OS)? Is it current master? dev-env or RPM? Which
otopi/ovirt-host-deploy you have there? Current master, both?

The engine is also on Fedora 28, this is the current master (dev-env)

host-deploy:
python2-ovirt-host-deploy-1.8.0-0.0.master.20181016080559.gitff6ea7d.fc28.noarch
ovirt-host-deploy-common-1.8.0-0.0.master.20181016080559.gitff6ea7d.fc28.noarch

otopi:
python2-otopi-1.8.0-0.0.master.20181017100341.git487c83a.fc28.noarch
python3-otopi-1.8.0-0.0.master.20181017100341.git487c83a.fc28.noarch
otopi-common-1.8.0-0.0.master.20181017100341.git487c83a.fc28.noarch
 

Please check/share content of the bundle. After you try 'Add host', it
should be in /var/cache/ovirt-engine/ovirt-host-deploy.tar/var/cache/ovirt-engine/ovirt-host-deploy.tar . It's
auto-generated, so you can remove it and try again.

What should I look for there?


Also, IMO you can open such threads on devel@ovirt.org.il.

Best regards,
--
Didi


--
Regards,
Eyal Shenitzky