terraform-provider-proxmox icon indicating copy to clipboard operation
terraform-provider-proxmox copied to clipboard

Additional parameter for QEMU Agent checking

Open marton-gombocz opened this issue 1 year ago • 2 comments

The problem is that if I enable guest agent checking and somehow the agent is not running on a machine, then the whole automation fails. We're operating with around 200 machines and we have an automation that creates new machines. If the agent is turned off in an instance then the whole automation crashes. Best solution would be an additional ignore_errors variable that lets the process to continue if some of the machine is unresponsive. Thanks in advance! BR, Márton

marton-gombocz avatar Apr 30 '24 12:04 marton-gombocz

Hi @marton-gombocz! 👋🏼

Before deciding on this ticket, I'd like to know a bit more about your error cases:

The problem is that if I enable guest agent checking and somehow the agent is not running on a machine, then the whole automation fails. We're operating with around 200 machines and we have an automation that creates new machines. If the agent is turned off in an instance then the whole automation crashes.

How does it fail? How does it crash?

Just thinking aloud, if you don't need the QEMU Agent functionality, then don't enable it. If provisioning does not work with the agent disabled, then it depends on the agent functionality, and ignoring agent errors in this case won't do any good either. But anyway, it's hard to make any decision without full understanding of the use case and seeing those errors messages / debug logs.

bpg avatar May 23 '24 02:05 bpg

Hi @bpg! Thanks for your response! Me and my colleagues will try to gather as much logs as we can, we just need some time and we'll come back to you. BR, Márton

marton-gombocz avatar May 23 '24 08:05 marton-gombocz

Marking this issue as stale due to inactivity in the past 180 days. This helps us focus on the active issues. If this issue is reproducible with the latest version of the provider, please comment. If this issue receives no comments in the next 30 days it will automatically be closed. If this issue was automatically closed and you feel this issue should be reopened, we encourage creating a new issue linking back to this one for added context. Thank you!

bpg-autobot[bot] avatar Nov 20 '24 00:11 bpg-autobot[bot]