is it possible to use Cloud-image with ceph in proxmox?

Well, seems they provide boot-able qcow2 files for kvm (ending with'-disk1')

I simply downloaded such file:

# wget http://cloud-images.ubuntu.com/rele.../ubuntu-13.04-server-cloudimg-amd64-disk1.img

create a new VM, and simply overwrite the disk (virtio0) image before starting:

# mv raring-desktop-cloudimg-i386.img /var/lib/vz/images/<vmid>/vm-<vmid>-disk-1.raw

Seems that boots without problems (but I have not done furter checks).

For ceph, you need to convert/import that qcow2 image first.
 
  • Like
Reactions: chrone
Thank you Dietmer,

I prefer to convert the format img to qcow2, to use it for creating vms as instances of openstarck.
Bye.
 
That .img is already in qcow2 format.

But when i try to upload the image to ceph storage bye the GUI of proxmox. it's not possible!!! the format it's unrecognized.

Perhaps i must change some thing from the format in /etc/pve/storage.cfg

Thank's
 
I try to upload from every format, raw, img and qcow2, but it 's not possible .
every time i have the message :

Error 500: cant upload to storage type 'rbd'

In openstack i do it with dashboard and the glance program.

an idea?

thank's.