Describe the bugcpuunits default to 1024 regardless of cgroups version. According to the Proxmox wiki, it should default to 100 on machines that support cgroup2
It is a relative weight which defaults to 100 (or 1024 if the host uses legacy cgroup v1).
Since my cluster is on a machine with cgroup2, Proxmox defaults to 100 on all of my other VMs and then the VMs created with this provider end up with 1024.
To Reproduce
Steps to reproduce the behavior:
Create a resource "proxmox_virtual_environment_vm"
Run "terraform apply"
See that it gives 1024 cpuunits instead of 100
Please also provide a minimal Terraform configuration that reproduces the issue:
Describe the bug cpuunits default to
1024
regardless of cgroups version. According to the Proxmox wiki, it should default to 100 on machines that support cgroup2Since my cluster is on a machine with cgroup2, Proxmox defaults to 100 on all of my other VMs and then the VMs created with this provider end up with 1024.
To Reproduce Steps to reproduce the behavior:
Please also provide a minimal Terraform configuration that reproduces the issue:
Expected behavior I expect the default to be set depending on the cgroup version supported by the Proxmox server.
Screenshots N/A
Additional context Add any other context about the problem here.
TF_LOG=DEBUG terraform apply
): N/A