Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

"Only root can pass arbitrary filesystem paths" Terraform-Proxmox #57

Open
ipdeft opened this issue Feb 27, 2024 · 0 comments
Open

"Only root can pass arbitrary filesystem paths" Terraform-Proxmox #57

ipdeft opened this issue Feb 27, 2024 · 0 comments

Comments

@ipdeft
Copy link

ipdeft commented Feb 27, 2024

Hi, ive populated config.yml and im using an API token associated with the root user, however I am still seeing the error below. Any ideas on how I can continue to troubleshoot?

Thank you

  Terraform will perform the actions described above.
  Only 'yes' will be accepted to approve.

  Enter a value: yes

proxmox_lxc.id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b: Creating...

Error: error creating LXC container: 500 Only root can pass arbitrary filesystem paths. at /usr/share/perl5/PVE/Storage.pm line 541., error status: {"data":null} (params: {"arch":"amd64","cmode":"tty","console":true,"cores":2,"cpulimit":0,"cpuunits":1024,"features":"","hostname":"ratio-tisiphone","memory":4096,"net0":"bridge=vmbr0,ip=dhcp,name=eth0","onboot":false,"ostemplate":"ubuntu2204-4gb-template","protection":false,"rootfs":"zfs-pool1:24","ssh-public-keys":"ssh-rsa AAAA[redacted]","start":true,"storage":"local","swap":4096,"tags":"","tty":2,"unprivileged":false,"vmid":111})

  with proxmox_lxc.id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b,
  on test2_plan.tf line 17, in resource "proxmox_lxc" "id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b":
  17: resource "proxmox_lxc" "id-fa1ada82-8d8a-4dd0-9dcb-ce9e091b584b" {

[X] Fatal Error: Terraform returned an error: No stderr was returned, this is likely a logic issue or partial error within the plan. (Example: if AWS, a bad AMI given the region)```
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant