--_000_A24D665DC3ECC245A2EA0D9A958F80B631C2995BG9W0733americas_
Content-Type: text/plain; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
Hello,
I've just built and deployed the latest ovirt-engine (and otopi and ovirt-h=
ost-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 i=
nsertauditlog(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?=
, ?, ?, ?, ?, ?)}]; 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 s=
ee something rather peculiar:
2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logSt=
ring:213 DIALOG:SEND ***CONFIRM DEPLOY_PROCEED Proceed with ovirt-hos=
t-deploy
2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logSt=
ring:213 DIALOG:SEND ### Continuing will configure this host for serv=
ing as hypervisor. Are you sure you want to continue? (yes/no)
2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logSt=
ring:213 DIALOG:SEND ### Response is CONFIRM DEPLOY_PROCEED=3Dyes|no =
or ABORT DEPLOY_PROCEED
2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog.machine dialog.__logSt=
ring:213 DIALOG:RECEIVE [10240 nul bytes]CONFIRM DEPLOY_PROCEED=3Dyes
2013-01-14 12:45:59 DEBUG otopi.context context._executeMethod:127 method e=
xception
Traceback (most recent call last):
File "/tmp/ovirt-tOAzfQ4mqS/pythonlib/otopi/context.py", line 117, in _ex=
ecuteMethod
method['method']()
File "/tmp/ovirt-tOAzfQ4mqS/otopi-plugins/ovirt-host-deploy/core/misc.py"=
, line 74, in _confirm
prompt=3DTrue,
File "/tmp/ovirt-tOAzfQ4mqS/otopi-plugins/otopi/dialog/machine.py", line =
338, in confirm
code=3Dopcode,
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 wha=
t I've got wrong?
Thanks,
--Chris
--_000_A24D665DC3ECC245A2EA0D9A958F80B631C2995BG9W0733americas_
Content-Type: text/html; charset="us-ascii"
Content-Transfer-Encoding: quoted-printable
<html xmlns:v=3D"urn:schemas-microsoft-com:vml"
xmlns:o=3D"urn:schemas-micr=
osoft-com:office:office" xmlns:w=3D"urn:schemas-microsoft-com:office:word"
=
xmlns:m=3D"http://schemas.microsoft.com/office/2004/12/omml"
xmlns=3D"http:=
//www.w3.org/TR/REC-html40"
<head
<meta http-equiv=3D"Content-Type"
content=3D"text/html; charset=3Dus-ascii"=
<meta name=3D"Generator" content=3D"Microsoft
Word 12 (filtered medium)"
<style><!--
/* Font Definitions */
@font-face
{font-family:"Cambria Math";
panose-1:2 4 5 3 5 4 6 3 2 4;}
@font-face
{font-family:Calibri;
panose-1:2 15 5 2 2 2 4 3 2 4;}
/* Style Definitions */
p.MsoNormal, li.MsoNormal, div.MsoNormal
{margin:0in;
margin-bottom:.0001pt;
font-size:11.0pt;
font-family:"Calibri","sans-serif";}
a:link, span.MsoHyperlink
{mso-style-priority:99;
color:blue;
text-decoration:underline;}
a:visited, span.MsoHyperlinkFollowed
{mso-style-priority:99;
color:purple;
text-decoration:underline;}
span.EmailStyle17
{mso-style-type:personal-compose;
font-family:"Calibri","sans-serif";
color:windowtext;}
.MsoChpDefault
{mso-style-type:export-only;}
@page WordSection1
{size:8.5in 11.0in;
margin:1.0in 1.0in 1.0in 1.0in;}
div.WordSection1
{page:WordSection1;}
--></style><!--[if gte mso 9]><xml
<o:shapedefaults v:ext=3D"edit" spidmax=3D"1026" /
</xml><![endif]--><!--[if gte mso
9]><xml
<o:shapelayout
v:ext=3D"edit"
<o:idmap v:ext=3D"edit"
data=3D"1" /
</o:shapelayout></xml><![endif]--
</head
<body lang=3D"EN-US"
link=3D"blue" vlink=3D"purple"
<div
class=3D"WordSection1"
<p
class=3D"MsoNormal">Hello,<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">I’ve just
built and deployed the latest ovirt-=
engine (and otopi and ovirt-host-deploy), but I’m unable to add a hos=
t to my default cluster.<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">When I try to add a
host, I get a message like this =
in the event log:<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">Host vsr19e1b4
installation failed. CallableStatemen=
tCallback; SQL [{call insertauditlog(?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?,=
?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)}]; ERROR: invalid byte sequence for=
encoding "UTF8": 0x00; nested exception
is org.postgresql.util.PSQLException: ERROR: invalid byte sequence for enc=
oding "UTF8": 0x00.<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">If I log into the target
host and examine /tmp/ovirt=
-host-deploy-*.log, I see something rather peculiar:<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">2013-01-14 12:45:59
DEBUG otopi.plugins.otopi.dialog=
.machine dialog.__logString:213
DIALOG:SEND &n=
bsp; ***CONFIRM DEPLOY_PROCEED Proceed with
ovirt-host-deploy<o:p></o:p></p=
<p class=3D"MsoNormal">2013-01-14 12:45:59
DEBUG otopi.plugins.otopi.dialog=
.machine dialog.__logString:213
DIALOG:SEND &n=
bsp; ### Continuing will configure this host for serving as hypervisor. Are=
you sure you want to continue? (yes/no)<o:p></o:p></p
<p class=3D"MsoNormal">2013-01-14 12:45:59
DEBUG otopi.plugins.otopi.dialog=
.machine dialog.__logString:213
DIALOG:SEND &n=
bsp; ### Response is CONFIRM DEPLOY_PROCEED=3Dyes|no or ABORT DEPLOY_PROCEE=
D<o:p></o:p></p
<p
class=3D"MsoNormal">2013-01-14 12:45:59 DEBUG otopi.plugins.otopi.dialog=
.machine dialog.__logString:213 DIALOG:RECEIVE [10240 nul bytes=
]CONFIRM DEPLOY_PROCEED=3Dyes
<o:p></o:p></p
<p
class=3D"MsoNormal">2013-01-14 12:45:59 DEBUG otopi.context context._exe=
cuteMethod:127 method exception<o:p></o:p></p
<p
class=3D"MsoNormal">Traceback (most recent call
last):<o:p></o:p></p
<p
class=3D"MsoNormal"> File
"/tmp/ovirt-tOAzfQ4mqS/pythonlib/ot=
opi/context.py", line 117, in _executeMethod<o:p></o:p></p
<p
class=3D"MsoNormal">
method['method']()<o:p></o:p></p
<p
class=3D"MsoNormal"> File
"/tmp/ovirt-tOAzfQ4mqS/otopi-plugin=
s/ovirt-host-deploy/core/misc.py", line 74, in
_confirm<o:p></o:p></p
<p
class=3D"MsoNormal">
prompt=3DTrue,<o:p></o:p></p
<p
class=3D"MsoNormal"> File
"/tmp/ovirt-tOAzfQ4mqS/otopi-plugin=
s/otopi/dialog/machine.py", line 338, in confirm<o:p></o:p></p
<p
class=3D"MsoNormal">
code=3Dopcode,<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p class=3D"MsoNormal">It seems that the
confirmation message is received, =
but is preceded by 10k worth of nuls. Has anyone seen anything like t=
his before? An ideas on what I’ve got
wrong?<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
<p
class=3D"MsoNormal">Thanks,<o:p></o:p></p
<p
class=3D"MsoNormal">--Chris<o:p></o:p></p
<p
class=3D"MsoNormal"><o:p> </o:p></p
</div
</body
</html
--_000_A24D665DC3ECC245A2EA0D9A958F80B631C2995BG9W0733americas_--