[ovirt-users] Diagnosing Migration Error

Martin Sivak msivak at redhat.com
Fri Mar 18 16:22:19 UTC 2016


Hi Charles,

you can probably get much more detailed explanation from the vdsm and
libvirt logs from the two hosts. Take a look at
/var/log/vdsm/vdsm.log.

Best regards

Martin Sivak
SLA / oVirt


On Fri, Mar 18, 2016 at 3:37 PM, Charles Tassell <charles at islandadmin.ca> wrote:
> Hello,
>
>   I'm trying to test migrating a VM from one host to another and it's
> failing, but with no apparent error message.  I took a look at the server
> logs (which I've copied below) but there doesn't seem to be anything in here
> that would help track down the problem.  Should I be looking somewhere
> besides engine.log on the hosted engine? This is the latest version of oVirt
> (3.6.3.4-1.el7.centos) that I just upgraded this morning.  The VM has an ISO
> attached over NFS storage and the disk image is on fiber channel.
>
> 2016-03-18 14:31:18,913 INFO
> [org.ovirt.engine.core.bll.MigrateVmToServerCommand] (default task-25)
> [549545f2] Lock Acquired to object
> 'EngineLock:{exclusiveLocks='[2be4938e-f4a3-4322-bae3-8a9628b81835=<VM,
> ACTION_TYPE_FAILED_VM_IS_BEING_MIGRATED$VmName cdTest02>]',
> sharedLocks='null'}'
> 2016-03-18 14:31:19,131 INFO
> [org.ovirt.engine.core.bll.MigrateVmToServerCommand]
> (org.ovirt.thread.pool-8-thread-45) [549545f2] Running command:
> MigrateVmToServerCommand internal: false. Entities affected :  ID:
> 2be4938e-f4a3-4322-bae3-8a9628b81835 Type: VMAction group MIGRATE_VM with
> role type USER
> 2016-03-18 14:31:19,186 INFO
> [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
> (org.ovirt.thread.pool-8-thread-45) [549545f2] START, MigrateVDSCommand(
> MigrateVDSCommandParameters:{runAsync='true',
> hostId='cbfd733b-8ced-487d-8754-a2217ce1210f',
> vmId='2be4938e-f4a3-4322-bae3-8a9628b81835',
> srcHost='ovirt-01.virt.roblib.upei.ca',
> dstVdsId='1200a78f-6d05-4e5e-9ef7-6798cf741310',
> dstHost='ovirt-02.virt.roblib.upei.ca:54321', migrationMethod='ONLINE',
> tunnelMigration='false', migrationDowntime='0', autoConverge='false',
> migrateCompressed='false', consoleAddress='null'}), log id: 8f303ba
> 2016-03-18 14:31:19,188 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
> (org.ovirt.thread.pool-8-thread-45) [549545f2] START,
> MigrateBrokerVDSCommand(HostName = oVirt-01,
> MigrateVDSCommandParameters:{runAsync='true',
> hostId='cbfd733b-8ced-487d-8754-a2217ce1210f',
> vmId='2be4938e-f4a3-4322-bae3-8a9628b81835',
> srcHost='ovirt-01.virt.roblib.upei.ca',
> dstVdsId='1200a78f-6d05-4e5e-9ef7-6798cf741310',
> dstHost='ovirt-02.virt.roblib.upei.ca:54321', migrationMethod='ONLINE',
> tunnelMigration='false', migrationDowntime='0', autoConverge='false',
> migrateCompressed='false', consoleAddress='null'}), log id: 792d7e9e
> 2016-03-18 14:31:19,455 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateBrokerVDSCommand]
> (org.ovirt.thread.pool-8-thread-45) [549545f2] FINISH,
> MigrateBrokerVDSCommand, log id: 792d7e9e
> 2016-03-18 14:31:19,470 INFO
> [org.ovirt.engine.core.vdsbroker.MigrateVDSCommand]
> (org.ovirt.thread.pool-8-thread-45) [549545f2] FINISH, MigrateVDSCommand,
> return: MigratingFrom, log id: 8f303ba
> 2016-03-18 14:31:19,498 INFO
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-8-thread-45) [549545f2] Correlation ID: 549545f2, Job
> ID: 3f97f737-d32a-4ffa-b213-122dcd3ca048, Call Stack: null, Custom Event ID:
> -1, Message: Migration started (VM: cdTest02, Source: oVirt-01, Destination:
> oVirt-02, User: admin at internal).
> 2016-03-18 14:31:28,055 INFO [org.ovirt.engine.core.vdsbroker.VmAnalyzer]
> (DefaultQuartzScheduler_Worker-39) [] VM
> '2be4938e-f4a3-4322-bae3-8a9628b81835'(cdTest02) moved from 'MigratingFrom'
> --> 'Up'
> 2016-03-18 14:31:28,055 INFO [org.ovirt.engine.core.vdsbroker.VmAnalyzer]
> (DefaultQuartzScheduler_Worker-39) [] Adding VM
> '2be4938e-f4a3-4322-bae3-8a9628b81835' to re-run list
> 2016-03-18 14:31:28,114 ERROR
> [org.ovirt.engine.core.vdsbroker.VmsMonitoring]
> (DefaultQuartzScheduler_Worker-39) [] Rerun VM
> '2be4938e-f4a3-4322-bae3-8a9628b81835'. Called from VDS 'oVirt-01'
> 2016-03-18 14:31:28,202 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
> (org.ovirt.thread.pool-8-thread-46) [] START,
> MigrateStatusVDSCommand(HostName = oVirt-01,
> MigrateStatusVDSCommandParameters:{runAsync='true',
> hostId='cbfd733b-8ced-487d-8754-a2217ce1210f',
> vmId='2be4938e-f4a3-4322-bae3-8a9628b81835'}), log id: 618baaa6
> 2016-03-18 14:31:29,209 INFO
> [org.ovirt.engine.core.vdsbroker.vdsbroker.MigrateStatusVDSCommand]
> (org.ovirt.thread.pool-8-thread-46) [] FINISH, MigrateStatusVDSCommand, log
> id: 618baaa6
> 2016-03-18 14:31:29,250 ERROR
> [org.ovirt.engine.core.dal.dbbroker.auditloghandling.AuditLogDirector]
> (org.ovirt.thread.pool-8-thread-46) [] Correlation ID: 549545f2, Job ID:
> 3f97f737-d32a-4ffa-b213-122dcd3ca048, Call Stack: null, Custom Event ID: -1,
> Message: Migration failed  (VM: cdTest02, Source: oVirt-01, Destination:
> oVirt-02).
> 2016-03-18 14:31:29,262 INFO
> [org.ovirt.engine.core.bll.MigrateVmToServerCommand]
> (org.ovirt.thread.pool-8-thread-46) [] Lock freed to object
> 'EngineLock:{exclusiveLocks='[2be4938e-f4a3-4322-bae3-8a9628b81835=<VM,
> ACTION_TYPE_FAILED_VM_IS_BEING_MIGRATED$VmName cdTest02>]',
> sharedLocks='null'}'
> _______________________________________________
> Users mailing list
> Users at ovirt.org
> http://lists.ovirt.org/mailman/listinfo/users



More information about the Users mailing list