New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Using ansible vmware_guest module getting "msg": "A specified parameter was not correct: spec.pool" #616
Comments
Hi skirk234, you might have to provide more details, or possibly ask in ansible as we don't maintain that code. |
fatal: [127.0.0.1]: FAILED! => { |
"host": null, So it looks like pool is specified, but host is not. Can you confirm based on the blacklisted information whether that resource pool belongs to a non-DRS cluster? |
I confirmed that the resource pool (it was pulling the default resource pool) was a DRS cluster. We tested with creating a resource pool and specifying it in the call to vcenter and that worked. We also tried declaring the default resource pool and the call to vcenter. It failed. So declaring the resource pool as default or leaving it blank and it getting the default resource pool from the template (I am assuming) fails. but creating a resource pool besides a default and specifying works. We would like to not have to create a resource pool and just let it take the default. |
Thank, @prziborowski ! That was helpful
|
@skirk234 We don't use Resource Pools (used to pass in the default one as a var), but I was able to pass the following to vmware_guest and the VM cloned I was trying to clone (got the same error as you prior to changing these):
Omitted the following arguments to vmware_guest:
|
Hi people ... is there a resolution for this issue as of now :-) |
Trying to create a VM with the required fields on the ansible vmware_guest module and getting spec.pool parameter is not correct. What is the spec.pool parameter referring to?
The text was updated successfully, but these errors were encountered: