Booting or Importing from Ceph

cpebble

New Member
Sep 4, 2024
1
0
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
 

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!