Replies: 1 comment
-
If I try and create this without a cdrom or with an empty cdrom, then it works correctly. If I try and clone a cdrom it fails It does not matter if I clone the cdrom by name or by uuid. I create the VM with an empty CDROM and that succeeds I get and print out the UUID that was created TASK [print Vm UUID] *********************************************************** I then try and add the CDROM to the server with a clone_image to mount an iso As we can see the UUID matches with the VM that was created. |
Beta Was this translation helpful? Give feedback.
-
Environment:
Redhat Enterprise 9 server
Ansible-core 2.14.2-5
nutanix.ncp 1.9.0
Nutanix PC Version - pc.2022.6.0.9
This is the output
fatal: [prism-central]: FAILED! => {"changed": false, "error": "HTTP Error 422: UNPROCESSABLE ENTITY", "msg": "Failed fetching URL: https://prism-central:9440/api/nutanix/v3/vms", "response": null, "status_code": 422}
Had to force the client to use python3 with this in the vars section of the host file
ansible_python_interpreter=/usr/bin/python3
Beta Was this translation helpful? Give feedback.
All reactions