[one-users] Acces ONE command line returned messages

Alvaro Canales accleo at gmail.com
Fri Sep 5 01:15:32 PDT 2008

Hello Javier,

On Thu, Sep 4, 2008 at 6:23 PM, Javier Fontan <jfontan at fdi.ucm.es> wrote:

> Hello,
> Opps, problem with the previous mail.
> The problem deploying always VM with id 0 is indeed a bug. Right now we are
> changing commands so they also accept VM and Host names and not only id's.
> That will solve the always-0-when-it-is-not-a-number bug and will let you
> distinguish the VM's using the name.

Perfect! I wasn't sure indeed if that was a bug or not :p
I'm looking forward to hearing from this new improvements.

> Bye
> On Sep 4, 2008, at 4:28 PM, Alvaro Canales wrote:
>  Hello users,
>> Does anybody know how to retrieve the VirtualMachine id returned by "onevm
>> submit template" from Java? I execute this command remotely (using ssh) in a
>> Java program (reusing Globus Workspaces output), but I don't have any idea
>> about how to capture this return string... any clue?
>> By the way, it would be far easier if I could access the VirtualMachine
>> via a name set by me, for example using name = "myname" in the template
>> file. This is done in Xen, so I can access a VM using either its vID or its
>> name... But ONE, though understanding the "name" parameter, only seems to
>> accept vID when executing its commands, is it? Because if I do something
>> like "onevm deploy myVMmachine", it doesn't show "error no such VM" or
>> something similar, but tries to deploy always first VM (id 0). Is this a
>> correct behaviour or a bug?
>> Thank you in any case for your attention!
>> Best regards,
>> Alvaro
>> --
>> Álvaro
>> _______________________________________________
>> Users mailing list
>> Users at lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
Best regards,


-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20080905/c1cf8c67/attachment-0003.htm>

More information about the Users mailing list