Re: [Users] Error adding second host to self-hosted-engine

2014-04-07 Thread Alon Bar-Lev


- Original Message -
> From: "Giuseppe Ragusa" 
> To: users@ovirt.org
> Sent: Sunday, April 6, 2014 8:26:07 PM
> Subject: Re: [Users] Error adding second host to self-hosted-engine
> 
> Hi all,
> while going through the logs I found the following in engine.log:
> 
> 2014-04-06 07:54:48,788 INFO [org.ovirt.engine.core.bll.InstallerMessages]
> (VdsDeploy) Installation 172.16.100.2: Retrieving installation logs to:
> '/var/log/ovirt-engi
> ne/host-deploy/ovirt-20140406075448-172.16.100.2-2325b258.log'
> 2014-04-06 07:54:48,793 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (VdsDeploy) Correlation ID: 2325b258, Call Stack: null, Custom Even
> t ID: -1, Message: Installing Host hosted_engine_2. Retrieving installation
> logs to:
> '/var/log/ovirt-engine/host-deploy/ovirt-20140406075448-172.16.100.2-2325b258.log'.
> 2014-04-06 07:54:49,140 INFO [org.ovirt.engine.core.bll.InstallerMessages]
> (VdsDeploy) Installation 172.16.100.2: Stage: Termination
> 2014-04-06 07:54:49,238 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (VdsDeploy) Correlation ID: 2325b258, Call Stack: null, Custom Even
> t ID: -1, Message: Installing Host hosted_engine_2. Stage: Termination.
> 2014-04-06 07:54:49,239 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
> (VdsDeploy) Error during deploy dialog: java.io.IOException: Pipe closed
> at java.io.PipedInputStream.read(PipedInputStream.java:308) [rt.jar:1.7.0_51]
> at java.io.PipedInputStream.read(PipedInputStream.java:378) [rt.jar:1.7.0_51]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
> [rt.jar:1.7.0_51]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
> [rt.jar:1.7.0_51]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_51]
> at java.io.InputStreamReader.read(InputStreamReader.java:184)
> [rt.jar:1.7.0_51]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_51]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_51]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_51]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:355)
> [otopi.jar:]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
> [otopi.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:749)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:80)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:897) [bll.jar:]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> 
> 2014-04-06 07:54:49,245 ERROR [org.ovirt.engine.core.bll.VdsDeploy]
> (org.ovirt.thread.pool-6-thread-39) [2325b258] Error during host
> 172.16.100.2 install: java.io.IOExc
> eption: Pipe closed
> at java.io.PipedInputStream.read(PipedInputStream.java:308) [rt.jar:1.7.0_51]
> at java.io.PipedInputStream.read(PipedInputStream.java:378) [rt.jar:1.7.0_51]
> at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283)
> [rt.jar:1.7.0_51]
> at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325)
> [rt.jar:1.7.0_51]
> at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) [rt.jar:1.7.0_51]
> at java.io.InputStreamReader.read(InputStreamReader.java:184)
> [rt.jar:1.7.0_51]
> at java.io.BufferedReader.fill(BufferedReader.java:154) [rt.jar:1.7.0_51]
> at java.io.BufferedReader.readLine(BufferedReader.java:317) [rt.jar:1.7.0_51]
> at java.io.BufferedReader.readLine(BufferedReader.java:382) [rt.jar:1.7.0_51]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:355)
> [otopi.jar:]
> at
> org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
> [otopi.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:749)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:80)
> [bll.jar:]
> at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:897) [bll.jar:]
> at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]
> 
> 2014-04-06 07:54:49,249 ERROR [org.ovirt.engine.core.bll.InstallerMessages]
> (org.ovirt.thread.pool-6-thread-39) [2325b258] Installation 172.16.100.2:
> Pipe closed
> 
> and then a little search turned out an abandoned effort at
> http://gerrit.ovirt.org/#/c/21460/
> 
> Since those "unexpectedly closed pipes" seem to be not so easily
> reproducible, should I simply retry? ;>

Yes, you are right! and thank you so much for this long.

I opened a bug[1] for this issue, will fix ASAP.

[1] https://bugzilla.redhat.com/show_bug.cgi?id=1084911
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Error adding second host to self-hosted-engine

2014-04-06 Thread Giuseppe Ragusa
Hi all,
while going through the logs I found the following in engine.log:

2014-04-06 07:54:48,788 INFO  [org.ovirt.engine.core.bll.InstallerMessages] 
(VdsDeploy) Installation 172.16.100.2: Retrieving installation logs to: 
'/var/log/ovirt-engi
ne/host-deploy/ovirt-20140406075448-172.16.100.2-2325b258.log'
2014-04-06 07:54:48,793 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) Correlation ID: 2325b258, Call Stack: null, Custom Even
t ID: -1, Message: Installing Host hosted_engine_2. Retrieving installation 
logs to: 
'/var/log/ovirt-engine/host-deploy/ovirt-20140406075448-172.16.100.2-2325b258.log'.
2014-04-06 07:54:49,140 INFO  [org.ovirt.engine.core.bll.InstallerMessages] 
(VdsDeploy) Installation 172.16.100.2: Stage: Termination
2014-04-06 07:54:49,238 INFO  
[org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] 
(VdsDeploy) Correlation ID: 2325b258, Call Stack: null, Custom Even
t ID: -1, Message: Installing Host hosted_engine_2. Stage: Termination.
2014-04-06 07:54:49,239 ERROR [org.ovirt.engine.core.bll.VdsDeploy] (VdsDeploy) 
Error during deploy dialog: java.io.IOException: Pipe closed
at java.io.PipedInputStream.read(PipedInputStream.java:308) 
[rt.jar:1.7.0_51]
at java.io.PipedInputStream.read(PipedInputStream.java:378) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) 
[rt.jar:1.7.0_51]
at java.io.InputStreamReader.read(InputStreamReader.java:184) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.fill(BufferedReader.java:154) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:317) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:382) 
[rt.jar:1.7.0_51]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:355)
 [otopi.jar:]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
 [otopi.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:749) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:80) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:897) 
[bll.jar:]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

2014-04-06 07:54:49,245 ERROR [org.ovirt.engine.core.bll.VdsDeploy] 
(org.ovirt.thread.pool-6-thread-39) [2325b258] Error during host 172.16.100.2 
install: java.io.IOExc
eption: Pipe closed
at java.io.PipedInputStream.read(PipedInputStream.java:308) 
[rt.jar:1.7.0_51]
at java.io.PipedInputStream.read(PipedInputStream.java:378) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.readBytes(StreamDecoder.java:283) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.implRead(StreamDecoder.java:325) 
[rt.jar:1.7.0_51]
at sun.nio.cs.StreamDecoder.read(StreamDecoder.java:177) 
[rt.jar:1.7.0_51]
at java.io.InputStreamReader.read(InputStreamReader.java:184) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.fill(BufferedReader.java:154) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:317) 
[rt.jar:1.7.0_51]
at java.io.BufferedReader.readLine(BufferedReader.java:382) 
[rt.jar:1.7.0_51]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:355)
 [otopi.jar:]
at 
org.ovirt.otopi.dialog.MachineDialogParser.nextEvent(MachineDialogParser.java:405)
 [otopi.jar:]
at org.ovirt.engine.core.bll.VdsDeploy._threadMain(VdsDeploy.java:749) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy.access$1800(VdsDeploy.java:80) 
[bll.jar:]
at org.ovirt.engine.core.bll.VdsDeploy$45.run(VdsDeploy.java:897) 
[bll.jar:]
at java.lang.Thread.run(Thread.java:744) [rt.jar:1.7.0_51]

2014-04-06 07:54:49,249 ERROR [org.ovirt.engine.core.bll.InstallerMessages] 
(org.ovirt.thread.pool-6-thread-39) [2325b258] Installation 172.16.100.2: Pipe 
closed

and then a little search turned out an abandoned effort at 
http://gerrit.ovirt.org/#/c/21460/

Since those "unexpectedly closed pipes" seem to be not so easily reproducible, 
should I simply retry? ;>

Many thanks,
Giuseppe

From: giuseppe.rag...@hotmail.com
To: users@ovirt.org
Subject: Error adding second host to self-hosted-engine
Date: Sun, 6 Apr 2014 08:18:36 +0200




Hi all,
while reinstalling from scratch on CentOS 6.5 (using oVirt 3.4.0 GA plus latest 
snapshot using a GlusterFS-based NFS storage domain for the self-hosted Engine 
and a pure GlusterFS domain for the datacenter) the adding of the second node 
(already part of a 3.5.0beta5 GlusterFS cluster) failed at the end with:

[ INFO  ] Engine replied: DB Up!Welcome to Health Status!
[ INFO  ] Waiting for the host to become operat