I want to create a LXC or VM via API. Currently working on LXC. BUT I noticed first of all the api doc is plain... bad imo . Anyways.
I NEED to add a rootfs for lxc because ofc I do?! And I am using CEPH for my cluster. So I want to create for example a disk of 1G on Ceph Storage CL1.
Can I do that WITHOUT creating a usable disk with rbd first?! Do not understand the thought behind it. I want to give the API <storageID>:<size> why is that not possible?
Or am I overlooking something?
Current rootfs is rootfs="volume=CL1_NVME:,size=1G when I enter a name like vm-123-disk-0 I get file not found because well... IT DOES NOT EXIST.
I do not see the point in creating in manually or via ssh or ceph api is there a smart way I did not find yet?
I NEED to add a rootfs for lxc because ofc I do?! And I am using CEPH for my cluster. So I want to create for example a disk of 1G on Ceph Storage CL1.
Can I do that WITHOUT creating a usable disk with rbd first?! Do not understand the thought behind it. I want to give the API <storageID>:<size> why is that not possible?
Or am I overlooking something?
Current rootfs is rootfs="volume=CL1_NVME:,size=1G when I enter a name like vm-123-disk-0 I get file not found because well... IT DOES NOT EXIST.
I do not see the point in creating in manually or via ssh or ceph api is there a smart way I did not find yet?