Adding multiple host devices is failing with error "in use by another SCSI host device"
Issue
- After adding multiple host devices to a VM and then starting it is failing with below error.
Traceback (most recent call last):
File "/usr/share/vdsm/virt/vm.py", line 562, in _startUnderlyingVm
self._run()
File "/usr/share/vdsm/virt/vm.py", line 2060, in _run
self._connection.createXML(domxml, flags),
File "/usr/lib/python2.7/site-packages/vdsm/libvirtconnection.py", line 123, in wrapper
ret = f(*args, **kwargs)
File "/usr/lib/python2.7/site-packages/vdsm/utils.py", line 1006, in wrapper
return func(inst, *args, **kwargs)
File "/usr/lib64/python2.7/site-packages/libvirt.py", line 3567, in createXML
if ret is None:raise libvirtError('virDomainCreateXML() failed', conn=self)
libvirtError: unsupported configuration: SCSI host address controller='0' bus='1' target='0' unit='0' in use by another SCSI host device
2017-11-21 17:15:41,144+0700 INFO (vm/111111) [virt.vm] (vmId='111111111-1111-1111-1111-111111111') Changed state to Down: unsupported configuration: SCSI host address controller='0' bus='1' target='0' unit='0' in use by another SCSI host device (code=1) (vm:1259)
Environment
Red Hat Virtualization 4.1.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.