[one-users] error: internal error unknown protocol type 'gluster'
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 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 ? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
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] Backing up SSH system datastore disk images
Hi, On Wed, Dec 17, 2014 at 1:30 PM, Mr Sensible doilooksensi...@gmail.com wrote: I may be overcomplicating things here, but a couple of questions: - What state should I set the VM to flush the disk image back to the remote image datastore? With the ssh tm driver, the VM disks are saved back to the image datastore only when the VM is shutdown, see [1]. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Wed, Dec 17, 2014 at 1:30 PM, Mr Sensible doilooksensi...@gmail.com wrote: I currently run a couple of hosts with an SSH system datastore (and remote image store), as there are some VMs with intensive disk activity, and I don't want to kill my network (no fancy fibre SAN for me :( ). I understand that once I deploy the VM, the vm disk image is copied to the host's system datastore, and I have set it to persistent, so state should carry over to VM restarts (I think, in the process of testing). As such, I understand that there is no live migrate to recover from host failure, but I would be reluctant to lose state of the vms in the local system datastore. I have tried to read the various documents, but it is unclear to me what state a VM has to be set to to copy the vm image back from the System datastore to the remote Image datastore. Ideally I think I need to kill the VM at midnight in such a way that it will copy the image back to the remote Image datastore, and then restart/deploy/thing the VM so it is available during work time. I may be overcomplicating things here, but a couple of questions: - What state should I set the VM to flush the disk image back to the remote image datastore? - Is there a simpler method of flushing the disk image back to the remote image datastore? Thanks in advance Peter ___ 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] Wrong state to perform action
Hi Karsten, I don't know how to reproduce your problem... Does this happen with any other VM? Did you try to restart opennebula? Please open a bug at http://dev.opennebula.org and include the VM xml output, the individual VM log file, and the RequestManager log lines from oned.log. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Mon, Dec 15, 2014 at 8:09 PM, Karsten Nielsen kars...@unity3d.com wrote: Hi, output from onevm show -x STATE3/STATE LCM_STATE3/LCM_STATE output from onevm list -x LAST_POLL1418670269/LAST_POLL STATE3/STATE LCM_STATE3/LCM_STATE So it seems that the value 3 is present both places. - Karsten On 15/12/14 11:03, Carlos Martín Sánchez wrote: Hi, That is strange. Let's check the consistency in the DB. Can you confirm the state from the xml output in onevm show -x *and* onevm list -x? The fields STATE and LCM_STATE should be both 3 for VM 130. Regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula On Sat, Dec 13, 2014 at 9:55 PM, Karsten Nielsen kars...@unity3d.com wrote: It is on one version 4.8 - Karsten On 13/12/14 21:44, Karsten Nielsen wrote: Hi, When I try to live migrate or migrate one of my VM's i get this. onevm migrate --live 130 2 [VirtualMachineMigrate] Wrong state to perform action The state of the VM is STATE : ACTIVE LCM_STATE : RUNNING I am a little confused. - Karsten ___ 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] The SSH Keys in Quick Start
Hi, On Mon, Dec 15, 2014 at 4:32 PM, Michael A Cooper nexusgu...@gmail.com wrote: Hey Everyone, In the quick start, he mentions Configuring SSH Keys, It doesn't tell where I am suppose to create although I assume on the frontend and then copy the keys to each node, Should I also create ssh keys on each node and copy them to the frontend. Thanks, Michael A Cooper Linux/Windows Web Administrator Which quick start are you following? Assuming it's this one [1], the ssh is created in the frontend. The keys do not need to be manually copied to the nodes, because in the previous step the /var/lib/one directory is configured to be shared via NFS. This directory is oneadmin's home, so .ssh will also be exported to the nodes. Regards [1] http://docs.opennebula.org/4.10/design_and_installation/quick_starts/qs_ubuntu_kvm.html#configure-ssh-public-key -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Query regarding system image datastores
Hi, I am planning to setup OpenNebula Cloud. I want to decide storage for System Images datastore and also storage on host. I want to use Shared Storage using iscsi over fiber. In this case, when I create VM how image will be transfer to System datastore and how it will be transfer to Host? Please help me out. Regards Neelesh Gurjar ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula Federation in 4.10 - Version Local tables
Hi, The fix is ready in the repo. Please replace your /usr/lib/one/ruby/onedb/import_slave.rb file with the newer version: https://github.com/OpenNebula/one/blob/one-4.10/src/onedb/import_slave.rb Best regards -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Wed, Dec 17, 2014 at 5:53 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi there, Looks like somehow we didn't upgrade the import script to the latest version. I've opened a ticket to fix it, I'll keep you updated as soon as the patch is ready. http://dev.opennebula.org/issues/3465 Regards. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebula http://twitter.com/opennebula cmar...@opennebula.org On Wed, Dec 17, 2014 at 4:55 PM, Castillon de la Cruz, Eddy Gonzalo ecastil...@axcess-financial.com wrote: Hello Team, I am testing the OpenNebula federation, but I am having an issue with this step. I hope someone can provide me some advices. oneadmin@one-neb1:~$ onedb import-slave -v --username oneadmin --password oneadmin --server 192.168.11.209 --dbname opennebula --slave-username oneadmin --slave-password oneadmin --slave-server 192.168.11.210 --slave-dbname opennebula Master database information: Version read: Shared tables 4.6.0 : OpenNebula 4.10.1 daemon bootstrap Local tables 4.9.80 : OpenNebula 4.10.1 daemon bootstrap Slave database information: Version read: Shared tables 4.6.0 : OpenNebula 4.10.1 daemon bootstrap Local tables 4.9.80 : OpenNebula 4.10.1 daemon bootstrap Version mismatch: import slave file is for version Shared: 4.6.0, Local: 4.5.80 Current master database is version Shared: 4.6.0, Local: 4.9.80 oneadmin@one-neb1:~$ onedb import-slave --username oneadmin --password oneadmin --server 192.168.11.209 --dbname opennebula --slave-username oneadmin --slave-password oneadmin --slave-server 192.168.11.210 --slave-dbname opennebula Version mismatch: import slave file is for version Shared: 4.6.0, Local: 4.5.80 Current master database is version Shared: 4.6.0, Local: 4.9.80 ___ 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] Disabled zones code
Hi Maria, Currently, this option is not available, but we can consider including it for future release. Could you please create a new request in our dev portal? http://dev.opennebula.org/ Cheers On 16 December 2014 at 11:25, Maria Jular maria.ju...@fcsc.es wrote: Hello, But I want to disable the dropdown zones into the top menu. Is it possible too? Thank you! *De:* Users [mailto:users-boun...@lists.opennebula.org] *En nombre de *Damon (Albino Geek) *Enviado el:* martes, 16 de diciembre de 2014 10:59 *Para:* users@lists.opennebula.org *Asunto:* Re: [one-users] Disabled zones code Hello, You can simply edit the /etc/one/sunstone-views/ files to hide/show specific tabs per view/group. On Tue, 16 Dec 2014 01:57:07 -0800, Maria Jular maria.ju...@fcsc.es wrote: Good morning! Are there any way to hide the zones’ list into the Sunstone’s dropdown to a specific user? Thank you very much! ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Daniel Molina Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | dmol...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula and FreeIPA authentication
The problem seems to be generated by a connection problem from the driver to OpenNebula itself. Can you change the file /var/lib/one/ruby/opennebula/ldap_auth.rb and around line 89 change the code: client = OpenNebula::Client.new group_pool = OpenNebula::GroupPool.new(client) group_pool.info by client = OpenNebula::Client.new group_pool = OpenNebula::GroupPool.new(client) STDERR.puts group_pool.info.inspect After that enable mapping_generate and send me the output of the error. You can leave that code changed as it only adds more information to errors. Thanks On Thu Dec 11 2014 at 5:41:26 PM Peter Harris doilooksensi...@gmail.com wrote: Thanks Javier Output from onegroup list -x -- GROUP_POOL GROUP ID0/ID NAMEoneadmin/NAME TEMPLATE/ USERS ID0/ID ID1/ID /USERS /GROUP QUOTAS ID0/ID DATASTORE_QUOTA/ NETWORK_QUOTA/ VM_QUOTA/ IMAGE_QUOTA/ /QUOTAS GROUP ID1/ID NAMEusers/NAME TEMPLATE/ USERS ID2/ID /USERS RESOURCE_PROVIDER ZONE_ID0/ZONE_ID CLUSTER_ID10/CLUSTER_ID /RESOURCE_PROVIDER /GROUP QUOTAS ID1/ID DATASTORE_QUOTA/ NETWORK_QUOTA/ VM_QUOTA/ IMAGE_QUOTA/ /QUOTAS DEFAULT_GROUP_QUOTAS DATASTORE_QUOTA/ NETWORK_QUOTA/ VM_QUOTA/ IMAGE_QUOTA/ /DEFAULT_GROUP_QUOTAS /GROUP_POOL -- my /etc/one/auth/ldap_auth.conf -- # Ldap authentication method :auth_method: :simple # Ldap server :host: ipa1.lab.mycompany.com :port: 389 # Uncomment this line for tsl conections #:encryption: :simple_tls # base hierarchy where to search for users and groups :base: 'cn=users,cn=accounts,dc=lab,dc=mycompany,dc=com' # group the users need to belong to. If not set any user will do #:group: 'cn=cloud,ou=groups,dc=domain' # field that holds the user name, if not set 'cn' will be used :user_field: 'uid' # for Active Directory use this user_field instead #:user_field: 'sAMAccountName' # field name for group membership, by default it is 'member' #:group_field: 'member' # user field that that is in in the group group_field, if not set 'dn' will be used #:user_group_field: 'dn' # Generate mapping file from group template info #:mapping_generate: true :mapping_generate: false # Seconds a mapping file remain untouched until the next regeneration :mapping_timeout: 300 # Name of the mapping file in OpenNebula var diretory :mapping_filename: server1.yaml # Key from the OpenNebula template to map to an AD group :mapping_key: GROUP_DN # Default group ID used for users in an AD group not mapped :mapping_default: 1 -- I can confirm that setting mapping_generate to false allows my user to get in, many thanks for that. I currently have vm groups configured in IPA, but happy enough to manage these groups in OpenNebula if the group mapping for FreeIPA is problematic. Thanks again Peter On 11 December 2014 at 09:12, Javier Fontan jfon...@opennebula.org wrote: There seems to be a problem getting the groups from OpenNebula. Can you send us the output of: onegroup list -x To fix the problem you can disable mapping generation adding this line to the server configuration: :mapping_generate: false Cheers On Mon Dec 08 2014 at 3:55:46 PM Mr Sensible doilooksensi...@gmail.com wrote: I am struggling a little bit with hooking my test OpenNebula in to my existing FreeIPA authentication domain. I am currently running OpenNebula 4.10.1 running on Centos 6.5, and I am trying to connect it to my existing FreeIPA 3.0.0 server. I currently have three services authenticating via ldap to the IPA server, so I think that bit is right. When I install opennebula for the first time, get everything setup, add the ldap authentication config, everything looks OK. I create a user in Sunstone, set the auth method to LDAP, and then successfully sign in to Sunstone. Happy face. I change the user to oneadmin group in Sunstone. The following day, I am no longer able to log in as that user, and no amount of deleting user and re-adding user seems to make any difference. I have also tried NOT creating the user via sunstone, and just logging in, same errors. Does anybody have any idea what I might be doing wrong, or even where I can look to figure what is not working? Config and log files below. Many thanks in advance. -- oned.conf --- AUTH_MAD = [ executable = one_auth_mad, authn =
Re: [one-users] Network contextualization VM
Is one of the packages linked in the following page installed in your guest system? http://docs.opennebula.org/4.10/user/virtual_machine_setup/bcont.html On Wed Dec 03 2014 at 2:56:16 PM Manuel Alfonso López Rourich alfonso.lo...@cenits.es wrote: Good morning Jose Ángel, Thank you very much for your response. udev rules within the vm in /etc/udev/rules create eth0 or 1 depending on the MAC. In /dev/sr0 a file named context.sh contains the IP and the gw among other data but I don't understand why eth0 doesn't have the IP associated or the route table is empty. I've tried to run a command on vm boot which executes ifconfig eth0 IP and route add default gw dir. The problem is that on boot the directory containing context.sh is not mounted and I cannot access the contextualization data. I've also tried to execute a script in /etc/one-context.d/ but it doesn't seem to execute. Thank you very much, Best regards 2014-12-02 15:18 GMT+01:00 Jose Angel Diaz joseangel.d...@cenatic.es: Hi Manuel Have you test that the udev is not conflicting with your context interfaces? After install the context packages it's necesary to clean the resol.conf, delete some ifcfg-ethxx scripts on the system to make the context correctly change the info in the machine. Some time the /etc/udev/rules.d/70-persistent-net.rules To add some scripts to execute on the context stage you could add some scripts in the /etc/one-context.d dir with a correct secuential number and it could be launched inside the VM when is starting. Hope it helps.. Enviado con MailTrack https://mailtrack.io/install?source=signaturelang=esreferral=joseangel.d...@cenatic.esidSignature=23 2014-12-02 15:01 GMT+01:00 Manuel Alfonso López Rourich alfonso.lo...@cenits.es: Good morning, I'd like to ask you a question about network contextualization of VMs. I had created a template with CentOS (in Contextualization tag Add network contextualization and Add SSH contextualization is enabled. After deploying a VM, I can see that there is a context.sh file with the content of some network parameters (ETH0_GATEWAY, etc.) but network is not configured correctly after the deployment of a vm (to fix it I have to execute (1) *ifconfig eth0 some_ip* and (2) *route add default gw*) How could I modify some script so that after booting a vm those commands are executed automatically? Thank you very much Best regards ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jose Angel Diaz Diaz Coordinador Tecnologico CENATIC - Correo Corporativo Fundación Cenatic Este email ha sido enviado desde una plataforma perteneciente a la Fundación Cenatic Cualquier duda o modificacion contactar con Fundación Cenatic +34 924 67 73 16 i...@cenatic.es ___ 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] opennebula and gentoo
Thanks for the ebuild! I've added the link to it in the OpenNebula documentation. It should be up after we regenerate the pages. Cheers On Thu Dec 18 2014 at 9:39:00 AM Thomas Stein himbe...@meine-oma.de wrote: Hello. FYI. I uploaded my ebuilds for gentoo to github. Feel free to do whatever you like with them. They work pretty well on my machines. https://github.com/himbeere/opennebula 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