Skip to content
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

Open
arty-hlr opened this issue Sep 17, 2024 · 0 comments
Open

v3.0.1-rc3: IP not found and agent_timeout not being used #1106

arty-hlr opened this issue Sep 17, 2024 · 0 comments

Comments

@arty-hlr
Copy link

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:
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
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants