mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-17 15:50:10 +00:00
Merge pull request #38426 from abrarshivani/fix_lsi_logic_sas_bug
Automatic merge from submit-queue Changed default scsi controller type in vSphere Cloud Provider This PR changes default scsi controller to ```pvscsi``` in vSphere Cloud Provider. Fixes #37527
This commit is contained in:
commit
9484212b00
@ -254,7 +254,7 @@ func getVMName(client *govmomi.Client, cfg *VSphereConfig) (string, error) {
|
||||
|
||||
func newVSphere(cfg VSphereConfig) (*VSphere, error) {
|
||||
if cfg.Disk.SCSIControllerType == "" {
|
||||
cfg.Disk.SCSIControllerType = LSILogicSASControllerType
|
||||
cfg.Disk.SCSIControllerType = PVSCSIControllerType
|
||||
} else if !checkControllerSupported(cfg.Disk.SCSIControllerType) {
|
||||
glog.Errorf("%v is not a supported SCSI Controller type. Please configure 'lsilogic-sas' OR 'pvscsi'", cfg.Disk.SCSIControllerType)
|
||||
return nil, errors.New("Controller type not supported. Please configure 'lsilogic-sas' OR 'pvscsi'")
|
||||
|
Loading…
Reference in New Issue
Block a user