Re: [ovirt-users] Migration failed due to Error: Fatal error during migration
- Original Message - From: Punit Dambiwal hypu...@gmail.com To: Omer Frenkel ofren...@redhat.com Cc: Manfred Landauer manfred.landa...@fabasoft.com, users@ovirt.org Sent: Friday, August 29, 2014 4:30:38 AM Subject: Re: [ovirt-users] Migration failed due to Error: Fatal error during migration Hi , I am also facing the same issue... here is the engine logs :- 2014-08-29 09:27:45,432 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand] (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateStatusVDSCommand, log id: 1f3e4161 2014-08-29 09:27:45,439 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-24) Correlation ID: 84ff2f4, Job ID: 8bc0b78a-c600-4f8d-98f8-66a46c66abe0, Call Stack: null, Custom Event ID: -1, Message: Migration failed due to Error: Fatal error during migration. please send vdsm and libvirt log from the src host for this vm Trying to migrate to another Host (VM: bc16391ac105b7e68cccb47803906d0b, Source: compute4, Destination: compute3). 2014-08-29 09:27:45,536 INFO [org.ovirt.engine.core.bll.MigrateVmCommand] (org.ovirt.thread.pool-6-thread-24) Running command: MigrateVmCommand internal: false. Entities affected : ID: 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 Type: VM i see this vm did migrate successfully, right? 2014-08-29 09:27:45,610 INFO [org.ovirt.engine.core.bll.scheduling.policyunits.HaReservationWeightPolicyUnit] (org.ovirt.thread.pool-6-thread-24) Started HA reservation scoring method 2014-08-29 09:27:45,666 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (org.ovirt.thread.pool-6-thread-24) START, MigrateVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37, vmId=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com, dstVdsId=bcd2bd85-c501-4be4-9730-a8662462cab5, dstHost= compute2.3linux.com:54321, migrationMethod=ONLINE, tunnelMigration=false, migrationDowntime=0), log id: 640b0ccd 2014-08-29 09:27:45,667 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (org.ovirt.thread.pool-6-thread-24) VdsBroker::migrate::Entered (vm_guid=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com, dstHost=compute2.3linux.com:54321, method=online 2014-08-29 09:27:45,684 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (org.ovirt.thread.pool-6-thread-24) START, MigrateBrokerVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37, vmId=6134b272-cd7f-43c1-a1b1-eaefe69c6b75, srcHost=compute4.3linux.com, dstVdsId=bcd2bd85-c501-4be4-9730-a8662462cab5, dstHost= compute2.3linux.com:54321, migrationMethod=ONLINE, tunnelMigration=false, migrationDowntime=0), log id: 1b3d3891 2014-08-29 09:27:45,702 INFO [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand] (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateBrokerVDSCommand, log id: 1b3d3891 2014-08-29 09:27:45,707 INFO [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand] (org.ovirt.thread.pool-6-thread-24) FINISH, MigrateVDSCommand, return: MigratingFrom, log id: 640b0ccd 2014-08-29 09:27:45,711 INFO [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector] (org.ovirt.thread.pool-6-thread-24) Correlation ID: 84ff2f4, Job ID: 8bc0b78a-c600-4f8d-98f8-66a46c66abe0, Call Stack: null, Custom Event ID: -1, Message: Migration started (VM: bc16391ac105b7e68cccb47803906d0b, Source: compute4, Destination: compute2, User: admin). 2014-08-29 09:27:47,143 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-28) START, GlusterVolumesListVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37), log id: 9e34612 2014-08-29 09:27:47,300 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-28) FINISH, GlusterVolumesListVDSCommand, return: {e6117925-79b1-417b-9d07-cfc31f68bc51=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@b42f1b41}, log id: 9e34612 2014-08-29 09:27:48,306 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-51) RefreshVmList vm id 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 is migrating to vds compute2 ignoring it in the refresh until migration is done 2014-08-29 09:27:51,349 INFO [org.ovirt.engine.core.vdsbroker.VdsUpdateRunTimeInfo] (DefaultQuartzScheduler_Worker-52) RefreshVmList vm id 6134b272-cd7f-43c1-a1b1-eaefe69c6b75 is migrating to vds compute2 ignoring it in the refresh until migration is done 2014-08-29 09:27:52,470 INFO [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand] (DefaultQuartzScheduler_Worker-49) START, GlusterVolumesListVDSCommand(HostName = compute4, HostId = 3a7a4504-1434-4fd2-ac00-e8d12c043b37), log id: 7cbb4cd 2014-08-29 09:27:52,624 INFO
Re: [ovirt-users] Unable to assign profile to the nic
- Original Message - From: Shanil S xielessha...@gmail.com To: users@ovirt.org Sent: Thursday, August 28, 2014 11:31:30 AM Subject: [ovirt-users] Unable to assign profile to the nic Hi All, I am unable to assign the profile using the ovirt api code, the following xml code is used for creating the nic nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network Try not to provide the 'network' element at all. The vnic profile replaced the 'network' element when attaching a nic to a network. In this context you should use either networkname.../name/network or the vnic_profile id=.../. As Juan explained in other thread, any other parameter for network are being ignored and network element without name is referred as empty network. on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic Could you please check if anything wrong with it ? -- Regards Shanil ___ 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
[ovirt-users] feature review - ReportGuestDisksLogicalDeviceName
Feel free to review the the following feature. http://www.ovirt.org/Features/ReportGuestDisksLogicalDeviceName ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Need to import a template in OVA format
On 08/29/2014 06:38 PM, Bob Doolittle wrote: I have a template designed for VMware VMs, in OVA format. Is there a way I can import this template to oVirt, in order to create an oVirt VM from it? virt-v2v seems designed to import VMs, not templates, and it whines about no storage devices in the Guest (when using -i ova -o rhev -os NFS_PATH_TO_EXPORT_DOMAIN). Thanks, Bob P.S. If of interest, the OVA tarball contains foo.ovf, foo.mf, and system.vmdk. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users how is a tempalte different than a VM in VMWare land? in ovirt its: - not having snapshots - a notation on the ovf ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
[ovirt-users] please add me in the users list
Hi , I am Suyog Jadhav interested in developing a monitoring solution for RHEV Manager. I am using ovirt-java-sdk to pull data from the manager. (http://www.ovirt.org/Java-sdk) I want to use vdsm_fake to simulate multiple hosts,vms to test scalability.( http://www.ovirt.org/VDSM_Fake) Please let me know if I need to subscribe to any other lists in additions to users list for above goals. Thanks Suyog ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] please add me in the users list
On 08/29/2014 03:40 PM, Suyog Jadhav wrote: Hi , I am Suyog Jadhav interested in developing a monitoring solution for RHEV Manager. I am using ovirt-java-sdk to pull data from the manager. (http://www.ovirt.org/Java-sdk) I want to use vdsm_fake to simulate multiple hosts,vms to test scalability.( http://www.ovirt.org/VDSM_Fake) Please let me know if I need to subscribe to any other lists in additions to “users list” for above goals. Thanks Suyog ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users please register via: http://lists.ovirt.org/mailman/listinfo/users for devel oriented questions: http://lists.ovirt.org/mailman/listinfo/devel ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Need to import a template in OVA format
On Sun, Aug 31, 2014 at 06:07:47PM +0300, Itamar Heim wrote: On 08/29/2014 06:38 PM, Bob Doolittle wrote: I have a template designed for VMware VMs, in OVA format. Is there a way I can import this template to oVirt, in order to create an oVirt VM from it? virt-v2v seems designed to import VMs, not templates, and it whines about no storage devices in the Guest (when using -i ova -o rhev -os NFS_PATH_TO_EXPORT_DOMAIN). I guess we're talking about old virt-v2v here? Shahar is writing a new OVA importer at the moment. Thanks, Bob P.S. If of interest, the OVA tarball contains foo.ovf, foo.mf, and system.vmdk. how is a tempalte different than a VM in VMWare land? in ovirt its: - not having snapshots - a notation on the ovf Matt any idea? Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-df lists disk usage of guests without needing to install any software inside the virtual machine. Supports Linux and Windows. http://people.redhat.com/~rjones/virt-df/ ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Need to import a template in OVA format
On 08/31/2014 01:16 PM, Richard W.M. Jones wrote: On Sun, Aug 31, 2014 at 06:07:47PM +0300, Itamar Heim wrote: On 08/29/2014 06:38 PM, Bob Doolittle wrote: I have a template designed for VMware VMs, in OVA format. Is there a way I can import this template to oVirt, in order to create an oVirt VM from it? virt-v2v seems designed to import VMs, not templates, and it whines about no storage devices in the Guest (when using -i ova -o rhev -os NFS_PATH_TO_EXPORT_DOMAIN). I guess we're talking about old virt-v2v here? Shahar is writing a new OVA importer at the moment. Well that's the thing. I saw many old e-mails about issues, and that the ova option was withdrawn because of them. But I'm running F20 and it claims to support the ova option so I presumed it had been reintroduced and fixed. Not so much? The version I am running is virt-v2v-0.9.0-5.fc20.x86_64 Thanks, Bob Thanks, Bob P.S. If of interest, the OVA tarball contains foo.ovf, foo.mf, and system.vmdk. how is a tempalte different than a VM in VMWare land? in ovirt its: - not having snapshots - a notation on the ovf Matt any idea? Rich. ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Need to import a template in OVA format
On Sun, Aug 31, 2014 at 04:19:20PM -0400, Bob Doolittle wrote: The version I am running is virt-v2v-0.9.0-5.fc20.x86_64 The new version is 1.27.x and it is available in Fedora 21 and above. HOWEVER it doesn't support OVA yet -- still being written. I'm also providing preview RPMs for RHEL 7 CentOS 7: https://www.redhat.com/archives/libguestfs/2014-May/msg00090.html (also without OVA import support right now, but will have it real soon) Rich. -- Richard Jones, Virtualization Group, Red Hat http://people.redhat.com/~rjones Read my programming and virtualization blog: http://rwmj.wordpress.com virt-builder quickly builds VMs from scratch http://libguestfs.org/virt-builder.1.html ___ Users mailing list Users@ovirt.org http://lists.ovirt.org/mailman/listinfo/users
Re: [ovirt-users] Guest reboot feature using REST API
Hi Alexander, Is there any way to force reboot,if guest-agent removed form the guest machine ?? Thanks, Punit On Fri, Aug 29, 2014 at 8:08 PM, Alexander Wels aw...@redhat.com wrote: On Friday, August 29, 2014 04:12:01 PM Shanil S wrote: Hi Juan, This is the normal reboot of the vm, right ? Yes, you also need to have the guest agent installed on the guest for this to work properly. On 08/29/2014 12:09 PM, Shanil S wrote: Hi All, It is found that there is a function like guest reboot ( http://www.ovirt.org/Features/Guest_Reboot ) Is there any rest api function for doing this guest reboot ? currently i found only one function for reboot (/api/vms/id/reboot). We are currently using the Ovirt 3.4.3 version Yes: #!/bin/sh -ex url=https://ovirt.example.com/ovirt-engine/api; user=admin@internal password=** curl \ --insecure \ --request POST \ --header Accept: application/xml \ --header Content-Type: application/xml \ --user ${user}:${password} \ --data action/ \ ${url}/vms/dc7076ee-9ae7-4a14-bec6-7936f76b4375/reboot -- Dirección Comercial: C/Jose Bardasano Baos, 9, Edif. Gorbea 3, planta 3ºD, 28016 Madrid, Spain Inscrita en el Reg. Mercantil de Madrid – C.I.F. B82657941 - Red Hat S.L. ___ 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: [ovirt-users] Unable to assign profile to the nic
Hi Moti, Thanks for your reply. Let me check it with this solution. -- Regards Shanil On Sun, Aug 31, 2014 at 2:15 PM, Moti Asayag masa...@redhat.com wrote: - Original Message - From: Shanil S xielessha...@gmail.com To: users@ovirt.org Sent: Thursday, August 28, 2014 11:31:30 AM Subject: [ovirt-users] Unable to assign profile to the nic Hi All, I am unable to assign the profile using the ovirt api code, the following xml code is used for creating the nic nic interfacevirtio/interface nameeth0/name boot_protocolstatic/boot_protocol mac address='.$ip-mac_address.'/ network ip address='.$ip-mac_ip.' netmask='255.255.255.0' gateway='.$ip-mac_gateway.'/ /network Try not to provide the 'network' element at all. The vnic profile replaced the 'network' element when attaching a nic to a network. In this context you should use either networkname.../name/network or the vnic_profile id=.../. As Juan explained in other thread, any other parameter for network are being ignored and network element without name is referred as empty network. on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / /nic Could you please check if anything wrong with it ? -- Regards Shanil ___ 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: [ovirt-users] VM second netowork not Comeup
Hi Juan, Thanks for your reply. I will check it with this solution. -- Regards Shanil On Fri, Aug 29, 2014 at 5:12 PM, Juan Hernandez jhern...@redhat.com wrote: On 08/29/2014 12:02 PM, Shanil S wrote: Hi Juan, These are the xml details which i used for the vm start function, please check it Ok, this explains this problem and the other problem that you are having with assigning profile. It is important to understand that there are two sets of parameters associated to a network interface: 1. Those that define the virtual hardware configuration, like the model, interface, MAC and profile. Those are assigned when you create or update the NIC. For example: #!/bin/sh -x url=https://ovirt.example.com/ovirt-engine/api; user=admin@internal password=** curl \ --verbose \ --insecure \ --request POST \ --header Accept: application/xml \ --header Content-Type: application/xml \ --user ${user}:${password} \ --data nic interfacevirtio/interface namenic1/name mac address='00:1a:4a:16:01:53'/ vnic_profile id='8d69b87d-a6df-4912-adb7-d498c2fdc8e3'/ /nic \ ${url}/vms/b848fc2e-5df2-4754-ae7c-98a20c0e373d/nics If you include in a request like this any IP information, like boot protocol, address, etc, it will be just silently ignored. 2. Those that define the software device configuration. These are managed by the guest OS, and you can set them using cloud-init, as you are doing. But you can't change the hardware configuration with cloud-init, that is why your vnic_profile element is ignored. See some more comments below: action vm os boot dev='cdrom'/ /os initialization cloud_init users user user_nameroot/user_name password/password /user /users network_configuration nics nic interfacevirtio/interface This ^ line is ignored by cloud-init. nameeth0/name boot_protocolstatic/boot_protocol mac address='xx:xx:xx:xx:xx:xx'/ This ^ line is ignored by cloud-init. network ip address='xx.xx.xx.xx' netmask='255.255.255.0' gateway='xx.xx.xx.xx'/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / This ^ line is ignored by cloud-init. The vnic_profile is only used when creating the NIC. /nic nic interfacevirtio/interface This ^ line is ignored by cloud-init. nameeth1/name You should add boot_protocolstatic/boot_protocol here, like in eth0. mac address='xx:xx:xx:xx:xx:xx'/ This ^ line is ignored by cloud-init. network ip address='xx.xx.xx.xx' netmask='255.255.255.0' gateway=''/ /network on_boottrue/on_boot vnic_profile id='bbabc471-667d-4221-bc8e-4ab30b3dcc34' / This ^ line is ignored by cloud-init. The vnic_profile is only used when creating the NIC. /nic /nics dns servers host address8.8.8.8/address /host /servers /dns /network_configuration /cloud_init /initialization /vm /action -- Regards Shanil On Fri, Aug 29, 2014 at 2:15 PM, Juan Hernandez jhern...@redhat.com mailto:jhern...@redhat.com wrote: On 08/29/2014 05:30 AM, Shanil S wrote: Hi Dan, Please ignore the previous screenshot and check this. -- Regards Shanil On Fri, Aug 29, 2014 at 8:49 AM, Shanil S xielessha...@gmail.com mailto:xielessha...@gmail.com mailto:xielessha...@gmail.com