-
Notifications
You must be signed in to change notification settings - Fork 533
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
How to use multiple target nodes? #1081
Comments
This issue is still open, right? This is the actual code behind the field "target_nodes":
|
@PascalKu Thank you for pointing out that the “multiple hosts” configuration has a different name. I assumed that it would stay with “target_host” (without the s at the end). terraform-provider-proxmox/proxmox/resource_vm_qemu.go Lines 133 to 145 in 8e4bad1
I have now invested a lot of time in various tests, only to find out that the “target_node” functionality is currently broken for existing VMs anyway. I remember that in the past, if a VM was on a node that did not match the target_host config, that VM would be moved. This is currently completely ignored, which is why “target_nodes” currently has no function. |
Hello, in version v3.0.1-rc1 “multiple target nodes” were introduced. However, I cannot find a way to use this function, and unfortunately there is nothing in the documentation.
Based on the source code
Nodes: strings.Split(itemMap["nodes"].(string), ","),
, I assume that I have to submit the hosts as a string, separated by a comma.target_node = "pve1,pve2,pve3"
However, I then get the error "Error: 400 Parameter verification failed." when applying.
It is displayed in the plan without any problems.
The text was updated successfully, but these errors were encountered: