It looks like you don't have python3 installed, so otopi falls back to /bin/python which is python2, but the python2 otopi module is not installed - try to install the python2-otopi rpm and see if it works for you.
Thanks, Yuval. On Wed, Jul 11, 2018 at 4:13 PM, Kaustav Majumder <[email protected]> wrote: > Hi, > > 'pythonlib' directory is empty.Is it something to do with that? > > On Wednesday 11 July 2018 06:30 PM, Kaustav Majumder wrote: > > Hi, > > The output of sh -x otopi --> https://pastebin.com/WeeCJYdk > > tar in the attachment > > On Wednesday 11 July 2018 06:14 PM, Yedidyah Bar David wrote: > > On Wed, Jul 11, 2018 at 10:21 AM, Kaustav Majumder <[email protected]> > wrote: > >> Hi, >> >> Following are the versions >> >> otopi-1.8.0-0.0.master.20180704073752.git9eed7fe.fc28 >> >> ovirt-host-deploy-common-1.8.0-0.0.master.20180624095611.git >> 827d6d1.fc28.noarch >> python2-ovirt-host-deploy-1.8.0-0.0.master.20180624095611.gi >> t827d6d1.fc28.noarch >> I copied the tar to the host and when I am trying to install its giving >> the following error >> >> [root@dhcp43-133 ~]# ./ovirt-host-deploy >> ***L:ERROR: Python is required but missing >> > > Can you please try running, from the same directory on the host, 'sh -x > otopi' ? > > Also, can you please share the bundle tar file? > > Thanks, > > >> >> >> >> >> On Wednesday 11 July 2018 11:04 AM, Yedidyah Bar David wrote: >> >> On Tue, Jul 10, 2018 at 1:24 PM, Kaustav Majumder <[email protected]> >> wrote: >> >>> Hi, >>> >>> I am trying to setup ovirt engine dev environment in my local Fedora 28 >>> machine. >>> >> >> Do you want to use fedora 28 specifically? Or just get a dev env working? >> If latter, it's currently easier to use el7. >> >> >>> I have followed this guide -> https://gerrit.ovirt.org/gitwe >>> b?p=ovirt-engine.git;a=blob_plain;f=README.adoc;hb=HEAD >>> >>> When I am trying to add a new host (Centos 7) ,it is failing with the >>> following error. >>> >>> >>> [35eb76d9] EVENT_ID: VDS_INSTALL_IN_PROGRESS(509), Installing Host >>> 10.70.43.157. Connected to host 10.70.43.157 with SSH key fingerprint: >>> SHA256:rZfUGylVh3PLqfH2Siey0+CA9RUctK2ITQ2UGtV5ggA. >>> 2018-07-10 15:47:50,447+05 INFO >>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Installation of >>> 10.70.43.157. Executing command via SSH 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 < /home/kaustavmajumder/work/ovi >>> rt-engine-builds/07-07/var/cache/ovirt-engine/ovirt-host-deploy.tar >>> 2018-07-10 15:47:50,447+05 INFO >>> [org.ovirt.engine.core.utils.archivers.tar.CachedTar] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Tarball >>> '/home/kaustavmajumder/work/ovirt-engine-builds/07-07/var/ca >>> che/ovirt-engine/ovirt-host-deploy.tar' refresh >>> 2018-07-10 15:47:50,471+05 INFO >>> [org.ovirt.engine.core.uutils.ssh.SSHDialog] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] SSH execute ' >>> [email protected]' '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' >>> 2018-07-10 15:47:50,676+05 ERROR [org.ovirt.engine.core.dal.dbb >>> roker.auditloghandling.AuditLogDirector] (VdsDeploy) [35eb76d9] >>> EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred >>> during installation of Host 10.70.43.157: Python is required but >>> missing. >>> 2018-07-10 15:47:50,685+05 ERROR >>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] >>> (VdsDeploy) [35eb76d9] Error during deploy dialog >>> 2018-07-10 15:47:50,686+05 ERROR >>> [org.ovirt.engine.core.uutils.ssh.SSHDialog] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] SSH error >>> running command [email protected]:'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 1 during SSH session '[email protected]' >>> 2018-07-10 15:47:50,690+05 ERROR >>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Error during >>> host 10.70.43.157 install >>> 2018-07-10 15:47:50,697+05 ERROR [org.ovirt.engine.core.dal.dbb >>> roker.auditloghandling.AuditLogDirector] >>> (EE-ManagedThreadFactory-engine-Thread-4188) >>> [35eb76d9] EVENT_ID: VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has >>> occurred during installation of Host 10.70.43.157: Command returned >>> failure code 1 during SSH session '[email protected]'. >>> 2018-07-10 15:47:50,698+05 ERROR >>> [org.ovirt.engine.core.bll.hostdeploy.VdsDeployBase] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] Error during >>> host 10.70.43.157 install, preferring first exception: Unexpected >>> connection termination >>> 2018-07-10 15:47:50,698+05 ERROR [org.ovirt.engine.core.bll.hos >>> tdeploy.InstallVdsInternalCommand] >>> (EE-ManagedThreadFactory-engine-Thread-4188) >>> [35eb76d9] Host installation failed for host >>> '3a52f700-a1d3-47b0-9518-f7f94231a874', >>> '10.70.43.157': Unexpected connection termination >>> 2018-07-10 15:47:50,700+05 INFO >>> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] START, >>> SetVdsStatusVDSCommand(HostName = 10.70.43.157, >>> SetVdsStatusVDSCommandParameters:{hostId='3a52f700-a1d3-47b0-9518-f7f94231a874', >>> status='InstallFailed', nonOperationalReason='NONE', >>> stopSpmFailureLogged='false', maintenanceReason='null'}), log id: 48d6c653 >>> 2018-07-10 15:47:50,704+05 INFO >>> [org.ovirt.engine.core.vdsbroker.SetVdsStatusVDSCommand] >>> (EE-ManagedThreadFactory-engine-Thread-4188) [35eb76d9] FINISH, >>> SetVdsStatusVDSCommand, return: , log id: 48d6c653 >>> 2018-07-10 15:47:50,710+05 ERROR [org.ovirt.engine.core.dal.dbb >>> roker.auditloghandling.AuditLogDirector] >>> (EE-ManagedThreadFactory-engine-Thread-4188) >>> [35eb76d9] EVENT_ID: VDS_INSTALL_FAILED(505), Host 10.70.43.157 >>> installation failed. Unexpected connection termination. >>> >>> >>> I have tried installing it several times and it has failed. >>> >> >> Which versions of otopi and ovirt-host-deploy do you have? >> >> Can you install otopi on the host and run it? Does it work? >> >> You can also try copying and running the host-deploy bundle manually to >> the host. It's on the engine machine in /var/cache/ovirt-engine. Copy it to >> the host, untar in some directory, and run from inside it: >> >> $PWD/ovirt-host-deploy >> >> Best regards, >> -- >> Didi >> >> >> _______________________________________________ >> Devel mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> 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/[email protected]/message/2VVLZDOWS32H7IP5JQBJZCUTABWTKZOC/ >> >> >> -- >> >> Kaustav Majumder >> >> Associate Software Engineer >> >> Red Hat India PVT LTD. <https://www.redhat.com> >> >> [email protected] M: 08981884037 IM: IRC: kmajumder >> <https://red.ht/sig> >> TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> >> @redhatway <https://twitter.com/redhatway> @redhatinc >> <https://instagram.com/redhatinc> @redhatsnaps >> <https://snapchat.com/add/redhatsnaps> >> >> _______________________________________________ >> Devel mailing list -- [email protected] >> To unsubscribe send an email to [email protected] >> Privacy Statement: https://www.ovirt.org/site/privacy-policy/ >> oVirt Code of Conduct: https://www.ovirt.org/communit >> y/about/community-guidelines/ >> List Archives: https://lists.ovirt.org/archiv >> es/list/[email protected]/message/MMMDGQ7Y6AWR2D7WCWQ4I66O5R5N5KSA/ >> >> > > > -- > Didi > > > _______________________________________________ > Devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > 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/[email protected]/message/7RAM4B3PUM2SD27EZCLJMKKS3UPO7JXZ/ > > > -- > > Kaustav Majumder > > Associate Software Engineer > > Red Hat India PVT LTD. <https://www.redhat.com> > > [email protected] M: 08981884037 IM: IRC: kmajumder > <https://red.ht/sig> > TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> > @redhatway <https://twitter.com/redhatway> @redhatinc > <https://instagram.com/redhatinc> @redhatsnaps > <https://snapchat.com/add/redhatsnaps> > > > _______________________________________________ > Devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > 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/[email protected]/message/EZXFRA5YKHYMKLAJVHJB7VRBYI4WTRV6/ > > > -- > > Kaustav Majumder > > Associate Software Engineer > > Red Hat India PVT LTD. <https://www.redhat.com> > > [email protected] M: 08981884037 IM: IRC: kmajumder > <https://red.ht/sig> > TRIED. TESTED. TRUSTED. <https://redhat.com/trusted> > @redhatway <https://twitter.com/redhatway> @redhatinc > <https://instagram.com/redhatinc> @redhatsnaps > <https://snapchat.com/add/redhatsnaps> > > _______________________________________________ > Devel mailing list -- [email protected] > To unsubscribe send an email to [email protected] > 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/[email protected]/ > message/OPPX3VMACC5YMJLINTEVNL3BLQKASQF4/ > >
_______________________________________________ Devel mailing list -- [email protected] To unsubscribe send an email to [email protected] 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/[email protected]/message/HCXHSJBQ6QBD76DYBVYCU35GZJHHTELK/
