I'm building from sources, following the instructions on the Wiki.
-----Original Message-----
From: Alon Bar-Lev [mailto:alonbl@redhat.com]
Sent: Wednesday, January 16, 2013 10:19 AM
To: Frantz, Chris
Cc: engine-devel
Subject: Re: [Engine-devel] Unable to add a Host
Hmmm... how do you run the engine? not from installation?
Can you please try to use apache-commons-compress-1.4.1?
----- Original Message -----
From: "Chris Frantz" <Chris.Frantz(a)hp.com>
To: "Alon Bar-Lev" <alonbl(a)redhat.com>
Cc: "engine-devel" <engine-devel(a)ovirt.org>
Sent: Wednesday, January 16, 2013 6:05:57 PM
Subject: RE: [Engine-devel] Unable to add a Host
I don't have either of those installed.
They do exist in my .m2/repository however:
[cfrantz@cjf-ovirt-dev2 apache]$ pwd
/home/cfrantz/.m2/repository/org/apache
[cfrantz@cjf-ovirt-dev2 apache]$ find sshd sshd sshd/sshd-core
sshd/sshd-core/0.7.0
sshd/sshd-core/0.7.0/sshd-core-0.7.0.pom.sha1
sshd/sshd-core/0.7.0/sshd-core-0.7.0.pom
sshd/sshd-core/0.7.0/sshd-core-0.7.0.jar
sshd/sshd-core/0.7.0/sshd-core-0.7.0.jar.sha1
sshd/sshd-core/0.7.0/_maven.repositories
sshd/sshd-core/0.6.0
sshd/sshd-core/0.6.0/sshd-core-0.6.0.pom.sha1
sshd/sshd-core/0.6.0/sshd-core-0.6.0.jar
sshd/sshd-core/0.6.0/sshd-core-0.6.0.jar.sha1
sshd/sshd-core/0.6.0/sshd-core-0.6.0.pom
sshd/sshd-core/0.6.0/_maven.repositories
sshd/sshd
sshd/sshd/0.7.0
sshd/sshd/0.7.0/sshd-0.7.0.pom
sshd/sshd/0.7.0/sshd-0.7.0.pom.sha1
sshd/sshd/0.7.0/_maven.repositories
sshd/sshd/0.6.0
sshd/sshd/0.6.0/sshd-0.6.0.pom
sshd/sshd/0.6.0/_maven.repositories
sshd/sshd/0.6.0/sshd-0.6.0.pom.sha1
[cfrantz@cjf-ovirt-dev2 apache]$ find commons/commons-compress/
commons/commons-compress/
commons/commons-compress/1.3
commons/commons-compress/1.3/commons-compress-1.3.jar
commons/commons-compress/1.3/commons-compress-1.3.jar.sha1
commons/commons-compress/1.3/commons-compress-1.3.pom
commons/commons-compress/1.3/commons-compress-1.3.pom.sha1
commons/commons-compress/1.3/_maven.repositories
--Chris
-----Original Message-----
From: Alon Bar-Lev [mailto:alonbl@redhat.com]
Sent: Wednesday, January 16, 2013 9:59 AM
To: Frantz, Chris
Cc: engine-devel
Subject: Re: [Engine-devel] Unable to add a Host
Just to make sure, before we dig farther...
Can you please paste the output of:
$ rpm -q apache-sshd
$ rpm -q apache-commons-compress
Thanks!
----- Original Message -----
> From: "Chris Frantz" <Chris.Frantz(a)hp.com>
> To: "Alon Bar-Lev" <alonbl(a)redhat.com>
> Cc: "engine-devel" <engine-devel(a)ovirt.org>
> Sent: Wednesday, January 16, 2013 5:44:31 PM
> Subject: RE: [Engine-devel] Unable to add a Host
>
> Alon,
>
> I've attached engine.log and ovirt-host-deploy-*.log.
>
> My ovirt dev box is a Fedora 17 VM.
> Ovirt-engine: commit 70bbca687d42f4d058009397d05791d469d4c56c
> Otopi: commit 0bdd754f24c42b005d2543f6fe7705cd4d0a5f50
> Ovirt-host-deploy: commit aa0edd45b03da0b07be660742a611342395c52fb
>
> $ java -version
> java version "1.7.0_03-icedtea"
> OpenJDK Runtime Environment (fedora-2.2.1.fc17.8-x86_64) OpenJDK
> 64-Bit Server VM (build 23.0-b21, mixed mode)
>
> --Chris
>
>
> -----Original Message-----
> From: Alon Bar-Lev [mailto:alonbl@redhat.com]
> Sent: Wednesday, January 16, 2013 1:46 AM
> To: Frantz, Chris
> Cc: engine-devel
> Subject: Re: [Engine-devel] Unable to add a Host
>
>
>
> ----- Original Message -----
> > From: "Chris Frantz" <Chris.Frantz(a)hp.com>
> > To: "engine-devel" <engine-devel(a)ovirt.org>
> > Sent: Tuesday, January 15, 2013 9:57:11 PM
> > Subject: [Engine-devel] Unable to add a Host
> >
> >
> >
> >
> >
> > Hello,
> >
> >
> >
> > I’ve just built and deployed the latest ovirt-engine (and otopi
> > and ovirt-host-deploy), but I’m unable to add a host to my default
> > cluster.
> >
> >
> >
> > When I try to add a host, I get a message like this in the event
> > log:
> >
> >
> >
> > Host vsr19e1b4 installation failed. CallableStatementCallback; SQL
> > [{call insertauditlog(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,
> > ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: invalid byte sequence
> > for encoding "UTF8": 0x00; nested exception is
> > org.postgresql.util.PSQLException: ERROR: invalid byte sequence
> > for encoding "UTF8": 0x00.
> >
> >
> >
> > If I log into the target host and examine
> > /tmp/ovirt-host-deploy-*.log, I see something rather peculiar:
> >
> >
> >
> > 2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine
> > dialog.__logString:213 DIALOG:SEND ***CONFIRM DEPLOY_PROCEED
> > Proceed with ovirt-host-deploy
> >
> > 2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine
> > dialog.__logString:213 DIALOG:SEND ### Continuing will configure
> > this host for serving as hypervisor. Are you sure you want to
> > continue?
> > (yes/no)
> >
> > 2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine
> > dialog.__logString:213 DIALOG:SEND ### Response is CONFIRM
> > DEPLOY_PROCEED=yes|no or ABORT DEPLOY_PROCEED
> >
> > 2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine
> > dialog.__logString:213 DIALOG:RECEIVE [10240 nul bytes]CONFIRM
> > DEPLOY_PROCEED=yes
> >
> > 2013-01-14 12:45:59 DEBUG otopi.context
> > context._executeMethod:127
> > method exception
> >
> > Traceback (most recent call last):
> >
> > File "/tmp/ovirt-tOAzfQ4mqS/pythonlib/otopi/context.py", line 117,
> > in _executeMethod
> >
> > method['method']()
> >
> > File
> >
"/tmp/ovirt-tOAzfQ4mqS/otopi-plugins/ovirt-host-deploy/core/misc.py"
> > ,
> > line 74, in _confirm
> >
> > prompt=True,
> >
> > File
> > "/tmp/ovirt-tOAzfQ4mqS/otopi-plugins/otopi/dialog/machine.py",
> > line 338, in confirm
> >
> > code=opcode,
> >
> >
> >
> > It seems that the confirmation message is received, but is
> > preceded by 10k worth of nuls. Has anyone seen anything like this
> > before?
> > An
> > ideas on what I’ve got wrong?
>
> This is strange... can you: stop engine, rm
> /var/log/ovirt-engine/engine.log, start engine, reproduce and attach
> engine.log?
>
> Thanks!
> Alon
>