Re: [one-users] Unwanted upgrade from 4.4.1 to 4.6.0
Javier Fontan jfon...@opennebula.org writes: That's very unfortunate. We should have to rethink the repository process and maybe create a new one for each major release. +1 This would permit to have an “unstable” repository to test new features when they arrive and a “testing” one for RC. Managing repositories is easy with reprepro[1]. Regards. Footnotes: [1] https://wiki.debian.org/SettingUpSignedAptRepositoryWithReprepro -- Daniel Dehennin Récupérer ma clef GPG: gpg --recv-keys 0xCC1E9E5B7A6FE2DF Fingerprint: 3E69 014E 5C23 50E8 9ED6 2AAD CC1E 9E5B 7A6F E2DF signature.asc Description: PGP signature ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] cluster datastore
Hello. I'm fighting with getting One 4.6 running. Here my current problem. I cannot deploy VMs to any hosts in the cluster. This is what i get in oned.log: Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy result SUCCESS, 15 Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command execution fail: /var/lib/one/remotes/tm/shared/clone opennebula-frontend:/var/lib /one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393 one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1 This is how the datastores look. oneadmin@opennebula-frontend:~$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 69% - 1 img fs shared 2 files 47.2G 69% - 0 fil fs ssh 113 one-cluster-s - - cluster1 0 sys -ssh oneadmin@opennebula-frontend:~$ oneadmin@opennebula-frontend:~$ onedatastore show 113 DATASTORE 113 INFORMATION ID : 113 NAME : one-cluster-system-ds USER : oneadmin GROUP : oneadmin CLUSTER: cluster1 TYPE : SYSTEM DS_MAD : - TM_MAD : ssh BASE PATH : /var/lib/one//datastores/113 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : - FREE: : - USED: : - LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ SHARED=NO TM_MAD=ssh TYPE=SYSTEM_DS oneadmin@opennebula-frontend:~$ onehost list ID NAMECLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT 4 one1sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on 5 one2sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on oneadmin@opennebula-frontend:~$ Could someone give me helpfull pointers? I'm sure i did something wrong. thanks and best regards t. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] iSCSI in OpenNebula
Hello, I know this is the thousandth mail I send but no one can help me so I keep trying. Can anyone please explain how to use iSCSI in combination with OpenNebula. I keep getting errors about permissions :/ Kind regards Christophe ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] iSCSI problems
Christophe, when you say iscsi, do you mean the addon-iscsi? in that case you should follow this guide: https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores and set properly DS_MAD and TM_MAD. From the base64 encoded error I can see this: DS_MADfs/DS_MAD TM_MADshared/TM_MAD which is not what you want. cheers, Jaime On Sun, Apr 27, 2014 at 7:05 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, when I try to upload an image to my iSCSI datastore it fails and I dont know why. can anyone help me please? var/log/one/oned.log error http://pastebin.com/xVX0N6UU thank you C. Duez ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] iSCSI target/initiator
Hi Christophe, the problem with the iSCSI implementation is that it's tied to tgtd. It's a requirement. If your iSCSI server is not a linux box + tgtd then you will need to develop new drivers or use other drivers. cheers, Jaime On Tue, Apr 22, 2014 at 11:07 AM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, Wherever I read to setup iSCSI for opennebula they say that the oneadmin has to have passwordless ssh connection to the iSCSI target. What if this is not possible? What if the initiator has to connect to the target with a password? It uses chap with a name and password. I can not change this any suggestions? thanks ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula Windows Server 2008 R2.
Hi Leszek, apologies with the delay. We've been busy with the release. Does the hostname change with a reboot? Does anyone have expertise changing the windows hostname without a reboot from the powershell CLI? these ares the lines that change the hostname: https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134 Adding Andé Monteiro, the original author of that line, to the conversation. cheers, Jaime On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.com wrote: Also now i see that it do everything beside changing hostname. The Hostname stays unchanged :( 2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.com: I've got VM already contextualized but if i delete .opennebula file from C: and rerun this, it works 100% good. So why it doesn't work in the first time? Any idea how to track this down? Also how to delete the cd-rom permamently after contextualizing my VM? 2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.org: Hi Leszek, have you tried running the context.ps1 manually? (inside the PowerShell terminal) d: Set-ExecutionPolicy unrestricted Invoke-Expression context.ps1 what happens then? cheers, Jaime On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.comwrote: It doesn't contextualize it for me - only the RDP enable working. Also i would like to know how to deattach permamently context cd-rom from a VM, there is my CONTEXT variables i don't want to be seen by end-user. Is there any way to do that? 2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.org: Hi Leszek, in case you haven't seen this: http://opennebula.org/windows-contextualization/ cheers, Jaime On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis jme...@opennebula.orgwrote: Hi Leszek, we are currently working on a contextualization guide for Windows. We will probably release it next week. Regards, Jaime On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master keks...@gmail.comwrote: I've got problem with running Windows Server 2008 R2 VM's in OpenNebula. It doesn't get contexted. I tryied to use manual: http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machinesbut it doesn't work in my environment. The scripts is on context cd but the VM doesn;t get the ip, hostname and user account. Can anyone help me get this working? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] CPU utilization for front-end high
that process reports the disk usage of the files datastore. In our testing environment it doesn't use that much cpu. Is this happening to anyone else? cheers, Jaime On Wed, Apr 23, 2014 at 2:22 AM, M Fazli A Jalaluddin fazli.jalalud...@gmail.com wrote: Dear users, My configuration for front-end is self-contained (ONE 4.4.1) and using NFS for transferring data. So, I would like to know, if anyone can explain what this process means: *du -sLm /var/lib/one/var/datastores/2* because that process consumes a lot of CPU. Thank you Regards, Fazli ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula Windows Server 2008 R2.
Hi Leszek, Please send me details about your Windows version, Powershell and WMI, it may be a problem of versions. Executing the file on Powershell ISE returns any error? -- André Monteiro De: Jaime Melis jme...@opennebula.org Enviado: terça-feira, 29 de Abril de 2014 10:45 Para: Leszek Master Cc: Users OpenNebula; André Monteiro Assunto: Re: [one-users] OpenNebula Windows Server 2008 R2. Hi Leszek, apologies with the delay. We've been busy with the release. Does the hostname change with a reboot? Does anyone have expertise changing the windows hostname without a reboot from the powershell CLI? these ares the lines that change the hostname: https://github.com/OpenNebula/addon-context-windows/blob/master/context.ps1#L134 Adding Andé Monteiro, the original author of that line, to the conversation. cheers, Jaime On Wed, Apr 23, 2014 at 4:09 PM, Leszek Master keks...@gmail.commailto:keks...@gmail.com wrote: Also now i see that it do everything beside changing hostname. The Hostname stays unchanged :( 2014-04-23 16:07 GMT+02:00 Leszek Master keks...@gmail.commailto:keks...@gmail.com: I've got VM already contextualized but if i delete .opennebula file from C: and rerun this, it works 100% good. So why it doesn't work in the first time? Any idea how to track this down? Also how to delete the cd-rom permamently after contextualizing my VM? 2014-04-23 16:03 GMT+02:00 Jaime Melis jme...@opennebula.orgmailto:jme...@opennebula.org: Hi Leszek, have you tried running the context.ps1 manually? (inside the PowerShell terminal) d: Set-ExecutionPolicy unrestricted Invoke-Expression context.ps1 what happens then? cheers, Jaime On Wed, Apr 23, 2014 at 4:00 PM, Leszek Master keks...@gmail.commailto:keks...@gmail.com wrote: It doesn't contextualize it for me - only the RDP enable working. Also i would like to know how to deattach permamently context cd-rom from a VM, there is my CONTEXT variables i don't want to be seen by end-user. Is there any way to do that? 2014-04-22 10:34 GMT+02:00 Jaime Melis jme...@opennebula.orgmailto:jme...@opennebula.org: Hi Leszek, in case you haven't seen this: http://opennebula.org/windows-contextualization/ cheers, Jaime On Wed, Apr 16, 2014 at 10:43 AM, Jaime Melis jme...@opennebula.orgmailto:jme...@opennebula.org wrote: Hi Leszek, we are currently working on a contextualization guide for Windows. We will probably release it next week. Regards, Jaime On Wed, Apr 16, 2014 at 10:33 AM, Leszek Master keks...@gmail.commailto:keks...@gmail.com wrote: I've got problem with running Windows Server 2008 R2 VM's in OpenNebula. It doesn't get contexted. I tryied to use manual: http://wiki.ieeta.pt/wiki/index.php/OpenNebula#Using_Windows_Images_for_new_Virtual_Machines but it doesn't work in my environment. The scripts is on context cd but the VM doesn;t get the ip, hostname and user account. Can anyone help me get this working? ___ Users mailing list Users@lists.opennebula.orgmailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.orghttp://www.OpenNebula.org | jme...@opennebula.orgmailto:jme...@opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.orghttp://www.OpenNebula.org | jme...@opennebula.orgmailto:jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.orgmailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.orghttp://www.OpenNebula.org | jme...@opennebula.orgmailto:jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.orgmailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.orghttp://www.OpenNebula.org | jme...@opennebula.orgmailto:jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] cluster datastore
Am 29.04.14 11:13, schrieb Thomas Stein: Hello. I'm fighting with getting One 4.6 running. Here my current problem. I cannot deploy VMs to any hosts in the cluster. This is what i get in oned.log: Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy result SUCCESS, 15 Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command execution fail: /var/lib/one/remotes/tm/shared/clone opennebula-frontend:/var/lib /one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393 one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1 Hm. Strange. If i create a new datastore (id_122 there is no /var/lib/one/datastores/122 directory created. Is that right? cheers t. This is how the datastores look. oneadmin@opennebula-frontend:~$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 69% - 1 img fs shared 2 files 47.2G 69% - 0 fil fs ssh 113 one-cluster-s - - cluster1 0 sys -ssh oneadmin@opennebula-frontend:~$ oneadmin@opennebula-frontend:~$ onedatastore show 113 DATASTORE 113 INFORMATION ID : 113 NAME : one-cluster-system-ds USER : oneadmin GROUP : oneadmin CLUSTER: cluster1 TYPE : SYSTEM DS_MAD : - TM_MAD : ssh BASE PATH : /var/lib/one//datastores/113 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : - FREE: : - USED: : - LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ SHARED=NO TM_MAD=ssh TYPE=SYSTEM_DS oneadmin@opennebula-frontend:~$ onehost list ID NAMECLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT 4 one1sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on 5 one2sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on oneadmin@opennebula-frontend:~$ Could someone give me helpfull pointers? I'm sure i did something wrong. 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
[one-users] ip spoofing
Hi! We're using bridged network with vlans and looking for a way to assume that client VMs using right ip addresses on their network interfaces. Maybe someone already have ideas about how to do it in a right way? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Upgrading from 3.8 to 4.6
Hi All, The upgrade went well. However post upgrade I have an issue where the oneadmin user shows under users group and not under oneadmin. And I am unable to run onehost sync. Error The oned configuration can only be retrieved by users in the oneadmin group. I am also unable to change the group either from dashboard or command prompt. I tried doing it from another user that is a part of the oneadmin group. -- Thanks, Sangram Rath ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Upgrading from 3.8 to 4.6
Hi, On Tue, Apr 29, 2014 at 2:10 PM, Sangram Rath sangram.r...@gmail.comwrote: Hi All, The upgrade went well. However post upgrade I have an issue where the oneadmin user shows under users group and not under oneadmin. And I am unable to run onehost sync. Error The oned configuration can only be retrieved by users in the oneadmin group. I am also unable to change the group either from dashboard or command prompt. I tried doing it from another user that is a part of the oneadmin group. -- Thanks, Sangram Rath What kind of error do you get when you try to change oneadmin's group? Please keep a copy of the DB backup so we can try to determine what went wrong Regards -- 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ip spoofing
On 4/29/2014 2:09 PM, Maxim Terletskiy wrote: Hi! We're using bridged network with vlans and looking for a way to assume that client VMs using right ip addresses on their network interfaces. Maybe someone already have ideas about how to do it in a right way? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org you can use dhcp server .. and generate fixed ip address based by mac addres default mac is: 02:00:ip address in hexa so for ip addres 10.0.0.1 mac should be 02:00:0a:00:00:01 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ip spoofing
On 4/29/2014 2:09 PM, Maxim Terletskiy wrote: Hi! We're using bridged network with vlans and looking for a way to assume that client VMs using right ip addresses on their network interfaces. Maybe someone already have ideas about how to do it in a right way? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org of you can transform from less table from less_pool table LEASEIP2886991874/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX2886991874/MAC_SUFFIXUSED1/USEDVID###/VID/LEASE where: prefix = first 2 hex of mac mac_suffix: is rest of mac on decimal but can be transformed in hex the splited for my case: prefix = 02:00: mac_suffix= ac:14:00:02 ip= 172.20.0.2 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Upgrading from 3.8 to 4.6
Hi, On Tue, Apr 29, 2014 at 2:39 PM, Sangram Rath sangram.r...@gmail.comwrote: If I try changing from a different account (part of openadmin group), I get an error saying provide ID instead of username and even the ID does not work. Sorry, dont have actual error or screenshot now. If trying to do from dashboard, here is the screenshot: The main problem is I cannot run onehost sync. Error below (from oneadmin account): Thanks for your assistance. Without this sync, its working but consuming a lot of memory and freezing the browser. It looks like the screenshot didn't come through. Can you run the oneuser chgrp command (using the ID) and see if there is any error in /var/log/one/oned.log? Regards -- 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 On Tue, Apr 29, 2014 at 5:59 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Tue, Apr 29, 2014 at 2:10 PM, Sangram Rath sangram.r...@gmail.comwrote: Hi All, The upgrade went well. However post upgrade I have an issue where the oneadmin user shows under users group and not under oneadmin. And I am unable to run onehost sync. Error The oned configuration can only be retrieved by users in the oneadmin group. I am also unable to change the group either from dashboard or command prompt. I tried doing it from another user that is a part of the oneadmin group. -- Thanks, Sangram Rath What kind of error do you get when you try to change oneadmin's group? Please keep a copy of the DB backup so we can try to determine what went wrong Regards -- 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 -- Thanks, Sangram K Rath ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] iSCSI problems
Hello, I thought it would be possible to add an iSCSI target to my server that is running OpenNebula. Than OpenNebula would see this target as a normal disc and could use it without any problems... but that is not possible then? On Tue, Apr 29, 2014 at 11:39 AM, Jaime Melis jme...@opennebula.org wrote: Christophe, when you say iscsi, do you mean the addon-iscsi? in that case you should follow this guide: https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores and set properly DS_MAD and TM_MAD. From the base64 encoded error I can see this: DS_MADfs/DS_MAD TM_MADshared/TM_MAD which is not what you want. cheers, Jaime On Sun, Apr 27, 2014 at 7:05 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, when I try to upload an image to my iSCSI datastore it fails and I dont know why. can anyone help me please? var/log/one/oned.log error http://pastebin.com/xVX0N6UU thank you C. Duez ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] iSCSI problems
Can you please provide more information? Where will you mount this iSCSI target? in what server (frontend or a node)? Or more generally, what exactly do you want to use iSCSI target for? On Tue, Apr 29, 2014 at 2:58 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, I thought it would be possible to add an iSCSI target to my server that is running OpenNebula. Than OpenNebula would see this target as a normal disc and could use it without any problems... but that is not possible then? On Tue, Apr 29, 2014 at 11:39 AM, Jaime Melis jme...@opennebula.orgwrote: Christophe, when you say iscsi, do you mean the addon-iscsi? in that case you should follow this guide: https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores and set properly DS_MAD and TM_MAD. From the base64 encoded error I can see this: DS_MADfs/DS_MAD TM_MADshared/TM_MAD which is not what you want. cheers, Jaime On Sun, Apr 27, 2014 at 7:05 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, when I try to upload an image to my iSCSI datastore it fails and I dont know why. can anyone help me please? var/log/one/oned.log error http://pastebin.com/xVX0N6UU thank you C. Duez ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] cluster datastore
Am 29.04.14 12:53, schrieb Thomas Stein: Am 29.04.14 11:13, schrieb Thomas Stein: Hello. I'm fighting with getting One 4.6 running. Here my current problem. I cannot deploy VMs to any hosts in the cluster. This is what i get in oned.log: Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy result SUCCESS, 15 Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command execution fail: /var/lib/one/remotes/tm/shared/clone opennebula-frontend:/var/lib /one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393 one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1 Hm. Strange. If i create a new datastore (id_122 there is no /var/lib/one/datastores/122 directory created. Is that right? It seems the root cause is: Tue Apr 29 14:56:39 2014 [ReM][E]: Req:8832 UID:0 VirtualMachineDeploy result FAILURE [VirtualMachineDeploy] cluster [102] does not have any datastore of type SYST EM_DS. I found a thread here: http://lists.opennebula.org/pipermail/users-opennebula.org/2013-December/025727.html But i don't know what to do with that. Someone has an idea? cheers t. cheers t. This is how the datastores look. oneadmin@opennebula-frontend:~$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 69% - 1 img fs shared 2 files 47.2G 69% - 0 fil fs ssh 113 one-cluster-s - - cluster1 0 sys -ssh oneadmin@opennebula-frontend:~$ oneadmin@opennebula-frontend:~$ onedatastore show 113 DATASTORE 113 INFORMATION ID : 113 NAME : one-cluster-system-ds USER : oneadmin GROUP : oneadmin CLUSTER: cluster1 TYPE : SYSTEM DS_MAD : - TM_MAD : ssh BASE PATH : /var/lib/one//datastores/113 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : - FREE: : - USED: : - LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ SHARED=NO TM_MAD=ssh TYPE=SYSTEM_DS oneadmin@opennebula-frontend:~$ onehost list ID NAMECLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT 4 one1sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on 5 one2sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on oneadmin@opennebula-frontend:~$ Could someone give me helpfull pointers? I'm sure i did something wrong. 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] cluster datastore
Hi, Each cluster needs at least one system DS. In your case, if your configuration hasn't changed from your first email, DS 113 should be detected. $ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 69% - 1 img fs shared 2 files 47.2G 69% - 0 fil fs ssh 113 one-cluster-s - - cluster1 0 sys -ssh $ onehost list ID NAME CLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT 4 one1sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on 5 one2sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on Is that your current configuration? Can you see DS 113 in the output of onecluster show cluster1? About the system DS dir: it won't be created until one VM is deployed. -- Carlos Martín, MSc Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | cmar...@opennebula.org | @OpenNebulahttp://twitter.com/opennebulacmar...@opennebula.org On Tue, Apr 29, 2014 at 3:10 PM, Thomas Stein himbe...@meine-oma.de wrote: Am 29.04.14 12:53, schrieb Thomas Stein: Am 29.04.14 11:13, schrieb Thomas Stein: Hello. I'm fighting with getting One 4.6 running. Here my current problem. I cannot deploy VMs to any hosts in the cluster. This is what i get in oned.log: Tue Apr 29 11:03:07 2014 [ReM][D]: Req:4976 UID:0 VirtualMachineDeploy result SUCCESS, 15 Tue Apr 29 11:03:08 2014 [TM][D]: Message received: LOG I 15 Command execution fail: /var/lib/one/remotes/tm/shared/clone opennebula-frontend:/var/lib /one//datastores/1/a1e9e30d324eaeb3b823916ef3b00393 one2-hostname-changed:/var/lib/one//datastores/113/15/disk.0 15 1 Hm. Strange. If i create a new datastore (id_122 there is no /var/lib/one/datastores/122 directory created. Is that right? It seems the root cause is: Tue Apr 29 14:56:39 2014 [ReM][E]: Req:8832 UID:0 VirtualMachineDeploy result FAILURE [VirtualMachineDeploy] cluster [102] does not have any datastore of type SYST EM_DS. I found a thread here: http://lists.opennebula.org/pipermail/users-opennebula.org/2013-December/025727.html But i don't know what to do with that. Someone has an idea? cheers t. cheers t. This is how the datastores look. oneadmin@opennebula-frontend:~$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 69% - 1 img fs shared 2 files 47.2G 69% - 0 fil fs ssh 113 one-cluster-s - - cluster1 0 sys - ssh oneadmin@opennebula-frontend:~$ oneadmin@opennebula-frontend:~$ onedatastore show 113 DATASTORE 113 INFORMATION ID : 113 NAME : one-cluster-system-ds USER : oneadmin GROUP : oneadmin CLUSTER: cluster1 TYPE : SYSTEM DS_MAD : - TM_MAD : ssh BASE PATH : /var/lib/one//datastores/113 DISK_TYPE : FILE DATASTORE CAPACITY TOTAL: : - FREE: : - USED: : - LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ SHARED=NO TM_MAD=ssh TYPE=SYSTEM_DS oneadmin@opennebula-frontend:~$ onehost list ID NAMECLUSTER RVM ALLOCATED_CPU ALLOCATED_MEM STAT 4 one1sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on 5 one2sy cluster10 0 / 800 (0%)0K / 23.6G (0%) on oneadmin@opennebula-frontend:~$ Could someone give me helpfull pointers? I'm sure i did something wrong. 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 ___ 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] Upgrading from 3.8 to 4.6
Hi, On Tue, Apr 29, 2014 at 2:42 PM, Sangram Rath sangram.r...@gmail.comwrote: Screenshots attached in case it missed earlier. No screen shot for 1. What is the output of 'oneuser show' in the same terminal where you are running onehost sync? Can you paste the output of 'onegroup show 0 -x'? Regards PS. please reply also to the mailing list -- 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 On Tue, Apr 29, 2014 at 6:09 PM, Sangram Rath sangram.r...@gmail.comwrote: If I try changing from a different account (part of openadmin group), I get an error saying provide ID instead of username and even the ID does not work. Sorry, dont have actual error or screenshot now. If trying to do from dashboard, here is the screenshot: The main problem is I cannot run onehost sync. Error below (from oneadmin account): Thanks for your assistance. Without this sync, its working but consuming a lot of memory and freezing the browser. On Tue, Apr 29, 2014 at 5:59 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Tue, Apr 29, 2014 at 2:10 PM, Sangram Rath sangram.r...@gmail.comwrote: Hi All, The upgrade went well. However post upgrade I have an issue where the oneadmin user shows under users group and not under oneadmin. And I am unable to run onehost sync. Error The oned configuration can only be retrieved by users in the oneadmin group. I am also unable to change the group either from dashboard or command prompt. I tried doing it from another user that is a part of the oneadmin group. -- Thanks, Sangram Rath What kind of error do you get when you try to change oneadmin's group? Please keep a copy of the DB backup so we can try to determine what went wrong Regards -- 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 -- Thanks, Sangram K Rath -- Thanks, Sangram K Rath ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] qcow2 image import
Hello. I'm using opennebula 4.6 and like to import a few qcow2 images. Is this tutorial still correct? https://support.opennebula.pro/entries/348847-using-qcow-images best regards thomas ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] qcow2 image import
Am 29.04.14 16:13, schrieb Thomas Stein: Hello. I'm using opennebula 4.6 and like to import a few qcow2 images. Is this tutorial still correct? https://support.opennebula.pro/entries/348847-using-qcow-images Another Problem. While trying to import a qcow2 image i get: Req:7216 UID:0 ImageAllocate result FAILURE Not enough space in datastore But i have enough space i think. oneadmin@opennebula-frontend:~$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 53% - 1 img fs ssh 2 files 47.2G 53% - 0 fil fs ssh 128 system_ds - - fluffy0 sys -ssh oneadmin@opennebula-frontend:~$ Any ideas? Is the missing fs on ID 128 a problem? best regards thomas best regards thomas ___ 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] qcow2 image import
On 4/29/2014 5:45 PM, Thomas Stein wrote: Am 29.04.14 16:13, schrieb Thomas Stein: Hello. I'm using opennebula 4.6 and like to import a few qcow2 images. Is this tutorial still correct? https://support.opennebula.pro/entries/348847-using-qcow-images Another Problem. While trying to import a qcow2 image i get: Req:7216 UID:0 ImageAllocate result FAILURE Not enough space in datastore But i have enough space i think. oneadmin@opennebula-frontend:~$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 53% - 1 img fs ssh 2 files 47.2G 53% - 0 fil fs ssh 128 system_ds - - fluffy0 sys -ssh oneadmin@opennebula-frontend:~$ Any ideas? Is the missing fs on ID 128 a problem? best regards thomas best regards thomas ___ 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 It seams you datastore can't be read by ssh commonad .. can you try to connect to your datastore with opennebula ssh key ? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] qcow2 image import
Am 29.04.14 17:16, schrieb Ionut Popovici: On 4/29/2014 5:45 PM, Thomas Stein wrote: Am 29.04.14 16:13, schrieb Thomas Stein: Hello. I'm using opennebula 4.6 and like to import a few qcow2 images. Is this tutorial still correct? https://support.opennebula.pro/entries/348847-using-qcow-images Another Problem. While trying to import a qcow2 image i get: Req:7216 UID:0 ImageAllocate result FAILURE Not enough space in datastore But i have enough space i think. oneadmin@opennebula-frontend:~$ onedatastore list ID NAMESIZE AVAIL CLUSTER IMAGES TYPE DS TM 1 default47.2G 53% - 1 img fs ssh 2 files 47.2G 53% - 0 fil fs ssh 128 system_ds - - fluffy0 sys -ssh oneadmin@opennebula-frontend:~$ Any ideas? Is the missing fs on ID 128 a problem? It seams you datastore can't be read by ssh commonad .. can you try to connect to your datastore with opennebula ssh key ? Seems to work: oneadmin@opennebula-frontend:~$ ssh opennebula-frontend Linux opennebula-frontend 3.2.0-4-amd64 #1 SMP Debian 3.2.57-3 x86_64 Last login: Tue Apr 29 17:20:35 2014 from localhost oneadmin@opennebula-frontend:~$ best regards thomas ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] GlusterFS datastore
Hi, First of all congrats for the release of ONE v4.6! Reading the 4.6 documentation about GlusterFS DS I see the following warning: The hypervisor nodes need to be part of a working GlusterFS cluster and the Libvirt and QEMU packages need to be recent enough to have support for GlusterFS. What is for you recent enough for the Libvirt and QEMU packages? Can you mention a minimal version for both packages? I am using Debian 7 and have the following packages: qemu-kvm 1.1.2+dfsg-6+deb7u1 libvirt0 0.9.12.3-1 are these recent enough? Regards ML ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] GlusterFS datastore
On 04/29/2014 04:24 PM, ML mail wrote: Hi, First of all congrats for the release of ONE v4.6! Reading the 4.6 documentation about GlusterFS DS I see the following warning: The hypervisor nodes need to be part of a working GlusterFS cluster and the Libvirt and QEMU packages need to be recent enough to have support for GlusterFS. What is for you recent enough for the Libvirt and QEMU packages? Can you mention a minimal version for both packages? I am using Debian 7 and have the following packages: qemu-kvm 1.1.2+dfsg-6+deb7u1 libvirt0 0.9.12.3-1 $ ldd /usr/libexec/qemu-kvm | grep glu libglusterfs.so.0 = /usr/lib64/libglusterfs.so.0 basically, anything CentOS-6.5+ should be good enough. I realise you are using debian ... - KB -- Karanbir Singh +44-207-0999389 | http://www.karan.org/ | twitter.com/kbsingh GnuPG Key : http://www.karan.org/publickey.asc ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] iSCSI problems
this is the error in /var/log/one/oned.log http://pastebin.com/tAwQhgTi On Tue, Apr 29, 2014 at 4:42 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Sorry, I have 3 servers for my disposal. One is running opennebula (frontend) the other 2 are nodes that will run the VM's. I also have a Synology NAS that provide iSCSI targets. I mounted the targets in my fronted (/etc/fstab = /dev/sdc /var/lib/one//datastores/106 ext4 _netdev 0 0) In the sunstone interface I can see the correct volume of the datastore. So far so good. But when I want to upload a Image, CD or create an empty datablock I get the permission denied error. On Tue, Apr 29, 2014 at 3:02 PM, Jaime Melis jme...@opennebula.orgwrote: Can you please provide more information? Where will you mount this iSCSI target? in what server (frontend or a node)? Or more generally, what exactly do you want to use iSCSI target for? On Tue, Apr 29, 2014 at 2:58 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, I thought it would be possible to add an iSCSI target to my server that is running OpenNebula. Than OpenNebula would see this target as a normal disc and could use it without any problems... but that is not possible then? On Tue, Apr 29, 2014 at 11:39 AM, Jaime Melis jme...@opennebula.orgwrote: Christophe, when you say iscsi, do you mean the addon-iscsi? in that case you should follow this guide: https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores and set properly DS_MAD and TM_MAD. From the base64 encoded error I can see this: DS_MADfs/DS_MAD TM_MADshared/TM_MAD which is not what you want. cheers, Jaime On Sun, Apr 27, 2014 at 7:05 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, when I try to upload an image to my iSCSI datastore it fails and I dont know why. can anyone help me please? var/log/one/oned.log error http://pastebin.com/xVX0N6UU thank you C. Duez ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] What is the best way to reboot a storage server in order to cause the least amount of disruption to running VMs?
Hi, Our OpenNebula Debian Wheezy storage server has been running for 466 days and needs to be rebooted as there have been many kernel patches during this time. It exports the datastores to the hosts using NFS. What is the best way to reboot the server in order to cause the least amount of disruption to running VMs? I've thought about suspending all running VMs, rebooting the storage server and resuming the VMs after the storages serveris back. Would this work? Obviously, any VMs that have to maintain real time connections would be in trouble, e.g. iSCSI mounts, but would an ordinary machines resume successfully after the storage server reboots. The host NFS mounts are as here: /datastores nfs vers=4,bg,rw,_netdev,fsc,rsize=32768,wsize=32768,intr,noatime In general, is there a recommended way of providing HA storage to hosts? Regards, Gerry -- Gerry O'Brien Systems Manager School of Computer Science and Statistics Trinity College Dublin Dublin 2 IRELAND 00 353 1 896 1341 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vm deployment via image stored in ceph datastore
Could you try to set DEV_PREFIX=vd? On Mon, Apr 28, 2014 at 9:14 PM, Steve @ MyEvolve st...@myevolve.comwrote: Hi Ruben, I used the images from the marketplace. Both the CENTOS and UBUNTU images did not work. How do I edit grub when they don't even boot? Thanks, Steve On Mon, Apr 28, 2014 at 10:18 AM, Ruben S. Montero rsmont...@opennebula.org wrote: No, the image does not need any parameter. We've seen this error: Geom Error when installing an OS and grub not being able to get the geometry of the disk, you need to specify it in grub.conf. ruben On Sun, Apr 27, 2014 at 9:10 PM, Steve @ MyEvolve st...@myevolve.comwrote: Any help on this? -- Forwarded message -- Hello Everyone, I imported ttylinux from the marketplace into ceph and successfully deployed it on the same host, so that would indicate things are working normally. I also imported Ubuntu, but it came up with grub error. I've attached two screenshots to show what the console is showing on boot. Any ideas? Thank you, Steve On Wed, Apr 23, 2014 at 6:03 AM, Steve @ MyEvolve wrote: Hello Everyone, I successfully imported the CentOS contextualized image from the marketplace into my ceph image datastore. I then created a specific template for deploying this image and successfully launched the vm. My problem is that when the vm is booting I am getting the message: Booting from Hard Disk... Geom error Any ideas? Thanks, Steve Template: GRAPHICS TYPE VNCLISTEN 0.0.0.0 OS ARCH x86_64BOOT hd MEMORY 2048 NIC NETWORK_UNAME oneadminNETWORK Public Network SCHED_REQUIREMENTS ID=4FEATURES ACPI yes CPU 1 DISK IMAGE CentOS Server 6.2 - kvm_file0 CephIMAGE_UNAME oneadmin CONTEXT NETWORK YESSSH_PUBLIC_KEY $USER[SSH_PUBLIC_KEY] And here is the template for the VM: VMID 90 TEMPLATE_ID 23 GRAPHICS TYPE VNCLISTEN 0.0.0.0PORT 5990 OS ARCH x86_64BOOT hd MEMORY 2048 AUTOMATIC_REQUIREMENTS CLUSTER_ID = 101 !(PUBLIC_CLOUD = YES) NIC BRIDGE br0NETWORK_UNAME oneadminMAC02:00:26:6b:bb:96 VLAN NO NETWORK Public NetworkIP6_LINK fe80::400:26ff:fe6b:bb96 IP38.107.187.150 NIC_ID 0 NETWORK_ID 0CLUSTER_ID 101 FEATURES ACPI yes CPU 1 DISK TARGEThda DATASTORE_ID 126SIZE 10240IMAGE_ID 52IMAGE CentOS Server 6.2 - kvm_file0 Ceph DISK_ID0 CLONE_TARGET SELFTYPE RBDSAVE NOCEPH_USERlibvirt SOURCE one/one-52CEPH_SECRET *** removed *** CEPH_HOST cloudweb12:6789 TM_MAD ceph IMAGE_UNAME oneadminDEV_PREFIX hd LN_TARGET NONEREADONLY NO CLUSTER_ID 101DATASTORE cephsystemCLONE YES CONTEXT TARGET hdbETH0_MASK255.255.255.0 ETH0_IP 38.107.187.150 ETH0_NETWORK 38.107.187.0ETH0_GATEWAY 38.107.187.1 ETH0_DNS 8.8.8.8DISK_ID 1NETWORK YESETH0_MAC02:00:26:6b:bb:96 SSH_PUBLIC_KEY removed -- -- Ruben S. Montero, PhD Project co-Lead and Chief Architect OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula -- -- Ruben S. Montero, PhD Project co-Lead and Chief Architect OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | rsmont...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] iSCSI problems
I did the following: at the NAS: NasKampdreef11 chown 9869:9869 /volume1/@iSCSITrg/ NasKampdreef11 chown 9869:9869 /volume1/@iSCSITrg/iSCSI_1_LUN-1_000 chmod -R 0755 /volume1/@iSCSITrg/ at the frontend: [root@OpenNebulaServer ~]# chown 9869:9869 /dev/sdc [root@OpenNebulaServer ~]# chmod -R 0775 /dev/sdc AND I Forgot chown 9869:9869 /var/lib/one/datastores/100/ I don't know if I need all of them but now it magically works... On Tue, Apr 29, 2014 at 5:46 PM, Jaime Melis jme...@opennebula.org wrote: Right, can you write to that mountpoint as oneadmin? I believe you are missing a chown -R. If oneadmin cannot write to that mountpoint OpenNebula will fail. On Tue, Apr 29, 2014 at 5:45 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: this is the error in /var/log/one/oned.log http://pastebin.com/tAwQhgTi On Tue, Apr 29, 2014 at 4:42 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Sorry, I have 3 servers for my disposal. One is running opennebula (frontend) the other 2 are nodes that will run the VM's. I also have a Synology NAS that provide iSCSI targets. I mounted the targets in my fronted (/etc/fstab = /dev/sdc /var/lib/one//datastores/106 ext4 _netdev 0 0) In the sunstone interface I can see the correct volume of the datastore. So far so good. But when I want to upload a Image, CD or create an empty datablock I get the permission denied error. On Tue, Apr 29, 2014 at 3:02 PM, Jaime Melis jme...@opennebula.orgwrote: Can you please provide more information? Where will you mount this iSCSI target? in what server (frontend or a node)? Or more generally, what exactly do you want to use iSCSI target for? On Tue, Apr 29, 2014 at 2:58 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, I thought it would be possible to add an iSCSI target to my server that is running OpenNebula. Than OpenNebula would see this target as a normal disc and could use it without any problems... but that is not possible then? On Tue, Apr 29, 2014 at 11:39 AM, Jaime Melis jme...@opennebula.orgwrote: Christophe, when you say iscsi, do you mean the addon-iscsi? in that case you should follow this guide: https://github.com/OpenNebula/addon-iscsi#configuring-iscsi-datastores and set properly DS_MAD and TM_MAD. From the base64 encoded error I can see this: DS_MADfs/DS_MAD TM_MADshared/TM_MAD which is not what you want. cheers, Jaime On Sun, Apr 27, 2014 at 7:05 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: Hello, when I try to upload an image to my iSCSI datastore it fails and I dont know why. can anyone help me please? var/log/one/oned.log error http://pastebin.com/xVX0N6UU thank you C. Duez ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- Jaime Melis Project Engineer OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org | jme...@opennebula.org -- Kind regards, Duez Christophe Student at University of Antwerp : Master of Industrial Sciences: Electronics-ICT E christophe.d...@student.uantwperen.be L linkedin duez-christophehttp://www.linkedin.com/pub/duez-christophe/74/7/39 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ip spoofing
Thanks for answer. We're giving white ips from several networks, dhcp not very well fit our needs. So using context for network settings setup. Now we're looking for solution which prevent vm A with ip X from use of ip Y which belongs to vm B. X and Y are ips from one network in one vlan. I thought about using iptables/ebtables on border router, but don't understand very well what rules we must apply to drop traffic in case if pair MAC+IP is wrong. 29.04.2014 16:41, Ionut Popovici пишет: On 4/29/2014 2:09 PM, Maxim Terletskiy wrote: Hi! We're using bridged network with vlans and looking for a way to assume that client VMs using right ip addresses on their network interfaces. Maybe someone already have ideas about how to do it in a right way? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org of you can transform from less table from less_pool table LEASEIP2886991874/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX2886991874/MAC_SUFFIXUSED1/USEDVID###/VID/LEASE where: prefix = first 2 hex of mac mac_suffix: is rest of mac on decimal but can be transformed in hex the splited for my case: prefix = 02:00: mac_suffix= ac:14:00:02 ip= 172.20.0.2 ___ 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] iSCSI problems
Untill I have to Create a VM. I can upload a CD and create an empty datastore or upload a image but I cant run the VM Error : http://pastebin.com/9CbwFF1Q any thoughts? did I change to much permissions? Tue Apr 29 21:03:00 2014 [ReM][D]: Req:9936 UID:0 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID7/... Tue Apr 29 21:03:00 2014 [ReM][D]: Req:9936 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1 Tue Apr 29 21:03:00 2014 [ReM][D]: Req:9936 UID:0 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID7/... Tue Apr 29 21:03:00 2014 [ReM][D]: Req:1744 UID:0 DatastorePoolInfo invoked Tue Apr 29 21:03:00 2014 [ReM][D]: Req:1744 UID:0 DatastorePoolInfo result SUCCESS, DATASTORE_POOLDAT... Tue Apr 29 21:03:00 2014 [ReM][D]: Req:1744 UID:0 DatastorePoolInfo invoked Tue Apr 29 21:03:00 2014 [ReM][D]: Req:1744 UID:0 DatastorePoolInfo result SUCCESS, DATASTORE_POOLDAT... Tue Apr 29 21:03:00 2014 [ReM][D]: Req:560 UID:0 HostPoolInfo invoked Tue Apr 29 21:03:00 2014 [ReM][D]: Req:560 UID:0 HostPoolInfo result SUCCESS, HOST_POOLHOSTID... Tue Apr 29 21:03:00 2014 [ReM][D]: Req:6720 UID:0 ClusterPoolInfo invoked Tue Apr 29 21:03:00 2014 [ReM][D]: Req:6720 UID:0 ClusterPoolInfo result SUCCESS, CLUSTER_POOL/CLUS... Tue Apr 29 21:03:00 2014 [ReM][D]: Req:9584 UID:0 AclInfo invoked Tue Apr 29 21:03:00 2014 [ReM][D]: Req:9584 UID:0 AclInfo result SUCCESS, ACL_POOLACLID0... Tue Apr 29 21:03:00 2014 [ReM][D]: Req:7776 UID:0 VirtualMachineDeploy invoked, 7, 1, false, 0 Tue Apr 29 21:03:00 2014 [DiM][D]: Deploying VM 7 Tue Apr 29 21:03:00 2014 [ReM][D]: Req:7776 UID:0 VirtualMachineDeploy result SUCCESS, 7 Tue Apr 29 21:03:01 2014 [TM][D]: Message received: TRANSFER SUCCESS 7 - Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG I 7 ExitCode: 0 Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG I 7 Successfully execute network driver operation: pre. Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG I 7 Command execution fail: cat EOT | /var/tmp/one/vmm/kvm/deploy '/var/lib/one//datastores/0/7/deployment.0' 'kvm1' 7 kvm1 Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG I 7 error: Failed to create domain from /var/lib/one//datastores/0/7/deployment.0 Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG I 7 error: cannot open file '/var/lib/one//datastores/0/7/disk.0': Permission denied Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG E 7 Could not create domain from /var/lib/one//datastores/0/7/deployment.0 Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG I 7 ExitCode: 255 Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: LOG I 7 Failed to execute virtualization driver operation: deploy. Tue Apr 29 21:03:01 2014 [VMM][D]: Message received: DEPLOY FAILURE 7 Could not create domain from /var/lib/one//datastores/0/7/deployment.0 Tue Apr 29 21:03:04 2014 [ReM][D]: Req:3024 UID:1 DocumentPoolInfo invoked, -2, -1, -1, 100 Tue Apr 29 21:03:04 2014 [ReM][D]: Req:3024 UID:1 DocumentPoolInfo result SUCCESS, DOCUMENT_POOL/DOC... Tue Apr 29 21:03:07 2014 [ImM][D]: Datastore system (0) successfully monitored. Tue Apr 29 21:03:08 2014 [InM][D]: Host kvm1 (1) successfully monitored. Tue Apr 29 21:03:17 2014 [ImM][D]: Datastore system (0) successfully monitored. Tue Apr 29 21:03:18 2014 [InM][D]: Host kvm2 (2) successfully monitored. Tue Apr 29 21:03:26 2014 [ImM][I]: --Mark-- Tue Apr 29 21:03:26 2014 [InM][I]: --Mark-- Tue Apr 29 21:03:27 2014 [ImM][D]: Datastore system (0) successfully monitored. Tue Apr 29 21:03:28 2014 [InM][D]: Host kvm1 (1) successfully monitored. Tue Apr 29 21:03:30 2014 [ReM][D]: Req:2368 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1 Tue Apr 29 21:03:30 2014 [ReM][D]: Req:2368 UID:0 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID7/... Tue Apr 29 21:03:30 2014 [ReM][D]: Req:2368 UID:0 VirtualMachinePoolInfo invoked, -2, -1, -1, -1 Tue Apr 29 21:03:30 2014 [ReM][D]: Req:2368 UID:0 VirtualMachinePoolInfo result SUCCESS, VM_POOLVMID7/... Tue Apr 29 21:03:32 2014 [AuM][D]: Message received: AUTHENTICATE SUCCESS 31 - On Tue, Apr 29, 2014 at 6:25 PM, Christophe Duez christophe.d...@student.uantwerpen.be wrote: I did the following: at the NAS: NasKampdreef11 chown 9869:9869 /volume1/@iSCSITrg/ NasKampdreef11 chown 9869:9869 /volume1/@iSCSITrg/iSCSI_1_LUN-1_000 chmod -R 0755 /volume1/@iSCSITrg/ at the frontend: [root@OpenNebulaServer ~]# chown 9869:9869 /dev/sdc [root@OpenNebulaServer ~]# chmod -R 0775 /dev/sdc AND I Forgot chown 9869:9869 /var/lib/one/datastores/100/ I don't know if I need all of them but now it magically works... On Tue, Apr 29, 2014 at 5:46 PM, Jaime Melis jme...@opennebula.orgwrote: Right, can you write to that mountpoint as oneadmin? I believe you are missing a chown -R. If oneadmin cannot write to that mountpoint OpenNebula will fail. On Tue, Apr 29, 2014 at 5:45 PM, Christophe Duez
Re: [one-users] ip spoofing
On 4/29/2014 7:56 PM, Maxim Terletskiy wrote: Thanks for answer. We're giving white ips from several networks, dhcp not very well fit our needs. So using context for network settings setup. Now we're looking for solution which prevent vm A with ip X from use of ip Y which belongs to vm B. X and Y are ips from one network in one vlan. solution is arp http://askubuntu.com/questions/22998/add-static-arp-entries-when-network-is-brought-up I thought about using iptables/ebtables on border router, but don't understand very well what rules we must apply to drop traffic in case if pair MAC+IP is wrong. 29.04.2014 16:41, Ionut Popovici пишет: On 4/29/2014 2:09 PM, Maxim Terletskiy wrote: Hi! We're using bridged network with vlans and looking for a way to assume that client VMs using right ip addresses on their network interfaces. Maybe someone already have ideas about how to do it in a right way? ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org of you can transform from less table from less_pool table LEASEIP2886991874/IPMAC_PREFIX512/MAC_PREFIXMAC_SUFFIX2886991874/MAC_SUFFIXUSED1/USEDVID###/VID/LEASE where: prefix = first 2 hex of mac mac_suffix: is rest of mac on decimal but can be transformed in hex the splited for my case: prefix = 02:00: mac_suffix= ac:14:00:02 ip= 172.20.0.2 ___ 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 ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] What is the best way to reboot a storage server in order to cause the least amount of disruption to running VMs?
Hi Gerry, While I don't have any recommendations on the reboot process, if you're using KVM I'd certainly recommend Ceph as a solution for high availability storage. We've gone as far as rolling linux distribution upgrades to our storage cluster with no loss of VM connectivity. -Michael On 29/04/2014 16:50, Gerry O'Brien wrote: Hi, Our OpenNebula Debian Wheezy storage server has been running for 466 days and needs to be rebooted as there have been many kernel patches during this time. It exports the datastores to the hosts using NFS. What is the best way to reboot the server in order to cause the least amount of disruption to running VMs? I've thought about suspending all running VMs, rebooting the storage server and resuming the VMs after the storages serveris back. Would this work? Obviously, any VMs that have to maintain real time connections would be in trouble, e.g. iSCSI mounts, but would an ordinary machines resume successfully after the storage server reboots. The host NFS mounts are as here: /datastores nfs vers=4,bg,rw,_netdev,fsc,rsize=32768,wsize=32768,intr,noatime In general, is there a recommended way of providing HA storage to hosts? Regards, Gerry ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] vm deployment via image stored in ceph datastore
Hi Steve, I just downloaded the CentOS 6.2 image to our Ceph data-store to test and I get the same error. I tried using CentOS rescue and I just get No usable disks have been found when it scans for an existing OS. It may be worth grabbing a distro ISO, uploading it into Open Nebula, writing out an empty datablock into Ceph and installing it like normal. You can then contextualise it yourself if you need to. -Michael On 29/04/2014 20:06, Campbell, Bill wrote: Try changing your target from 'hda' to 'vda' and see if that helps * * *Bill Campbell *Infrastructure Architect Axcess Financial Services, Inc. 7755 Montgomery Rd., Suite 400 Cincinnati, OH 45236 *From: *Steve @ MyEvolve st...@myevolve.com *To: *Bill Campbell bcampb...@axcess-financial.com *Cc: *Ruben S. Montero rsmont...@opennebula.org, users@lists.opennebula.org *Sent: *Tuesday, April 29, 2014 2:47:56 PM *Subject: *Re: vm deployment via image stored in ceph datastore Hi Bill, I just tried specifying raw as the driver, but no luck. Same result. It's really strange because I can deploy the ttylinux image from the market place no problem. Thanks, Steve ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] ip spoofing
Quoting Maxim Terletskiy (terlets...@emu.ru): Thanks for answer. We're giving white ips from several networks, dhcp not very well fit our needs. So using context for network settings setup. Now we're looking for solution which prevent vm A with ip X from use of ip Y which belongs to vm B. X and Y are ips from one network in one vlan. Are you using openvswitch? In that case you already have mac spoofing and IP Hijacking prevention [1]. OpenFlow rules are used to set that up. Note that it only works for IPv4 addresses. IPv6 is not covered yet. Gr. Stefan [1]: http://docs.opennebula.org/4.6/administration/networking/openvswitch.html -- | BIT BV http://www.bit.nl/Kamer van Koophandel 09090351 | GPG: 0xD14839C6 +31 318 648 688 / i...@bit.nl ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Upgrading from 3.8 to 4.6
The output was [UserInfo] User couldn't be authenticated, aborting call And [GroupInfo] User couldn't be authenticated, aborting call On Tue, Apr 29, 2014 at 6:59 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Tue, Apr 29, 2014 at 2:42 PM, Sangram Rath sangram.r...@gmail.comwrote: Screenshots attached in case it missed earlier. No screen shot for 1. What is the output of 'oneuser show' in the same terminal where you are running onehost sync? Can you paste the output of 'onegroup show 0 -x'? Regards PS. please reply also to the mailing list -- 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 On Tue, Apr 29, 2014 at 6:09 PM, Sangram Rath sangram.r...@gmail.comwrote: If I try changing from a different account (part of openadmin group), I get an error saying provide ID instead of username and even the ID does not work. Sorry, dont have actual error or screenshot now. If trying to do from dashboard, here is the screenshot: The main problem is I cannot run onehost sync. Error below (from oneadmin account): Thanks for your assistance. Without this sync, its working but consuming a lot of memory and freezing the browser. On Tue, Apr 29, 2014 at 5:59 PM, Carlos Martín Sánchez cmar...@opennebula.org wrote: Hi, On Tue, Apr 29, 2014 at 2:10 PM, Sangram Rath sangram.r...@gmail.comwrote: Hi All, The upgrade went well. However post upgrade I have an issue where the oneadmin user shows under users group and not under oneadmin. And I am unable to run onehost sync. Error The oned configuration can only be retrieved by users in the oneadmin group. I am also unable to change the group either from dashboard or command prompt. I tried doing it from another user that is a part of the oneadmin group. -- Thanks, Sangram Rath What kind of error do you get when you try to change oneadmin's group? Please keep a copy of the DB backup so we can try to determine what went wrong Regards -- 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 -- Thanks, Sangram K Rath -- Thanks, Sangram K Rath -- Thanks, Sangram K Rath ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org