weizhouapache opened a new issue #5877:
URL: https://github.com/apache/cloudstack/issues/5877
in vmx file, the scsiX.virtualDev is not changed to "pvscsi" when root and
data disk controller are set to "pvscsi"
##### ISSUE TYPE
<!-- Pick one below and delete the rest -->
* Bug Report
##### COMPONENT NAME
<!--
Categorize the issue, e.g. API, VR, VPN, UI, etc.
-->
~~~
vmware
~~~
##### CLOUDSTACK VERSION
<!--
New line separated list of affected versions, commit ID for issues on main
branch.
-->
~~~
4.16
~~~
##### CONFIGURATION
<!--
Information about the configuration if relevant, e.g. basic network,
advanced networking, etc. N/A otherwise
-->
##### OS / ENVIRONMENT
<!--
Information about the environment if relevant, N/A otherwise
-->
##### SUMMARY
<!-- Explain the problem/feature briefly -->
By default, the scsiX.virtualDev is "lsilogic".
when I set root and data disk controller to "pvscsi", I expect that the
scsiX.virtualDev is changed to "pvscsi".
##### STEPS TO REPRODUCE
<!--
For bugs, show exactly how to reproduce the problem, using a minimal
test-case. Use Screenshots if accurate.
For new features, show how the feature would be used.
-->
<!-- Paste example playbooks or commands between quotes below -->
~~~
1. create a vm and start it
the vm has config in vmx file
# grep scsi /vmfs/volumes/85f59f3e-422b762e/i-2-4-VM/i-2-4-VM.vmx
scsi0.virtualDev = "lsilogic"
scsi0.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1.present = "TRUE"
scsi2.virtualDev = "lsilogic"
scsi2.present = "TRUE"
scsi3.virtualDev = "lsilogic"
scsi3.present = "TRUE"
scsi0.pciSlotNumber = "16"
scsi1.pciSlotNumber = "32"
scsi2.pciSlotNumber = "33"
scsi3.pciSlotNumber = "34"
2. stop the vm, and change vm setting
rootDiskController=pvscsi
dataDiskController=pvscsi
3. start the vm
# grep scsi /vmfs/volumes/85f59f3e-422b762e/i-2-4-VM/i-2-4-VM.vmx
scsi0.virtualDev = "lsilogic"
scsi0.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1.present = "TRUE"
scsi2.virtualDev = "lsilogic"
scsi2.present = "TRUE"
scsi3.virtualDev = "lsilogic"
scsi3.present = "TRUE"
scsi0.pciSlotNumber = "16"
scsi1.pciSlotNumber = "32"
scsi2.pciSlotNumber = "33"
scsi3.pciSlotNumber = "34"
scsi0:0.deviceType = "scsi-hardDisk"
scsi0:0.fileName = "ROOT-4.vmdk"
scsi0:0.present = "TRUE"
dataDiskController = "pvscsi"
rootDiskController = "pvscsi"
scsi0:0.redo = ""
~~~
<!-- You can also paste gist.github.com links for larger files -->
##### EXPECTED RESULTS
<!-- What did you expect to happen when running the steps above? -->
~~~
scsi0.virtualDev = "pvscsi"
scsi0.present = "TRUE"
scsi1.virtualDev = "pvscsi"
scsi1.present = "TRUE"
scsi2.virtualDev = "pvscsi"
scsi2.present = "TRUE"
scsi3.virtualDev = "pvscsi"
scsi3.present = "TRUE"
~~~
##### ACTUAL RESULTS
<!-- What actually happened? -->
<!-- Paste verbatim command output between quotes below -->
~~~
scsi0.virtualDev = "lsilogic"
scsi0.present = "TRUE"
scsi1.virtualDev = "lsilogic"
scsi1.present = "TRUE"
scsi2.virtualDev = "lsilogic"
scsi2.present = "TRUE"
scsi3.virtualDev = "lsilogic"
scsi3.present = "TRUE"
~~~
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]