cloudstack-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Peter Pentchev (JIRA)" <>
Subject [jira] [Created] (CLOUDSTACK-9616) KVM iSCSI adaptor: alllow other adaptors to disconnect disks
Date Fri, 25 Nov 2016 08:49:58 GMT
Peter Pentchev created CLOUDSTACK-9616:

             Summary: KVM iSCSI adaptor: alllow other adaptors to disconnect disks
                 Key: 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


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

Thanks in advance for your time and consideration!

Best regards,

This message was sent by Atlassian JIRA

View raw message