On Wed, Jan 20, 2016 at 3:39 AM, Jaicel <jaicel(a)asti.dost.gov.ph> wrote:
i checked it after failure. but yesterday i also tried observing /tmp
during
installation, ovirt created a directory but no file was inside during or even
after the installation failed.
Can you please try this as root on the engine machine:
HOST=192.168.208.21; D=$(mktemp -d /tmp/test123-XXXXXXX); echo test >
"${D}"/f1; tar -C "${D}" -cf - . | ssh -i
/etc/pki/ovirt-engine/keys/engine_id_rsa "${HOST}" '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 && ls -lR "${MYTMP}"'; rm -rf
"${D}"
If it does not work, please try running sshd on the host under strace, e.g.:
strace -f -o /tmp/trace-sshd -tt -s 4096 -p $(cat /var/run/sshd.pid)
and then check/post /tmp/trace-sshd.
You can do this with both the test command above and host-deploy.
You can kill strace when finished.
Thanks,
Thanks
----- Original Message -----
From: "Yedidyah Bar David" <didi(a)redhat.com>
To: "jaicel" <jaicel(a)asti.dost.gov.ph>
Cc: "Simone Tiraboschi" <stirabos(a)redhat.com>, "users"
<users(a)ovirt.org>
Sent: Tuesday, January 19, 2016 4:47:07 PM
Subject: Re: [ovirt-users] ovirt-host-deploy PKI
On Tue, Jan 19, 2016 at 7:25 AM, Jaicel <jaicel(a)asti.dost.gov.ph> wrote:
> If the engine wasn't able to copy back host-deploy logs, you can also find
> them under /tmp/ on the host.
> Can you please try to look for them and attach here?
>
> i've checked the /tmp directory on the host but no host-deploy logs created
> there during the host installation on ovirt manager yesterday.
Did you check this _during_ deploy? Or after it failed?
Can you check again during deploy?
It should be inside a temporary sub directory of /tmp .
Thanks,
>
> Thanks,
> Jaicel
>
> ________________________________
> From: "Simone Tiraboschi" <stirabos(a)redhat.com>
> To: "jaicel" <jaicel(a)asti.dost.gov.ph>
> Cc: "users" <users(a)ovirt.org>
> Sent: Monday, January 18, 2016 10:06:22 PM
> Subject: Re: [ovirt-users] ovirt-host-deploy PKI
>
>
> On Mon, Jan 18, 2016 at 8:20 AM, Jaicel <jaicel(a)asti.dost.gov.ph> wrote:
>>
>> 2016-01-18 14:59:25,321 INFO [org.ovirt.engine.core.uutils.ssh.SSHDialog]
>> (org.ovirt.thread.pool-8-thread-31) SSH execute root(a)192.168.208.21 '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}"/setup DIALOG/dialect=str:machine
DIALOG/customization=bool:True'
>> 2016-01-18 15:09:25,323 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
>> (VdsDeploy) Error during deploy dialog: java.io.IOException: Unexpected
>> connection termination
>> at
>>
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:388)
>> [otopi.jar:]
>> at
>>
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
>> [otopi.jar:]
>> at
>> org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:821)
>> [bll.jar:]
>> at
>> org.ovirt.engine.core.bll.VdsDeploy.access$2000(VdsDeploy.java:83)
>> [bll.jar:]
>> at org.ovirt.engine.core.bll.VdsDeploy$51.run(VdsDeploy.java:969)
>> [bll.jar:]
>> at java.lang.Thread.run(Thread.java:745) [rt.jar:1.7.0_79]
>
>
> Hello Jaicel,
> the engine was correctly able to connect once to the host at 2016-01-18
> 14:59:25,321 but then the SSH connection got dropped at 2016-01-18
> 15:09:25,323 and the engine wasn't able to reconnect so something strange is
> happened is probably happened at network level.
> If the engine wasn't able to copy back host-deploy logs, you can also find
> them under /tmp/ on the host.
> Can you please try to look for them and attach here?
>
>
> _______________________________________________
> Users mailing list
> Users(a)ovirt.org
>
http://lists.ovirt.org/mailman/listinfo/users
>
--
Didi
--
Didi