Re: [one-users] Can't access to VM through ssh

2010-06-30 Thread Carlos Martín Sánchez
Source Toolkit for Cloud Computing: http://www.OpenNebula.org El 30 de junio de 2010 16:18, Andrea Turli andrea.tu...@eng.it escribió: Hi Carlos, On 06/30/2010 04:07 PM, Carlos Martín Sánchez wrote: Hi Andrea, Did you manage to access the VM through ssh? or are you using VNC? Not yet

Re: [one-users] Can't access to VM through ssh

2010-06-30 Thread Carlos Martín Sánchez
b) And you are trying to access the VM 192.168.0.6 from a machine in the same 192.168.0.X network, right? Opss ... shall I? I mean, I'm trying to access to the machine from the opennebula cluster node which has a public IP. Is it correct? Yes, try reaching the VM from the 192.168.0.X network,

Re: [one-users] oneimage disks device mapping

2010-07-27 Thread Carlos Martín Sánchez
Hi Massimiliano, Thank you for testing our development version, and share your feedback with us. This is a reasonable request, so I have opened a ticket [1] for this feature. The new feature will add support for overwriting the default target, either in your image or VM template. I think that

Re: [one-users] VM's are going to pending state though enough resources

2010-08-02 Thread Carlos Martín Sánchez
:31 2010 [VMM][D]: Message received: POLL SUCCESS 56 STATE=a USEDMEMORY=131072 Thanks Regards, Nagesh. --- On *Fri, 7/30/10, Carlos Martín Sánchez cmart...@fdi.ucm.es* wrote: From: Carlos Martín Sánchez cmart...@fdi.ucm.es Subject: Re: [one-users] VM's are going to pending state though

Re: [one-users] onevm saveas, ID not defined

2010-08-24 Thread Carlos Martín Sánchez
Hi Jason, Could you send your VM template? If I'm guessing right, disk 1 wasn't created from an image in the repository. The error you are getting is because the onevm command can't find the IMAGE_ID inside your DISK attribute. The reason why it tries to find the source image is because it wants

Re: [one-users] Java API Host

2010-08-26 Thread Carlos Martín Sánchez
Hi Enrico, The Java API was designed as a wrapper for the XML-RPC API with some basic helper methods, but it is not too high level oriented. You have to know the internal xml structure of the data returned, and query it using xpath expressions. Take a look at getName() and state() in

Re: [one-users] onevm saveas, ID not defined

2010-08-26 Thread Carlos Martín Sánchez
oneadmin blank20G OS Aug 09, 2010 05:29 Yes used 1 2 oneadmin blank5G OS Aug 17, 2010 16:22 Yes rdy 0 On Aug 24, 2010, at 7:54 AM, Carlos Martín Sánchez wrote: Hi Jason, Could you send your VM template? If I'm guessing right, disk 1 wasn't created from

Re: [one-users] Sparse Images with 2.0

2010-09-24 Thread Carlos Martín Sánchez
Hi Frank, You could modify the core to make it keep the SIZE sub-attribute in the DISK attributes, but that seems rather complex for what you need. It looks to me that the best approach would be #2, considering you have already your custom transfer scripts. You could just add a new attribute,

Re: [one-users] OpenNebula 2 RC: Why do image names have to be unique?

2010-09-29 Thread Carlos Martín Sánchez
Hi Carsten, Yes, it is necessary if you want to be able to use the image name's in the template, like DISK = [ IMAGE = Ubuntu Lucic ] Otherwise, you are forcing the users to use images by their IMAGE_ID, which is an internal ID that can change at any time, e.g., you define templates for your

Re: [one-users] Documentation for imagepool.info in http://www.opennebula.org/documentation:rel2.0:api incomplete

2010-09-30 Thread Carlos Martín Sánchez
Hi Carsten, The documentation is now updated, thanks for the feedback! Regards, Carlos. Carlos Martín, Cloud Technology Engineer/Researcher DSA Research Group: web http://dsa-research.org and blog http://blog.dsa-research.org OpenNebula Open Source Toolkit for Cloud Computing:

Re: [one-users] Accounting informations

2010-11-12 Thread Carlos Martín Sánchez
Hi Federico, The documentation of the DB schema is on its way. I'll post the link in this thread when it's done, hopefully later today. Regards. Carlos Martín, Cloud Technology Engineer/Researcher DSA Research Group: web http://dsa-research.org and blog http://blog.dsa-research.org OpenNebula

Re: [one-users] putting OS images in the image repository

2010-12-01 Thread Carlos Martín Sánchez
Hi Steven, This is an interesting use-case. When we designed the image repository, we had to make a compromise between expectable behaviour and advanced customization usage. I guess this falls into the advanced usage, but OpenNebula is flexible enough to take this challenge. To automatically

Re: [one-users] Some basic questions after a firts OpenNebula 2.0 install

2010-12-10 Thread Carlos Martín Sánchez
On 3 December 2010 17:54, jean-paul.piga...@bull.net wrote: Hi OpenNebula. Hi Jean-Paul, This is my first mail on this list. So it contains some basic questions we have after making a first install of OpenNebula 2.0. First of all: the context: We have installed OpenNebula 2.0, compiled

Re: [one-users] OpenNebula 2.0.1 sets incorrect ARCH.

2010-12-14 Thread Carlos Martín Sánchez
Hi John, The ARCH can't be defined in the Image templates. We are considering a new feature that will let you register VM templates in a VM catalog, to be instantiated easily just using its name or ID. This way you will be able to register at the same time the OS image and the VM template that

Re: [one-users] Detecting potential failures earlier

2011-01-21 Thread Carlos Martín Sánchez
Hi Steven, Thank you for your feedback, we will definitely take your suggestion into account. For future releases, we are planning to develop a VM templates repository. The templates could be checked for frequent errors and missing mandatory attributes before being saved into the templates pool.

Re: [one-users] Writing one template that allows for persistent VM:

2011-02-04 Thread Carlos Martín Sánchez
Hi Steven, On 4 February 2011 05:22, Steven Timm t...@fnal.gov wrote: hOn Thu, 3 Feb 2011, Steven Timm wrote: I am trying to come up with a prescription for users that allows the following sequence: 1) Launch a VM based on a standard VM repository template 2) Save the contents of the VM

Re: [one-users] Writing one template that allows for persistent VM:

2011-02-07 Thread Carlos Martín Sánchez
2011/2/4 Steven Timm t...@fnal.gov It would be nice to have a oneimage clone feature. that way the user is not forced to make one template for the first time to read from the public copy and save to his private copy. Steve Timm We agree. Actually, that functionality is already in our

Re: [one-users] onevm create/deploy commands to send VMs to host of our choice (OpenNebula 2.0.1 and CentOS 5.5 with Xen)

2011-02-08 Thread Carlos Martín Sánchez
Hi Prakashan, There are different options to control the placement of the VMs. If you want to manually deploy them, you can hold the VMs (onevm hold id). The scheduler won't place these machines, but you can still deploy them with onevm deploy. Or you could start only the OpenNebula daemon

Re: [one-users] 'onevm saveas' via XMLRPC or OCCI???

2011-02-09 Thread Carlos Martín Sánchez
Hi Marco, The XML-RPC call requests an image id because the image has to be created beforehand. You can check how it is done in the oneimage command (it's a straight forward ruby script), and then replicate the same steps in your code. Regards, Carlos. -- Carlos Martín, Engineer, MSc Project

Re: [one-users] bug in image.rb HOOK? ('onevm saveas' command)

2011-02-10 Thread Carlos Martín Sánchez
. regards Marco On 02/09/2011 11:20 AM, Carlos Martín Sánchez wrote: Hi Marco, The XML-RPC call requests an image id because the image has to be created beforehand. You can check how it is done in the oneimage command (it's a straight forward ruby script), and then replicate the same steps

Re: [one-users] bug in image.rb HOOK? ('onevm saveas' command)

2011-02-11 Thread Carlos Martín Sánchez
error: failed to get domain 'one-345' Thanks Marco On 02/10/2011 04:32 PM, Carlos Martín Sánchez wrote: Hi Marco, After a *graceful* shutdown, the disk images marked to be saved are transferred back from var/vm_id/images/XX to var/vm_id/disk.XX Try using 'onevm shutdown

Re: [one-users] bug in image.rb HOOK? ('onevm saveas' command)

2011-02-11 Thread Carlos Martín Sánchez
OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org regards Marco On 02/11/2011 11:50 AM, Carlos Martín Sánchez wrote: Hi, If I'm understanding right, you first log into your VM, shutdown it yourself, and then issue

Re: [one-users] convert VM template in ONE format to libvirt format

2011-02-23 Thread Carlos Martín Sánchez
Hi Nikolay, Take a look at these C++ files: include/LibVirtDriver.h src/vmm/LibVirtDriverKVM.cc src/vmm/LibVirtDriverVMware.cc Regards, Carlos -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/

Re: [one-users] cannot have two VNETs created by uid=0 on a single VM by another user

2011-02-28 Thread Carlos Martín Sánchez
Thanks for the report, we'll take a look and check what's going on. You can follow the resolution in redmine: http://dev.opennebula.org/issues/502 Regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org

Re: [one-users] help understand one_xmlrpc.log

2011-02-28 Thread Carlos Martín Sánchez
Hi Shi Jin, That log is created by the xmlrpc-c library [1]; so not so helpful information about OpenNebula itself is logged. The Request Manager component logs are written in oned.log file. We could move that logs to a separate file with extended information if the community think this is

Re: [one-users] cannot have two VNETs created by uid=0 on a single VM by another user

2011-02-28 Thread Carlos Martín Sánchez
Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org 2011/2/28 Carlos Martín Sánchez cmar...@opennebula.org Thanks for the report, we'll take a look and check what's going on. You can follow the resolution in redmine: http

Re: [one-users] can't delete host

2011-03-07 Thread Carlos Martín Sánchez
Hi all, This problem was identified [1] and fixed for next releases. Meanwhile, you can use the hack Zaina pointed to. It is safe to delete the host with the negative counter, the DB consistency won't be affected. Regards. [1] http://dev.opennebula.org/issues/317 -- Carlos Martín, MSc Project

Re: [one-users] minor typo in ONE 2.2 docs [xen - kvm]

2011-03-07 Thread Carlos Martín Sánchez
Fixed, thanks! -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org On 5 March 2011 15:45, kna...@gmail.com wrote: There is a minor typo in ONE 2.2 docs [1] in the section

Re: [one-users] issue: can't specify NIC hardware type duirng VM creating

2011-03-10 Thread Carlos Martín Sánchez
Hi there, There's a typo in your template, you are using MODLE instead of MODEL. Regards, Carlos -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org On 10 March 2011

Re: [one-users] RPC client: how to determine my user id?

2011-03-10 Thread Carlos Martín Sánchez
Carlos, Thanks for the reply. Using -1 or -2 and then filtering on the client side based on the username works for one.userpool.info. (Still wouldn’t work for one.user.passwd however). Thanks, Carsten *From:* Carlos Martín Sánchez [mailto:cmar...@opennebula.org] *Sent:* Monday, 7

Re: [one-users] FW: XMLRPC Configuration

2011-03-16 Thread Carlos Martín Sánchez
Hi Joe, The XML-RPC interface requires the contents of the template to be included as a string parameter, not the template path. You can place it anywhere your client application can read it. Regards, Carlos. [1] http://opennebula.org/documentation:rel2.0:api -- Carlos Martín, MSc Project

Re: [one-users] command to deploy VM on remote host

2011-03-25 Thread Carlos Martín Sánchez
Hi Nikolay, You can check (and customize) the vmm_mad script files for each hypervisor in your $VAR_LOCATION/remotes/vmm dir. If you modify these scrips, use 'onehost sync' to update the files in the remote hosts. e.g. for Xen and system-wide installation, check

Re: [one-users] what's the exact meaning of CPU in vm template file?

2011-03-28 Thread Carlos Martín Sánchez
Hi Xie, Both are true for Xen, for other hypervisors only 1 applies. Regarding 1, the VM won't be deployed by the scheduler, but you can still force the deployment manually using 'onevm deploy'. Regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source

Re: [one-users] Call one.image.allocate of xml-rpc API question!

2011-03-30 Thread Carlos Martín Sánchez
Hi, As you pointed out, your client program has to copy or create the file, and then enable the image. The command oneimage already does that. You may want to check it (the binary executable is actually a ruby script) and ImageRepository.rb Regards -- Carlos Martín, MSc Project Major Contributor

Re: [one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB

2011-04-01 Thread Carlos Martín Sánchez
Hi Vivek, You are installing OpenNebula 2.0, right? Could you check if there is any error message in oned.log right after this message? [ONE][I]: Bootstraping OpenNebula database. It may be also helpful if you could send the output of $ sqlite3 one.db .schema Regards, Carlos -- Carlos

Re: [one-users] vm fails to start - vm.log: [TM][E]: prolog, error getting driver vmm_kvm

2011-04-01 Thread Carlos Martín Sánchez
Hi Marius, Please check in oned.log if right after start-up there are some error messages like: MAD did not answer INIT command If so, you can enable the mad debug in etc/defaultrc: ONE_MAD_DEBUG=1. That could shed some light on the issue. Regards. -- Carlos Martín, MSc Project Major

Re: [one-users] Can't restart or resume VM when VM is in save status. And MEMORY = 0 when VM is running .

2011-04-05 Thread Carlos Martín Sánchez
Hi there, If you take a look at the Virtual Machine Life-cycle diagram [1], the 'save' state is a intermediate state, and the VM should end in either the 'suspended' or 'stopped' state. If the VM is stuck in 'save', you may find some error messages in oned.log or the VM's log (in vm-id/vm.log).

Re: [one-users] VM is not saved upon shutdown

2011-04-05 Thread Carlos Martín Sánchez
Hi Pieter, please find my comments inline: On 5 April 2011 13:42, Pieter Simoens pieter.simo...@intec.ugent.be wrote: Dear all, I am running OpenNebula 2.0. I am able to successfully deploy a VM on a cluster node. The image is (currently) transferred over SSH. The VM boots successfully,

Re: [one-users] Suggestions for parsing OCA output

2011-04-06 Thread Carlos Martín Sánchez
Hi, Check if the XSD linked in the XML-RPC documentation[1] is what you are looking for. Regards, Carlos. [1] http://opennebula.org/documentation:rel2.2:api -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org

Re: [one-users] Can not SSH ttylinux

2011-04-07 Thread Carlos Martín Sánchez
Hi, The first thing you should try is to open a VNC session [1] and check if the VM is actually running. If that's not the problem, then this FAQ entry [2] may help you to find a network configuration problem. Regards, Carlos. [1]

Re: [one-users] Java OCA: poor choiche of Exception class

2011-04-11 Thread Carlos Martín Sánchez
Hi Gian Uberto, Thank you for your feedback. As you may know, we use mainly our Ruby bindings for external tools and extensions, so these comments about the Java API are very welcome. Please feel free to open a ticket in our development portal [1], along with any other comments, suggestions or

Re: [one-users] root user creates checkpoint directory on cluster node instead of oneadmin

2011-04-11 Thread Carlos Martín Sánchez
frontend. But the images/checkpoint directory seems to be owned by the root user, belonging to the root group. Does anybody have an idea how this can be possible? Did I configure my cluster node in the wrong way? Thank you, Pieter Op 5/04/2011 14:49, Carlos Martín Sánchez schreef: Hi

Re: [one-users] how to predeploy image

2011-04-13 Thread Carlos Martín Sánchez
Hi Łukasz, You could use the tm_dummy driver. That tm script returns always 0 and does nothing else. But using that tm_driver, you will have to manually move the files for all VMs, not just some of them. It would be best if you could modify the driver (tm_clone.sh, look for it in your lib

Re: [one-users] Fwd: Error trying to CREATE HOST Error inserting Host Share in DB

2011-04-15 Thread Carlos Martín Sánchez
2011 [InM][I]: Monitoring host localhost (1) Thu Apr 14 13:59:32 2011 [ReM][D]: HostPoolInfo method invoked Thu Apr 14 13:59:32 2011 [ReM][D]: VirtualMachinePoolInfo method invoked 2011/4/14 Carlos Martín Sánchez cmar...@opennebula.org Hi Sebastian, Any other error messages? What about

Re: [one-users] RPC client: how to determine my user id?

2011-04-15 Thread Carlos Martín Sánchez
current need for this! Looking forward to it. Carsten *From:* Carlos Martín Sánchez [mailto:cmar...@opennebula.org] *Sent:* Thursday, 10 March 2011 23:31 *To:* Friedrich, Carsten (ICT Centre, Acton) *Cc:* users@lists.opennebula.org *Subject:* Re: [one-users] RPC client: how

Re: [one-users] Problem monitoring Xen host 2.2

2011-04-25 Thread Carlos Martín Sánchez
Hi Javier, Maybe the dom0 is taking all that memory. Take a look at this thread: http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-May/000436.html Regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing

Re: [one-users] setting variables ONE_LOCATION

2011-04-25 Thread Carlos Martín Sánchez
Hi Marco, If you installed OpenNebula from the packages, then the installation was made in system-wide mode [1]. You don't need -actually you shouldn't- set the ONE_LOCATION env. variable. Regards. [1] http://opennebula.org/documentation:rel2.2:ignc -- Carlos Martín, MSc Project Major

Re: [one-users] Directory Xen On opennebula

2011-04-25 Thread Carlos Martín Sánchez
Hi there, There isn't any requirement as to where to install Xen. Please check the Xen Driver configuration guide [1] for configuration instructions. Regards. [1] http://opennebula.org/documentation:rel2.2:xeng -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source

Re: [one-users] user permissions on vnet

2011-04-25 Thread Carlos Martín Sánchez
Hi Ignazio, This is a quick change to the simple_permissions.rb script. I didn't even check if this works, but it should help you get the idea of what Daniel proposed. When modifying an authorization script, you have to take into account that oneadmin (user with id = 0) is granted anything in the

Re: [one-users] Regular users can not search their information such as userid

2011-04-25 Thread Carlos Martín Sánchez
Hi, this will be implemented for future versions. It was discussed in this thread: http://lists.opennebula.org/pipermail/users-opennebula.org/2011-April/004857.html Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org

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 http://www.opennebula.org/ | cmar...@opennebula.org On Tue, Apr 19, 2011 at 2:45 PM,

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

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

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 http://www.opennebula.org/ | cmar...@opennebula.org 2011/4/22 liudewei

Re: [one-users] Java OCA: poor choiche of Exception class

2011-04-28 Thread Carlos Martín Sánchez
Hi there, The RuntimeException looks better to me. The only thing I'm not sure about is why you deleted the 'throws' declaration from Client.java. Doing that, a client application is not forced to catch the connection problem. I think it's better to force the coder to be aware of this kind of

Re: [one-users] RPCXML response problem

2011-05-03 Thread Carlos Martín Sánchez
Hi all, For questions about the Apache XML-RPC library, please visit their site. http://ws.apache.org/xmlrpc/ Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org

Re: [one-users] apache for a ssl proxy with econe

2011-05-04 Thread Carlos Martín Sánchez
Hi Sebastien, As this kind of recipes and how-tos can be difficult to locate in the list archives, we've copied your recipe into the community wiki [1]. I'd like to remind all of you that you are welcome to improve our (your) community wiki, just request an account from [2]. Thank you for your

Re: [one-users] Installation and Configuration Opennebula on Opensuse 11.3

2011-05-04 Thread Carlos Martín Sánchez
alkhoir mahirhea...@gmail.com i have chechked this guide... and config file oned.conf here iam attached... when i want start # one start You should have ONE_AUTH set the first time you start OpenNebula as it is used to set the credentials for the administrator user. 2011/5/3 Carlos Martín

Re: [one-users] shutting down VM vs stopping it

2011-05-09 Thread Carlos Martín Sánchez
Hi Nikolay, The life-cycle diagram [1] is the best way to understand the VM states, and what actions are available for each of them. If you shut down a VM, it will enter the final DONE state, from which no action can be performed. A stopped VM on the other hand can be later resumed, using 'onevm

Re: [one-users] VM IP address not assigned as per the base network address mentioned in virtual network template

2011-05-09 Thread Carlos Martín Sánchez
Hi, That behaviour is the right one, but it may not be the one you would expect... this has been discussed recently in the list. Check these threads: http://www.mail-archive.com/users@lists.opennebula.org/msg02782.html http://www.mail-archive.com/users@lists.opennebula.org/msg02827.html Regards

Re: [one-users] VMs still reported as running although host is down

2011-05-11 Thread Carlos Martín Sánchez
Hi Steffen, There are two reasons I can think of that can cause that behaviour: 1) The next monitoring cycle hasn't been triggered. 2) The monitorization was triggered, but the command crashed and it didn't return neither FAILURE or SUCCESS to the core. I've made a couple of tests and found

Re: [one-users] default scheduler obsesses over failing hosts

2011-05-11 Thread Carlos Martín Sánchez
Hi, Adding default policies to the scheduler is not implemented, but it has been requested before [1]. We'll schedule that ticket for next releases. Cheers, Carlos. [1] http://dev.opennebula.org/issues/360 -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for

Re: [one-users] How config Windows vm template?

2011-05-12 Thread Carlos Martín Sánchez
Hi there, The contextualization offered by OpenNebula is creating that cdrom and context.sh script, but it's up to the guest OS to read that file and configure itself. We only provide linux scripts; you would have to create similar ones. I'm not sure how difficult that can be since I don't have

Re: [one-users] second argument for restore script

2011-05-12 Thread Carlos Martín Sánchez
Hi Nikolay, We have opened a ticket with your request [1], to provide a generic method to query any VM attribute from the drivers. Meanwhile, you can add the deploy_id as the last parameter modifiying src/vmm_mad/ssh/one_vmm_ssh.rb, line 81 -remotes_action(#{@remote_path}/deploy

Re: [one-users] '-' or 'err' (instead of 0) as a value for parameters which ONE fails to get

2011-05-12 Thread Carlos Martín Sánchez
Hi Nikolay, The memory and cpu are numeric attributes managed by the core, initialized to 0. If the driver doesn't report them, they are not updated. The way I see it, the drivers didn't know how to populate the values, rather than encounter an error monitoring them. We could modify the core to

Re: [one-users] poll script return value if VM is not running

2011-05-18 Thread Carlos Martín Sánchez
Hi Nikolay, The core looks for those meaningful attributes and updates them only if they are present and not equal to '-1', but they are not mandatory. If any of them is not found, the previous value persist. I would say that your driver should return all values that can be retrieved from the

Re: [one-users] Can we use the front end host also to deploy VMs ?

2011-05-18 Thread Carlos Martín Sánchez
Hi, Since the storage is shared, you should use the tm_nfs drivers. Regards -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org On Tue, May 17, 2011 at 12:01 PM, Héctor

Re: [one-users] OCA XML-RPC output

2011-05-19 Thread Carlos Martín Sánchez
Hi all, On Wed, May 18, 2011 at 6:36 PM, Gian Uberto Lauri sa...@eng.it wrote: This lead to this question: May I assume that tag order is fixed inside TEMPLATE / ? so that the content may be defined by a xs:sequence / ? The template attributes are sorted in

Re: [one-users] Error monitoring VM, Error executing sudo /usr/sbin/xentop -bi2

2011-05-20 Thread Carlos Martín Sánchez
Hi María, It looks like the script is not getting the expected output format and fails to parse it. Could you please copy the output of 'sudo /usr/sbin/xentop -bi2', logged as oneadmin in the Host? Regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source

Re: [one-users] VM state is UNKNOWN

2011-05-20 Thread Carlos Martín Sánchez
Hi María, This problem is related to the other thread you started [1]. The core marks the VM state as unknown because the polling script fails to report any information. Regards. [1] http://www.mail-archive.com/users@lists.opennebula.org/msg03119.html -- Carlos Martín, MSc Project Major

Re: [one-users] Error monitoring VM, Error executing sudo /usr/sbin/xentop -bi2

2011-05-20 Thread Carlos Martín Sánchez
happen to unknown state. Do you think that this error will have something to do with the unknown state of the VM? Thank you very much. Regards, María El 20/05/11 14:34, Carlos Martín Sánchez escribió: Hi María, It looks like the script is not getting the expected output format and fails

Re: [one-users] OS Image in Ubuntu

2011-05-23 Thread Carlos Martín Sánchez
Hi, You must have installed OpenNebula 1.2, try downloading the latest stable version deb files form our webpage: http://opennebula.org/software:software Regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org

Re: [one-users] How to add worker nodes and to configure Open Nebula with XEN?

2011-05-23 Thread Carlos Martín Sánchez
Hi Anders, The im_kvm and vmm_kvm MADs are defined in your /etc/one/oned.conf file, you should uncomment im_xen and vmm_xen. Follow the xen specific guide [1], but be aware that some steps will be already done by the express installation. From [2]: - Configures sudo for Xen deployments. -

Re: [one-users] Any one can help me? PLS...

2011-05-24 Thread Carlos Martín Sánchez
Hi Soge, ONE_LOCATION should point to /srv/cloud/one, you can set it in your .bashrc Please check the Basic Configuration documentation [1] for the env. variables needed. Regards, Carlos. [1] http://opennebula.org/documentation:rel2.2:cg#opennebula_users -- Carlos Martín, MSc Project Major

Re: [one-users] Keep all the data from host_pool

2011-05-24 Thread Carlos Martín Sánchez
Hi, There is no straight-forward way to do this. We don't have configuration options for DB manipulation. I think the best workaround is to create a SQL Trigger [1] [2] , that will copy the rows to be deleted from 'host_pool' to a new table, 'history_host_pool'. Please be aware of this bug [3],

Re: [one-users] Running FE as Xen dom0/domU?

2011-05-24 Thread Carlos Martín Sánchez
Hi Richard, On Mon, May 23, 2011 at 4:09 PM, Richard Palmer richard.d.pal...@kcl.ac.ukwrote: The servers are all fairly powerful so I don't want to waste one just running the FE on it. Can I run the FE code in dom0 (in Xen) and also add the same server as a host to

Re: [one-users] Opennebula as a virtual infrastructure Management tool

2011-05-24 Thread Carlos Martín Sánchez
Hi, On Tue, May 24, 2011 at 1:19 PM, Oualid Nouri o.no...@computer-lan.dewrote: Question: Is it possible to deploy(install)and manage these Servers in a central repository and having this repository accessed by hypervisors without copying the whole virtual machine image when starting or

Re: [one-users] Restarting a vm instance after shutdown?

2011-05-30 Thread Carlos Martín Sánchez
Hi Lars, We think the model you are describing will be easily achieved in the upcoming 3.0 [1] release. The approach we are taking to implement persistent VM is making the VM Template the main VM entity, as you pointed out. With the new VM Template pool, you will be able to: (a) A vm instance

Re: [one-users] live-/migration not working, uknown error

2011-05-30 Thread Carlos Martín Sánchez
Hi Adnan, This may be of help: http://lists.opennebula.org/pipermail/users-opennebula.org/2010-September/002680.html Regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ |

Re: [one-users] how to create an internal user.

2011-06-01 Thread Carlos Martín Sánchez
Hi, Take a look at these links [1,2]. In /lib/one/ruby/simple_permissions.rb (or $ONE_LOCATION/lib/ruby/simple_permissions.rb in a self-contained installation) you have to modify the auth_object method. Assuming you want to give user 7 the same authorization as oneadmin: ---

Re: [one-users] Deltacloud connexion failed with Opennbeula

2011-06-02 Thread Carlos Martín Sánchez
Hi, The Deltacloud component was developed and tested for OpenNebula 1.4, I'm not sure how difficult it would be to update it for the latest versions. Please use the Ecosystem Mailing List [1] for questions regarding ecosystem components. Regards, Carlos. [1]

Re: [one-users] how to create an internal user.

2011-06-07 Thread Carlos Martín Sánchez
fonctionalities. what is the problem?? am i doing some thing wrong?? Can you give me some clarification please. thanks in advance. [1]http://opennebula.org/documentation:rel2.2:users Best regards, SALMA. 2011/6/1 Carlos Martín Sánchez cmar...@opennebula.org Hi, Take a look at these links

Re: [one-users] Get Virtual network IP problem When it creates VM

2011-06-09 Thread Carlos Martín Sánchez
Hi, The NETWORK_ADDRESS is not the first IP of the range, it is the base address. This is explained in detail in this thread: http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2011-April/005021.html Regards. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source

Re: [one-users] DB handling issue

2011-06-09 Thread Carlos Martín Sánchez
Hi Zeeshan, OpenNebula uses the DB only for persistence, all information is cached in memory. You can't modify the stored data and expect the core to update the memory representation. If you really need to modify the DB contents, stop OpenNebula, perform any queries and then restart. This way

Re: [one-users] VM doesn't get network configuration

2011-06-10 Thread Carlos Martín Sánchez
Hi Christoph, The templates look fine, but it is not clear to me if you configured your VM with the contextualization scripts [1]. Could you please confirm if the vmcontext.sh script is installed? If it is, then try to login via VNC and execute it. Regards. [1]

Re: [one-users] OpenNebula TestDrive

2011-06-10 Thread Carlos Martín Sánchez
Hi, The OpenNebula Cloud [1] may be what you are looking for. Regards. [1] http://opennebula.org/cloud:cloud -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org On Fri,

Re: [one-users] OpenNebula TestDrive

2011-06-14 Thread Carlos Martín Sánchez
me with examples of how to manage these virtual online resources using php. Regards. 2011/6/10 Carlos Martín Sánchez cmar...@opennebula.org Hi, The OpenNebula Cloud [1] may be what you are looking for. Regards. [1] http://opennebula.org/cloud:cloud -- Carlos Martín, MSc Project

Re: [one-users] VM stay in pending state

2011-06-14 Thread Carlos Martín Sánchez
Hi Emmanuel, It looks like your host is not properly monitored, the memory and CPU are both 0. Could you check in /srv/one/cloud/var/oned.log if is there any monitoring error? The most common monitoring problem is that the passwordless ssh for oneadmin is not properly configured, or it is but

Re: [one-users] Error in 'onehost delete'

2011-06-14 Thread Carlos Martín Sánchez
Hi Luis, The negative running VMs is a bug [1] that we thought was solved. What version are you running? To force the host deletion, just edit the onehost script and change if host['HOST_SHARE/RUNNING_VMS'].to_i != 0 puts Host still has associated VMs, aborting delete.

Re: [one-users] customizing tm_*.sh scripts for OpenVZ hypervisor [was $SCRIPTS_REMOTE_DIR in tm_*.sh scripts]

2011-06-16 Thread Carlos Martín Sánchez
Hi, It looks like you could take adavantage of hooks [1]. This way you can perform preparative operations on create, running, etc., maybe storing some configurations files in $VAR_LOCATION/vm-id/ to be used later by your drivers. I'm sorry I can't dedicate enough time to write a more elaborated

Re: [one-users] opennebula on virtual box

2011-06-20 Thread Carlos Martín Sánchez
Hi Ami, Depending on what you are trying achieve, you may find easier to just use the dummy drivers. Uncomment the three of them (im_, vmm_, tm_) in /etc/one/oned.conf. This way you can fake Host monitoring, and deploy and manage VMs. Regards. -- Carlos Martín, MSc Project Major Contributor

Re: [one-users] Error monitoring VM, Error executing sudo /usr/sbin/xentop -bi2

2011-06-21 Thread Carlos Martín Sánchez
/var/tmp/one/vmm/xen/poll:314:in `print_one_vm_info' from /var/tmp/one/vmm/xen/poll:348 Can you think of any other thing that I could test? Thank you very much in advance. BR, María El 20/05/11 15:52, Carlos Martín Sánchez escribió: Hi again, The script was discarding

Re: [one-users] Cloud in a box

2011-06-21 Thread Carlos Martín Sánchez
Hi Robert, That's excellent news. Thank you for your interest and your effort! Best regards, Carlos. -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open Source Toolkit for Cloud Computing www.OpenNebula.org http://www.opennebula.org/ | cmar...@opennebula.org On Mon, Jun 20,

Re: [one-users] Error: Connection reset by peer.

2011-06-22 Thread Carlos Martín Sánchez
Hi there, Could you please be more specific? Is that the output of onevnet, or is it a message in oned.log? Please provide more information like the relevant part of oned.log, detail which onevnet command you were executing, etc. Regards. -- Carlos Martín, MSc Project Major Contributor

Re: [one-users] opennebula on virtual box

2011-06-22 Thread Carlos Martín Sánchez
trying to install open nebula express using VBox and i couldn't figure out exactly how to fix bridging within such a config. I'm using 2 VMs, a worker and a head installed into 2 VBox machines. Could you specify the right commands. Regards. 2011/6/20 Carlos Martín Sánchez cmar

Re: [one-users] Pending state issues

2011-06-22 Thread Carlos Martín Sánchez
Hi Madhurranjan, Regarding your first question, you can't modify an existing VM. You'll have to modify the source template, and then shutdown the current VM and create a new one. About the second one, your proposal seems reasonable. I'd say that the optimal values depend basically on your

Re: [one-users] Does OpenNebula work or replace VMware vCenter?

2011-06-24 Thread Carlos Martín Sánchez
Hi Florian and all, thanks you for your comments. Although Tino is the main VMware driver developer and he will be able to provide more low-level details, let me say some words to clarify how OpenNebula compares with VMware products. OpenNebula 2.2 can be used on top of VMware ESX and vCenter. -

Re: [one-users] OpenNebula test data

2011-06-24 Thread Carlos Martín Sánchez
Hi there, I'm not aware of any study focused on finding the OpenNebula limits, but in this link [1] you can see a large scale deployment at CERN managing up to 16,000 VMs Regards, Carlos. [1] http://blog.opennebula.org/?p=983 -- Carlos Martín, MSc Project Major Contributor OpenNebula - The Open

Re: [one-users] creating VMs

2011-06-24 Thread Carlos Martín Sánchez
Hi, You don't have to create an OpenNebula-specific VM format, you can use your existing VM images or follow any tutorial for your chosen hypervisor. After you manage to create and deploy a VM for your hypervisor, you have to contextualize it in order to make the OpenNebula network management

Re: [one-users] Long Running Servers

2011-06-29 Thread Carlos Martín Sánchez
Hi Richard, The template you propose looks fine, but let me make a couple of comments. Instead of 'source' and 'save' for DISC, you should use the Image repository, and take advantage of the persistent flag [1] to make sure the contents are saved. This way you can forget about the 'save',

  1   2   3   4   5   6   7   8   9   10   >