-
Notifications
You must be signed in to change notification settings - Fork 1.3k
Description
ISSUE TYPE
- Improvement Request
- Enhancement Request
- Feature Idea
COMPONENT NAME
Configurable VMware Config Spec for hotadd actions in virtual machines in VMware 6.7+ environments.
CLOUDSTACK VERSION
6.14 , I suppose 4.14 is meant here, but new features are not implemented on released versions, so this will be 4.15, probably.
CONFIGURATION
vSphere 6.7
OS / ENVIRONMENT
N/A
SUMMARY
Some virtual machines should not be configured with hotadd support. Before vSphere 6.7 it is possible to overwrite the config via instance details, which are then translated to vmware extraOptionConfig (i.e. vcpu.hotadd=false).
Since vSphere 6.7 this is no longer supported, as the hotadd feature is not an extraOption anymore, but a vmSpecConfig, and this get's set by CloudStack based on OS-type (s. VmwareResource.java)
General idea is, to use the instance details to control the settings, i.e. if vcpu.hotadd=false is set in instance details, then set hotadd feature for vCPU to false as well in vmConfigSpec.
STEPS TO REPRODUCE
Instance detail is added with key=>value: vcpu.hotadd=>false
EXPECTED RESULTS
Above details get's translated to VM Spec Config: vmConfigSpec.setCpuHotAddEnabled(False)
ACTUAL RESULTS
Setting hotadd feature is only based on guest os descriptor.