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+0000: 1629: error : virNetSocketReadWire:911 : End of file while reading data: Input/output error
2012-04-26 18:43:53.498+0000: 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+0000: 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 <acathrow@redhat.com> wrote on Thu, 26 Apr 2012 15:00:43 -0400 (EDT):

----- Original Message -----
From: "Mohsen Saeedi" <mohsen.saeedi@gmail.com>
To: "Itamar Heim" <iheim@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 <iheim@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+0000: 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