RHV : Unable to Import VM's from Imported Storage Domain
Issue
- Importing a VM reports error as follows
Engine.log
2017-08-30 08:02:33,754 ERROR [org.ovirt.engine.core.vdsbroker.irsbroker.GetImageInfoVDSCommand] (default task-3) [35fadefe] IrsBroker::getImageInfo::Failed getting image info imageId='8cbdd105-456c-43d0-af2c-f99d00c8ecd7' does not exist on domainName='redhat-storage-SD-1', domainId='b2fd1f80-4cd7-4558-bb19-651d7a08fefa', error code: 'VolumeDoesNotExist', message: Volume does not exist: (u'8cbdd105-456c-43d0-af2c-f99d00c8ecd7',)
2017-08-30 08:02:33,754 WARN [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (default task-3) [35fadefe] executeIrsBrokerCommand: getImageInfo on '8cbdd105-456c-43d0-af2c-f99d00c8ecd7' threw an exception - assuming image doesn't exist: IRSGenericException: IRSErrorException: VolumeDoesNotExist
2017-08-30 08:02:33,754 INFO [org.ovirt.engine.core.vdsbroker.irsbroker.DoesImageExistVDSCommand] (default task-3) [35fadefe] FINISH, DoesImageExistVDSCommand, return: false, log id: 4e8c8e23
2017-08-30 08:02:33,754 WARN [org.ovirt.engine.core.bll.exportimport.ImportVmFromConfigurationCommand] (default task-3) [35fadefe] Validation of action 'ImportVmFromConfiguration' failed for user xxxxxxxxxxxxxxxx. Reasons: VAR__ACTION__IMPORT,VAR__TYPE__VM,ACTION_TYPE_FAILED_VM_IMAGE_DOES_NOT_EXIST
vdsm.log
jsonrpc.Executor/1::WARNING::2017-08-30 08:02:32,743::lvm::609::Storage.LVM::(getLv) lv: 8cbdd105-456c-43d0-af2c-f99d00c8ecd7 not found in lvs vg: b2fd1f80-4cd7-4558-bb19-651d7a08fefa response
jsonrpc.Executor/1::ERROR::2017-08-30 08:02:32,744::task::868::Storage.TaskManager.Task::(_setError) Task=`a3739a60-aa24-4937-b7be-acff03a835b0`::Unexpected error
Traceback (most recent call last):
File "/usr/share/vdsm/storage/task.py", line 875, in _run
return fn(*args, **kargs)
File "/usr/lib/python2.7/site-packages/vdsm/logUtils.py", line 50, in wrapper
res = f(*args, **kwargs)
File "/usr/share/vdsm/storage/hsm.py", line 3061, in getVolumeInfo
volUUID=volUUID).getInfo()
File "/usr/share/vdsm/storage/sd.py", line 619, in produceVolume
volUUID)
File "/usr/share/vdsm/storage/blockVolume.py", line 370, in __init__
manifest = self.manifestClass(repoPath, sdUUID, imgUUID, volUUID)
File "/usr/share/vdsm/storage/blockVolume.py", line 72, in __init__
volUUID)
File "/usr/share/vdsm/storage/volume.py", line 80, in __init__
self.validate()
File "/usr/share/vdsm/storage/blockVolume.py", line 156, in validate
raise se.VolumeDoesNotExist(self.volUUID)
VolumeDoesNotExist: Volume does not exist: (u'8cbdd105-456c-43d0-af2c-f99d00c8ecd7',)
Environment
- Red Hat Virtualization 4.x
- Block Storage
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
