Hi! Please, anybody can write normal guide how to use ceph with Opennebula? Because in all manuals ceph use only for image store! I don’t need image store, I need store for VMs!
Thanks!
Hi! Please, anybody can write normal guide how to use ceph with Opennebula? Because in all manuals ceph use only for image store! I don’t need image store, I need store for VMs!
Thanks!
Hi @UAnton ,
VMs use the same ceph storage.
When you create a vm, opennebula makes a copy of your image in ceph(if you use ceph storage), and uses that storage for the vm.
Hi @thomasalrin,
How VM use same ceph storage if storage have TYPE = IMAGE?
Mon Feb 29 12:07:17 2016 [Z0][VM][I]: New state is ACTIVE
Mon Feb 29 12:07:17 2016 [Z0][VM][I]: New LCM state is PROLOG
Mon Feb 29 12:07:20 2016 [Z0][VM][I]: New LCM state is BOOT
Mon Feb 29 12:07:20 2016 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/6/deployment.0
Mon Feb 29 12:07:21 2016 [Z0][VMM][I]: ExitCode: 0
Mon Feb 29 12:07:21 2016 [Z0][VMM][I]: Successfully execute network driver operation: pre.
Mon Feb 29 12:07:21 2016 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy ‘/var/lib/one//datastores/0/6/deployment.0’ ‘172.16.4.108’ 6 172.16.4.108
Mon Feb 29 12:07:21 2016 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/6/deployment.0
Mon Feb 29 12:07:21 2016 [Z0][VMM][I]: error: Cannot access storage file ‘/var/lib/one//datastores/0/6/disk.0’ (as uid:9869, gid:9869): No such file or directory
Mon Feb 29 12:07:21 2016 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/6/deployment.0
Mon Feb 29 12:07:21 2016 [Z0][VMM][I]: ExitCode: 255
Mon Feb 29 12:07:21 2016 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy.
Mon Feb 29 12:07:21 2016 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/0/6/deployment.0
Mon Feb 29 12:07:21 2016 [Z0][VM][I]: New LCM state is BOOT_FAILURE
Hi @UAnton,
I hope you configured the cephds datastore correctly, and cephds showing the size of your ceph storage.
Your image should be uploaded to cephds datastore.
Refer the images, we have working setup.
Hi @UAnton,
TM_MAD of system, defailt and files datastore is ‘ssh’ for me
You may follow the below guide and see if thats help you.
http://www.raj2u.net/opennebula-frontend-with-ceph-datastore/
http://www.raj2u.net/opennebula-node-on-ubuntu-with-kvm-ceph/
Thanks, but this manuals is not complete and very lightweight. I add ceph storage like in all manuals but VM cant’t start on it!!! (see screenshots).
Can you send us onedatastore show -x 105
, onedatastore show -x 0
and onevm show -x 6
??