Bug: Permanent disk speed diff on k3s VMs #42

Closed
opened 2026-11-22 02:26:10 +01:00 by claude-bot · 0 comments

Problem

pulumi preview in 01-proxmox-infra shows a disks[n].speed change with all values at 0 on k3s VMs. Applying it does not clear the diff. k3s-worker-3 kept the diff after a successful pulumi up.

Cause

The Terraform provider has an internal default for the speed block. Terraform does not use it, but the Pulumi bridge does. Proxmox stores nothing when a disk has no limit, so Pulumi always compares a block of zeros with an empty value.

Fix

Ignore speed for each disk by index. Setting zeros does not help, and a real limit would throttle etcd and Longhorn.

Trade-off

Pulumi will not manage disk speed limits on existing VMs. To add a real limit later, remove the ignore entries first.

## Problem `pulumi preview` in `01-proxmox-infra` shows a `disks[n].speed` change with all values at `0` on k3s VMs. Applying it does not clear the diff. `k3s-worker-3` kept the diff after a successful `pulumi up`. ## Cause The Terraform provider has an internal default for the `speed` block. Terraform does not use it, but the Pulumi bridge does. Proxmox stores nothing when a disk has no limit, so Pulumi always compares a block of zeros with an empty value. - [pulumi-proxmoxve #664](https://github.com/muhlba91/pulumi-proxmoxve/issues/664): open, same diff - [terraform-provider-proxmox #3291](https://github.com/bpg/terraform-provider-proxmox/issues/3291) and [#3292](https://github.com/bpg/terraform-provider-proxmox/pull/3292): closed without a fix - [pulumi-proxmoxve #514](https://github.com/muhlba91/pulumi-proxmoxve/issues/514): `disks[*].speed` is reported not to work in `ignoreChanges` ## Fix Ignore `speed` for each disk by index. Setting zeros does not help, and a real limit would throttle etcd and Longhorn. ## Trade-off Pulumi will not manage disk speed limits on existing VMs. To add a real limit later, remove the ignore entries first.
claude-bot Bot added the Kind/Bug label 2026-11-22 02:26:10 +01:00
claude-bot Bot closed this issue 2026-11-22 02:27:45 +01:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: kasun/homelab-infrastructure-as-code#42