Remove restriction, in VMWare, to resize only SCSI disks#5650
Conversation
…are supports resize of subtypes of SCSI, like LSILOGIC, LSILOGIC SAS, etc
|
@blueorangutan package |
| throw new Exception(errorMsg); | ||
| } | ||
|
|
||
| if (vdisk.second() != null && !vdisk.second().toLowerCase().startsWith("scsi")) { |
There was a problem hiding this comment.
I think we have to keep a counter check for IDE controller here, instead of just removing the SCSI check.
I see we are checking it in UserVMManagerImpl but there are other places where resize volume is initiated. So it is better to keep a check in resource layer. Can you please add that.
There was a problem hiding this comment.
@SadiJr Alternatively, you can check for specific controller types from com.cloud.hypervisor.vmware.mo.ScsiDiskControllerType (or) com.cloud.hypervisor.vmware.mo.DiskControllerType
There was a problem hiding this comment.
@harikrishna-patnala The IDE controller check is done on the top line (
|
Packaging result: ✖️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1657 |
|
@blueorangutan package |
|
@SadiJr a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1672 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@shwstppr a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
@blueorangutan package |
|
@rhtyd a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 1726 |
…ve-vmware-restriction-resize-only-scsi-disks
|
@blueorangutan package |
|
@DaanHoogland a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 1913 |
|
@blueorangutan test centos7 vmware-67u3 |
|
@blueorangutan package |
|
@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✖️ el7 ✖️ el8 ✖️ debian ✖️ suse15. SL-JID 2042 |
|
@blueorangutan package |
|
@rohityadavcloud a Jenkins job has been kicked to build packages. I'll keep you posted as I make progress. |
|
Packaging result: ✔️ el7 ✔️ el8 ✔️ debian ✔️ suse15. SL-JID 2049 |
|
@blueorangutan test centos7 vmware-67 |
|
@DaanHoogland unsupported parameters provided. Supported mgmt server os are: |
|
@blueorangutan test centos7 vmware-67u3 |
|
@DaanHoogland a Trillian-Jenkins test job (centos7 mgmt + vmware-67u3) has been kicked to run smoke tests |
|
Trillian test result (tid-2759)
|
Description
In VMWare, there are different types of SCSI controllers, such as BusLogic Parallel, LSI Logic Parallel, LSI Logic SAS, etc. All of these sub-types support the disk resize operation, the only exception is the IDE controller. However, in ACS, there is a logical restriction to allow only resizing of volumes of the specific
SCSItype; thus, not allowing resizing of the SCSI sub-types. This PR corrects this behavior blocking the resize of volumes which usesIDEcontroller only.More information can be found at:
Types of changes
Feature/Enhancement Scale or Bug Severity
Feature/Enhancement Scale
How Has This Been Tested?
I tested it in a local lab:
lsisas1068 SAScontroller.