# Opennebula not create VM in Ceph pool

**URL:** <https://forum.opennebula.io/t/opennebula-not-create-vm-in-ceph-pool/6718>\
**Category:** Product Support\
**Created:** [December 12, 2018, 6:04pm UTC](https://forum.opennebula.io/t/opennebula-not-create-vm-in-ceph-pool/6718 "2018-12-12T18:04:40Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![gbernardes](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@gbernardes](https://forum.opennebula.io/u/gbernardes)\
**Post date:** [December 12, 2018, 6:04pm UTC](https://forum.opennebula.io/t/opennebula-not-create-vm-in-ceph-pool/6718/1 "2018-12-12T18:04:40Z")

</div>

Hi everyone,

I’m (trying)using Opennebula with Ceph with RBD. I was configurated Opennebula according with [manual](https://docs.opennebula.org/5.6/deployment/open_cloud_storage_setup/ceph_ds.html), and the Ceph pool is listed in Datastore section. But when I create the VM they is created in host filesystem, not in RBD pool, and not happen nothing error. Do I making any wrong? Can anyone help-me?

Edit: I saw that “onevm” returns VM in Ceph pool, but if I check RBD pool the image not exists, and in host filesystem image is present.

See:

**$ onevm show 106**  
[…]  
VIRTUAL MACHINE HISTORY  
SEQ UID REQ HOST ACTION **DS** START TIME PROLOG  
0 - - host1 none **102** 12/12 14:56:07 0d 16h55m 0h00m55s  
[…]  
SCHED\_DS\_REQUIREMENTS="ID=“102"”  
[…]  
TEMPLATE\_ID=“29”

**$ onetemplate show 29**  
[…]  
SCHED\_DS\_REQUIREMENTS="ID=“102"”

**$ onedatastore show 102**  
DATASTORE 102 INFORMATION  
ID : 102  
NAME : pool1  
USER : oneadmin  
GROUP : oneadmin  
CLUSTERS : 0  
TYPE : SYSTEM  
DS\_MAD : -  
TM\_MAD : ceph  
BASE PATH : /var/lib/one//datastores/102  
DISK\_TYPE : RBD  
STATE : READY

---

<div class="post-metadata">

**Author:** ![gbernardes](https://avatars.discourse-cdn.com/v4/letter/g/c67d28/32.png) [@gbernardes](https://forum.opennebula.io/u/gbernardes)\
**Post date:** [December 13, 2018, 5:00pm UTC](https://forum.opennebula.io/t/opennebula-not-create-vm-in-ceph-pool/6718/2 "2018-12-13T17:00:47Z")

</div>

I found the problem: I was using images from datastore of filesystem. I created image datastore in same Ceph pool that Opennebula system datastore, and VM was created in Ceph correctly pool.

Abstract: If I understand, for use a Ceph pool for system datastore, do you need create an associated image datastore em the same Ceph pool. It is correct?

---

<div class="post-metadata">

**Author:** ![heathen](https://yyz1.discourse-cdn.com/flex031/user_avatar/forum.opennebula.io/heathen/32/4720_2.png) [@heathen](https://forum.opennebula.io/u/heathen)\
**Post date:** [December 14, 2018, 9:58pm UTC](https://forum.opennebula.io/t/opennebula-not-create-vm-in-ceph-pool/6718/3 "2018-12-14T21:58:27Z")

</div>

Yes, you need to point both image and system datastores to the same pool. IIRC it mentioned in the manual.
