Peter Pentchev created CLOUDSTACK-9616:
------------------------------------------
Summary: KVM iSCSI adaptor: alllow other adaptors to disconnect
disks
Key: CLOUDSTACK-9616
URL: https://issues.apache.org/jira/browse/CLOUDSTACK-9616
Project: CloudStack
Issue Type: Bug
Security Level: Public (Anyone can view this level - this is the default.)
Components: KVM
Environment: KVM hypervisor, more than one storage adaptor
Reporter: Peter Pentchev
Hi,
Thanks for developing CloudStack!
If the following conditions are met:
- more than one storage adaptor is defined for a KVM storage pool
- a disconnectPhysicalDiskByPath() request comes in for the pool (the
KVMStoragePoolManager.disconnectPhysicalDiskByPath() method is invoked)
- the loop in that method finds the iSCSI adaptor first
- the disk being disconnected is *not* managed by the iSCSI adaptor
....then the IscsiAdmStorageAdaptor.disconnectPhysicalDiskByPath() will return
a "true" value, signalling that the request has been handled, while it has
actually been silently ignored.
A patch making the iSCSI storage adaptor return "false" (thus allowing other
storage adaptors to process the request and actually disconnect the disk) is
available as a GitHub pull request at
https://github.com/apache/cloudstack/pull/1780
Thanks in advance for your time and consideration!
Best regards,
Peter
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)