There is no datastore driver called "shared", that is for TM drivers. For glusterfs the correct datastore driver is fs. CHange it and that should solve the problem you're having.
On Wed, May 7, 2014 at 11:58 AM, Thomas Stein <himbe...@meine-oma.de> wrote: > Hello. > > I deleted all datastores and recreated the neccessary datastores again. > Now i get: > > oneadmin@opennebula-frontend:~/datastores$ onedatastore list > ID NAME SIZE AVAIL CLUSTER IMAGES TYPE DS TM > > 139 glusterds 0M - - 0 img shared shared > 140 datastore_sys 0M - fluffy 0 sys - shared > 141 datastore_fil 47.2G 34% fluffy 0 fil fs shared > oneadmin@opennebula-frontend:~/datastores$ cd > > oneadmin@opennebula-frontend:~$ oneimage create -d 139 --name gentoo > --path /opt/gentoo-template.qcow2 --type OS --driver qcow2 --description > "gentoo" > > [ImageAllocate] Cannot determine Image SIZE. Datastore driver 'shared' > not available > oneadmin@opennebula-frontend:~$ > > Someone has an idea how to solve this error? > > best regards > t. > > > Am 06.05.14 17:19, schrieb Thomas Stein: >> Hello. >> >> I'm playing around with glustersfs and opennebula. Followed the quick >> howto here: >> >> http://opennebula.org/native-glusterfs-image-access-for-kvm-drivers/ >> >> Alltough it's not everything clear to me, i managed to create the >> gluster datastore on the frontend. >> >> oneadmin@opennebula-frontend:~$ onedatastore show 135 >> DATASTORE 135 INFORMATION >> >> ID : 135 >> NAME : gluster_image >> USER : oneadmin >> GROUP : oneadmin >> CLUSTER : fluffy >> TYPE : IMAGE >> DS_MAD : fs >> TM_MAD : shared >> BASE PATH : /var/lib/one//datastores/135 >> DISK_TYPE : >> >> DATASTORE CAPACITY >> >> TOTAL: : 492.2G >> FREE: : 459.4G >> USED: : 7.6G >> LIMIT: : - >> >> PERMISSIONS >> >> OWNER : um- >> GROUP : u-- >> OTHER : --- >> >> DATASTORE TEMPLATE >> >> BASE_PATH="/var/lib/one//datastores/" >> CLONE_TARGET="SYSTEM" >> DISK_TYPE="GLUSTER" >> DS_MAD="fs" >> GLUSTER_HOST="one-volume1" >> LN_TARGET="NONE" >> TM_MAD="shared" >> TYPE="IMAGE_DS" >> >> Problem is. When i try to create an image from a template which resides >> in that datastore i get: >> >> Tue May 6 17:18:00 2014 [TM][D]: Message received: TRANSFER FAILURE 48 >> Error copying >> opennebula-frontend:/var/lib/one//datastores/135/9ba000010fc657ac57edc0af308e4fa7 >> to remotehost:/var/lib/one/datastores/129/48/disk.0 >> >> Why does opennebula to transfer the image? >> >> Thanks and best regards >> t. >> _______________________________________________ >> Users mailing list >> Users@lists.opennebula.org >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org >> > > _______________________________________________ > Users mailing list > Users@lists.opennebula.org > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Javier Fontán Muiños Developer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | @OpenNebula | github.com/jfontan _______________________________________________ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org