Re: [one-users] 2 problems in VMs
Hello Sudeep, I don't know what version of OpenNebula are you using. I have tested on my setup, which uses 4.4. The following might not apply in your case. See inline. [oneadmin@front ~]$ oneimage chmod 33 664 [oneadmin@front ~]$ oneimage show 33 IMAGE 33 INFORMATION ID : 33 NAME : win7_sys USER : oneadmin GROUP : oneadmin DATASTORE : default TYPE : OS REGISTER TIME : 07/30 14:49:49 PERSISTENT : No SOURCE : /var/lib/one//datastores/1/0f72c7f0cd7fdc78f53b4fdbd2edb008 PATH : /home/wind.qcow2 SIZE : 9G STATE : rdy RUNNING_VMS: 0 PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- IMAGE TEMPLATE DEV_PREFIX=hd DRIVER=qcow2 According to the above output it seems like oneimage chmod didn't change the permissions. I think they should resemble the following: PERMISSIONS OWNER : um- GROUP : um- OTHER : u-- Can you try chmod-ing again, if it still doesn't work maybe it's a bug. Best, Valentin ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] 2 problems in VMs
Dear Valentin, I am using 4.6.2 version. I did from CLI and GUI and checked that is um- for all owner,group,others I also tried by changing the group; chgrp from oneadmin to users but no luck. Users is the group that carries all the LDAP users. The only way it works, if I manually change the ownership of the username. But we have our LDAP users to directly login and use. Is that the only way to manually enter each everyone's ownership!?! Regards, Sudeep On Mon, Aug 11, 2014 at 11:45 AM, Valentin Bud valentin@gmail.com wrote: Hello Sudeep, I don't know what version of OpenNebula are you using. I have tested on my setup, which uses 4.4. The following might not apply in your case. See inline. [oneadmin@front ~]$ oneimage chmod 33 664 [oneadmin@front ~]$ oneimage show 33 IMAGE 33 INFORMATION ID : 33 NAME : win7_sys USER : oneadmin GROUP : oneadmin DATASTORE : default TYPE : OS REGISTER TIME : 07/30 14:49:49 PERSISTENT : No SOURCE : /var/lib/one//datastores/1/0f72c7f0cd7fdc78f53b4fdbd2edb008 PATH : /home/wind.qcow2 SIZE : 9G STATE : rdy RUNNING_VMS: 0 PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- IMAGE TEMPLATE DEV_PREFIX=hd DRIVER=qcow2 According to the above output it seems like oneimage chmod didn't change the permissions. I think they should resemble the following: PERMISSIONS OWNER : um- GROUP : um- OTHER : u-- Can you try chmod-ing again, if it still doesn't work maybe it's a bug. Best, Valentin -- Thanks Regards, Sudeep Narayan Banerjee ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] OpenNebula does not use MAC value included into VM NIC template
Hi Ruben Ok, thanks a lot for the clarification! Cheers Alvaro On 18/07/14 20:55, Ruben S. Montero wrote: Hi Note that when a NIC requests an IP from a network you use IP or MAC (supported in 4.8) to select the IP defined in the network, and not to set its MAC. This is IP/MAC are keys to search the lease, in your example the IP is used to select the lease and you get the MAC address associated to it. You need to update the network so the IP has the desired MAC. Cheers Ruben On Wed, Jul 16, 2014 at 3:24 PM, Alvaro Simon Garcia alvaro.simongar...@ugent.be mailto:alvaro.simongar...@ugent.be wrote: Hi We need to set (and modify from time to time) the MAC address in our VM templates, by default ONE generates this MAC using the default prefix value and the VM ip, but we need to set a different MAC in some cases. We are including the MAC address into NIC section, as example: NIC=[ IP=10.141.8.30, MAC=AA:00:00:80:01:00, MODEL=virtio, NETWORK=br100, NETWORK_UNAME=oneadmin, TARGET=eth0 ] but OpenNebula is still using the default value, and at the end we have to include the harcoded mac into our vnet conf (and we don't want to do that): LEASE=[ MAC=aa:01:00:80:01:00, IP=10.141.8.40, IP6_LINK=fe80::ac01:ff:fe80:100, USED=0, VID=-1 ] do you know if this is a known issue, or do we need to do something else to set the MAC from the VM template? We are testing opennebula 4.6 right now Thanks in advance! Álvaro ___ Users mailing list Users@lists.opennebula.org mailto:Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org -- -- Ruben S. Montero, PhD Project co-Lead and Chief Architect OpenNebula - Flexible Enterprise Cloud Made Simple www.OpenNebula.org http://www.OpenNebula.org | rsmont...@opennebula.org mailto:rsmont...@opennebula.org | @OpenNebula ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Re: [one-users] Ceph datastore monitoring in OpenNebula
Hi Jaime, Javier Do you think that it would be possible to include these ceph patches into next 4.8 release? At this moment we are applying theses patches by hand in our configuration to use different Ceph pools. https://github.com/OpenNebula/one/pull/27 https://github.com/OpenNebula/one/pull/28 https://github.com/OpenNebula/one/pull/29 https://github.com/OpenNebula/one/pull/30 https://github.com/OpenNebula/one/pull/31 Cheers Alvaro On 17/07/14 14:11, Alvaro Simon Garcia wrote: Hi Jaime Sorry for the late reply, I didn't see your mail before because I was included in cc. With this patch you don't need to include a new user into your ceph keyring. If you want to use a ceph datastore you only need to include the user and pool into the datastore template that's all. In our case we use livbirt datastore and we have created two ceph datastore for testing porposes (each one use a different pool as well): $ onedatastore show ceph DATASTORE 103 INFORMATION ID : 103 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/103 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one TM_MAD=ceph IMAGES 7 8 31 32 34 35 and the second one: $ onedatastore show ceph two DATASTORE 104 INFORMATION ID : 104 NAME : ceph two USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=two TM_MAD=ceph As you can see we are using different pools in each one (so we don't need to include the pool name into ceph.conf either, and we are able to use several ceph clusters) and this change simplifies the ONE conf and ceph cluster admin as well. Cheers Alvaro On 03/07/14 17:08, Jaime Melis wrote: Hi Alvaro, thanks a lot for the contribution. I haven't tested it yet, but the code seems to be perfect. My main issue here is that I'm not entirely sure if we need this. Doesn't it make sense for the oneadmin user to be in the keyring and be able to run rados? You mentioned this, but I'm having some trouble understanding what do you mean: This feature could be useful as well if you want to monitor several datastores that are using different ceph pools and users ids. You only have to include the id and pool info into the ONE datastore template and the monitoring script will use one or another depending on the DS conf. With the current system you can monitor multiple ceph pools as long as the oneadmin user has right, isn't that so? Joel, would you like to weigh in? would you find this useful? cheers, Jaime On Fri, Jun 20, 2014 at 3:23 PM, Javier Fontan jfon...@opennebula.org mailto:jfon...@opennebula.org wrote: Great, thanks! Our ceph dev is traveling right now, he will review the patches when he arrives. Cheers On Thu, Jun 19, 2014 at 3:21 PM, Alvaro Simon Garcia alvaro.simongar...@ugent.be mailto:alvaro.simongar...@ugent.be wrote: Hi Javier We have modified the ceph monitor to take into account the datastore ceph pool and also the ceph user. This is a generic solution that could be useful for other datacenters as well, we have created a pull request in github if you are agree about this change and you want to include it in the next release. https://github.com/OpenNebula/one/pull/27 We only have modified these lines in /var/lib/one/remotes/datastore/ceph/monitor: --- monitor.orig.1906142014-06-19 14:35:24.022755989 +0200 +++ monitor2014-06-19 14:49:34.043187892 +0200 @@ -46,10 +46,12 @@ while IFS= read -r -d '' element; do XPATH_ELEMENTS[i++]=$element done ($XPATH /DS_DRIVER_ACTION_DATA/DATASTORE/TEMPLATE/BRIDGE_LIST \ -
Re: [one-users] Ceph datastore monitoring in OpenNebula
Hi Alvaro, Could you also provide a patch for the documentation? On Mon, Aug 11, 2014 at 10:22 AM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Jaime, Javier Do you think that it would be possible to include these ceph patches into next 4.8 release? At this moment we are applying theses patches by hand in our configuration to use different Ceph pools. https://github.com/OpenNebula/one/pull/27 https://github.com/OpenNebula/one/pull/28 https://github.com/OpenNebula/one/pull/29 https://github.com/OpenNebula/one/pull/30 https://github.com/OpenNebula/one/pull/31 Cheers Alvaro On 17/07/14 14:11, Alvaro Simon Garcia wrote: Hi Jaime Sorry for the late reply, I didn't see your mail before because I was included in cc. With this patch you don't need to include a new user into your ceph keyring. If you want to use a ceph datastore you only need to include the user and pool into the datastore template that's all. In our case we use livbirt datastore and we have created two ceph datastore for testing porposes (each one use a different pool as well): $ onedatastore show ceph DATASTORE 103 INFORMATION ID : 103 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/103 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one TM_MAD=ceph IMAGES 7 8 31 32 34 35 and the second one: $ onedatastore show ceph two DATASTORE 104 INFORMATION ID : 104 NAME : ceph two USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=two TM_MAD=ceph As you can see we are using different pools in each one (so we don't need to include the pool name into ceph.conf either, and we are able to use several ceph clusters) and this change simplifies the ONE conf and ceph cluster admin as well. Cheers Alvaro On 03/07/14 17:08, Jaime Melis wrote: Hi Alvaro, thanks a lot for the contribution. I haven't tested it yet, but the code seems to be perfect. My main issue here is that I'm not entirely sure if we need this. Doesn't it make sense for the oneadmin user to be in the keyring and be able to run rados? You mentioned this, but I'm having some trouble understanding what do you mean: This feature could be useful as well if you want to monitor several datastores that are using different ceph pools and users ids. You only have to include the id and pool info into the ONE datastore template and the monitoring script will use one or another depending on the DS conf. With the current system you can monitor multiple ceph pools as long as the oneadmin user has right, isn't that so? Joel, would you like to weigh in? would you find this useful? cheers, Jaime On Fri, Jun 20, 2014 at 3:23 PM, Javier Fontan jfon...@opennebula.org wrote: Great, thanks! Our ceph dev is traveling right now, he will review the patches when he arrives. Cheers On Thu, Jun 19, 2014 at 3:21 PM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Javier We have modified the ceph monitor to take into account the datastore ceph pool and also the ceph user. This is a generic solution that could be useful for other datacenters as well, we have created a pull request in github if you are agree about this change and you want to include it in the next release. https://github.com/OpenNebula/one/pull/27 We only have modified these lines in /var/lib/one/remotes/datastore/ceph/monitor: --- monitor.orig.1906142014-06-19 14:35:24.022755989 +0200 +++ monitor2014-06-19 14:49:34.043187892 +0200 @@ -46,10 +46,12 @@ while IFS= read -r -d '' element; do XPATH_ELEMENTS[i++]=$element done ($XPATH
Re: [one-users] Ceph datastore monitoring in OpenNebula
On 11/08/14 10:25, Jaime Melis wrote: Hi Alvaro, Could you also provide a patch for the documentation? Sure, I will include the documentation patch during today/tomorrow.. Cheers and thanks Alvaro On Mon, Aug 11, 2014 at 10:22 AM, Alvaro Simon Garcia alvaro.simongar...@ugent.be mailto:alvaro.simongar...@ugent.be wrote: Hi Jaime, Javier Do you think that it would be possible to include these ceph patches into next 4.8 release? At this moment we are applying theses patches by hand in our configuration to use different Ceph pools. https://github.com/OpenNebula/one/pull/27 https://github.com/OpenNebula/one/pull/28 https://github.com/OpenNebula/one/pull/29 https://github.com/OpenNebula/one/pull/30 https://github.com/OpenNebula/one/pull/31 Cheers Alvaro On 17/07/14 14:11, Alvaro Simon Garcia wrote: Hi Jaime Sorry for the late reply, I didn't see your mail before because I was included in cc. With this patch you don't need to include a new user into your ceph keyring. If you want to use a ceph datastore you only need to include the user and pool into the datastore template that's all. In our case we use livbirt datastore and we have created two ceph datastore for testing porposes (each one use a different pool as well): $ onedatastore show ceph DATASTORE 103 INFORMATION ID : 103 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/103 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one TM_MAD=ceph IMAGES 7 8 31 32 34 35 and the second one: $ onedatastore show ceph two DATASTORE 104 INFORMATION ID : 104 NAME : ceph two USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=two TM_MAD=ceph As you can see we are using different pools in each one (so we don't need to include the pool name into ceph.conf either, and we are able to use several ceph clusters) and this change simplifies the ONE conf and ceph cluster admin as well. Cheers Alvaro On 03/07/14 17:08, Jaime Melis wrote: Hi Alvaro, thanks a lot for the contribution. I haven't tested it yet, but the code seems to be perfect. My main issue here is that I'm not entirely sure if we need this. Doesn't it make sense for the oneadmin user to be in the keyring and be able to run rados? You mentioned this, but I'm having some trouble understanding what do you mean: This feature could be useful as well if you want to monitor several datastores that are using different ceph pools and users ids. You only have to include the id and pool info into the ONE datastore template and the monitoring script will use one or another depending on the DS conf. With the current system you can monitor multiple ceph pools as long as the oneadmin user has right, isn't that so? Joel, would you like to weigh in? would you find this useful? cheers, Jaime On Fri, Jun 20, 2014 at 3:23 PM, Javier Fontan jfon...@opennebula.org mailto:jfon...@opennebula.org wrote: Great, thanks! Our ceph dev is traveling right now, he will review the patches when he arrives. Cheers On Thu, Jun 19, 2014 at 3:21 PM, Alvaro Simon Garcia alvaro.simongar...@ugent.be mailto:alvaro.simongar...@ugent.be wrote: Hi Javier We have modified
Re: [one-users] Ceph datastore monitoring in OpenNebula
By the way, unfortunately this won't make it 4.8 as it's already feature freeze (and about to be released). I know you reported this a while back and in the end we didn't include it because we weren't sure. Sorry for not revisiting this issue earlier :S Before providing the patch for the docs, let me discuss this with the team, see if we can include it for 4.8.1 ... cheers, Jaime On Mon, Aug 11, 2014 at 10:25 AM, Jaime Melis jme...@opennebula.org wrote: Hi Alvaro, Could you also provide a patch for the documentation? On Mon, Aug 11, 2014 at 10:22 AM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Jaime, Javier Do you think that it would be possible to include these ceph patches into next 4.8 release? At this moment we are applying theses patches by hand in our configuration to use different Ceph pools. https://github.com/OpenNebula/one/pull/27 https://github.com/OpenNebula/one/pull/28 https://github.com/OpenNebula/one/pull/29 https://github.com/OpenNebula/one/pull/30 https://github.com/OpenNebula/one/pull/31 Cheers Alvaro On 17/07/14 14:11, Alvaro Simon Garcia wrote: Hi Jaime Sorry for the late reply, I didn't see your mail before because I was included in cc. With this patch you don't need to include a new user into your ceph keyring. If you want to use a ceph datastore you only need to include the user and pool into the datastore template that's all. In our case we use livbirt datastore and we have created two ceph datastore for testing porposes (each one use a different pool as well): $ onedatastore show ceph DATASTORE 103 INFORMATION ID : 103 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/103 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one TM_MAD=ceph IMAGES 7 8 31 32 34 35 and the second one: $ onedatastore show ceph two DATASTORE 104 INFORMATION ID : 104 NAME : ceph two USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=two TM_MAD=ceph As you can see we are using different pools in each one (so we don't need to include the pool name into ceph.conf either, and we are able to use several ceph clusters) and this change simplifies the ONE conf and ceph cluster admin as well. Cheers Alvaro On 03/07/14 17:08, Jaime Melis wrote: Hi Alvaro, thanks a lot for the contribution. I haven't tested it yet, but the code seems to be perfect. My main issue here is that I'm not entirely sure if we need this. Doesn't it make sense for the oneadmin user to be in the keyring and be able to run rados? You mentioned this, but I'm having some trouble understanding what do you mean: This feature could be useful as well if you want to monitor several datastores that are using different ceph pools and users ids. You only have to include the id and pool info into the ONE datastore template and the monitoring script will use one or another depending on the DS conf. With the current system you can monitor multiple ceph pools as long as the oneadmin user has right, isn't that so? Joel, would you like to weigh in? would you find this useful? cheers, Jaime On Fri, Jun 20, 2014 at 3:23 PM, Javier Fontan jfon...@opennebula.org wrote: Great, thanks! Our ceph dev is traveling right now, he will review the patches when he arrives. Cheers On Thu, Jun 19, 2014 at 3:21 PM, Alvaro Simon Garcia alvaro.simongar...@ugent.be wrote: Hi Javier We have modified the ceph monitor to take into account the datastore ceph pool and also the ceph user. This is a generic solution that could be useful for other datacenters as well, we have created a pull request
Re: [one-users] Ceph datastore monitoring in OpenNebula
Hi Jaime On 11/08/14 10:28, Jaime Melis wrote: By the way, unfortunately this won't make it 4.8 as it's already feature freeze (and about to be released). I know you reported this a while back and in the end we didn't include it because we weren't sure. Sorry for not revisiting this issue earlier :S Before providing the patch for the docs, let me discuss this with the team, see if we can include it for 4.8.1 Ok don't worry, we will include everything into a single new pull request to simplify the patch. Cheers Alvaro ... cheers, Jaime On Mon, Aug 11, 2014 at 10:25 AM, Jaime Melis jme...@opennebula.org mailto:jme...@opennebula.org wrote: Hi Alvaro, Could you also provide a patch for the documentation? On Mon, Aug 11, 2014 at 10:22 AM, Alvaro Simon Garcia alvaro.simongar...@ugent.be mailto:alvaro.simongar...@ugent.be wrote: Hi Jaime, Javier Do you think that it would be possible to include these ceph patches into next 4.8 release? At this moment we are applying theses patches by hand in our configuration to use different Ceph pools. https://github.com/OpenNebula/one/pull/27 https://github.com/OpenNebula/one/pull/28 https://github.com/OpenNebula/one/pull/29 https://github.com/OpenNebula/one/pull/30 https://github.com/OpenNebula/one/pull/31 Cheers Alvaro On 17/07/14 14:11, Alvaro Simon Garcia wrote: Hi Jaime Sorry for the late reply, I didn't see your mail before because I was included in cc. With this patch you don't need to include a new user into your ceph keyring. If you want to use a ceph datastore you only need to include the user and pool into the datastore template that's all. In our case we use livbirt datastore and we have created two ceph datastore for testing porposes (each one use a different pool as well): $ onedatastore show ceph DATASTORE 103 INFORMATION ID : 103 NAME : ceph USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/103 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=one TM_MAD=ceph IMAGES 7 8 31 32 34 35 and the second one: $ onedatastore show ceph two DATASTORE 104 INFORMATION ID : 104 NAME : ceph two USER : oneadmin GROUP : oneadmin CLUSTER: - TYPE : IMAGE DS_MAD : ceph TM_MAD : ceph BASE PATH : /var/lib/one//datastores/104 DISK_TYPE : RBD DATASTORE CAPACITY TOTAL: : 87.6T FREE: : 59.2T USED: : 28.4T LIMIT: : - PERMISSIONS OWNER : um- GROUP : u-- OTHER : --- DATASTORE TEMPLATE BASE_PATH=/var/lib/one//datastores/ BRIDGE_LIST=hyp004.cubone.os CEPH_HOST=ceph001.cubone.os ceph002.cubone.os ceph003.cubone.os CEPH_SECRET= CEPH_USER=libvirt CLONE_TARGET=SELF DATASTORE_CAPACITY_CHECK=yes DISK_TYPE=RBD DS_MAD=ceph LN_TARGET=NONE POOL_NAME=two TM_MAD=ceph As you can see we are using different pools in each one (so we don't need to include the pool name into ceph.conf either, and we are able to use several ceph clusters) and this change simplifies the ONE conf and ceph cluster admin as well. Cheers Alvaro On 03/07/14 17:08, Jaime Melis wrote: Hi Alvaro, thanks a lot for the contribution. I haven't tested it yet, but the code seems to be perfect. My main issue here is that I'm not entirely sure if we need this. Doesn't it make sense for the oneadmin user to be in the keyring and be able to run rados? You mentioned this, but I'm having some trouble understanding what do you
Re: [one-users] Sunstone - error - Action is not defined
Hi, Could you open the developer console in Firefox and check if there is any error? Cheers On 8 August 2014 16:28, Faizal Latif ahmadfaiz...@gmail.com wrote: ok. fine. it seems that the error happened to firefox only. this issue solve when i use chrome. so a bit weird for me. On Fri, Aug 8, 2014 at 8:28 PM, Faizal Latif ahmadfaiz...@gmail.com wrote: hi guys, any updates on this? please help me. thanks. On Wed, Aug 6, 2014 at 1:24 PM, Faizal Latif ahmadfaiz...@gmail.com wrote: hi guys, to be frank i'm quite new to opennebula. the interface is so nice. i'm happy with it. however, i did try install latest version which is 4.6. however, i found out that everytime i try click refresh button or add button on almost all tab i will get error action not define can someone help me on where should i check to solve this issue. roughly i cannot change anything inside sunstone GUI. i have checked the admin.yaml and can see there are actions attribute define there. but still i got the error messages. looking forward for your guidance. thanks faizal ___ 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] Sunstone Access Log
Hi, If you deployed Sunstone using Apache you should check the Apache access.log instead of sunstone logs Cheers On 5 August 2014 02:53, Anandharaj Subramaniam anandharaj.man...@mimos.my wrote: Hi, Im using OpenNebula 4.2 and would like to know how to retrieve access log for SunStone? Looking at sunstone.log or oned.log, nothing is showing who and what time people log into SunStone. -- Regards, Anandharaj -- *DISCLAIMER:* This e-mail (including any attachments) is for the addressee(s) only and may be confidential, especially as regards personal data. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message (including any attachments). MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e-mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. -- - - DISCLAIMER: This e-mail (including any attachments) is for the addressee(s) only and may contain confidential information. If you are not the intended recipient, please note that any dealing, review, distribution, printing, copying or use of this e-mail is strictly prohibited. If you have received this email in error, please notify the sender immediately and delete the original message. MIMOS Berhad is a research and development institution under the purview of the Malaysian Ministry of Science, Technology and Innovation. Opinions, conclusions and other information in this e- mail that do not relate to the official business of MIMOS Berhad and/or its subsidiaries shall be understood as neither given nor endorsed by MIMOS Berhad and/or its subsidiaries and neither MIMOS Berhad nor its subsidiaries accepts responsibility for the same. All liability arising from or in connection with computer viruses and/or corrupted e-mails is excluded to the fullest extent permitted by law. ___ 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] VNC proxy is working but Sustone VNC window does show error
Hi Pawel, Did you fix the problem? We found a bug in distribution running ruby 1.8.7 (i.e: CentOS 6.6), you can check the fix here: http://dev.opennebula.org/issues/3128 Cheers On 24 July 2014 19:02, pawel.orzechow...@budikom.net wrote: Daniel, I have the same error VNC Server disconnected (code: 1006). I will check the link Valentin has provided and let you know. Thanks Pawel --- Paweł orzechowskipawel.orzechow...@budikom.net*budikom.net http://budikom.net* ul. Trzy Lipy 3, GPNT, bud. C 80-172 Gdańsk tel.: +48 58 58 58 708 email: bi...@budikom.net W dniu 2014-07-24 07:07, Valentin Bud napisał(a): Hello Paweł, Maybe your issue is somehow connected to the Same-Origin-Policy discussed in the following thread: http://lists.opennebula.org/pipermail/users-opennebula.org/2014-February/026405.html Best, Valentin On Wed, Jul 23, 2014 at 4:16 PM, Daniel Molina dmol...@opennebula.org wrote: On 22 July 2014 16:44, pawel.orzechow...@budikom.net wrote: I had similar situation. When I switched on secure websockets connection in my profile settings I could not open VNC connection to any virtual machine. Isn't it a bug? What is the error message that is shown in Susntone? Cheers Pawel I have found my mistake! It was silly - Some time ago I pressed Secure websockets connection chekbox in configuration tab and forgot about it. So now it's working! THANK YOU. 23.08.2012, 17:17, Пярн Артур dekkart at yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org: * If I go direclty from browser to http://10.18.1.7:35792/ http://10.18.1.7:35792/ ** it shows me in websockify output the following message: Normal web request received but disallowed ** 23.08.2012, 16:54, Пярн Артур dekkart at yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org: ** Just in case, my configuration: ** 10.2.2.2 - KVM host with VMs ** 10.18.1.7 - only OpenNebula and Sunstone front-end ** * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 http://10.2.2.2:5916 for example) with a standard vnc client ** Yes, with no problem ** If I start proxy manualy /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916, I can't connetct from VNC client to 10.18.1.7:35792 http://10.18.1.7:35792, it shows me ignoring socket not ready: ** root at ubuntu http://lists.opennebula.org/listinfo.cgi/users-opennebula.org:/srv/cloud/one/share/noVNC/utils# /srv/cloud/one/share/noVNC/utils/websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916 ** WARNING: no 'numpy' module, HyBi protocol is slower or disabled ** WebSocket server settings: **- Listen on :35792 **- Flash security policy server **- No SSL/TLS support (no cert file) **- proxying from :35792 to 10.2.2.2:5916 http://10.2.2.2:5916 **1: 10.2.0.3 http://10.2.0.3: ignoring socket not ready **2: 10.2.0.3 http://10.2.0.3: ignoring socket not ready ** I found that I can connect to 10.18.1.7 http://10.18.1.7: 35792 from browser (http://10.18.1.7:6080/vnc.html http://10.18.1.7:6080/vnc.html) when I start both launch.sh script and also websockify 35792 10.2.2.2:5916 http://10.2.2.2:5916 ** 23.08.2012, 16:20, Hector Sanjuan hsanjuan at opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org: ** Your working screenshot shows a VNC session to a VM deployed in the same ** host as the sunstone frontend (10.18.1.7:6080 http://10.18.1.7:6080), but from sunstone you are ** trying to open connections to VMs in a different host (10.2.2.2). My ** questions then, ** * Can you connect directly without no VNC to those VMs (10.2.2.2:5916 http://10.2.2.2:5916 for ** example) with a standard vnc client ** * If you manually launch the proxy with the webserver option like you did, ** would something like ** http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 http://10.18.1.7:6080/vnc.html?host=10.2.2.2port=5916 work? This should ** not work if sunstone doesnt. Perhaps you can get some useful info from the ** websockify stdout when attempting it if it doesnt work. ** (in response to your latest email, dont worry about the timeout thing) ** Hector ** En Thu, 23 Aug 2012 14:08:05 +0200, Пярн Артур dekkart at yandex.ru http://lists.opennebula.org/listinfo.cgi/users-opennebula.org ** escribió: **Sure, logs below. sunstone.error is empty. It's our DEMO network, no **firewall, so no way. **-- ** Server configuration **-- **{:vnc_proxy_path=/srv/cloud/one/share/noVNC/utils/websockify, ** :auth=sunstone, ** :vnc_proxy_key=nil, ** :vnc_proxy_support_wss=false, ** :debug_level=3, ** :vnc_proxy_base_port=29876, ** :host=0.0.0.0, ** :port=, ** :one_xmlrpc=http://localhost:2633/RPC2
[one-users] Could not read from CDROM (code 0004)
Hello! I set up a cluster of 3 nodes Opennebula and Ceph. Operating system Ubuntu 14.04. libvirt version: libvirt-bin - 1.2.2-0ubuntu13.1.2 libvirt0 - 1.2.2-0ubuntu13.1.2 qemu version: qemu - 2.0.0+dfsg-2ubuntu1.2 qemu-common - 2.0.0+dfsg-2ubuntu1.2 qemu-keymaps - 2.0.0+dfsg-2ubuntu1.2 qemu-kvm - 2.0.0+dfsg-2ubuntu1.2 qemu-system - 2.0.0+dfsg-2ubuntu1.2 qemu-system-arm - 2.0.0+dfsg-2ubuntu1.2 qemu-system-common - 2.0.0+dfsg-2ubuntu1.2 qemu-system-mips - 2.0.0+dfsg-2ubuntu1.2 qemu-system-misc - 2.0.0+dfsg-2ubuntu1.2 qemu-system-ppc - 2.0.0+dfsg-2ubuntu1.2 qemu-system-sparc - 2.0.0+dfsg-2ubuntu1.2 qemu-system-x86 - 2.0.0+dfsg-2ubuntu1.2 qemu-user - 2.0.0+dfsg-2ubuntu1.2 qemu-utils - 2.0.0+dfsg-2ubuntu1.2 Try to install Debian using debian iso. VM template: CPU=0.5 DISK=[ IMAGE=debian 7, IMAGE_UNAME=jakal ] DISK=[ IMAGE=Debian, IMAGE_UNAME=jakal, READONLY=yes ] FEATURES=[ ACPI=yes ] GRAPHICS=[ LISTEN=0.0.0.0, TYPE=VNC ] MEMORY=512 NIC=[ NETWORK=LAN, NETWORK_UNAME=jakal ] OS=[ BOOT=cdrom ] But when the virtual machine starts, I get the following message: Booting from DVD/CD... Boot failed: Could not read from CDROM (code 0004) No bootable device. I tried looking for this problem on the internet and I have not found the cause of this error. Tell me, please, what can I do to resolve this situation? Thanks in advance for your assistance. Best regards, Aleksey Zolotukhin ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] Final Agenda OpenNebula Conf 2014
Dear OpenNebula users, We have prepared a lovely OpenNebula Conf line up [1] for you and gave our very best to get the perfect balance of topics. Now everything is ready and we can proudly tell you that: - David Lutterkort from Puppet Labs will visit us in Berlin and talk about what an enchanting match Puppet and OpenNebula are - Armin Deliomini from Runtastic will tell us the story of how OpenNebula was the perfect choice for their virtualization - Stefan Koomann will explore the features and the future of OpenNebula with you We have even more cool speakers for you on the website! So now it is your turn to wallow in all the information and register directly after that [2] for 3 days fully packed with enlightenment. - The OpenNebula Team [1] http://opennebulaconf.com/program/ [2] http://opennebulaconf.com/registration/ -- OpenNebula - Flexible Enterprise Cloud Made Simple -- Constantino Vázquez Blanco, PhD, MSc Senior Infrastructure Architect at C12G Labs www.c12g.com | @C12G | es.linkedin.com/in/tinova -- Confidentiality Warning: The information contained in this e-mail and any accompanying documents, unless otherwise expressly indicated, is confidential and privileged, and is intended solely for the person and/or entity to whom it is addressed (i.e. those identified in the To and cc box). They are the property of C12G Labs S.L.. Unauthorized distribution, review, use, disclosure, or copying of this communication, or any part thereof, is strictly prohibited and may be unlawful. If you have received this e-mail in error, please notify us immediately by e-mail at ab...@c12g.com and delete the e-mail and attachments and any copy from your system. C12G thanks you for your cooperation. ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
[one-users] (live) migration
All, I'm testing with a ONE right now, and running into an issue I can't explain. I created VM's on a Ceph datastore, that works fine. Cloning snapshotting does. But when I want to migrate a VM to another host: Mon Aug 11 21:16:24 2014 : Error restoring VM: Could not restore from /var/lib/one//datastores/105/99/checkpoint Am I missing something here? -- Met vriendelijke groeten / With kind regards, Johan Kooijman ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listinfo.cgi/users-opennebula.org