Re: [Users] Failed to Start VM (Run Once) due to internal spice channel error

2013-03-19 Thread Omer Frenkel
- Original Message -

> From: "Tom Rogers" 
> To: "Omer Frenkel" 
> 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 < ofren...@redhat.com >
> wrote:

> > > From: "Tom Rogers" < trogers1...@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:
> > 
> 

> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > >  > > passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
> > > type="spice">
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 
> > > 
> > 
> 

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

> --

> --
> Tom Rogers
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Failed to Start VM (Run Once) due to internal spice channel error

2013-03-19 Thread David Jaša
Omer Frenkel píše v Út 19. 03. 2013 v 04:58 -0400:
>Od: 
> Omer Frenkel 
>  Komu: 
> Tom Rogers 
> Kopie: 
> users@ovirt.org
>   Předmět: 
> Re: [Users] Failed to Start VM (Run
> Once) due to internal spice
> channel error
> Datum: 
> 19.3.2013 09:58:23
> 
> 
> - Original Message -
> 
> > From: "Tom Rogers" 
> > 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:
> 
> > 
> > 
> > 
> >  > passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
> > type="spice">
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> > 
> 
> > 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 

sounds like vdsm didn't get right schannel -> channel name change [1].
It should either implement magic like spice-xpi:
http://cgit.freedesktop.org/spice/spice-xpi/tree/SpiceXPI/src/plugin/plugin.cpp#n320
or stop any channel name mangling altogether for recent enough clusters.

David

> 
> 
-- 

David Jaša, RHCE

SPICE QE based in Brno
GPG Key: 22C33E24 
Fingerprint: 513A 060B D1B4 2A72 7F0D 0278 B125 CD00 22C3 3E24



___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Failed to Start VM (Run Once) due to internal spice channel error

2013-03-19 Thread Omer Frenkel
- Original Message -

> From: "Tom Rogers" 
> 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:

> 
> 
> 
>  passwdValidTo="1970-01-01T00:00:01" port="-1" tlsPort="-1"
> type="spice">
> 
> 
> 
> 
> 
> 
> 
> 
> 

> 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 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


[Users] Failed to Start VM (Run Once) due to internal spice channel error

2013-03-18 Thread Tom Rogers
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:

















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