Re: [ovirt-users] Migration failed due to Error: Fatal error during migration

2014-08-31 Thread Omer Frenkel


- 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] Migration failed due to Error: Fatal error during migration

2014-08-28 Thread Omer Frenkel


- Original Message -
 From: Manfred Landauer manfred.landa...@fabasoft.com
 To: users@ovirt.org
 Sent: Thursday, August 14, 2014 6:29:21 PM
 Subject: [ovirt-users] Migration failed due to Error: Fatal error during  
 migration
 
 
 
 Hi all
 
 
 
 When we try to migrate a VM on oVirt “Engine Version: 3.4.3-1.el6 ” form host
 A to host B we’ll get this Errormessage: “Migration failed due to Error:
 Fatal error during migration”.
 
 
 
 It looks like, this occurs only when thin provisioned HDD’s attached to the
 VM. VM’s with preallocated HDD’s attached, migrate without a problem.
 
 
 
 Hope someone can help us to solve this issue.
 
 

it looks more like a network error:
Thread-3810747::ERROR::2014-08-14 16:48:45,471::vm::337::vm.Vm::(run) 
vmId=`494f5edc-7edd-4300-a675-f0a8883265e4`::Failed to migrate
Traceback (most recent call last):
  File /usr/share/vdsm/vm.py, line 323, in run
self._startUnderlyingMigration()
  File /usr/share/vdsm/vm.py, line 400, in _startUnderlyingMigration
None, maxBandwidth)
  File /usr/share/vdsm/vm.py, line 838, in f
ret = attr(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/vdsm/libvirtconnection.py, line 76, 
in wrapper
ret = f(*args, **kwargs)
  File /usr/lib64/python2.6/site-packages/libvirt.py, line 1178, in 
migrateToURI2
if ret == -1: raise libvirtError ('virDomainMigrateToURI2() failed', 
dom=self)
libvirtError: Unable to read from monitor: Connection reset by peer

could you attach the libvirt log?

 
 Best regards
 
 Manfred
 
 
 
 ___
 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] Migration failed due to Error: Fatal error during migration

2014-08-28 Thread Punit Dambiwal
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.
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
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
 [org.ovirt.engine.core.vdsbroker.gluster.GlusterVolumesListVDSCommand]
(DefaultQuartzScheduler_Worker-49) FINISH, GlusterVolumesListVDSCommand,
return:
{e6117925-79b1-417b-9d07-cfc31f68bc51=org.ovirt.engine.core.common.businessentities.gluster.GlusterVolumeEntity@debf8bab},
log id: 7cbb4cd
2014-08-29 09:27:53,557 INFO  [org.ovirt.engine.core.bll.LoginUserCommand]
(ajp--127.0.0.1-8702-14) Running command: LoginUserCommand internal: false.
2014-08-29 09:27:53,561 INFO
 [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]