Booting or Importing from Ceph

cpebble

New Member
Sep 4, 2024
1
1
1
I have set up a custom image based on ubuntu-cloud, and I am having a hard time getting a VM to run from it.

Currently our build server dumps an image to cephfs, as ceph-storage:iso/image-image.img, my first attempt was just mounting this as scsi0 and booting, which didn't work.
On the community wiki > Cloud-Init support there are steps to import the disk into local-lvm storage. I tried this with local-lvm:0,import-from=ceph-storage:iso/image-image.img but i only get the cryptic "has wrong type 'iso' - not an image". If i put in the path as /mnt/pve/ceph-storage/template/iso/image-image.img I instead get a permission error that only root can specify absolute paths.

Why isn't this working? Is it because qemu import-from and proxmox storage don't speak together in the way i am assuming?

Any relevant examples or links to documentation are appreciated, since I am obviously missing some key understanding here
 
  • Like
Reactions: fakebizprez