OpenNebula 5.0 Beta + Ceph datastore

How I can install Windows Server 2012 R2 on Ceph System DS?
CD boot only if not on Ceph Image DS and BUS is SCSI. Empty datablock not works at any configuration.

It should work same as Linux but the disk need to be “hd” type. After installed the Windows, attached another disk (datablock) with “sd” or “vd” and install the necessary drivers. Once done, you may change the OS’s disk from “hd” to “sd” or “vd”

Same goes for network interface, you need set “e1000” driver first.

I found working config, but found any problems too.
Snapshots not working:

Wed Jun 8 18:48:17 2016 [Z0][VM][I]: New LCM state is HOTPLUG_SNAPSHOT
Wed Jun 8 18:48:17 2016 [Z0][VMM][I]: Command execution fail: 'if [ -x “/var/tmp/one/vmm/kvm/snapshot_create” ]; then /var/tmp/one/vmm/kvm/snapshot_create one-144 0 144 node01; else
exit 42; fi’
Wed Jun 8 18:48:17 2016 [Z0][VMM][I]: error: unsupported configuration: internal snapshot for disk sda unsupported for storage type raw
Wed Jun 8 18:48:17 2016 [Z0][VMM][E]: Could not create snapshot for domain one-144.
Wed Jun 8 18:48:17 2016 [Z0][VMM][I]: ExitCode: 255
Wed Jun 8 18:48:17 2016 [Z0][VMM][E]: Error creating new VM Snapshot: Could not create snapshot for domain one-144.
Wed Jun 8 18:48:17 2016 [Z0][VM][I]: New LCM state is RUNNING

and very slow disk I/O. I have Ceph Cluster with 16 SAS disks. Max speed 135MB/s read and 30MB/s write. ((

After night, VMs no longer created. All in PROLOG status. No chenges do in configs. Ceph + Opennebula - Very strange works.

Any logs in oned.log or VMs, any errors in the ceph cluster?

Any errors in log… rebuild cluster (del and add osds) - all works. Now testing…

How to create Snapshots on ceph DS?

When I try create snaphot VM on ceph DS I get error:

Fri Jun 10 15:32:56 2016 [Z0][VM][I]: New LCM state is HOTPLUG_SNAPSHOT
Fri Jun 10 15:32:56 2016 [Z0][VMM][I]: Command execution fail: 'if [ -x “/var/tmp/one/vmm/kvm/snapshot_create” ]; then /var/tmp/one/vmm/kvm/snapshot_create one-228 0 228 node01; else
Fri Jun 10 15:32:56 2016 [Z0][VMM][I]: error: unsupported configuration: internal snapshot for disk vda unsupported for storage type raw
Fri Jun 10 15:32:56 2016 [Z0][VMM][E]: Could not create snapshot for domain one-228.
Fri Jun 10 15:32:56 2016 [Z0][VMM][I]: ExitCode: 255
Fri Jun 10 15:32:56 2016 [Z0][VMM][E]: Error creating new VM Snapshot: Could not create snapshot for domain one-228.
Fri Jun 10 15:32:56 2016 [Z0][VM][I]: New LCM state is RUNNING

Yes, system snapshots is only supported for qcow2 images, and raw format is
the recommended one for RBD.

HI! Ceph is supported snapshots. http://docs.ceph.com/docs/master/rbd/rbd-snapshot/ or you mean Opennebula support only qcow2 snapshots?

these are two type of snapshots, disk and system. Both are supported in
OpenNebula, but the later requires qcow2

But ceph RDB not support qcow2?

Hi UAnton,

Quote from CEPH document: “Important Ceph doesn’t support QCOW2 for hosting a virtual machine disk. Thus if you want to boot virtual machines in Ceph (ephemeral backend or boot
from volume)”. Link http://docs.ceph.com/docs/master/rbd/rbd-openstack/