Re: [Users] Help: Fatal error during migration
On 04/26/2012 06:12 AM, Gmail wrote: hello,dears: i have a ovirt-engine with two node 172.30.0.229ovirt-engine.local 172.30.0.231ovirt-node-1.local 172.30.0.232ovirt-node-2.local When i use the live migration ,migrate a vm from node2 to node1 , it failed with the error code 12 error msg 'Fatal error during migration' , I don't know why , could anybody help me ? thanks Detail log as bellow : tail -f /var/log/ovirt-engine/engine.log 2012-04-25 22:59:52,744 INFO [org.ovirt.engine.core.bll.VdsSelector] (http--0.0.0.0-8080-16) Checking for a specific VDS only - id:ae567034-5d8e-11e1-bdc9-a7168ad4d39f, name:ovirt-node-1.local, host_name(ip):172.30.0.231 2012-04-25 22:59:52,745 INFO [org.ovirt.engine.core.bll.MigrateVmToServerCommand] (pool-5-thread-46) Running command: MigrateVmToServerCommand internal: false. Entities affected : ID: f73f17a8-a418-4318-af0e-2cea18ab597a Type: VM 2012-04-25 22:59:52,748 INFO [org.ovirt.engine.core.bll.VdsSelector] (pool-5-thread-46) Checking for a specific VDS only - id:ae567034-5d8e-11e1-bdc9-a7168ad4d39f, name:ovirt-node-1.local, host_name(ip):172.30.0.231 2012-04-25 22:59:52,754 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-5-thread-46) START, MigrateVDSCommand(vdsId = bcee74d4-5d8e-11e1-a03e-8bc4768fc531, vmId=f73f17a8-a418-4318-af0e-2cea18ab597a, srcHost=172.30.0.232, dstVdsId=ae567034-5d8e-11e1-bdc9-a7168ad4d39f, dstHost=172.30.0.231:54321, migrationMethod=ONLINE), log id: 444b3006 2012-04-25 22:59:52,757 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-5-thread-46) VdsBroker::migrate::Entered (vm_guid=f73f17a8-a418-4318-af0e-2cea18ab597a, srcHost=172.30.0.232, dstHost=172.30.0.231:54321, method=online 2012-04-25 22:59:52,757 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-5-thread-46) START, MigrateBrokerVDSCommand(vdsId = bcee74d4-5d8e-11e1-a03e-8bc4768fc531, vmId=f73f17a8-a418-4318-af0e-2cea18ab597a, srcHost=172.30.0.232, dstVdsId=ae567034-5d8e-11e1-bdc9-a7168ad4d39f, dstHost=172.30.0.231:54321, migrationMethod=ONLINE), log id: 2a26d38e 2012-04-25 22:59:52,778 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (pool-5-thread-46) FINISH, MigrateBrokerVDSCommand, log id: 2a26d38e 2012-04-25 22:59:52,817 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (pool-5-thread-46) FINISH, MigrateVDSCommand, return: MigratingFrom, log id: 444b3006 2012-04-25 22:59:53,281 ERROR [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (QuartzScheduler_Worker-40) Rerun vm f73f17a8-a418-4318-af0e-2cea18ab597a. Called from vds ovirt-node-2.local 2012-04-25 22:59:53,286 INFO [org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand] (pool-5-thread-46) START, UpdateVdsDynamicDataVDSCommand(vdsId = ae567034-5d8e-11e1-bdc9-a7168ad4d39f, vdsDynamic=org.ovirt.engine.core.common.businessentities.VdsDynamic@34c39cde), log id: 4c2ed94e 2012-04-25 22:59:53,299 INFO [org.ovirt.engine.core.vdsbroker.UpdateVdsDynamicDataVDSCommand] (pool-5-thread-46) FINISH, UpdateVdsDynamicDataVDSCommand, log id: 4c2ed94e 2012-04-25 22:59:53,304 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-5-thread-46) START, MigrateStatusVDSCommand(vdsId = bcee74d4-5d8e-11e1-a03e-8bc4768fc531, vmId=f73f17a8-a418-4318-af0e-2cea18ab597a), log id: 69d2528 2012-04-25 22:59:53,320 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-5-thread-46) Failed in MigrateStatusVDS method 2012-04-25 22:59:53,320 ERROR [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-5-thread-46) Error code migrateErr and error message VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Fatal error during migration 2012-04-25 22:59:53,321 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-5-thread-46) Command org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand return value Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusOnlyReturnForXmlRpc mStatus Class Name: org.ovirt.engine.core.vdsbroker.vdsbroker.StatusForXmlRpc mCode 12 mMessage Fatal error during migration 2012-04-25 22:59:53,321 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.BrokerCommandBase] (pool-5-thread-46) Vds: ovirt-node-2.local 2012-04-25 22:59:53,321 ERROR [org.ovirt.engine.core.vdsbroker.VDSCommandBase] (pool-5-thread-46) Command MigrateStatusVDS execution failed. Exception: VDSErrorException: VDSGenericException: VDSErrorException: Failed to MigrateStatusVDS, error = Fatal error during migration 2012-04-25 22:59:53,321 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (pool-5-thread-46) FINISH, MigrateStatusVDSCommand, log id: 69d2528 ___ Users mailing list Users@ovirt.org
Re: [Users] REST API query syntax
On 04/26/2012 05:59 AM, Hui Kai Ran wrote: Hi, all I learned some query language from REST API User Guid to get a reduced result list, for example: /api/storagedomains?search=name%3D*iso* it works. but the following querys do not work /api/storagedomains?search=type%3Diso /api/storagedomains?search=id%3D3f00108a-5c0e-4723-aa88-0013773bf122 /api/vms?search=display.type%3Dvnc I don't know what is the difference between them, and which property can be act as the part of query ? easiest would be to open the UI and check the search syntax (since UI has auto complete / suggestions on search syntax) ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] error when regestering a host with vdsm 4.9.6 in ovirt 3.1
I have built and installed the latest RPM ovirt-engine from the source on F16 and the latest RPM VDSM 4.9.6 on F17 because of nedeed dependancies. when I add a new host, installation always fails with this issue : Failed to install Host khamsin. Step: CreateConf; Details: Basic configuration failed to import default values. I tried to disable ssl in engine and vdsm but it is the same. I have searched more explications into vdsm and ovirt log but I have found anything I suppose vdsm to be the problem, the only way to build it with success is to install it on F17, which is a beta release... This makes me crazy! May anybody help me to find a clue for this issue? -- Nathanaël Blanchet Supervision réseau Pôle exploitation et maintenance Département des systèmes d'information 227 avenue Professeur-Jean-Louis-Viala 34193 MONTPELLIER CEDEX 5 Tél. 33 (0)4 67 54 84 55 Fax 33 (0)4 67 54 84 14 blanc...@abes.fr ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
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. 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
- 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
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
- 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
- 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
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
Re: [Users] freeipa and ovirt can't add domain
On Thu, 26 Apr 2012 14:35:32 -0400 snmis...@linux.vnet.ibm.com wrote: What's in your engine-manage-domains.log? hm, didn't know that log was there 2012-04-26 09:15:37,544 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos configuration for domain(s): bvtest.org 2012-04-26 09:15:37,648 ERROR [org.ovirt.engine.core.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _kerberos._tcp.BVTEST.ORG. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. I'll go add that _kerberos._tcp.BVTEST.ORG option to dnsmasq and let you know how it goes! Thanks ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Unable to migrate host
On Thu, 2012-04-26 at 22:17 +0300, Itamar Heim wrote: On 04/26/2012 06:37 PM, Christian Hernandez wrote: How can I ping the target host from the source host? I am using the ovirt-node image on both the hosts...Is there a way to drop into a shell? you should be able to drop to shell from TUI, or even set a password for ssh. mike? http://ovirt.org/wiki/Node_Troubleshooting#Shell_access --Christian On Thu, Apr 26, 2012 at 4:11 AM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 04/26/2012 04:05 AM, Christian Hernandez wrote: yes I am able to ping all hosts can you ping target host from source host? Thank you, Christian Hernandez 5900 San Fernando Road Glendale, CA 91202 Phone: 877-782-2737 ext. 263 tel:877-782-2737%20ext.%20263 Fax: 818-265-3152 tel:818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Wed, Apr 25, 2012 at 5:35 PM, Shu Ming shum...@linux.vnet.ibm.com mailto:shum...@linux.vnet.ibm.com mailto:shum...@linux.vnet.__ibm.com mailto:shum...@linux.vnet.ibm.com wrote: Can you ping the destination host from the server where engine server is by hostname? On 2012-4-26 6:33, Christian Hernandez wrote: Hello, It seems when I try to migrate a VM from one host to another I get this error that says Migration destination has an invalid hostname Screenshot Inline image 1 I can ping all machines using hostnames (although shouldn't RHEVM and the Hosts be using IPs ?) and they are all are on the same network segment... Here is the engine.log... /2012-04-25 15:27:28,253 WARN [org.ovirt.engine.core.bll.__GetConfigurationValueQuery] (http-0.0.0.0-8443-3) calling GetConfigurationValueQuery with null version, using default general for version/ /2012-04-25 15:27:41,425 INFO [org.ovirt.engine.core.bll.__VdsSelector] (http-0.0.0.0-8443-2) Checking for a specific VDS only - id:77fbced8-8b35-11e1-8da0-__0016367ecdf0, name:bluejay, host_name(ip):192.168.11.212/ http://192.168.11.212/ /2012-04-25 15:27:41,427 INFO [org.ovirt.engine.core.bll.__MigrateVmToServerCommand] (pool-19-thread-50) Running command: MigrateVmToServerCommand internal: false. Entities affected : ID: 7e871cc7-b81c-4036-ad9c-__abf1fdd8aa4d Type: VM/ /2012-04-25 15:27:41,431 INFO [org.ovirt.engine.core.bll.__VdsSelector] (pool-19-thread-50) Checking for a specific VDS only - id:77fbced8-8b35-11e1-8da0-__0016367ecdf0, name:bluejay, host_name(ip):192.168.11.212/ http://192.168.11.212/ /2012-04-25 15:27:41,439 INFO [org.ovirt.engine.core.__vdsbroker.MigrateVDSCommand] (pool-19-thread-50) START, MigrateVDSCommand(vdsId = 54ec5874-8e2b-11e1-886b-__0016367ecdf0, vmId=7e871cc7-b81c-4036-ad9c-__abf1fdd8aa4d, srcHost=192.168.11.35, dstVdsId=77fbced8-8b35-11e1-__8da0-0016367ecdf0, dstHost=192.168.11.212:54321 http://192.168.11.212:54321 http://192.168.11.212:54321, migrationMethod=ONLINE), log id: 5ece0de4/ /2012-04-25 15:27:41,442 INFO [org.ovirt.engine.core.__vdsbroker.vdsbroker.__MigrateBrokerVDSCommand] (pool-19-thread-50) VdsBroker::migrate::Entered (vm_guid=7e871cc7-b81c-4036-__ad9c-abf1fdd8aa4d, srcHost=192.168.11.35, dstHost=192.168.11.212:54321 http://192.168.11.212:54321 http://192.168.11.212:54321, method=online/ /2012-04-25 15:27:41,442 INFO [org.ovirt.engine.core.__vdsbroker.vdsbroker.__MigrateBrokerVDSCommand] (pool-19-thread-50) START, MigrateBrokerVDSCommand(vdsId = 54ec5874-8e2b-11e1-886b-__0016367ecdf0, vmId=7e871cc7-b81c-4036-ad9c-__abf1fdd8aa4d,
Re: [Users] Unable to migrate host
Thanks for the info! It will help with debugging --Christian On Thu, Apr 26, 2012 at 12:23 PM, Mike Burns mbu...@redhat.com wrote: On Thu, 2012-04-26 at 22:17 +0300, Itamar Heim wrote: On 04/26/2012 06:37 PM, Christian Hernandez wrote: How can I ping the target host from the source host? I am using the ovirt-node image on both the hosts...Is there a way to drop into a shell? you should be able to drop to shell from TUI, or even set a password for ssh. mike? http://ovirt.org/wiki/Node_Troubleshooting#Shell_access --Christian On Thu, Apr 26, 2012 at 4:11 AM, Itamar Heim ih...@redhat.com mailto:ih...@redhat.com wrote: On 04/26/2012 04:05 AM, Christian Hernandez wrote: yes I am able to ping all hosts can you ping target host from source host? Thank you, Christian Hernandez 5900 San Fernando Road Glendale, CA 91202 Phone: 877-782-2737 ext. 263 tel:877-782-2737%20ext.%20263 Fax: 818-265-3152 tel:818-265-3152 christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com mailto:christi...@4over.com www.4over.com http://www.4over.com http://www.4over.com/ http://www.4over.com http://www.4over.com/ On Wed, Apr 25, 2012 at 5:35 PM, Shu Ming shum...@linux.vnet.ibm.com mailto:shum...@linux.vnet.ibm.com mailto:shum...@linux.vnet.__ibm.com mailto:shum...@linux.vnet.ibm.com wrote: Can you ping the destination host from the server where engine server is by hostname? On 2012-4-26 6:33, Christian Hernandez wrote: Hello, It seems when I try to migrate a VM from one host to another I get this error that says Migration destination has an invalid hostname Screenshot Inline image 1 I can ping all machines using hostnames (although shouldn't RHEVM and the Hosts be using IPs ?) and they are all are on the same network segment... Here is the engine.log... /2012-04-25 15:27:28,253 WARN [org.ovirt.engine.core.bll.__GetConfigurationValueQuery] (http-0.0.0.0-8443-3) calling GetConfigurationValueQuery with null version, using default general for version/ /2012-04-25 15:27:41,425 INFO [org.ovirt.engine.core.bll.__VdsSelector] (http-0.0.0.0-8443-2) Checking for a specific VDS only - id:77fbced8-8b35-11e1-8da0-__0016367ecdf0, name:bluejay, host_name(ip):192.168.11.212/ http://192.168.11.212/ /2012-04-25 15:27:41,427 INFO [org.ovirt.engine.core.bll.__MigrateVmToServerCommand] (pool-19-thread-50) Running command: MigrateVmToServerCommand internal: false. Entities affected : ID: 7e871cc7-b81c-4036-ad9c-__abf1fdd8aa4d Type: VM/ /2012-04-25 15:27:41,431 INFO [org.ovirt.engine.core.bll.__VdsSelector] (pool-19-thread-50) Checking for a specific VDS only - id:77fbced8-8b35-11e1-8da0-__0016367ecdf0, name:bluejay, host_name(ip):192.168.11.212/ http://192.168.11.212/ /2012-04-25 15:27:41,439 INFO [org.ovirt.engine.core.__vdsbroker.MigrateVDSCommand] (pool-19-thread-50) START, MigrateVDSCommand(vdsId = 54ec5874-8e2b-11e1-886b-__0016367ecdf0, vmId=7e871cc7-b81c-4036-ad9c-__abf1fdd8aa4d, srcHost=192.168.11.35, dstVdsId=77fbced8-8b35-11e1-__8da0-0016367ecdf0, dstHost=192.168.11.212:54321 http://192.168.11.212:54321 http://192.168.11.212:54321 , migrationMethod=ONLINE), log id: 5ece0de4/ /2012-04-25 15:27:41,442 INFO [org.ovirt.engine.core.__vdsbroker.vdsbroker.__MigrateBrokerVDSCommand] (pool-19-thread-50) VdsBroker::migrate::Entered (vm_guid=7e871cc7-b81c-4036-__ad9c-abf1fdd8aa4d, srcHost=192.168.11.35, dstHost=192.168.11.212:54321 http://192.168.11.212:54321 http://192.168.11.212:54321, method=online/ /2012-04-25 15:27:41,442 INFO
Re: [Users] freeipa and ovirt can't add domain
Quoting Steve Gordon sgor...@redhat.com: - Original Message - From: Jesse Brandeburg jesse.brandeb...@intel.com To: snmis...@linux.vnet.ibm.com Cc: users@ovirt.org Sent: Thursday, April 26, 2012 3:18:57 PM Subject: Re: [Users] freeipa and ovirt can't add domain On Thu, 26 Apr 2012 14:35:32 -0400 snmis...@linux.vnet.ibm.com wrote: What's in your engine-manage-domains.log? hm, didn't know that log was there 2012-04-26 09:15:37,544 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos configuration for domain(s): bvtest.org 2012-04-26 09:15:37,648 ERROR [org.ovirt.engine.core.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _kerberos._tcp.BVTEST.ORG. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. I'll go add that _kerberos._tcp.BVTEST.ORG option to dnsmasq and let you know how it goes! Thanks From memory you will want to do _ldap._tcp... while you are there. Here is something else to try - # nslookup set q=srv _ldap._tcp.ibm.com Server: 9.42.xx.xxx Address:9.42.xx.xxx Non-authoritative answer: _ldap._tcp.ibm.com service = 0 100 389 .ibm.com. _ldap._tcp.ibm.com service = 0 100 389 bbb.watson.ibm.com. _ldap._tcp.ibm.com service = 0 100 389 ccc.pok.ibm.com. _ldap._tcp.ibm.com service = 0 100 389 ddd.pok.ibm.com. -Sharad Steve ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] freeipa and ovirt can't add domain
On Thu, 26 Apr 2012 12:18:57 -0700 Jesse Brandeburg jesse.brandeb...@intel.com wrote: On Thu, 26 Apr 2012 14:35:32 -0400 snmis...@linux.vnet.ibm.com wrote: What's in your engine-manage-domains.log? hm, didn't know that log was there 2012-04-26 09:15:37,544 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos configuration for domain(s): bvtest.org 2012-04-26 09:15:37,648 ERROR [org.ovirt.engine.core.dns.DnsSRVLocator] Error: could not find DNS SRV record name: _kerberos._tcp.BVTEST.ORG. Exception message is: DNS name not found [response code 3] Possible causes: missing DNS entries in the DNS server or DNS resolving issues from engine-core machine. Please Ensure correct DNS entries exist in the DNS server and ensure the DNS server is reachable from the engine-core machine. I'll go add that _kerberos._tcp.BVTEST.ORG option to dnsmasq and let you know how it goes! I did all the _*. stuff that was in the ipa template. well that put me in the right direction now moving onto this: 2012-04-26 12:26:21,014 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Creating kerberos configuration for domain(s): bvtest.org 2012-04-26 12:26:21,044 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Successfully created kerberos configuration for domain(s): bvtest.org 2012-04-26 12:26:21,044 INFO [org.ovirt.engine.core.utils.kerberos.ManageDomains] Testing kerberos configuration for domain: bvtest.org so thats good, but I get this back from command line: [root]# engine-manage-domains -action=add -domain=bvtest.org -user=admin -passwordFile=/root/dompass No user in Directory was found for ad...@bvtest.org. Trying next LDAP server in list Failure while testing domain bvtest.org. Details: No user information was found for user I'm now trying to figure out how to run ldapsearch to check my ldap config. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[Users] Unable to add fresh oVirt host
I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting: 2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com. No meaningful response recieved from Host. (Stage: Running first installation script on Host) The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/ BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/ BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/ Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime] [-n netconsole_host:port] [-u (seProductRepo) true|false ] [-f firewall_rules_file ] url subject random_num What can I do to figure what could be wrong? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [Users] Unable to add fresh oVirt host
Are some more digging. I have discovered the following. If provision a vdsm node exactly the same way and add it to an old, working ovirt of mine, it works. I've reprovisioned the new ovirt again, the same exact way as before and hit the same problem. Here is what I found on the node logs: # cat vds_installer.283838.log Fri, 27 Apr 2012 03:14:11 DEBUG Start VDS Installation Fri, 27 Apr 2012 03:14:11 DEBUGget_id_line: read line Red Hat Enterprise Linux Server release 6.2 (Santiago). Fri, 27 Apr 2012 03:14:11 DEBUGlsb_release: input line Red Hat Enterprise Linux Server release 6.2 (Santiago). Fri, 27 Apr 2012 03:14:11 DEBUGlsb_release: return: RedHatEnterpriseServer. Fri, 27 Apr 2012 03:14:11 DEBUGBSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/ Fri, 27 Apr 2012 03:14:11 DEBUGtrying to fetch deployUtil.py script cmd = '/usr/bin/curl -s -k -w %{http_code} -o /tmp/deployUtil.py http://mgmt.example.com:8080/Components/vds/deployUtil.py' Fri, 27 Apr 2012 03:14:12 DEBUGBSTRAP component='INSTALLER LIB' status='OK' message='deployUtil.py download succeeded'/ Fri, 27 Apr 2012 03:14:12 DEBUGtrying to fetch vds_bootstrap.py script cmd = '/usr/bin/curl -s -k -w %{http_code} -o /tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py http://mgmt.example.com:8080/Components/vds/vds_bootstrap.py' Fri, 27 Apr 2012 03:14:12 DEBUGBSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py download succeeded'/ Fri, 27 Apr 2012 03:14:12 DEBUGtrying to run /tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O salesforce.com -t 2012-04-27T03:12:27 http://mgmt.example.com:8080/Components/vds/ node.example.com51b8d414-a8fa-44f9-8613-f7819255d2eb' There is no output after this. vds_boostrap log is empty. if I run the bootstrap command as specified in the log file, I get this as the only failure: BSTRAP component='REQ PACKAGES' status='FAIL' result='SDL.x86_64' message='Setting up Install Process No package SDL.x86_64 available. Error: Nothing to do '/ BSTRAP component='RHEV_INSTALL' status='FAIL'/ After installing the package, I got this: BSTRAP component='SetNetworking' status='FAIL' message='addNetwork error trying to add rhevm bridge'/ BSTRAP component='SetSSHAccess' status='FAIL' message='Failed to retrieve server SSH key.'/ BSTRAP component='RHEV_INSTALL' status='FAIL'/ Finally, I looked at the bootstrap log and found the details: Fri, 27 Apr 2012 03:33:19 DEBUGBridge rhevm not found, need to create it. Fri, 27 Apr 2012 03:33:19 DEBUGgetAddress Entry. url=script Fri, 27 Apr 2012 03:33:19 DEBUGgetAddress return. address=script port=None Fri, 27 Apr 2012 03:33:19 DEBUGmakeBridge begin. Fri, 27 Apr 2012 03:33:19 DEBUG_getMGTIface: read vdc_host_name: script Fri, 27 Apr 2012 03:33:19 DEBUG_getMGTIface: error trying to figure out VDC's IP Fri, 27 Apr 2012 03:33:19 DEBUG_getMGTIface: using vdc_host_name script strVDCIP= None Fri, 27 Apr 2012 03:33:19 DEBUG_getMGTIface VDC IP=None strIface=None Fri, 27 Apr 2012 03:33:19 DEBUGmakeBridge got mgtIface None. This is a routing or resolution issue. Fri, 27 Apr 2012 03:33:19 ERRORmakeBridge errored: out= err=None ret=None Fri, 27 Apr 2012 03:33:19 DEBUGmakeBridge return. Fri, 27 Apr 2012 03:33:19 ERRORaddNetwork error trying to add rhevm bridge Fri, 27 Apr 2012 03:33:19 DEBUGBSTRAP component='SetNetworking' status='FAIL' message='addNetwork error trying to add rhevm bridge'/ Fri, 27 Apr 2012 03:33:19 DEBUGgetAddress Entry. url=script Fri, 27 Apr 2012 03:33:19 DEBUGgetAddress return. address=script port=None Fri, 27 Apr 2012 03:33:19 DEBUGgetRemoteFile start. IP = script port = None fileName = /rhevm.ssh.key.txt Fri, 27 Apr 2012 03:33:19 DEBUG/rhevm.ssh.key.txt failed in HTTPS. Retrying using HTTP. Traceback (most recent call last): File /tmp/deployUtil.py, line 1279, in getRemoteFile sock.connect((IP, nPort)) File string, line 1, in connect gaierror: [Errno -2] Name or service not known Fri, 27 Apr 2012 03:33:19 ERRORFailed to fetch /rhevm.ssh.key.txt using http. Traceback (most recent call last): File /tmp/deployUtil.py, line 1295, in getRemoteFile conn.request(GET, fileName) File /usr/lib64/python2.6/httplib.py, line 914, in request self._send_request(method, url, body, headers) File /usr/lib64/python2.6/httplib.py, line 951, in _send_request self.endheaders() File /usr/lib64/python2.6/httplib.py, line 908, in endheaders self._send_output() File /usr/lib64/python2.6/httplib.py, line 780, in _send_output self.send(msg) File /usr/lib64/python2.6/httplib.py, line 739, in send self.connect() File /usr/lib64/python2.6/httplib.py, line 720, in connect self.timeout) File /usr/lib64/python2.6/socket.py, line 553, in create_connection for res in getaddrinfo(host, port, 0, SOCK_STREAM):
Re: [Users] Unable to add fresh oVirt host
On Thu, Apr 26, 2012 at 8:56 PM, Andrey F. ma3ox...@gmail.com wrote: Are some more digging. I have discovered the following. It seems that ovirt is not able to create the bridge. What could be off?; could I have missed a configuration step or param somewhere?. Ugh...I've been over-debugging...I was running the script wrong. This was getting caught in my params: /tmp/vds_bootstrap_f9c3a003-b221-4f7e-ae14-5b53ce31ab72.py script cmd = ', hense why script was getting returned in this log line: Fri, 27 Apr 2012 03:33:19 DEBUGgetAddress Entry. url=script When I run the script correctly, I get the VDS compat output per my original post with nothing in the bootstrap log. is in vds_installer script. It passes -v to bootstrap script: Fri, 27 Apr 2012 03:14:12 DEBUGtrying to run /tmp/vds_bootstrap_51b8d414- a8fa-44f9-8613-f7819255d2eb.py script cmd = '/tmp/vds_bootstrap_51b8d414-a8fa-44f9-8613-f7819255d2eb.py -v -O salesforce.com -t 2012-04-27T03:12:27 http://mgmt.example.com:8080/Components/vds/ node.example.com51b8d414-a8fa-44f9-8613-f7819255d2eb' I was able to figure that out after changing this: except: print main.__doc__ return 0 to this: except Exception, e: print e Why is the exception not printed? Getting this output would have saved my a lot of debugging time I feel :(. It looks like my version of vdsm from rhn: vdsm-4.9-112.6.el6_2.x86_64 is too old for my ovirt which is at version ovirt-engine-3.1.0_0001-1.8.el6.x86_64 built from source. Note, that I used the following answers file to install ovirt: [general] OVERRIDE_IPTABLES=no HTTP_PORT=8080 HTTPS_PORT=8443 MAC_RANGE=00:1A:4A:A8:7A:00-00:1A:4A:A8:7A:FF ORG_NAME=example.com DC_TYPE=NFS CONFIG_NFS=no NFS_MP= ISO_DOMAIN_NAME= DB_REMOTE_INSTALL=local #DB_HOST=localhost #DB_PORT=5432 HOST_FQDN=mgmt.example.com AUTH_PASS=password DB_LOCAL_PASS=password On Thu, Apr 26, 2012 at 5:31 PM, Andrey F. ma3ox...@gmail.com wrote: I am attempting to add the first host to a newly setup oVirt. Here is the error message that I am getting: 2012-04-27 00:09:23,485 ERROR [org.ovirt.engine.core.bll.VdsInstaller] (pool-5-thread-50) [57283fb3] Installation of node.example.com. No meaningful response recieved from Host. (Stage: Running first installation script on Host) The following shows up in engine log before hand or if I try to run the script manually on the oVirt node: /tmp/vds_installer_9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602.py -c 'ssl=true;management_port=54321' -O 'example.com' -t 2012-04-27T00:09:22 -f /tmp/firewall.conf.9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 -p 8080 -b -v http://mgmt.example.com:8080/Components/vds/ http://mgmt.example.com:8080/Components/vds/ node.example.com9b9fdf2c-d3e0-425d-bd05-e4e4e53b6602 False BSTRAP component='INSTALLER' status='OK' message='Test platform succeeded'/ BSTRAP component='INSTALLER LIB' status='OK' message='Install library already exists'/ BSTRAP component='INSTALLER' status='OK' message='vds_bootstrap.py already exist'/ Usage: vds_compat.py [-r rev_num] [-O organizationName] [-t systemTime] [-n netconsole_host:port] [-u (seProductRepo) true|false ] [-f firewall_rules_file ] url subject random_num What can I do to figure what could be wrong? ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users