Uploaded image for project: 'CloudStack'
  1. CloudStack
  2. CLOUDSTACK-7325

bug in iSCSI disconnectPhysicalDiskByPath

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major
    • Resolution: Fixed
    • 4.4.0
    • 4.12
    • KVM
    • Security Level: Public (Anyone can view this level - this is the default.)
    • None

    Description

      in plugins/hypervisors/kvm/src/com/cloud/hypervisor/kvm/storage/IscsiAdmStorageAdaptor.java

      disconnectPhysicalDiskByPath
      If the disk does not have

      -iscsi-

      in its path then this code is ran:

                  // this volume doesn't below to this adaptor, so just return true
                  return true;
      

      It should return false. This way if the disk belongs to another storage adapter that adapter can disconnect the disk in the disconnectPhysicalDiskByPath function in KVMStoragePoolManager.java

      Attachments

        Activity

          People

            Unassigned Unassigned
            blangus Brian Angus
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:

              Time Tracking

                Estimated:
                Original Estimate - 1h
                1h
                Remaining:
                Remaining Estimate - 1h
                1h
                Logged:
                Time Spent - Not Specified
                Not Specified