[one-users] Sunstone does not has a interface that administrator can set a regular user'quota.

2011-04-27 Thread aiguoxin2008 aiguoxin2008
In comman interface, the user id for test is 1. Now we use oneauth quota set to change user limits: $ oneauth quota set 1 20 1000 But sunstone does not has a interface that administrator can set a regular user'quota. ___ Users mailing list Users@

Re: [one-users] Does the SOURCE make no sense when creating an image in opennebula-2.2.0

2011-04-27 Thread junjie.ma
Hello, Carlos Thanks for your reply. :-) As your said, the SOURCE is surely important when offering both user own private Image Repository and the public Image Repository shared by all. SOURCE is an exciting option. :-) I should do some experiments on how to use the SOURCE and send back her

Re: [one-users] onevm saveas command

2011-04-27 Thread Daniel Molina
Hi, Check that the image hook is uncommented in the oned.conf. Would you mind to send us the output of onevm show VMID after the saveas command. Regards On 27 April 2011 10:53, Prakhar Srivastava wrote: > Hi, > When I run the command, > onevm saves VMID DISKID IMAGENAME > the image of the di

Re: [one-users] OpenNebula 2.2 not respecting network range?

2011-04-27 Thread Lars Kellogg-Stedman
> Maybe it is a good idea to add a STARTING_IP attribute for the RANGED > networks... Out of curiousity, how do other people avoid giving the address of the default router to a VM? Put the router at .254 and hope you never allocate that many virtual machines? Or are most people using FIXED netwo

Re: [one-users] OpenNebula 2.2 not respecting network range?

2011-04-27 Thread Ruben S. Montero
Yes the design was to define a network address as base for the ranged network rather than a starting IP I'm afraid that the only thing you can do is generate a network template of type FIXED with all the 200 leases you want. This can be easily done programatically, though. Maybe it is a good

Re: [one-users] ttylinux fails to start

2011-04-27 Thread Mike Putter
There seemed to be a problem with the NFS share as it didn't mount correctly when the node restarts. Although it doesn't mount correctly, the dir structure is still available showing an old file structure. I've to figure out how to correctly add it to fstab. At the moment it throws an error at s

Re: [one-users] Ganglia reports

2011-04-27 Thread Craig Dawson
Thanks Javier, Thanks for the explanation. I was under the impression that the virtual machine information would also be graphed. What is the purpose of the OPENNEBULA_VM_INFORMATION metric? Is it so that you can pull this information from Ganglia using another tool? Thanks again! Craig -

Re: [one-users] OpenNebula 2.2 not respecting network range?

2011-04-27 Thread Lars Kellogg-Stedman
> reserved by the network operations group.  Is my only solution to > manually create leases using the "onevnet addlease" command? Well, shoot. I can't manually add leases to a RANGED network, so this solution is out, too. -- Lars Kellogg-Stedman Senior Technologist Harvard University SEAS Aca

[one-users] OpenNebula Express Addons

2011-04-27 Thread Adrian Reza
Hi all, I have some issues during OpenNebula installation with Express addons. After finishing installation on front node, I checked there was no /cloud/one directory on /srv/ although the installer script set installation to /srv/cloud/one although OpenNebula daemon succesfully started. And I st

Re: [one-users] OpenNebula 2.2 not respecting network range?

2011-04-27 Thread Lars Kellogg-Stedman
> The NETWORK_SIZE is used to compute the network mask for 202 addresses > (including network and broadcast) Interesting. The documentation says: - NETWORK_ADDRESS: Base network address to generate IP addresses - NETWORK_SIZE: Number of hosts that can be connected using this network. It can be d

Re: [one-users] OpenNebula 2.2 not respecting network range?

2011-04-27 Thread Ruben S. Montero
Hi, The NETWORK_SIZE is used to compute the network mask for 202 addresses (including network and broadcast) you need 8 bits so 24 bits for the network mask. This gives you a network 10.243.19.0/24, so the first IP is 10.243.19.1and OpenNebula will give you IPs from 10.243.19.1 to 10.243.19.200 C

Re: [one-users] How to boot from .img

2011-04-27 Thread Amit Soni
What is the architecture of the Ubuntu 9.10 image. I has one similar problem. If the architecture of the OS on the img file is other than i686 you have to manually specify it in the template file. Look at the thread: http://lists.opennebula.org/pipermail/users-opennebula.org/2011-April/004909.html

Re: [one-users] Ganglia reports

2011-04-27 Thread Javier Fontan
Yikes! I've misreaded the email. The VM information is not directly parseable by ganglia so it cannot be used to draw graphics or to get notifications on VM activity. There are two ways to add VM information from my point of view, one is to create a virtual ganglia host per VM and add the informati

Re: [one-users] How to boot from .img

2011-04-27 Thread Javier Fontan
I really have no idea what could be happening. Can you check that the file copied in the node //images/disk.0 is the same as the original one. Maybe the copy is not correct. Also check the permissions. Also execute a "file" command to that image to check if it is a qcow image. On Thu, Apr 7, 2011

Re: [one-users] Authentication ldap and authdb issues

2011-04-27 Thread Javier Fontan
The addons were recently updated to be 2.2 compatible. Anyway, I think they were already compatible with 2.2 release. As Gian Umberto says you should protect the password files with file system permissions. Anyway, we are looking into more secure auth methods for ldap. On Tue, Apr 12, 2011 at 9:5

[one-users] OpenNebula 2.2 not respecting network range?

2011-04-27 Thread Lars Kellogg-Stedman
Hello all, I have a network defined like this: NAME="Cloud Private" TYPE=RANGED BRIDGE=br619 GATEWAY=10.243.19.1 NETWORK_ADDRESS=10.243.19.20 NETWORK_SIZE=200 I would expect this to allocate addresses in the range 10.243.19.20 - 10.243.19.220. However, if I create a VM from this des

Re: [one-users] Authentication ldap and authdb issues

2011-04-27 Thread Javier Fontan
1) The database auth.db is generated if it does not exist, that is the normal procedure the first time it is started. 2) There's a missing gem, and unfortunately is not in the documentation: $ sudo gem install sequel That should solve the problem On Mon, Apr 11, 2011 at 7:24 PM, Madhurranjan Mo

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Hi Tim, Did you restart oned? If so, please send the error message, it may be a little different. Regards, -Tino -- Constantino Vázquez Blanco | dsa-research.org/tinova Virtualization Technology Engineer / Researcher OpenNebula Toolkit | opennebula.org On Wed, Apr 27, 2011 at 2:36 PM, Tim D

Re: [one-users] OpenNebula KVM livemigration problem

2011-04-27 Thread Javier Fontan
There's a problem with the protocol in the default kvmrc file. Change in remotes/vmm/kvm/kvmrc the line: export QEMU_PROTOCOL=qemu to export QEMU_PROTOCOL=qemu+ssh After that issue an onehost sync so that file is updated in the next monitoring cycle to the nodes, that should solve the problem.

Re: [one-users] ttylinux fails to start

2011-04-27 Thread Javier Fontan
Have you checked that the directory you are sharing is the same one as the var dir? On Fri, Apr 15, 2011 at 4:53 PM, Mike Putter wrote: > On the cluster frontend (as oneadmin): > > oneadmin@voyager:~/var$ touch test > oneadmin@voyager:~/var$ ls -lAF > total 456 > drwxrwxrwx 2 oneadmin cloud   40

Re: [one-users] There has no parameter to define subnet mask in Virtual Network template.

2011-04-27 Thread Carlos Martín Sánchez
Hi, You can define any extra attribute, like NETMASK, in the Virtual Network template when you create it. Those attributes can be accessed within the VM using contextualization. In [1], there's a brief example with a DNS field. Don't forget to make your vmcontext script do something useful with t

Re: [one-users] Can I add my own scripts ?

2011-04-27 Thread Carlos Martín Sánchez
Hi, This guide might help you: http://opennebula.org/documentation:rel2.2:sd Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | cmar...@opennebula.org 2011/4/22 liudewei > Configu

Re: [one-users] Regular users can not change their own password

2011-04-27 Thread Carlos Martín Sánchez
Actually that's up to you, the permissions can be set to anything you want. Check this two links: http://opennebula.org/documentation:rel2.2:users http://opennebula.org/documentation:rel2.2:auth -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computi

Re: [one-users] Regular user can not register on opennebula

2011-04-27 Thread Carlos Martín Sánchez
The same way you can't just register yourself in a Unix system. Sunstone is not aimed for final public cloud users, it is a control panel for OpenNebula. On Tue, Apr 26, 2011 at 8:55 AM, aiguoxin2008 aiguoxin2008 < aiguoxin2...@gmail.com> wrote: > if a regular user want to register on opennebula

Re: [one-users] how to disabled a user?

2011-04-27 Thread Carlos Martín Sánchez
Hi, The 'enabled' attribute for users had a meaning in previous versions. But right now I think you can just forget about it. We'll check if it is safe to remove it completely in the next releases. Regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Too

Re: [one-users] OpenNebula and ESXI 4.1

2011-04-27 Thread Tino Vazquez
Hi Cesar, You can follow the guide at http://opennebula.org/documentation:rel2.2:evmwareg Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Wed, Apr 27, 2011 at 2:55 PM, César Carrasco Mosquera < ccarra...@csi.uned.es> wrote: >

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Hi, You need to set a valid user in the ESX hypervisor, _not_ a opennebula or linux user. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Wed, Apr 27, 2011 at 3:03 PM, Hoang Dinh Phuc wrote: > Hello Tino, > > Here is the log y

Re: [one-users] Users Digest, Vol 38, Issue 107

2011-04-27 Thread Tino Vazquez
s the SOURCE, it >> > will >> > do nothing. (For example, if the PATH exists and SOURCE not exists, it >> > will >> > do copy the PATH file to the SOURCE file path, and etc.) >> > >> > 4. If former >> > ste

Re: [one-users] Users Digest, Vol 38, Issue 107

2011-04-27 Thread Hoang Dinh Phuc
rwise, it sends "one.image.delete" to opennebula and delete > the > > record in DB. > > > > So, if just specify the SOURCE to create an image, the > > operation make no sense. So, I think the SOURCE input should be removed > in > > web pages of sunstone-server

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Hoang Dinh Phuc
Hello Tino, Here is the log you need: $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb vmware --- INIT INIT SUCCESS - - --- MONITOR 0 esxsrv - LOG - 0 Command execution fail: /srv/cloud/one/var/remotes//im/run_probes vmware esxsrv LOG - 0 STDERR follows. LOG - 0 /srv/cloud/one/lib/ruby/vmwarelib.r

[one-users] OpenNebula and ESXI 4.1

2011-04-27 Thread César Carrasco Mosquera
Dear all, I'm trying to deploy a cluster using Opennebula at the front end and ESXI at the compute nodes. Although I've found many emails in the mailing lists about how to make Opennebula and ESXI work together, I've not been able to find any manual on how to do this from scratch. Thi

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tim Dunlevy
Same error after changing the line to below. -Original Message- From: Tino Vazquez [mailto:tinov...@gmail.com] Sent: Wednesday, April 27, 2011 5:49 AM To: Tim Dunlevy Cc: users@lists.opennebula.org Subject: Re: [one-users] Asking about VMWARE ESX and OpenNebula Hi Tim, This looks like a

Re: [one-users] Does the SOURCE make no sense when creating an image in opennebula-2.2.0

2011-04-27 Thread Carlos Martín Sánchez
Hi, You are right about the steps made by the ruby OCA and OpenNebula daemon. And indeed, it makes no sense to specify only a SOURE attribute *if it is a file path*. But you can still take advantage of the SOURCE if you use an http:// url. This can be used to bypass the local Image Repository and

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Dear Hoang, comments inline, On Wed, Apr 27, 2011 at 12:12 PM, Hoang Dinh Phuc wrote: > Hi Tino, > > I've change the USERNAME="root" and PASSWORD="pass" . Then i test: > > $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb This should be $ ruby -dw $ONE_LOCATION/lib/mads/one_im_sh.rb vmware > --

Re: [one-users] error at GPG key installation

2011-04-27 Thread Steffen Neumann
Hi, that's probably not the right list for these questions, maybe better look for some CentOS specific forums. Yours, Steffen On Wed, 2011-04-27 at 11:36 +0530, soge.geo...@wipro.com wrote: > Hi, > > > Am installing OPENNEBULA for the first time in CENTOS,I have installed > Fedora Extras rebu

Re: [one-users] Asking about onevm migrate command

2011-04-27 Thread Steffen Neumann
Hi, On Wed, 2011-04-27 at 16:00 +0700, Hoang Dinh Phuc wrote: > I'm using OpenNebula 2.2, and 2 kvm server (Ubuntu 10.10). Can you be a bit more specific ? Do you have a shared NFS installation, or ssh to migrate images ? Yours, Steffen -- IPB HalleAG Massenspektrometrie & B

Re: [one-users] Host hooks aren't triggered

2011-04-27 Thread Tino Vazquez
Hi Zaina, >From your last mail, I think the problem is solved. The expected behavior is for the VMs to go into pending, then is the scheduler taks to place the VMs, if this fails could be for lack of capacity, but not related to the error host hook, no need to further debugging. Regards, -Tino

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Deawr Hong, Yes, you have to set in USERNAME and PASSWORD valid credentials to access the ESX hypervisor. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Wed, Apr 27, 2011 at 11:53 AM, Hoang Dinh Phuc wrote: > Hi Tino, > > Her

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Hoang Dinh Phuc
Hi Tino, Here is the content of $ONE_LCATION/etc/vmwarerc LIBVIRT_URI = "esx://@HOST@/?no_verify=1" QEMU_PROTOCOL = "qemu" # Username and password of the VMware hypervisor USERNAME = "oneadmin" PASSWORD = "" # Loading the vmware library for mads # Please leave this uncommented load

Re: [one-users] file ~/.ssh/config

2011-04-27 Thread Carlos Martín Sánchez
Hi. Yes, that's a file you have to configure manually. Its reference: $ man ssh_config -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org | cmar...@opennebula.org On Tue, Apr 19, 2011 at 2:45 PM

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Dear Hoang, You need to set the ESX user credentials in $ONE_LOCATION/etc/vmwarerc. Regards, -Tino -- Constantino Vázquez Blanco, MSc OpenNebula Major Contributor www.OpenNebula.org | @tinova79 On Wed, Apr 27, 2011 at 3:05 AM, Hoang Dinh Phuc wrote: > Hi Tino Vazquez, > > here is the output

Re: [one-users] Asking about VMWARE ESX and OpenNebula

2011-04-27 Thread Tino Vazquez
Hi Tim, This looks like a bug. Could you change line 116 of $ONE_LOCATION/lib/ruby/OpenNebula/XMLUtils.rb to: self.each(filter.to_s) { |e| ids_array << e.text } and try again. If this works, please come back and i'll open a ticket to get it fix in future OpenNebula releases. Regards

Re: [one-users] CDROM doesn't mount for KVM virts?

2011-04-27 Thread Tino Vazquez
Dear Rich, You can try changing line 390 of src/vmm/LibVirtDriverKVM.cc file << "\t\t" << endl; you will need to compile, install and run OpenNebula again. If this works, please come back and we will evaluate the possibility of having type of cdrom as a variable in the VM templat

[one-users] Asking about onevm migrate command

2011-04-27 Thread Hoang Dinh Phuc
Hello all, I'm using OpenNebula 2.2, and 2 kvm server (Ubuntu 10.10). When i deploy VMs to each KVM Server. It's running fine. But when i want to migrate (onevm migrate) a vm in one KVM Server to another KVM Server, it can't change to state running, it's in boot state. Thanks and Regards -

[one-users] onevm saveas command

2011-04-27 Thread Prakhar Srivastava
Hi, When I run the command, onevm saves VMID DISKID IMAGENAME the image of the disk is successfully saved upon shutdown of the VM, however the the file with a hash string name in (/srv/cloud/one/var/images) is not created. So when I use the image in any VM, it compains that the file cannot be fou

Re: [one-users] OCCI compute creation problem

2011-04-27 Thread Florin Antonescu
I found the issue, thank you for helping me finding it. The VM template contained this: NAME = "MyCompute" DISK = [ IMAGE_ID = 2 ] NIC = [ NETWORK_ID = 0 ] INSTANCE_TYPE = tinyCPU= 0.1 MEMORY = 64 Due to the fact that the tiny.erb did not contain an emty line, the instance t