[Engine-devel] Unable to add a Host

Alon Bar-Lev alonbl at redhat.com
Wed Jan 16 07:45:34 UTC 2013



----- 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



More information about the Engine-devel mailing list