Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #51217 from vmware/vSphereSCSIFix
Automatic merge from submit-queue Attempt to Attach Volume fails for very first time on vSphere in 1.7 release Before every attach, vSphere cloud provider checks if the SCSI controller is present on the VM. If not present, it will try to create one and attach the disk to that SCSI controller on VM. If already present, it will use the SCSI controller. For the very first time when SCSI controller is not present on the VM, we try to create one and retrieve the SCSI controller for the disk to created on that SCSI controller. But in release 1.7, after successful creation of SCSI controller, we are not assigning back the SCSI controller to the existing "scsicontroller" variable. Because of this the very first time, attach of the disk will fail. This problem is not observed on master, as we have taken care of this in vSphere cloud provider refactoring - #49164 @luomiao @divyenpatel @rohitjogvmw ```release-note vSphere: Fix attach volume failing on the first try. ```
- Loading branch information