Hi!
We have run into a problem migrating a VM's disk. While doing a live
disk migration it all went well until "Removing Snapshot Auto-generated
for Live Storage Migration". The operation started and got stuck in the
"Preparing to merge" stage. The task was visible as an async task for a
couple of days, then dissapeared. The snapshot named "Auto-generated for
Live Storage Migration" still exists.
If we try to start the VM it produces the following error:
VM VM_NAME_HERE is down with error. Exit message: Bad volume
specification {u'index': 0, u'domainID':
u'47ee9bde-4f18-43c2-9383-0d30a27d1ae7', 'reqsize': '0',
u'format':
u'cow', u'bootOrder': u'1', u'address':
{u'function': u'0x0', u'bus':
u'0x00', u'domain': u'0x0000', u'type': u'pci',
u'slot': u'0x05'},
u'volumeID': u'3b0184b7-5c5d-4669-8b3a-04880883118a',
'apparentsize':
'19193135104', u'imageID':
u'35599677-250a-4586-9db1-4df8f3291164',
u'discard': False, u'specParams': {}, u'readonly':
u'false', u'iface':
u'virtio', u'optional': u'false', u'deviceId':
u'35599677-250a-4586-9db1-4df8f3291164', 'truesize':
'19193135104',
u'poolID': u'35628205-9fa3-41de-b914-84f9adb633e4', u'device':
u'disk',
u'shared': u'false', u'propagateErrors': u'off',
u'type': u'disk'}.
From what I understand the data access path is snapshot->"disk before
snapshot". And since the snapshot is corrupted it cannot be accessed and
the whole VM start process fails. I believe that the disk before the
snapshot was made is still intact.
How can we discard the whole snapshot so that are left only with the
state before the snapshot was made?
We can afford to lose the data in the snapshot.
Best regards,
Mitja