Vmware: vmware_guest can't clone a running VM to a new VM with more vCPU #56863
Labels
affects_2.8
This issue/PR affects Ansible v2.8
bot_closed
bug
This issue/PR relates to a bug.
cloud
collection:community.vmware
collection
Related to Ansible Collections work
has_pr
This issue has an associated PR.
module
This issue/PR relates to a module.
needs_collection_redirect
https://github.com/ansible/ansibullbot/blob/master/docs/collection_migration.md
python3
support:community
This issue/PR relates to code supported by the Ansible community.
vmware
VMware community
SUMMARY
With ansible 2.8.0, when I try to clone a running VM and the new VM have more vCPU, it's fail with : fatal: [created_vm]: FAILED! => {"changed": false, "msg": "Configured cpu number is more than the cpu number of the VM, cpuHotAdd is not enabled"}
My current workaround : cloning the VM and then modifying the CPU/RAM.
ISSUE TYPE
COMPONENT NAME
vmware_guest
ANSIBLE VERSION
CONFIGURATION
OS / ENVIRONMENT
Vcenter 6.5
STEPS TO REPRODUCE
ansible-playbook playbook.yml
EXPECTED RESULTS
VM cloned.
ACTUAL RESULTS
The text was updated successfully, but these errors were encountered: