terraform-provider-proxmox: v3.0.1-rc3: IP not found and agent_timeout not being used

Contrary to the PR https://github.com/Telmate/terraform-provider-proxmox/pull/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: image

I do use agent_timeout in the module: image

but it’s not being shown in the plan output: image

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 multiple terraform apply helps, kinda.

Here is the full output with TF_VAR_LOG=DEBUG: image

To reproduce:

  • create a windows template with SSH server installed and clone it (linked clone) with terraform
  • create a VM from a template with terraform and use agent_timeout

About this issue

  • Original URL
  • State: closed
  • Created 2 years ago
  • Comments: 26

Commits related to this issue

Most upvoted comments

@arty-hlr it should be fixed so they are ignored.

@arty-hlr when you compile the branch, the compiled binary has to be renamed to linux_amd64, then you can put at .terraform/providers/terraform.local/local/proxmox/1.0.0/linux_amd64 inside your terraform project developer.md has more information about this.