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

 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 
___
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 ofren...@redhat.com
  Komu: 
 Tom Rogers trogers1...@gmail.com
 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 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:
 
  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 

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 trogers1...@gmail.com
 To: Omer Frenkel ofren...@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  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:
  
 

   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
 

 --

 --
 Tom Rogers
___
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:

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


Re: [Users] Failed to start VM

2012-04-26 Thread Mohsen Saeedi

  
  

  Hi again
  I used the following command and it worked for me! great
  psql engine -U postgres -c "UPDATE vdc_options set option_value
= 'rhel6.2.0' where option_name = 'EmulatedMachine'"
  
  
  but why? I want to know about this problem concept. I know
about psql command.
  
  
  Itamar
  Heim ih...@redhat.com wrote on Thu, 26 Apr
  2012 10:06:39 +0300:
On
  04/26/2012 09:19 AM, Mohsen Saeedi wrote:
  
  Hi


I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured
anything

correctly. I defined ISO Domain and Data Domain for iso file and
virtual

machine file under NFS storage. I made new virtual server with
CentOS

6.2 x64 and assigned redhat 6.2 x64 as linux type.


But when i start VM it failed to start. I read libvirtd log and
it write

a error on libvirtd.log:


2012-04-25 21:04:59.952+: 1705: error :

qemuProcessReadLogOutput:1005 : internal error Process exited
while

reading console log output: Supported machines are:

pc RHEL 6.2.0 PC (alias of rhel6.2.0)

rhel6.2.0 RHEL 6.2.0 PC (default)

rhel6.1.0 RHEL 6.1.0 PC

rhel6.0.0 RHEL 6.0.0 PC

rhel5.5.0 RHEL 5.5.0 PC

rhel5.4.4 RHEL 5.4.4 PC

rhel5.4.0 RHEL 5.4.0 PC


What is the problem. I'm experience user on RHEL with 10 more
years work

as administrator and i have good knowledge about KVM and virt
manager

but i'm semi-pro on ovrit!



Thanks for help



___

Users mailing list

Users@ovirt.org

http://lists.ovirt.org/mailman/listinfo/users

  
  
  look at EmulatedMachine parameter:
  
  http://lists.ovirt.org/pipermail/users/2012-January/000278.html
  
  http://www.ovirt.org/wiki/User:Lhornyak
  
  http://ovirt.org/wiki/Engine_Node_Integration
  
  http://gerrit.ovirt.org/#change,3893
  

  

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


Re: [Users] Failed to start VM

2012-04-26 Thread Andrew Cathrow


- Original Message -
 From: Mohsen Saeedi mohsen.sae...@gmail.com
 To: Itamar Heim ih...@redhat.com
 Cc: users@ovirt.org
 Sent: Thursday, April 26, 2012 2:53:01 PM
 Subject: Re: [Users] Failed to start VM
 
 
 
 
 
 Hi again
 
 I used the following command and it worked for me! great
 
 psql engine -U postgres -c UPDATE vdc_options set option_value =
 'rhel6.2.0' where option_name = 'EmulatedMachine'
 
 
 
 
 but why? I want to know about this problem concept. I know about psql
 command.

We need a stable machine type to ensure migration, you can have different 
qemu-kvm versions on different hosts but as long as they support the same 
stable machine type they will have compatibility for migration.
The setting which you set in database (but see patch below to make it a config 
option) allows you to specify the required machine type.
Fedora uses machine types like pc-0.15 pc-0.14 pc-1.0 where as RHEL users 
different machine types.


 
 Itamar Heim ih...@redhat.com wrote on Thu, 26 Apr 2012 10:06:39
 +0300:
 
 On 04/26/2012 09:19 AM, Mohsen Saeedi wrote:
 
 
 Hi
 
 I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured anything
 correctly. I defined ISO Domain and Data Domain for iso file and
 virtual
 machine file under NFS storage. I made new virtual server with CentOS
 6.2 x64 and assigned redhat 6.2 x64 as linux type.
 
 But when i start VM it failed to start. I read libvirtd log and it
 write
 a error on libvirtd.log:
 
 2012-04-25 21:04:59.952+: 1705: error :
 qemuProcessReadLogOutput:1005 : internal error Process exited while
 reading console log output: Supported machines are:
 pc RHEL 6.2.0 PC (alias of rhel6.2.0)
 rhel6.2.0 RHEL 6.2.0 PC (default)
 rhel6.1.0 RHEL 6.1.0 PC
 rhel6.0.0 RHEL 6.0.0 PC
 rhel5.5.0 RHEL 5.5.0 PC
 rhel5.4.4 RHEL 5.4.4 PC
 rhel5.4.0 RHEL 5.4.0 PC
 
 What is the problem. I'm experience user on RHEL with 10 more years
 work
 as administrator and i have good knowledge about KVM and virt manager
 but i'm semi-pro on ovrit!
 
 
 Thanks for help
 
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
 look at EmulatedMachine parameter:
 http://lists.ovirt.org/pipermail/users/2012-January/000278.html
 http://www.ovirt.org/wiki/User:Lhornyak
 http://ovirt.org/wiki/Engine_Node_Integration
 http://gerrit.ovirt.org/#change,3893
 
 ___
 Users mailing list
 Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
 
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Failed to start VM

2012-04-26 Thread Mohsen Saeedi

  
  

  Thanks. but i have another problem. I changed attach cd but i
got error when ovirt trying to updagte VM!
  2012-04-26 18:08:55.451+: 1629: error :
virNetSocketReadWire:911 : End of file while reading data:
Input/output error
2012-04-26 18:43:53.498+: 1636: error :
qemuMonitorJSONCheckError:318 : internal error unable to execute
QEMU command 'change': Device 'drive-ide0-1-0' is locked
2012-04-26 18:45:35.922+: 1633: warning :
qemuDomainObjTaint:1123 : Domain id=4 name='Fedora'
uuid=98ef9d18-b74a-4ef5-884b-34ca32a2a2b0 is tainted:
custom-monitor
  It's unable to eject cd. what's the solution?
  and another question is where can i get the patch you told in
your answer? i didn't see any file or link.
  
  Thanks.
  
  
  Andrew
  Cathrow acath...@redhat.com wrote on Thu, 26
  Apr 2012 15:00:43 -0400 (EDT):

  

- Original Message -

  
From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Itamar Heim" ih...@redhat.com
Cc: users@ovirt.org
Sent: Thursday, April 26, 2012 2:53:01 PM
Subject: Re: [Users] Failed to start VM





Hi again

I used the following command and it worked for me! great

psql engine -U postgres -c "UPDATE vdc_options set option_value =
'rhel6.2.0' where option_name = 'EmulatedMachine'"




but why? I want to know about this problem concept. I know about psql
command.

  
  
We need a stable machine type to ensure migration, you can have different qemu-kvm versions on different hosts but as long as they support the same stable machine type they will have compatibility for migration.
The setting which you set in database (but see patch below to make it a config option) allows you to specify the required machine type.
Fedora uses machine types like pc-0.15 pc-0.14 pc-1.0 where as RHEL users different machine types.



  

Itamar Heim ih...@redhat.com wrote on Thu, 26 Apr 2012 10:06:39
+0300:

On 04/26/2012 09:19 AM, Mohsen Saeedi wrote:


Hi

I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured anything
correctly. I defined ISO Domain and Data Domain for iso file and
virtual
machine file under NFS storage. I made new virtual server with CentOS
6.2 x64 and assigned redhat 6.2 x64 as linux type.

But when i start VM it failed to start. I read libvirtd log and it
write
a error on libvirtd.log:

2012-04-25 21:04:59.952+: 1705: error :
qemuProcessReadLogOutput:1005 : internal error Process exited while
reading console log output: Supported machines are:
pc RHEL 6.2.0 PC (alias of rhel6.2.0)
rhel6.2.0 RHEL 6.2.0 PC (default)
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC
rhel5.5.0 RHEL 5.5.0 PC
rhel5.4.4 RHEL 5.4.4 PC
rhel5.4.0 RHEL 5.4.0 PC

What is the problem. I'm experience user on RHEL with 10 more years
work
as administrator and i have good knowledge about KVM and virt manager
but i'm semi-pro on ovrit!


Thanks for help


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

look at EmulatedMachine parameter:
http://lists.ovirt.org/pipermail/users/2012-January/000278.html
http://www.ovirt.org/wiki/User:Lhornyak
http://ovirt.org/wiki/Engine_Node_Integration
http://gerrit.ovirt.org/#change,3893

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


  

  

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


Re: [Users] Failed to start VM

2012-04-26 Thread Andrew Cathrow


- Original Message -
 From: Mohsen Saeedi mohsen.sae...@gmail.com
 To: Andrew Cathrow acath...@redhat.com
 Cc: users@ovirt.org, Itamar Heim ih...@redhat.com
 Sent: Thursday, April 26, 2012 3:05:00 PM
 Subject: Re: [Users] Failed to start VM
 
 
 
 
 Thanks. but i have another problem. I changed attach cd but i got
 error when ovirt trying to updagte VM!
 
 2012-04-26 18:08:55.451+: 1629: error : virNetSocketReadWire:911
 : End of file while reading data: Input/output error
 2012-04-26 18:43:53.498+: 1636: error :
 qemuMonitorJSONCheckError:318 : internal error unable to execute
 QEMU command 'change': Device 'drive-ide0-1-0' is locked
 2012-04-26 18:45:35.922+: 1633: warning : qemuDomainObjTaint:1123
 : Domain id=4 name='Fedora'
 uuid=98ef9d18-b74a-4ef5-884b-34ca32a2a2b0 is tainted: custom-monitor
 
 It's unable to eject cd. what's the solution?
 
 and another question is where can i get the patch you told in your
 answer? i didn't see any file or link.
 
 

Last link at the bottom - http://gerrit.ovirt.org/#change,3893

 Thanks.
 
 Andrew Cathrow acath...@redhat.com wrote on Thu, 26 Apr 2012
 15:00:43 -0400 (EDT):
 
 - Original Message -
 
 From: Mohsen Saeedi mohsen.sae...@gmail.com To: Itamar Heim
 ih...@redhat.com Cc: users@ovirt.org Sent: Thursday, April 26,
 2012 2:53:01 PM
 Subject: Re: [Users] Failed to start VM
 
 
 
 
 
 Hi again
 
 I used the following command and it worked for me! great
 
 psql engine -U postgres -c UPDATE vdc_options set option_value =
 'rhel6.2.0' where option_name = 'EmulatedMachine'
 
 
 
 
 but why? I want to know about this problem concept. I know about psql
 command. We need a stable machine type to ensure migration, you can
 have different qemu-kvm versions on different hosts but as long as
 they support the same stable machine type they will have
 compatibility for migration.
 The setting which you set in database (but see patch below to make it
 a config option) allows you to specify the required machine type.
 Fedora uses machine types like pc-0.15 pc-0.14 pc-1.0 where as RHEL
 users different machine types.
 
 Itamar Heim ih...@redhat.com wrote on Thu, 26 Apr 2012 10:06:39
 +0300:
 
 On 04/26/2012 09:19 AM, Mohsen Saeedi wrote:
 
 
 Hi
 
 I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured anything
 correctly. I defined ISO Domain and Data Domain for iso file and
 virtual
 machine file under NFS storage. I made new virtual server with CentOS
 6.2 x64 and assigned redhat 6.2 x64 as linux type.
 
 But when i start VM it failed to start. I read libvirtd log and it
 write
 a error on libvirtd.log:
 
 2012-04-25 21:04:59.952+: 1705: error :
 qemuProcessReadLogOutput:1005 : internal error Process exited while
 reading console log output: Supported machines are:
 pc RHEL 6.2.0 PC (alias of rhel6.2.0)
 rhel6.2.0 RHEL 6.2.0 PC (default)
 rhel6.1.0 RHEL 6.1.0 PC
 rhel6.0.0 RHEL 6.0.0 PC
 rhel5.5.0 RHEL 5.5.0 PC
 rhel5.4.4 RHEL 5.4.4 PC
 rhel5.4.0 RHEL 5.4.0 PC
 
 What is the problem. I'm experience user on RHEL with 10 more years
 work
 as administrator and i have good knowledge about KVM and virt manager
 but i'm semi-pro on ovrit!
 
 
 Thanks for help
 
 
 ___
 Users mailing list Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users look at
 EmulatedMachine parameter:
 http://lists.ovirt.org/pipermail/users/2012-January/000278.html
 http://www.ovirt.org/wiki/User:Lhornyak
 http://ovirt.org/wiki/Engine_Node_Integration
 http://gerrit.ovirt.org/#change,3893
 ___
 Users mailing list Users@ovirt.org
 http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Failed to start VM

2012-04-26 Thread Andrew Cathrow


- Original Message -
 From: Andrew Cathrow acath...@redhat.com
 To: Mohsen Saeedi mohsen.sae...@gmail.com
 Cc: users@ovirt.org, Itamar Heim ih...@redhat.com
 Sent: Thursday, April 26, 2012 3:13:43 PM
 Subject: Re: [Users] Failed to start VM
 
 
 
 - Original Message -
  From: Mohsen Saeedi mohsen.sae...@gmail.com
  To: Andrew Cathrow acath...@redhat.com
  Cc: users@ovirt.org, Itamar Heim ih...@redhat.com
  Sent: Thursday, April 26, 2012 3:05:00 PM
  Subject: Re: [Users] Failed to start VM
  
  
  
  
  Thanks. but i have another problem. I changed attach cd but i got
  error when ovirt trying to updagte VM!
  
  2012-04-26 18:08:55.451+: 1629: error :
  virNetSocketReadWire:911
  : End of file while reading data: Input/output error
  2012-04-26 18:43:53.498+: 1636: error :
  qemuMonitorJSONCheckError:318 : internal error unable to execute
  QEMU command 'change': Device 'drive-ide0-1-0' is locked
  2012-04-26 18:45:35.922+: 1633: warning :
  qemuDomainObjTaint:1123
  : Domain id=4 name='Fedora'
  uuid=98ef9d18-b74a-4ef5-884b-34ca32a2a2b0 is tainted:
  custom-monitor
  
  It's unable to eject cd. what's the solution?
  
  and another question is where can i get the patch you told in your
  answer? i didn't see any file or link.
  
  
 
 Last link at the bottom - http://gerrit.ovirt.org/#change,3893

well, that's part of a series of changes ...
 
  Thanks.
  
  Andrew Cathrow acath...@redhat.com wrote on Thu, 26 Apr 2012
  15:00:43 -0400 (EDT):
  
  - Original Message -
  
  From: Mohsen Saeedi mohsen.sae...@gmail.com To: Itamar Heim
  ih...@redhat.com Cc: users@ovirt.org Sent: Thursday, April 26,
  2012 2:53:01 PM
  Subject: Re: [Users] Failed to start VM
  
  
  
  
  
  Hi again
  
  I used the following command and it worked for me! great
  
  psql engine -U postgres -c UPDATE vdc_options set option_value =
  'rhel6.2.0' where option_name = 'EmulatedMachine'
  
  
  
  
  but why? I want to know about this problem concept. I know about
  psql
  command. We need a stable machine type to ensure migration, you can
  have different qemu-kvm versions on different hosts but as long as
  they support the same stable machine type they will have
  compatibility for migration.
  The setting which you set in database (but see patch below to make
  it
  a config option) allows you to specify the required machine type.
  Fedora uses machine types like pc-0.15 pc-0.14 pc-1.0 where as RHEL
  users different machine types.
  
  Itamar Heim ih...@redhat.com wrote on Thu, 26 Apr 2012 10:06:39
  +0300:
  
  On 04/26/2012 09:19 AM, Mohsen Saeedi wrote:
  
  
  Hi
  
  I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured
  anything
  correctly. I defined ISO Domain and Data Domain for iso file and
  virtual
  machine file under NFS storage. I made new virtual server with
  CentOS
  6.2 x64 and assigned redhat 6.2 x64 as linux type.
  
  But when i start VM it failed to start. I read libvirtd log and it
  write
  a error on libvirtd.log:
  
  2012-04-25 21:04:59.952+: 1705: error :
  qemuProcessReadLogOutput:1005 : internal error Process exited while
  reading console log output: Supported machines are:
  pc RHEL 6.2.0 PC (alias of rhel6.2.0)
  rhel6.2.0 RHEL 6.2.0 PC (default)
  rhel6.1.0 RHEL 6.1.0 PC
  rhel6.0.0 RHEL 6.0.0 PC
  rhel5.5.0 RHEL 5.5.0 PC
  rhel5.4.4 RHEL 5.4.4 PC
  rhel5.4.0 RHEL 5.4.0 PC
  
  What is the problem. I'm experience user on RHEL with 10 more years
  work
  as administrator and i have good knowledge about KVM and virt
  manager
  but i'm semi-pro on ovrit!
  
  
  Thanks for help
  
  
  ___
  Users mailing list Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users look at
  EmulatedMachine parameter:
  http://lists.ovirt.org/pipermail/users/2012-January/000278.html
  http://www.ovirt.org/wiki/User:Lhornyak
  http://ovirt.org/wiki/Engine_Node_Integration
  http://gerrit.ovirt.org/#change,3893
  ___
  Users mailing list Users@ovirt.org
  http://lists.ovirt.org/mailman/listinfo/users
___
Users mailing list
Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


Re: [Users] Failed to start VM

2012-04-26 Thread Mohsen Saeedi

  
  
what is the solution for complete unmount older CD
  and attach new cd to VM?
  
  Andrew
  Cathrow acath...@redhat.com wrote on Thu, 26
  Apr 2012 15:13:56 -0400 (EDT):

  

- Original Message -

  
From: "Andrew Cathrow" acath...@redhat.com
To: "Mohsen Saeedi" mohsen.sae...@gmail.com
Cc: users@ovirt.org, "Itamar Heim" ih...@redhat.com
Sent: Thursday, April 26, 2012 3:13:43 PM
Subject: Re: [Users] Failed to start VM



- Original Message -


  From: "Mohsen Saeedi" mohsen.sae...@gmail.com
To: "Andrew Cathrow" acath...@redhat.com
Cc: users@ovirt.org, "Itamar Heim" ih...@redhat.com
Sent: Thursday, April 26, 2012 3:05:00 PM
Subject: Re: [Users] Failed to start VM




Thanks. but i have another problem. I changed attach cd but i got
error when ovirt trying to updagte VM!

2012-04-26 18:08:55.451+: 1629: error :
virNetSocketReadWire:911
: End of file while reading data: Input/output error
2012-04-26 18:43:53.498+: 1636: error :
qemuMonitorJSONCheckError:318 : internal error unable to execute
QEMU command 'change': Device 'drive-ide0-1-0' is locked
2012-04-26 18:45:35.922+: 1633: warning :
qemuDomainObjTaint:1123
: Domain id=4 name='Fedora'
uuid=98ef9d18-b74a-4ef5-884b-34ca32a2a2b0 is tainted:
custom-monitor

It's unable to eject cd. what's the solution?

and another question is where can i get the patch you told in your
answer? i didn't see any file or link.





Last link at the bottom - http://gerrit.ovirt.org/#change,3893

  
  
well, that's part of a series of changes ...

  



  Thanks.

Andrew Cathrow acath...@redhat.com wrote on Thu, 26 Apr 2012
15:00:43 -0400 (EDT):

- Original Message -

From: "Mohsen Saeedi" mohsen.sae...@gmail.com To: "Itamar Heim"
ih...@redhat.com Cc: users@ovirt.org Sent: Thursday, April 26,
2012 2:53:01 PM
Subject: Re: [Users] Failed to start VM





Hi again

I used the following command and it worked for me! great

psql engine -U postgres -c "UPDATE vdc_options set option_value =
'rhel6.2.0' where option_name = 'EmulatedMachine'"




but why? I want to know about this problem concept. I know about
psql
command. We need a stable machine type to ensure migration, you can
have different qemu-kvm versions on different hosts but as long as
they support the same stable machine type they will have
compatibility for migration.
The setting which you set in database (but see patch below to make
it
a config option) allows you to specify the required machine type.
Fedora uses machine types like pc-0.15 pc-0.14 pc-1.0 where as RHEL
users different machine types.

Itamar Heim ih...@redhat.com wrote on Thu, 26 Apr 2012 10:06:39
+0300:

On 04/26/2012 09:19 AM, Mohsen Saeedi wrote:


Hi

I setup ovirt with vdsm on the CentOS 6.2 x64 . I configured
anything
correctly. I defined ISO Domain and Data Domain for iso file and
virtual
machine file under NFS storage. I made new virtual server with
CentOS
6.2 x64 and assigned redhat 6.2 x64 as linux type.

But when i start VM it failed to start. I read libvirtd log and it
write
a error on libvirtd.log:

2012-04-25 21:04:59.952+: 1705: error :
qemuProcessReadLogOutput:1005 : internal error Process exited while
reading console log output: Supported machines are:
pc RHEL 6.2.0 PC (alias of rhel6.2.0)
rhel6.2.0 RHEL 6.2.0 PC (default)
rhel6.1.0 RHEL 6.1.0 PC
rhel6.0.0 RHEL 6.0.0 PC
rhel5.5.0 RHEL 5.5.0 PC
rhel5.4.4 RHEL 5.4.4 PC
rhel5.4.0 RHEL 5.4.0 PC

What is the problem. I'm experience user on RHEL with 10 more years
work
as administrator and i have good knowledge about KVM and virt
manager
but i'm semi-pro on ovrit!


Thanks for help


___
Users mailing list Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users look at
EmulatedMachine parameter:
http://lists.ovirt.org/pipermail/users/2012-January/000278.html
http://www.ovirt.org/wiki/User:Lhornyak
http://ovirt.org/wiki/Engine_Node_Integration
http://gerrit.ovirt.org/#change,3893
___
Users mailing list Users@ovirt.org
http://lists.ovirt.org/mailman/listinfo/users


  

  

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