Bonjour,

Je rencontre actuellement un problème pour migrer certaines VMs d'un datastore à un autre à chaud.

A froid, machine éteinte, la migration se passe parfaitement. A chaud, elle démarre et plante immédiatement avec le message d'erreur suivant :

"A general error occured : Failed to start disk migrations"
Dans les logs, on remarque les lignes suivantes :

13:25:37.202Z| vmx| VMXVmdbCbVmVmxMigrate: Got SET callback for /vm/#_VMX/vmx/migrateState/cmd/##1_3043f/op/=to
13:25:37.202Z| vmx| Could not identify IP address family of in/srcLogIp:
13:25:37.202Z| vmx| Could not identify IP address family of in/dstLogIp:
13:25:37.202Z| vmx| VMXVmdbVmVmxMigrateGetParam: type: 2 srcIp=<127.0.0.1> dstIp=<127.0.0.1> mid=4cbc880e96d77 uuid=36343137-3439-435a-3335-323230364650 priority=none checksumMemory=no maxDowntime=0 encrypted=0 resumeDuringPageIn=no latencyAware=no diskOpFile=
13:25:37.202Z| vmx| VMXVmdbVmVmxMigrateGetParam: type 2 unsharedSwap 1 memMinToTransfer 0 cpuMinToTransfer 0 numDisks 1 numStreamIps 0
13:25:37.202Z| vmx| Received migrate 'to' request for mid id 1349961923521911, src ip <127.0.0.1>, dst ip <127.0.0.1>.
13:25:37.202Z| vmx| SVGA: Maximum display topology 2560x1600.
13:25:40.337Z| vmx| MigrateSetInfo: state=1 srcIp=<127.0.0.1> dstIp=<127.0.0.1> mid=1349961923521911 uuid=36343137-3439-435a-3335-323230364650 priority=low
13:25:40.337Z| vmx| MigrateSetState: Transitioning from state 0 to 1.
13:25:40.362Z| vmx| VMXVmdb_SetMigrationHostLogState: hostlog state transits to emigrating for migrate 'to' mid 1349961923521911
13:25:42.088Z| vmx| VMXVmdbCbVmVmxMigrate: Got SET callback for /vm/#_VMX/vmx/migrateState/cmd/##1_3044b/op/=start
13:25:42.088Z| vmx| VMXVmdbVmVmxMigrateGetStartParam: mid=4cbc880e96d77 dstwid=381102
13:25:42.088Z| vmx| Received migrate 'start' request for mig id 1349961923521911, dest world id 381102.
13:25:42.090Z| vmx| SVGA: Maximum display topology 2560x1600.
13:25:42.090Z| vmx| WORKER: Creating new group with numThreads=1 (4)
13:25:42.090Z| vmx| WORKER: Creating new group with numThreads=1 (4)
13:25:42.090Z| vmx| SVMotion: Enter Phase 1
13:25:42.143Z| vmx| SVMotion: scsi0:0: SVMotionGetAdapterType: unsupported adapter type for source disk.
13:25:42.143Z| vmx| VMXVmdb_SetMigrationHostLogState: hostlog state transits to failure for migrate 'to' mid 1349961923521911
13:25:42.152Z| vmx| MigrateSetStateFinished: type=1 new state=5
13:25:42.152Z| vmx| MigrateSetState: Transitioning from state 1 to 5.
13:25:42.152Z| vmx| Migrate_SetFailure: switching to new log file.
13:25:42.152Z| vmx| Migrate_SetFailure: Now in new log file.
13:25:42.156Z| vmx| Migrate_SetFailure: Failed to start disk migrations.
13:25:42.156Z| vmx|
13:25:42.156Z| vmx| Migrate: cleaning up migration state.
13:25:42.157Z| vmx| SVMotion: Enter Phase 10
13:25:42.157Z| vmx| SVMotion_Cleanup: Scheduling cleanup thread.
13:25:42.157Z| vmx| MigrateSetState: Transitioning from state 5 to 0.
13:25:42.157Z| Worker#0| SVMotionCleanupThread: Waiting for SVMotion thread to complete.
13:25:42.157Z| Worker#0| SVMotionCleanupThread: Waiting for final stun/unstun to finish
13:25:42.157Z| Worker#0| SVMotion: Enter Phase 0
13:25:42.157Z| Worker#0| SVMotionCleanupThread: Cleanup complete.
13:25:42.157Z| vmx| Migrate /vm/#_VMX/vmx/migrateState/cmd/##1_3044b/op/ failed with error: Failed to start disk migrations. (-1).
J'ai pu vérifier, toutes les VM qui ne veulent pas migrer sont configurées en LSI SAS. Toutefois, toutes les VMs configurées LSI SAS ne plantent pas toutes lors d'un Storage vMotion, certaines sont migrées systématiquement correctement.

Nous avons essayé de suivre le KB de VMWare pour changer le controlleur SCSI en LSI Parallel (lsilogic), comme toutes les autres VMs qui sont migrées correctement, mais le résultat est le même.

(KB = http://kb.vmware.com/kb/1002149).

Même le support HP VMWare ne sait pas trop quoi faire.

Voici un le vmx d'une VM qui plante :

.encoding = "UTF-8"
config.version = "8"
virtualHW.version = "8"
pciBridge0.present = "true"
pciBridge4.present = "true"
pciBridge4.virtualDev = "pcieRootPort"
pciBridge4.functions = "8"
pciBridge5.present = "true"
pciBridge5.virtualDev = "pcieRootPort"
pciBridge5.functions = "8"
pciBridge6.present = "true"
pciBridge6.virtualDev = "pcieRootPort"
pciBridge6.functions = "8"
pciBridge7.present = "true"
pciBridge7.virtualDev = "pcieRootPort"
pciBridge7.functions = "8"
vmci0.present = "true"
hpet0.present = "true"
nvram = "ATC764--0.nvram"
virtualHW.productCompatibility = "hosted"
powerType.powerOff = "soft"
powerType.powerOn = "hard"
powerType.suspend = "hard"
powerType.reset = "soft"
displayName = "ATC764--0"
extendedConfigFile = "ATC764--0.vmxf"
floppy0.present = "true"
scsi0.present = "true"
scsi0.sharedBus = "none"
scsi0.virtualDev = "lsilogic"
memsize = "4096"
scsi0:0.present = "true"
scsi0:0.fileName = "ATC764--0.vmdk"
scsi0:0.deviceType = "scsi-hardDisk"
sched.scsi0:0.shares = "normal"
sched.scsi0:0.throughputCap = "off"
ide0:0.present = "true"
ide0:0.clientDevice = "true"
ide0:0.fileName = "/usr/lib/vmware/isoimages/windows.iso"
ide0:0.deviceType = "cdrom-raw"
ide0:0.startConnected = "false"
floppy0.startConnected = "false"
floppy0.fileName = ""
floppy0.clientDevice = "true"
ethernet0.present = "true"
ethernet0.virtualDev = "e1000"
ethernet0.networkName = "VM Network"
ethernet0.addressType = "vpx"
ethernet0.generatedAddress = "00:50:56:9c:44:74"
svga.vramSize = "8388608"
guestOS = "windows7-64"
annotation = "Agent de test|0ATemplate : ATC764|0ACreator : ABILLARD"
uuid.bios = "42 1c f8 fd 0b 39 39 65-85 da f1 37 74 9b 8f 40"
vc.uuid = "50 1c 02 a3 60 8c 4b c7-b3 de 87 63 7a 3e 3d f7"
snapshot.action = "keep"
sched.cpu.min = "2048"
sched.cpu.units = "mhz"
sched.cpu.shares = "normal"
sched.mem.min = "4096"
sched.mem.shares = "normal"
tools.upgrade.policy = "manual"
cpuid.coresPerSocket = "1"
ethernet0.pciSlotNumber = "32"
evcCompatibilityMode = "FALSE"
guestCPUID.0 = "0000000b756e65476c65746e49656e69"
guestCPUID.1 = "000206c200010800829822030febfbff"
guestCPUID.80000001 = "00000000000000000000000128100800"
hostCPUID.0 = "0000000b756e65476c65746e49656e69"
hostCPUID.1 = "000206c200200800029ee3ffbfebfbff"
hostCPUID.80000001 = "0000000000000000000000012c100800"
pciBridge0.pciSlotNumber = "17"
pciBridge4.pciSlotNumber = "21"
pciBridge5.pciSlotNumber = "22"
pciBridge6.pciSlotNumber = "23"
pciBridge7.pciSlotNumber = "24"
replay.filename = ""
replay.supported = "FALSE"
scsi0.pciSlotNumber = "16"
scsi0.sasWWID = "50 05 05 6d 0b 39 39 60"
scsi0:0.redo = ""
userCPUID.0 = "0000000b756e65476c65746e49656e69"
userCPUID.1 = "000206c200200800029822030febfbff"
userCPUID.80000001 = "00000000000000000000000128100800"
vmci0.pciSlotNumber = "33"
vmotion.checkpointFBSize = "8388608"
tools.remindInstall = "FALSE"
unity.wasCapable = "FALSE"
tools.deployPkg.fileName = ""
config.readOnly = "FALSE"
vmotion.checkpointSVGASize = "13631488"
vmci0.id = "1956351808"
tools.syncTime = "FALSE"
uuid.location = "56 4d 52 b9 26 17 88 30-86 5c 64 b8 b1 79 89 1f"
cleanShutdown = "TRUE"
migrate.hostlog = "./ATC764--0-01c829f0.hlog"
sched.mem.pin = "TRUE"
sched.swap.derivedName = "/vmfs/volumes/50753435-e8be32d0-a0ce-e4115beb61ce/ATC764--0/ATC764--0-01c829f0.vswp"
scsi1.present = "FALSE"
scsi1:0.present = "FALSE"
Je ne trouve rien à faire. Pourriez-vous m'aider je vous prie ?

En vous remerciant !