[one-users] Acces ONE command line returned messages

Alvaro Canales accleo at gmail.com
Thu Sep 4 08:09:33 PDT 2008


Hi Borja,

On Thu, Sep 4, 2008 at 4:55 PM, Borja Sotomayor <borja at borjanet.com> wrote:

> Hi Alvaro,
>
>  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?
>>
>
> Have you tried using William's ONE Java API? (listed here:
> http://www.opennebula.org/doku.php?id=ecosystem) The API allows you to
> programatically do everything you would usually be able to do from the
> command line, but without having to parse command line outputs, etc.
>

Yes, I have tried, and it looks very useful indeed. :)
But I'm getting a "no route to host" problem when I use the xmlrpc library.
I guess I have port 2633 closed in the node where ONE is working, but that's
a requirement I cannot  touch... Or may I be doing something wrong? Because
there is of course connection between both hosts (I can ssh, etc) and ONE is
working properly, so the server is up... Do you think I have a configuration
problem?
By the way, I keep thinking that managing VM via its provided name, would be
a very nice feature :)
Thank you for your help!
Cheers!

Alvaro


>
>
> Cheers!
> --
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
> Borja Sotomayor, University of Chicago
>  Ph.D. Student, Department of Computer Science
>  Ryerson 257-C, 1100 East 58th Street, Chicago, IL
> Haizea: http://haizea.cs.uchicago.edu/
> BorjaNet:  http://www.borjanet.com/
> ·····························································
>         "Dis maschine vill run und run!"
>               -- Kurt Gödel (on the Turing Machine)
> :::::::::::::::::::::::::::::::::::::::::::::::::::::::::::::
>
>


-- 
Álvaro
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20080904/4781b8ff/attachment-0003.htm>


More information about the Users mailing list