[Engine-devel] Unable to add a Host

Frantz, Chris Chris.Frantz at hp.com
Wed Jan 16 15:44:31 UTC 2013


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 at 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 at hp.com>
> To: "engine-devel" <engine-devel at 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
-------------- next part --------------
A non-text attachment was scrubbed...
Name: engine.log
Type: application/octet-stream
Size: 53903 bytes
Desc: engine.log
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20130116/eb0736be/attachment-0004.obj>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: ovirt-host-deploy-20130116093015.log
Type: application/octet-stream
Size: 63843 bytes
Desc: ovirt-host-deploy-20130116093015.log
URL: <http://lists.ovirt.org/pipermail/devel/attachments/20130116/eb0736be/attachment-0005.obj>


More information about the Devel mailing list