-
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
v3.0.1-rc3: IP not found and agent_timeout not being used #1106
Comments
Test without Cloud-init (
Also,
Not sure if that's the correct way to NOT use Cloud-init though. |
Found the commit that most likely broke it. 18095e5#diff-104365919f693375882979581d9f36f5266991eef361948e56c220931fe886ddL1916 |
terraform-provider-proxmox/proxmox/resource_vm_qemu.go Lines 1970 to 1994 in a9a0bad
However, it the log your showed does show the information in it's raw form. terraform-provider-proxmox/proxmox/resource_vm_qemu.go Lines 1965 to 1968 in a9a0bad
Upstream I'm working on re-implementingthe network interfaces to get rid of this regex parsing of the MAC address on L1966. |
@Tinyblargon How do I tell terraform/opentofu to use your branch? I only see |
about |
@arty-hlr when you compile the branch, the compiled binary has to be renamed to |
Hi @Tinyblargon, that didn't work, I had to change the .terraformrc to add a filesystem mirror, unfortunately that's not mentioned anywhere in the docs. I just ran a test with your branch and unfortunately it still doesn't work, here's the relevant part of the output: It seems that looping over |
Checking if i have the correct situation.
The error is telling me that |
@Tinyblargon The same happens with I'm actually not sure why it says |
The code here https://github.com/Telmate/terraform-provider-proxmox/blob/master/proxmox/resource_vm_qemu.go#L1935 seems to indicate that this shouldn't happen when |
@arty-hlr made some changes and tested locally. |
Contrary to the PR #1016 and to what the documentation https://registry.terraform.io/providers/telmate/proxmox/3.0.1-rc3/docs/resources/vm_qemu says,
agent_timeout
is not being used, which results in VMs being created and then the following error:I do use
agent_timeout
in the module:but it's not being shown in the plan output:
The only difference with previous templates I tried to clone is that there is now SSH installed. I am not sure why it cannot find the IP address as it shows it in the GUI. I would expect
agent_timeout
to help, as the error suggests, but it does not do anything unfortunately. It also sometimes work on one VM or the other, pretty randomly as it seems, so doing multipleterraform apply
helps, kinda.Here is the full output with TF_VAR_LOG=DEBUG:
To reproduce:
agent_timeout
The text was updated successfully, but these errors were encountered: