
------=_Part_21844302_722858800.1363683503159 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit ----- Original Message -----
From: "Tom Rogers" <trogers1884@gmail.com> To: users@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@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 ------=_Part_21844302_722858800.1363683503159 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@gmail.com><br><b>To: </b>users@ovirt.org<br><b>Sent: </b>Monday, = March 18, 2013 10:22:52 PM<br><b>Subject: </b>[Users] Failed to Start VM (R= un Once) due to internal spice channel &= nbsp; error<br><br><div dir=3D"ltr"><br clear=3D"all">When trying to r= un 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:<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>_______________________________________________<br>Users mailing list<b= r>Users@ovirt.org<br>http://lists.ovirt.org/mailman/listinfo/users<br></blo= ckquote>indeed looks like first letter is missing, this is what the engine = sends:<br><br>engine=3D# select * from vdc_options where option_name =3D 'S= piceSecureChannels';<br> option_id | option_na= me |  = ; &n= bsp; option_value &nbs= p; &= nbsp; | version <br>-----------+-------------= --------+---------------------------------------------------------------+--= -------<br> 345 | SpiceSecureChannels |= smain,sinputs &= nbsp; &nbs= p; &= nbsp; &nbs= p; | 3.0<br> 346 | SpiceSecureChannels = | main,inputs,cursor,playback,record,display,usbredir,smartcard | 3.1<br>&n= bsp; 347 | SpiceSecureChannels | main,inputs,= cursor,playback,record,display,usbredir,smartcard | 3.2<br> &nbs= p; 348 | SpiceSecureChannels | main,inputs,cursor,playbac= k,record,display,usbredir,smartcard | 3.3<br><br>can you please attach rele= vant vdsm log for this run?<br>Thanks<br></div></body></html> ------=_Part_21844302_722858800.1363683503159--