HOMELAB-958: fix(proxmox-vm): ignore Cilium-runtime churn on VM resource #194

Merged
aaron merged 1 commit from plane/HOMELAB-958-vm-ignore-cilium-churn into live 2026-04-26 08:53:35 +00:00
Owner

terraform apply hangs 10+min waiting for VM ipv4_addresses/ipv6_addresses/mac_addresses/network_interface_names to stabilize — they never do on a busy cluster (Cilium endpoint churn). Adding to lifecycle.ignore_changes. Found while applying HOMELAB-958.

terraform apply hangs 10+min waiting for VM `ipv4_addresses`/`ipv6_addresses`/`mac_addresses`/`network_interface_names` to stabilize — they never do on a busy cluster (Cilium endpoint churn). Adding to lifecycle.ignore_changes. Found while applying HOMELAB-958.
HOMELAB-958: fix(proxmox-vm): ignore Cilium-runtime churn on VM resource
Some checks failed
0/0 projects applied successfully.
CI Review / pr-title (pull_request) Has been cancelled
CI Review / helm-validate (pull_request) Has been cancelled
Lint & Validate / terraform-validate (pull_request) Has been cancelled
Lint & Validate / yaml-lint (pull_request) Has been cancelled
Lint & Validate / shellcheck (pull_request) Has been cancelled
CI Review / ai-review (pull_request) Has been cancelled
0a61c2fe7f
terraform apply against this module hangs for 10+ minutes on every
existing-VM update because the bpg/proxmox provider continuously sees
the computed attrs ipv4_addresses, ipv6_addresses, mac_addresses, and
network_interface_names change — Cilium creates/destroys lxc* veth
pairs, container MAC addrs, and pod IPs constantly on a busy cluster.
The provider waits for stabilization that never happens.

These are read-only attributes terraform never sets. Adding them to
ignore_changes makes the provider stop polling for them on plan, which
turns existing-VM updates from "modifying for 11 minutes" into
"refreshed in 5 seconds."

Found while applying HOMELAB-958 (add prod-wk-03). prod-cp-01 was
"Still modifying..." for 11 minutes before I aborted; cluster API
remained healthy throughout (proving the modification was a phantom).

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
aaron merged commit 9317377398 into live 2026-04-26 08:53:35 +00:00
Sign in to join this conversation.
No reviewers
No labels
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
aaron/infra-core!194
No description provided.