Unable to create LXC via API PVE 7.1-8

dj_arbz

New Member
Dec 26, 2021
11
1
3
32
More details in this Github issue: https://github.com/ansible-collections/community.general/issues/3956

I am unable to create an LXC container in v7 via the API if I use the rootfs option to specify the disk size.
If I omit the rootfs option, the container is created successfully.
I have tried to auth as a normal admin and root.
I have tired setting rootfs to the following:
- 8G
- 8GB
- size=8G
- local-zfs:subvol-2005-disk-0,size=8G

1640878317844.png
1640878328310.png
 
That worked, thank you!

May I ask where you found that change documented?
It seems redundant to set that value there and for the storage option as well.
 

About

The Proxmox community has been around for many years and offers help and support for Proxmox VE, Proxmox Backup Server, and Proxmox Mail Gateway.
We think our community is one of the best thanks to people like you!

Get your subscription!

The Proxmox team works very hard to make sure you are running the best software and getting stable updates and security enhancements, as well as quick enterprise support. Tens of thousands of happy customers have a Proxmox subscription. Get yours easily in our online shop.

Buy now!