[one-users] ceph data store show 0M capacity
Marco Lanzotti - ADGlamor
marco.lanzotti at adglamor.com
Thu Aug 8 02:44:13 PDT 2013
Hi all, I'm new in OpenNebula!
I have a fresh instllation of OpenNebula 4.2 and Ceph 0.61 on Ubuntu
12.04 LTS.
I created new pool:
ml at metal02:~$ sudo ceph osd pool create one 64
I created new datastore on OpenNebula using this conf:
NAME = "ceph"
DS_MAD = ceph
TM_MAD = ceph
DISK_TYPE = RBD
POOL_NAME = one
HOST = metal02
Now i see a 0 size datastore:
oneadmin at metal01:~$ onedatastore show 108
DATASTORE 108 INFORMATION
ID : 108
NAME : ceph
USER : oneadmin
GROUP : oneadmin
CLUSTER : -
TYPE : IMAGE
DS_MAD : ceph
TM_MAD : ceph
BASE PATH : /var/lib/one/datastores/108
DISK_TYPE : RBD
DATASTORE CAPACITY
TOTAL: : 0M
USED: : 0M
FREE: : 0M
PERMISSIONS
OWNER : um-
GROUP : u--
OTHER : ---
DATASTORE TEMPLATE
DS_MAD="ceph"
HOST="metal02"
POOL_NAME="one"
TM_MAD="ceph"
TYPE="IMAGE_DS"
IMAGES
I added /usr/bin/rados in sudoers with NOPASSWD as suggested here:
http://lists.opennebula.org/pipermail/users-opennebula.org/2013-July/023884.html
Now I can run rados as oneadmin user, but I still see a 0 size datastore.
Thanks in advance for your help!
Bye,
Marco
More information about the Users
mailing list