------=_Part_21945715_1396613307.1363700583069
Content-Type: text/plain; charset=utf-8
Content-Transfer-Encoding: 7bit
----- Original Message -----
From: "Tom Rogers" <trogers1884(a)gmail.com>
To: "Omer Frenkel" <ofrenkel(a)redhat.com>
Sent: Tuesday, March 19, 2013 3:29:03 PM
Subject: Re: [Users] Failed to Start VM (Run Once) due to internal
spice channel error
Thanks Omer
I'm attaching the vdsm log and the libvirt log. They both pretty
much
say the same thing, but from the vdsm.log, it looks like to us that
the data is being pulled from the database ok but is being parsed
incorrectly for spice.
Thanks again.
Tom Rogers
well following David's comment,
looking at
http://gerrit.ovirt.org/#/c/12697
it seems that the name change some how caused this.
Ravi, how did you verify this? what is missing?
is it a bug in vdsm parsing?
On Tue, Mar 19, 2013 at 3:58 AM, Omer Frenkel <
ofrenkel(a)redhat.com >
wrote:
> > From: "Tom Rogers" < trogers1884(a)gmail.com
>
>
> > To: users(a)ovirt.org
>
> > Sent: Monday, March 18, 2013 10:22:52 PM
>
> > Subject: [Users] Failed to Start VM (Run Once) due to internal
> > spice
> > channel error
>
> > When trying to run a first time (Run Once) VM install, the
vm
> > session
> > fails to start. When we look into the libvirtd.log on the host,
> > we
> > find the following error:
>
> > virDomainGraphicsDefParseXML:6566 : internal error unknown
spice
> > channel name ain
>
> > in the lines right above message, contained in the xmlDESC
we
> > find
> > the following snippet:
>
> > <channel type="spicevmc">
>
> > <target name="com.redhat.spice.0" type="virtio"/>
>
> > </channel>
>
> > <graphics autoport="yes" keymap="en-us"
listen="0" passwd="*****"
> > passwdValidTo="1970-01-01T00:00:01" port="-1"
tlsPort="-1"
> > type="spice">
>
> > <channel mode="secure" name="ain"/>
>
> > <channel mode="secure" name="nputs"/>
>
> > <channel mode="secure" name="ursor"/>
>
> > <channel mode="secure" name="layback"/>
>
> > <channel mode="secure" name="ecord"/>
>
> > <channel mode="secure" name="isplay"/>
>
> > <channel mode="secure" name="sbredir"/>
>
> > <channel mode="secure" name="martcard"/>
>
> > </graphics>
>
> > It looks to us that the xml may be malformed due to the
seemingly
> > first character missing in the channel names.
>
> > Does this make any sense to anyone?
>
> > On master:
>
> > Ovirt-engine 3.3.0-0.2.master.20130313215708
>
> > On node:
>
> > qemu-kvm 1.2.2-7.fc18
>
> > vdsm-xmlrpc 4.10.3-10.fc18
>
> > libvirt-daemon 0.10.2.3-1.fc18
>
> > ------------------------------------------
>
> > Tom Rogers
>
> > _______________________________________________
>
> > Users mailing list
>
> > Users(a)ovirt.org
>
> >
http://lists.ovirt.org/mailman/listinfo/users
>
> indeed looks like first letter is missing, this is what the
engine
> sends:
> engine=# select * from vdc_options where option_name =
> 'SpiceSecureChannels';
> option_id | option_name | option_value | version
>
-----------+---------------------+---------------------------------------------------------------+---------
> 345 | SpiceSecureChannels | smain,sinputs | 3.0
> 346 | SpiceSecureChannels |
> main,inputs,cursor,playback,record,display,usbredir,smartcard | 3.1
> 347 | SpiceSecureChannels |
> main,inputs,cursor,playback,record,display,usbredir,smartcard | 3.2
> 348 | SpiceSecureChannels |
> main,inputs,cursor,playback,record,display,usbredir,smartcard | 3.3
> can you please attach relevant vdsm log for this run?
> Thanks
--
------------------------------------------
Tom Rogers
------=_Part_21945715_1396613307.1363700583069
Content-Type: text/html; charset=utf-8
Content-Transfer-Encoding: quoted-printable
<html><head><style type=3D'text/css'>p { margin: 0;
}</style></head><body><=
div style=3D'font-family: times new roman,new york,times,serif; font-size: =
12pt; color: #000000'><br><br><hr
id=3D"zwchr"><blockquote style=3D"border-=
left:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000=
;font-weight:normal;font-style:normal;text-decoration:none;font-family:Helv=
etica,Arial,sans-serif;font-size:12pt;"><b>From: </b>"Tom
Rogers" <troge=
rs1884(a)gmail.com&gt;<br><b>To: </b>"Omer Frenkel"
&lt;ofrenkel(a)redhat.com&g=
t;<br><b>Sent: </b>Tuesday, March 19, 2013 3:29:03
PM<br><b>Subject: </b>Re=
: [Users] Failed to Start VM (Run Once) due to internal spice channel error=
<br><br><div
dir=3D"ltr"><div><div><div>Thanks
Omer<br><br></div>I'm attach=
ing the vdsm log and the libvirt log. They both pretty much say the same th=
ing, but from the vdsm.log, it looks like to us that the data is being pull=
ed from the database ok but is being parsed incorrectly for spice.<br>
<br></div>Thanks again.<br></div>Tom
Rogers<br></div><div id=3D"DWT2674" cl=
ass=3D"gmail_extra"><br></div></blockquote>well following
David's comment,<=
br>looking at <
br>http://gerrit.ovirt.org/#/c/12697<br>it seems that the
na=
me change some how caused this.<br>Ravi, how did you verify this? what is m=
issing?<br>is it a bug in vdsm parsing?<br><blockquote
style=3D"border-left=
:2px solid rgb(16, 16, 255);margin-left:5px;padding-left:5px;color:#000;fon=
t-weight:normal;font-style:normal;text-decoration:none;font-family:Helvetic=
a,Arial,sans-serif;font-size:12pt;"><div
class=3D"gmail_extra"><br><div cla=
ss=3D"gmail_quote">On Tue, Mar 19, 2013 at 3:58 AM, Omer Frenkel <span
dir=
=3D"ltr"><<a href=3D"mailto:ofrenkel@redhat.com"
target=3D"_blank">ofren=
kel(a)redhat.com</a>&gt;</span> wrote:<br>
<blockquote class=3D"gmail_quote" style=3D"margin:0 0 0
.8ex;border-left:1p=
x #ccc solid;padding-left:1ex"><div><div
style=3D"font-size:12pt;font-famil=
y:times new roman,new
york,times,serif"><br><br><hr><blockquote style=3D"pa=
dding-left:5px;font-size:12pt;font-style:normal;margin-left:5px;font-family=
:Helvetica,Arial,sans-serif;text-decoration:none;font-weight:normal;border-=
left:2px solid rgb(16,16,255)">
<b>From: </b>"Tom Rogers" <<a
href=3D"mailto:trogers1884@gmail.com" targ=
et=3D"_blank">trogers1884(a)gmail.com</a>&gt;<br><b>To:
</b><a href=3D"mailto=
:users@ovirt.org"
target=3D"_blank">users(a)ovirt.org</a><br><b>Sent:
</b>Mon=
day, March 18, 2013 10:22:52 PM<br>
<b>Subject: </b>[Users] Failed to Start VM (Run Once) due to internal spice=
channel error<div><div
clas=
s=3D"h5"><br><br><div dir=3D"ltr"><br
clear=3D"all">When trying to run a fi=
rst time (Run Once) VM install, the vm session fails to start. When we look=
into the libvirtd.log on the host, we find the following error:<br>
<br>virDomainGraphicsDefParseXML:6566 : internal error unknown spice channe=
l name ain<br>
<br>in the lines right above message, contained in the xmlDESC we find the =
following
snippet:<br><br> &=
nbsp; <channel
type=3D"spicevmc">=
<br>  =
;
<tar=
get name=3D"com.redhat.spice.0" type=3D"virtio"/><br>
&nb=
sp;
</channel><br> &nb=
sp;
<graphics autoport=
=3D"yes" keymap=3D"en-us" listen=3D"0"
passwd=3D"*****" passwdValidTo=3D"19=
70-01-01T00:00:01" port=3D"-1" tlsPort=3D"-1"
type=3D"spice"><br>
&nb=
sp;
<channel=
mode=3D"secure"
name=3D"ain"/><br> &=
nbsp; &nbs=
p; <channel mode=3D"secure"
name=3D"nputs"/><=
br> =
<chan=
nel mode=3D"secure" name=3D"ursor"/><br>
&nb=
sp;
<channel=
mode=3D"secure"
name=3D"layback"/><br> &nb=
sp; =
<channel
mode=3D"secure" name=3D"ecord"/&=
gt;<br> &n=
bsp;
<=
channel mode=3D"secure" name=3D"isplay"/><br>
&nb=
sp;
<channel=
mode=3D"secure"
name=3D"sbredir"/><br> &nb=
sp; =
<channel
mode=3D"secure" name=3D"martcard=
"/><br>  =
; </graphics><br>
<br><br><br>It looks to us that the xml may be malformed due to the
seeming=
ly first character missing in the channel names.<br><br>Does this make any =
sense to anyone?<br><br><br>On
master:<br>Ovirt-engine 3.3.0-0.=
2.master.20130313215708<br>
<br>On node:<br>qemu-kvm 1.2.2-7.fc18<br>vdsm-xmlrpc
4.10.3-10.fc18<br>libv=
irt-daemon
0.10.2.3-1.fc18<br><br><br><br>---------------------------------=
---------<br>Tom Rogers<br>
</div>
<br></div></div>_______________________________________________<br>Users
ma=
iling list<br><a href=3D"mailto:Users@ovirt.org"
target=3D"_blank">Users@ov=
irt.org</a><br><a
href=3D"http://lists.ovirt.org/mailman/listinfo/users" ta=
rget=3D"_blank">http://lists.ovirt.org/mailman/listinfo/user...
</blockquote>indeed looks like first letter is missing, this is what the en=
gine sends:<br><br>engine=3D# select * from vdc_options where option_name =
=3D 'SpiceSecureChannels';<br> option_id
| opt=
ion_name
|  =
; &n=
bsp;
option_value &nbs=
p; &=
nbsp; | version <br>
-----------+---------------------+-----------------------------------------=
----------------------+---------<br>
34=
5 | SpiceSecureChannels |
smain,sinputs =
&nb=
sp; =
&nb=
sp; |
3.0<br> 3=
46 | SpiceSecureChannels | main,inputs,cursor,playback,record,display,usbre=
dir,smartcard | 3.1<br>
347 | SpiceSecureChannels |
main,input=
s,cursor,playback,record,display,usbredir,smartcard |
3.2<br> &n=
bsp; 348 | SpiceSecureChannels | main,inputs,cursor,playb=
ack,record,display,usbredir,smartcard | 3.3<br><br>can you please attach re=
levant vdsm log for this run?<br>
Thanks<br></div></div></blockquote></div><br><br
clear=3D"all"><br>-- <br><=
br>------------------------------------------<br>Tom Rogers<br>
</div>
</blockquote><br></div></body></html>
------=_Part_21945715_1396613307.1363700583069--