You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Describe the bug
When attempting to create a Proxmox VM using the OpenTofu provider, the disk resize fails during the creation process. The error indicates that the specified volume does not exist on the datastore, even though the resource is properly defined.
To Reproduce
Steps to reproduce the behavior:
Define a Proxmox VM resource with a clone from an existing VM and specify a disk size.
Run terraform init && terraform apply -auto-approve.
The error appears during VM creation: volume 'x:x/x.raw' does not exist.
Please also provide a minimal Terraform configuration that reproduces the issue.
volume 'Pure-NFS:115/vm-115-disk-0.raw' does not exist
That's an odd error. Have you tried creating a VM using different storage (not NFS backed)?
I'm wondering if this is specific for cloning on NFS. Also, what is the storage used by the source VM?
@bpg the source vm(template) using same NFS storage, i tried to change source vm storage type to local and it works.
Yes i tried for example use ceph but the error the same. so my guess is if you creating vm template(source) for cloning you need to use local or local-lvm type of storages.....
Thanks, there seems to be a regression then. The NFS datastore support was definetely working a while back in my prod env, before I switched everything to Ceph 🤔
Describe the bug
When attempting to create a Proxmox VM using the OpenTofu provider, the disk resize fails during the creation process. The error indicates that the specified volume does not exist on the datastore, even though the resource is properly defined.
To Reproduce
Steps to reproduce the behavior:
Please also provide a minimal Terraform configuration that reproduces the issue.
and the output of
terraform|tofu apply
.Expected behavior
The VM should be created with the defined configuration, including disk size, without any errors related to missing volumes.
Screenshots
If applicable, add screenshots to help explain your problem.
Additional context
it is working with provider version 0.64.0
TF_LOG=DEBUG terraform apply
):The text was updated successfully, but these errors were encountered: