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
> <kmajumde(a)redhat.com <mailto:kmajumde@redhat.com>> 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.git827d6d1.fc28.noarch
> python2-ovirt-host-deploy-1.8.0-0.0.master.20180624095611.git827d6d1.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
>> <kmajumde(a)redhat.com <mailto:kmajumde@redhat.com>> 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/gitweb?p=ovirt-engine.git;a=blob_plain;f=README....
>>
<
https://gerrit.ovirt.org/gitweb?p=ovirt-engine.git;a=blob_plain;f=README....
>>
>> 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/ovirt-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/cache/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 'root(a)10.70.43.157 <mailto:root@10.70.43.157>'
>> '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.dbbroker.auditloghandling.AuditLogDirector]
>> (VdsDeploy) [35eb76d9] EVENT_ID:
>> VDS_INSTALL_IN_PROGRESS_ERROR(511), An error has occurred
>> during installation of Host 10.70.43.157
>> <
http://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 root(a)10.70.43.157
>> <mailto:root@10.70.43.157>:'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
>> 'root(a)10.70.43.157 <mailto:root@10.70.43.157>'
>> 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.dbbroker.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
>> <
http://10.70.43.157>: Command returned failure code 1
>> during SSH session 'root(a)10.70.43.157
>> <mailto:root@10.70.43.157>'.
>> 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.hostdeploy.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.dbbroker.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 --devel(a)ovirt.org <mailto:devel@ovirt.org>
>> To unsubscribe send an email todevel-leave(a)ovirt.org
<mailto:devel-leave@ovirt.org>
>> Privacy
Statement:https://www.ovirt.org/site/privacy-policy/
>> <
https://www.ovirt.org/site/privacy-policy/>
>> oVirt Code of
Conduct:https://www.ovirt.org/community/about/community-guidelines/
>> <
https://www.ovirt.org/community/about/community-guidelines/>
>> List
Archives:https://lists.ovirt.org/archives/list/devel@ovirt.org/message/2V...
>>
<
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/2VVLZDOWS32...
>
> --
>
> Kaustav Majumder
>
> Associate Software Engineer
>
> Red Hat India PVT LTD. <
https://www.redhat.com>
>
> kmajumder(a)redhat.com <mailto:kmajumder@redhat.com> M: 08981884037
> <tel: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 -- devel(a)ovirt.org <mailto:devel@ovirt.org>
> To unsubscribe send an email to devel-leave(a)ovirt.org
> <mailto:devel-leave@ovirt.org>
> Privacy Statement:
https://www.ovirt.org/site/privacy-policy/
> <
https://www.ovirt.org/site/privacy-policy/>
> oVirt Code of Conduct:
>
https://www.ovirt.org/community/about/community-guidelines/
> <
https://www.ovirt.org/community/about/community-guidelines/>
> List Archives:
>
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/MMMDGQ7Y6AW...
>
<
https://lists.ovirt.org/archives/list/devel@ovirt.org/message/MMMDGQ7Y6AW...
>
>
>
>
> --
> Didi
>
>
> _______________________________________________
> Devel mailing list --devel(a)ovirt.org
> To unsubscribe send an email todevel-leave(a)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/devel@ovirt.org/message/7R...
--
Kaustav Majumder
Associate Software Engineer
Red Hat India PVT LTD. <
https://www.redhat.com>
kmajumder(a)redhat.com <mailto:kmajumder@redhat.com> M: 08981884037
<tel: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 -- devel(a)ovirt.org
To unsubscribe send an email to devel-leave(a)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/devel@ovirt.org/message/EZXFRA5YKHY...
--
Kaustav Majumder
Associate Software Engineer
Red Hat India PVT LTD. <
kmajumder(a)redhat.com <mailto:kmajumder@redhat.com> M: 08981884037
<tel:08981884037> IM: IRC: kmajumder
<
TRIED. TESTED. TRUSTED. <