Re: [one-users] error: internal error unknown protocol type 'gluster'
On 2014-12-19 09:21, hansz wrote: ISSUE WITH GLUSTER DATASTORE Hello I added Gluster DS via docs: http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration [1] It's attached without any issues, but when i tried start VM i got error: Mon Dec 8 09:25:47 2014 [VMM][I]: error: Failed to create domain from /var/lib_/one/_/datastores/0/53/deployment.0 Mon Dec 8 09:25:47 2014 [VMM][I]: error: internal error unknown protocol type 'gluster' on node3 .. gluster volume already mounted --- node1:/opennebula 280G 14G 266G 5% /var/lib/one --- so i remove the libvirt and qemu rpm bags, and install libvirt.tar.bz2 1.20 and qemu .tar.bz2 1.40 . but ofter i install the libvirt.tar.bz2 and the qemu.tar.bz2 when i try to add the host on the opennebula ,it tells me like this _Mon Jun 9 13:03:32 2014 [ONE][E]: Error monitoring Host XXX (45): Error_> executing probes Mon Jun 9 13:03:32 2014 [InM][E]: Error executing collectd-client_control.sh Mon Jun 9 13:03:32 2014 [InM][I]: ExitCode: 255 Can you please help me to resolve this issue ? Hi, Which version of distribution are you using? Since I see you're installing with rpm packages i suspect CentOS/Suse? Recent versions of CentOS6 (we are using 6.5) have an up to date libvirt/kvm package that supports Gluster. Can you give some info about your configuration? Vincent Links: -- [1] http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration ___ 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
Re: [one-users] search with data from custom fields
On 2014-12-09 09:24, Daniel Molina wrote: Hi Daniel, Hi Vincent, On 2 December 2014 at 08:10, wrote: Hi, I wondered if it was possible to search for instances based on data entered in extra or custom fields. We generate a random name for the instance which makes it harder to find an instance. We do however enter something in the description field. Is it possible to do a query bqsed on this? We included this functionality for the users table [1], so it would be easy to implement this for the vms table. We will consider this for upcoming releases That would be really nice. Thanks for considering this! [1] http://dev.opennebula.org/issues/2976 [2] It would also be nice to have a query field where you can do a search with multiple factors like "give all centos7 machines with 4GB RAM". This feature wouldn't be so easy to implement OK, I understand. Maybe someday :) Cheers Thanks, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [1] -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org [3] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [2] http://dev.opennebula.org/issues/2976 [3] http://www.OpenNebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Issue with Gluster DataStore
Hi, What is the content of /var/lib/one//datastores/0/53/deployment.0. Can you also post the settigns of the Gluster Datastore. Vincent On 2014-12-09 04:16, Alexey Shalin wrote: Hello I added Gluster DS via docs: http://docs.opennebula.org/4.6/administration/storage/gluster_ds.html#glusterfs-volume-configuration It's attached without any issues, but when i tried start VM i got error: Mon Dec 8 09:25:47 2014 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/53/deployment.0 Mon Dec 8 09:25:47 2014 [VMM][I]: error: internal error unknown protocol type 'gluster' on node3 .. gluster volume already mounted --- node1:/opennebula 280G 14G 266G 5% /var/lib/one --- Can you please help me to resolve this issue ? --- Старший Системный Администратор Алексей Шалин ОсОО "Хостер kg" - http://www.hoster.kg ул. Ахунбаева 123 (здание БГТС) h...@hoster.kg ___ 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
[one-users] search with data from custom fields
Hi, I wondered if it was possible to search for instances based on data entered in extra or custom fields. We generate a random name for the instance which makes it harder to find an instance. We do however enter something in the description field. Is it possible to do a query bqsed on this? It would also be nice to have a query field where you can do a search with multiple factors like "give all centos7 machines with 4GB RAM". Thanks, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] disable the deletion of an instance
Hi, On our ONE cloud we deploy images that are part of our "core" infrastructure (dns, DB's, Git, ...)and are not volatile at all. Currently these instances are viewable between all the other instances that come and go. Is there a way to disable the deletion of such instances so that it's not possible to delete this by "accident". I was thinking about doing something with ACLs but is there an easier way? Grts, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] 4.10 + Datastore Gluster
Hi, Have you followed the docs? On which OS is Gluster running? Vincent On 2014-11-05 16:18, Giancarlo De Filippis wrote: Hi all, i'm this error using version 4.10 of Opnenebula and image datastore Gluster. Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Generating deployment file: /var/lib/one/vms/4/deployment.0 Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: ExitCode: 0 Wed Nov 5 12:45:07 2014 [Z0][VMM][I]: Successfully execute network driver operation: pre. Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/4/deployment.0' 'node1.ltbl.it' 4 node1.ltbl.it Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/4/deployment.0 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: error: internal error: process exited while connecting to monitor: [2014-11-05 11:44:58.575817] E [rpc-clnt.c:369:saved_frames_unwind] (-->/lib64/libgfrpc.so.0(rpc_clnt_notify+0x48) [0x7f1be7646168] (-->/lib64/libgfrpc.so.0(rpc_clnt_connection_cleanup+0xb8) [0x7f1be7644218] (-->/lib64/libgfrpc.so.0(saved_frames_destroy+0xe) [0x7f1be764413e]))) 0-gfapi: forced unwinding frame type(GlusterFS Handshake) op(GETSPEC(2)) called at 2014-11-05 11:44:58.574997 (xid=0x1) Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575836] E [glfs-mgmt.c:586:mgmt_getspec_cbk] 0-glfs-mgmt: failed to fetch volume file (key:cloudStorage) Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: [2014-11-05 11:44:58.575864] E [glfs-mgmt.c:680:mgmt_rpc_notify] 0-glfs-mgmt: failed to connect with remote-host: 37.187.248.190 (No data available) Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive file=gluster://XXX:24007/cloudStorage/2ec797c8773239569395a205a0fdc811,if=none,id=drive-ide0-0-0,format=qcow2,cache=none: Gluster connection failed for server= port=24007 volume=cloudStorage image=2ec797c8773239569395a205a0fdc811 transport=tcp Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: qemu-kvm: -drive f Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Could not create domain from /var/lib/one//datastores/0/4/deployment.0 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: ExitCode: 255 Wed Nov 5 12:45:08 2014 [Z0][VMM][I]: Failed to execute virtualization driver operation: deploy. Wed Nov 5 12:45:08 2014 [Z0][VMM][E]: Error deploying virtual machine: Could not create domain from If i try this command: qemu-img info gluster://xx:24007/cloudStorage/image it give error, image: gluster://storage1:24007/cloudStorage/2ec797c8773239569395a205a0fdc811 file format: qcow2 virtual size: 10G (10737418240 bytes) disk size: 830M cluster_size: 65536 Format specific information: [2014-11-05 15:17:28.722805] E [afr-common.c:4168:afr_notify] 0-cloudStorage-replicate-0: All subvolumes are down. Going offline until atleast one of them comes back up. compat: 0.10 if i try this command (mounting remote fs): qemu-img info /var/lib/one/datastores/0/image everithing work fine. Someone can help me? Thanks ___ 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
Re: [one-users] add custom info to Sunstone cloud view
Hi Daniel, Thanks, I'll give this a try. Is this some that might be considered as a RFE? Otherwise i'll have to maintain my own version of these files. Regards, Vincent On 2014-11-03 10:48, Daniel Molina wrote: Hi, If you want to achieve this you have to modify the code. You have to include a new "li" in the following section of the provision tab: https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/plugins/provision-tab.js#L3999 [2] Cheers On 30 October 2014 16:36, wrote: Hi, I would like to add custom info to the "Virtual Machines" overview when in Cloud View. Now each "square" has cpu - mem, image name and ip address mentioned like : x0.125 - 1GB centos7-10GB-THIN 172.20.17.21 I would like to add the value of a field i have in the template being "description" which would result in something like this : x0.125 - 1GB centos7-10GB-THIN 172.20.17.21 DB01 Server BXL This provides meaningfull info because we update the name of the instance with the FQDN when its deployed. This FQDN is a generated number + domain name which is not really meaningful. Is something like this possible? thx Regards, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [1] -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org [3] | dmol...@opennebula.org | @OpenNebula Links: -- [1] http://lists.opennebula.org/listinfo.cgi/users-opennebula.org [2] https://github.com/OpenNebula/one/blob/master/src/sunstone/public/js/plugins/provision-tab.js#L3999 [3] http://www.OpenNebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] add custom info to Sunstone cloud view
Hi, I would like to add custom info to the "Virtual Machines" overview when in Cloud View. Now each "square" has cpu - mem, image name and ip address mentioned like : x0.125 - 1GB centos7-10GB-THIN 172.20.17.21 I would like to add the value of a field i have in the template being "description" which would result in something like this : x0.125 - 1GB centos7-10GB-THIN 172.20.17.21 DB01 Server BXL This provides meaningfull info because we update the name of the instance with the FQDN when its deployed. This FQDN is a generated number + domain name which is not really meaningful. Is something like this possible? thx Regards, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Contextualization with Cloud-init debug
On 2014-10-30 15:33, Javier Juarez wrote: Hi dudes, I´m trying to make a small provisioning of our VMs based on cloud-init without success. The contextualization process works well apparently (our network interfaces and ssh keys have been deployed), but I think that the cloud-init phase does not work at all. Any ideas about how to debug this kind of behaviour after the contextualization step. We are using OpenNebula versión 4.8.0, our images have the contextualization package version 4.8.0 and our context file looks like that: CONTEXT=[ NETWORK="YES", SSH_PUBLIC_KEY="$USER[SSH_PUBLIC_KEY]", USER_DATA="#cloud-config bootcmd: - yum clean all - yum -y update packages: - tree - lsof runcmd: - curl http://sfs.csic.es/mri-installer/scripts/install_mri.sh|sh - curl http://sfs.csic.es/chef-installer/scripts/install_chef.sh|sh" ] thanks in advance, Javier Hi Javier, Since cloud-init uses yaml for its config file you need to make sure indentation/syntax is correct. You can see this in the cloud-init logfile inside the VM (something like : can't read yaml blob). What OS are you using for the VM? When its CentOS/RHEL with Selinux enabled, you'll probably need to install a SELinux policy (i needed to in CentOS7). Regards, Vincent ___ 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
[one-users] hiding vnet
Hi, I'm finalizing our ONE setup and I'm now busy putting all users in groups so they can only access the things they need access to. One thing I find a bit strange is that users can see networks they have no acccess to. As I see it now, each user must know what vnet has access to before he can make a choice. It would be nice to have a way to hide networks you can't use anyway. Or maybe I'm just looking over it.. :-) Regards, Vincent ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Boot from ISO
On 2014-07-17 10:58, Johan Kooijman wrote: Hi all, We've setup a POC for ONE recently. First impression is good, very good. One thing we use quite often is booting VM's with a live CD. For migrations and bare metal backup/restore. Is it possible to boot a VM in ONE with a Live CD? -- Met vriendelijke groeten / With kind regards, Johan Kooijman You can add an ISO as an image to ONE and use it in a template for example. Vincent. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] deploy Non-persistent vm on 4.6.2 base glusterfs no running
essage received: LOG I 10 error: internal error process exited while connecting to monitor: qemu-kvm: -drive file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none: could not open disk image gluster+tcp://192.168.0.199:24007/fc- img/10/disk.0: No such file or directory Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 [2014-07-11 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All subvolumes are down. Going offline until atleast one of them comes back up. Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG E 10 Could not create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 ExitCode: 255 Fri Jul 11 14:35:33 2014 [VMM][D]: Message received: LOG I 10 Failed to execute virtualization driver operation: deploy. [oneadmin@fc-server 102]$ more /var/log/one/10.log Fri Jul 11 14:35:26 2014 [DiM][I]: New VM state is ACTIVE. Fri Jul 11 14:35:27 2014 [LCM][I]: New VM state is PROLOG. Fri Jul 11 14:35:32 2014 [LCM][I]: New VM state is BOOT Fri Jul 11 14:35:32 2014 [VMM][I]: Generating deployment file: /var/lib/one/vms/10/deployment.0 Fri Jul 11 14:35:32 2014 [VMM][I]: ExitCode: 0 Fri Jul 11 14:35:32 2014 [VMM][I]: Successfully execute network driver operation: pre. Fri Jul 11 14:35:33 2014 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/102/10/deployment.0' '192.168.0.199 ' 10 192.168.0.199 Fri Jul 11 14:35:33 2014 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:33 2014 [VMM][I]: error: internal error process exited while connecting to monitor: qemu-kvm: -drive file=gluster+tcp://192.168.0.199:24007/fc-i mg/10/disk.0,if=none,id=drive-ide0-0-0,format=raw,cache=none: could not open disk image gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0: No such file or direc tory Fri Jul 11 14:35:33 2014 [VMM][I]: [2014-07-11 06:35:36.105637] E [afr-common.c:4157:afr_notify] 0-fc-img-replicate-0: All subvolumes are down. Going offline unt il atleast one of them comes back up. Fri Jul 11 14:35:33 2014 [VMM][I]: Fri Jul 11 14:35:33 2014 [VMM][E]: Could not create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:33 2014 [VMM][I]: ExitCode: 255 Fri Jul 11 14:35:33 2014 [VMM][I]: Failed to execute virtualization driver operation: deploy. Fri Jul 11 14:35:33 2014 [VMM][E]: Error deploying virtual machine: Could not create domain from /var/lib/one//datastores/102/10/deployment.0 Fri Jul 11 14:35:35 2014 [DiM][I]: New VM state is FAILED qemu-kvm: -drive file=gluster+tcp://192.168.0.199:24007/fc-img/10/disk.0 I think it should be gluster+tcp://192.168.0.199:24007/fc-sys/10/disk.0 What advice do you have.Thanks. Hi, I've been setting up our Opennebula private cloud over the last few weeks and I'm also using Gluster for the storage backend. Not all info to make it work is available in the Opennebula docs and I was planning on submitting the necessary info. After reading your post I decided to no longer postpone it. have a look at this pull request : https://github.com/vincentvdk/docs/commit/98e70a83b40b58d84e00d3180023671263e2b787 Adding the 'virt' group should fix your problem. Regards, Vincent ___ 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
Re: [one-users] ONE + Gluster : deployment incomplete
Hi Javier, > These lines come by default in oned.conf [1]. I've also checked that > the CentOS package installs the conf file with those lines. > > Your template for this conf file [2] seems to be done for an older > version and lacks those two lines. You are totally right. The "joys" of configuration management tools. I fixed it in my repository. Sorry.. Vincent > > Cheers > > [1] > https://github.com/OpenNebula/one/blob/release-4.6.2/share/etc/oned.conf#L703 > [2] > https://github.com/vincentvdk/ansible_playbooks/blob/master/opennebula/roles/one_core/templates/oned.conf.j2 > > On Sat, Jun 28, 2014 at 10:33 PM, Vincent Van der Kussen > wrote: >> >>> Hi, >>> >>> I'm currently deploying an Opennebula cloud in combination with >>> Gluster. >>> >>> I've configured a Gluster volume on 2 nodes (Gluster 3.5.1). I can >>> mount >>> this on Management host and on the kvm hypervisors (Centos 6.5). >>> >>> I also create a system datastore and image datastore as mentioned in >>> the >>> documentation. See the config below. >>> >>> Everything seems to be working, but not the creation of the vm with the >>> deployment file. >>> After some testing I found that the host + port + Gluster volume name >>> are >>> missing in the deployment file. If I add them manually, the creation of >>> the vm using virsh works. >>> >>> >>> I just can't find what is causing this problem. Any pointers? >>> >>> >>> console output of the datastore config >>> >>> --- >>> >>> [oneadmin@node-00013 ~]$ onedatastore list >>> ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS >>> TM >>>0 system 9.6G 82% - 0 sys - >>> shared >>>1 default25.5G 88% - 0 img fs >>> shared >>>2 files 25.5G 88% - 0 fil fs >>> ssh >>> 102 gluster image 17.2T 100% gluster 2 img fs >>> shared >>> 103 gluster syste 17.2T 100% gluster 0 sys - >>> shared >>> 104 gluster syste 17.2T 100% gluster 0 sys - >>> shared >>> [oneadmin@node-00013 ~]$ >>> >>> >>> >>> [oneadmin@node-00013 ~]$ onedatastore show 102 >>> DATASTORE 102 INFORMATION >>> ID : 102 >>> NAME : gluster images >>> USER : oneadmin >>> GROUP : oneadmin >>> CLUSTER: gluster >>> TYPE : IMAGE >>> DS_MAD : fs >>> TM_MAD : shared >>> BASE PATH : /var/lib/one//datastores/102 >>> DISK_TYPE : >>> >>> DATASTORE CAPACITY >>> TOTAL: : 17.2T >>> FREE: : 17.1T >>> USED: : 20G >>> 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="node-6.connective.be:24007" >>> GLUSTER_VOLUME="gv0" >>> LN_TARGET="NONE" >>> TM_MAD="shared" >>> TYPE="IMAGE_DS" >>> >>> IMAGES >>> 13 >>> >>> --- >>> >>> [oneadmin@node-00013 ~]$ onedatastore show 104 >>> DATASTORE 104 INFORMATION >>> ID : 104 >>> NAME : gluster systemDS >>> USER : oneadmin >>> GROUP : oneadmin >>> CLUSTER: gluster >>> TYPE : SYSTEM >>> DS_MAD : - >>> TM_MAD : shared >>> BASE PATH : /var/lib/one//datastores/104 >>> DISK_TYPE : FILE >>> >>> DATASTORE CAPACITY >>> TOTAL: : 17.2T >>> FREE: : 17.1T >>> USED: : 20G >>> LIMIT: : - >>> >>> PERMISSIONS >>> OWNER : um- >>> GROUP : u-- >>> OTHER :
Re: [one-users] ONE + Gluster : deployment incomplete
> Hi, > > I'm currently deploying an Opennebula cloud in combination with Gluster. > > I've configured a Gluster volume on 2 nodes (Gluster 3.5.1). I can mount > this on Management host and on the kvm hypervisors (Centos 6.5). > > I also create a system datastore and image datastore as mentioned in the > documentation. See the config below. > > Everything seems to be working, but not the creation of the vm with the > deployment file. > After some testing I found that the host + port + Gluster volume name are > missing in the deployment file. If I add them manually, the creation of > the vm using virsh works. > > > I just can't find what is causing this problem. Any pointers? > > > console output of the datastore config > > --- > > [oneadmin@node-00013 ~]$ onedatastore list > ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM >0 system 9.6G 82% - 0 sys - > shared >1 default25.5G 88% - 0 img fs > shared >2 files 25.5G 88% - 0 fil fs ssh > 102 gluster image 17.2T 100% gluster 2 img fs > shared > 103 gluster syste 17.2T 100% gluster 0 sys - > shared > 104 gluster syste 17.2T 100% gluster 0 sys - > shared > [oneadmin@node-00013 ~]$ > > > > [oneadmin@node-00013 ~]$ onedatastore show 102 > DATASTORE 102 INFORMATION > ID : 102 > NAME : gluster images > USER : oneadmin > GROUP : oneadmin > CLUSTER: gluster > TYPE : IMAGE > DS_MAD : fs > TM_MAD : shared > BASE PATH : /var/lib/one//datastores/102 > DISK_TYPE : > > DATASTORE CAPACITY > TOTAL: : 17.2T > FREE: : 17.1T > USED: : 20G > 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="node-6.connective.be:24007" > GLUSTER_VOLUME="gv0" > LN_TARGET="NONE" > TM_MAD="shared" > TYPE="IMAGE_DS" > > IMAGES > 13 > > --- > > [oneadmin@node-00013 ~]$ onedatastore show 104 > DATASTORE 104 INFORMATION > ID : 104 > NAME : gluster systemDS > USER : oneadmin > GROUP : oneadmin > CLUSTER: gluster > TYPE : SYSTEM > DS_MAD : - > TM_MAD : shared > BASE PATH : /var/lib/one//datastores/104 > DISK_TYPE : FILE > > DATASTORE CAPACITY > TOTAL: : 17.2T > FREE: : 17.1T > USED: : 20G > LIMIT: : - > > PERMISSIONS > OWNER : um- > GROUP : u-- > OTHER : --- > > DATASTORE TEMPLATE > BASE_PATH="/var/lib/one//datastores/" > SHARED="YES" > TM_MAD="shared" > TYPE="SYSTEM_DS" > > --- > > Example deployment file : > > xmlns:qemu='http://libvirt.org/schemas/domain/qemu/1.0'> > one-44 > > 1024 > > 524288 > > hvm > > > > /usr/libexec/qemu-kvm > > > > > > > file='/var/lib/one//datastores/104/44/disk.1'/> > > > > > > > > > > > > > > > > I have found the culprit. Following lines are missing in oned.log INHERIT_DATASTORE_ATTR = "GLUSTER_HOST" INHERIT_DATASTORE_ATTR = "GLUSTER_VOLUME" After adding them the vm can be created I'll open a bug. -- Vincent Van der Kussen @vincentvdk ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] ONE + Gluster : deployment incomplete
Hi, I'm currently deploying an Opennebula cloud in combination with Gluster. I've configured a Gluster volume on 2 nodes (Gluster 3.5.1). I can mount this on Management host and on the kvm hypervisors (Centos 6.5). I also create a system datastore and image datastore as mentioned in the documentation. See the config below. Everything seems to be working, but not the creation of the vm with the deployment file. After some testing I found that the host + port + Gluster volume name are missing in the deployment file. If I add them manually, the creation of the vm using virsh works. I just can't find what is causing this problem. Any pointers? console output of the datastore config --- [oneadmin@node-00013 ~]$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 0 system 9.6G 82% - 0 sys -shared 1 default25.5G 88% - 0 img fs shared 2 files 25.5G 88% - 0 fil fs ssh 102 gluster image 17.2T 100% gluster 2 img fs shared 103 gluster syste 17.2T 100% gluster 0 sys -shared 104 gluster syste 17.2T 100% gluster 0 sys -shared [oneadmin@node-00013 ~]$ [oneadmin@node-00013 ~]$ onedatastore show 102 DATASTORE 102 INFORMATION ID : 102 NAME : gluster images USER : oneadmin GROUP : oneadmin CLUSTER: gluster TYPE : IMAGE DS_MAD : fs TM_MAD : shared BASE PATH : /var/lib/one//datastores/102 DISK_TYPE : DATASTORE CAPACITY TOTAL: : 17.2T FREE: : 17.1T USED: : 20G 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="node-6.connective.be:24007" GLUSTER_VOLUME="gv0" LN_TARGET="NONE" TM_MAD="shared" TYPE="IMAGE_DS" IMAGES 13 --- [oneadmin@node-00013 ~]$ onedatastore show 104 DATASTORE 104 INFORMATION ID : 104 NAME : gluster systemDS USER : oneadmin GROUP : oneadmin CLUSTER: gluster TYPE : SYSTEM DS_MAD : - TM_MAD : shared BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : 17.2T FREE: : 17.1T USED: : 20G LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH="/var/lib/one//datastores/" SHARED="YES" TM_MAD="shared" TYPE="SYSTEM_DS" --- Example deployment file : one-44 1024 524288 hvm /usr/libexec/qemu-kvm -- Vincent Van der Kussen @vincentvdk ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] NEED HELP FOR OCCI SERVER
Hi, Hi, I had the problem with Occi server in newest Opennebula 2.9.90. Http to port 4567 with the browser Firefox (V.6) always gave me the error " Basic auth not provided" which was related to authorization_key not received in Rack:Abstractrequest module. All my VM and occi-server worked fine inside Opennebula with Sunstone, no error. I use curl with user and password to test the http to occi server. The http response is 200 OK, that means occi-server is working, sent back the resource in Compute, Storage or Network on server terminal. I researched two weeks to figure it out but in vain. Could you help me with the right authentication configuration or right syntax for http accessing to show VM in the browser? It seems to me that nobody on the internet shows how OCCI shows up VM in the browser. Thanks very much in advance. Tai Nguyen IT specialist ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org