Re: Help with OpenNebula Sunstone (H?ctor Sanju?n)<br><br>I try it woth the -H option and it did not work I reinstalling the server with graphycal support  to see how it works. <br><br>i'll keep you post it. <br><br>Rgds<br>
Luis <br><br><div class="gmail_quote">On Mon, May 2, 2011 at 9:18 AM,  <span dir="ltr"><<a href="mailto:users-request@lists.opennebula.org">users-request@lists.opennebula.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Send Users mailing list submissions to<br>
        <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
<br>
To subscribe or unsubscribe via the World Wide Web, visit<br>
        <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
or, via email, send a message with subject or body 'help' to<br>
        <a href="mailto:users-request@lists.opennebula.org">users-request@lists.opennebula.org</a><br>
<br>
You can reach the person managing the list at<br>
        <a href="mailto:users-owner@lists.opennebula.org">users-owner@lists.opennebula.org</a><br>
<br>
When replying, please edit your Subject line so it is more specific<br>
than "Re: Contents of Users digest..."<br>
<br>
<br>
Today's Topics:<br>
<br>
   1. Re: RPCXML response problem (Giuseppe Carella)<br>
   2. Re: Error executing "econe-server start" (Daniel Molina)<br>
   3. Re: Ranged network! (Ahmad Hammad)<br>
   4. Re: Help with OpenNebula Sunstone (H?ctor Sanju?n)<br>
   5. Opennebula and Xen 4.1.0 (Ruben Diez)<br>
<br>
<br>
----------------------------------------------------------------------<br>
<br>
Message: 1<br>
Date: Mon, 2 May 2011 12:34:25 +0200<br>
From: Giuseppe Carella <<a href="mailto:cargius@gmail.com">cargius@gmail.com</a>><br>
To: Joey Ma <<a href="mailto:majunjiev@gmail.com">majunjiev@gmail.com</a>><br>
Cc: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] RPCXML response problem<br>
Message-ID: <<a href="mailto:BANLkTimUWmtJegePcEw1aE-ZBuL_rVzxDw@mail.gmail.com">BANLkTimUWmtJegePcEw1aE-ZBuL_rVzxDw@mail.gmail.com</a>><br>
Content-Type: text/plain; charset="iso-8859-1"<br>
<br>
It works!<br>
<br>
in the web site example there is not this cast:<br>
<br>
                Object untypedResult=null;<br>
try {<br>
untypedResult = client.execute( "<a href="http://one.vmpool.info" target="_blank">one.vmpool.info</a>", params );<br>
} catch (XmlRpcException e) {<br>
e.printStackTrace();<br>
}<br>
 Object[] result = (Object[]) untypedResult;<br>
<br>
Thank you Joey,<br>
<br>
Best,<br>
<br>
Giuseppe<br>
<br>
2011/5/2 Joey Ma <<a href="mailto:majunjiev@gmail.com">majunjiev@gmail.com</a>><br>
<br>
> Hi,<br>
><br>
> Maybe you should cast the returned type of Object to the OneResponse, "One<br>
> Response result = (OneResponse)client.execute( "one.vm.allocate", params )<br>
> ;".<br>
> The java unit testing source code in java oca, located in<br>
> ./src/oca/java/test, may helps you understanding the usage of  java methods<br>
> for xml-rpc calling.<br>
><br>
> Best Regards,<br>
> Joey<br>
><br>
> On Mon, May 2, 2011 at 5:57 PM, Giuseppe Carella <<a href="mailto:cargius@gmail.com">cargius@gmail.com</a>>wrote:<br>
><br>
>> Hi all,<br>
>><br>
>> I have a problem with XMLRPC API using it with JAVA.<br>
>> When I send a request to opennebula XMLRPC server, I receive<br>
>> a response like this:<br>
>><br>
>> [Ljava.lang.Object;@19968e23<br>
>><br>
>> How can I extract the vid from this response object?<br>
>><br>
>> I have followed all the instructions in the java example of the web site.<br>
>><br>
>> public class XmlRpcTest {<br>
>>     public static void main( String <<a href="http://www.google.com/search?hl=en&q=allinurl%3Astring+java.sun.com&btnI=I%27m%20Feeling%20Lucky" target="_blank">http://www.google.com/search?hl=en&q=allinurl%3Astring+java.sun.com&btnI=I%27m%20Feeling%20Lucky</a>> args[] ) throws Exception <<a href="http://www.google.com/search?hl=en&q=allinurl%3Aexception+java.sun.com&btnI=I%27m%20Feeling%20Lucky" target="_blank">http://www.google.com/search?hl=en&q=allinurl%3Aexception+java.sun.com&btnI=I%27m%20Feeling%20Lucky</a>> {<br>

>>         XmlRpcClient client = new XmlRpcClient( "<a href="http://localhost:2633/RPC2" target="_blank">http://localhost:2633/RPC2</a>" );<br>
>>         Vector <<a href="http://www.google.com/search?hl=en&q=allinurl%3Avector+java.sun.com&btnI=I%27m%20Feeling%20Lucky" target="_blank">http://www.google.com/search?hl=en&q=allinurl%3Avector+java.sun.com&btnI=I%27m%20Feeling%20Lucky</a>> params = new Vector <<a href="http://www.google.com/search?hl=en&q=allinurl%3Avector+java.sun.com&btnI=I%27m%20Feeling%20Lucky" target="_blank">http://www.google.com/search?hl=en&q=allinurl%3Avector+java.sun.com&btnI=I%27m%20Feeling%20Lucky</a>>();<br>

>>         params.addElement("SESSION-GOLA&4H910");<br>
>>         params.addElement("MEMORY=345 CPU=4 DISK=[FILE=\"img\",TYPE=cd]""DISK=[FILE=\"../f\"]");<br>
>><br>
>>         Object <<a href="http://www.google.com/search?hl=en&q=allinurl%3Aobject+java.sun.com&btnI=I%27m%20Feeling%20Lucky" target="_blank">http://www.google.com/search?hl=en&q=allinurl%3Aobject+java.sun.com&btnI=I%27m%20Feeling%20Lucky</a>> result = client.execute( "one.vm.allocate", params );<br>

>><br>
>>         if ( result != null )<br>
>>             System <<a href="http://www.google.com/search?hl=en&q=allinurl%3Asystem+java.sun.com&btnI=I%27m%20Feeling%20Lucky" target="_blank">http://www.google.com/search?hl=en&q=allinurl%3Asystem+java.sun.com&btnI=I%27m%20Feeling%20Lucky</a>>.out.println( result.toString() );<br>

>>     }}<br>
>><br>
>><br>
>> Your help is kindly appreciated!<br>
>><br>
>> thanks,<br>
>><br>
>> Giuseppe<br>
>><br>
>> _______________________________________________<br>
>> Users mailing list<br>
>> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
>> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
>><br>
>><br>
><br>
-------------- next part --------------<br>
An HTML attachment was scrubbed...<br>
URL: <<a href="http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110502/d820135c/attachment-0001.htm" target="_blank">http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110502/d820135c/attachment-0001.htm</a>><br>

<br>
------------------------------<br>
<br>
Message: 2<br>
Date: Mon, 2 May 2011 12:50:48 +0200<br>
From: Daniel Molina <<a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a>><br>
To: Sebastian Neg <<a href="mailto:neg.sebastian@gmail.com">neg.sebastian@gmail.com</a>><br>
Cc: Opennebula <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>><br>
Subject: Re: [one-users] Error executing "econe-server start"<br>
Message-ID: <BANLkTikosN0MxB=4zgJjeRc0YPESU=<a href="mailto:8LKQ@mail.gmail.com">8LKQ@mail.gmail.com</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hi,<br>
<br>
Maybe you are missing the following patch:<br>
<a href="http://dev.opennebula.org/projects/opennebula/repository/revisions/ba0268d9ac5326b3e788a6b4a4af0f1be39dacb0/diff/src/cloud/ec2/lib/EC2QueryClient.rb" target="_blank">http://dev.opennebula.org/projects/opennebula/repository/revisions/ba0268d9ac5326b3e788a6b4a4af0f1be39dacb0/diff/src/cloud/ec2/lib/EC2QueryClient.rb</a><br>

<br>
Regards.<br>
<br>
On 2 May 2011 12:03, Sebastian Neg <<a href="mailto:neg.sebastian@gmail.com">neg.sebastian@gmail.com</a>> wrote:<br>
> i solved the problem and now "econe-server is started"<br>
> when i try to upload an image into the OpenNebula cloud:<br>
> econe-upload -U <a href="http://ec2.opennebula:8080" target="_blank">http://ec2.opennebula:8080</a> --access-key oneadmin<br>
> --secret-key oneadmin //home/esprit/one/one-templates/ttylinux.img<br>
><br>
> i have this error:<br>
> econe-upload: <Response><Errors><Error><Code>AuthFailure</Code><Message>User<br>
> not authorized</Message></Error></Errors><RequestID>0</RequestID></Response><br>
><br>
> any idea??<br>
><br>
> On Fri, Apr 29, 2011 at 8:47 PM, Sebastian Neg <<a href="mailto:neg.sebastian@gmail.com">neg.sebastian@gmail.com</a>><br>
> wrote:<br>
>><br>
>> yes i changed th port 8880 but nothing change.<br>
>><br>
>> On Thu, Apr 28, 2011 at 1:07 PM, Steffen Neumann <<a href="mailto:sneumann@ipb-halle.de">sneumann@ipb-halle.de</a>><br>
>> wrote:<br>
>>><br>
>>> Hi,<br>
>>><br>
>>> Check the message:<br>
>>> Port busy, please shutdown the service or move econe server port.<br>
>>><br>
>>> Which port did you change ? The 8880 ?<br>
>>><br>
>>> Yours,<br>
>>> Steffen<br>
>>><br>
>>> --<br>
>>> IPB Halle ? ? ? ? ? ? ? ? ? ?AG Massenspektrometrie & Bioinformatik<br>
>>> Dr. Steffen Neumann ? ? ? ? ?<a href="http://www.IPB-Halle.DE" target="_blank">http://www.IPB-Halle.DE</a><br>
>>> Weinberg 3 ? ? ? ? ? ? ? ? ? <a href="http://msbi.bic-gh.de" target="_blank">http://msbi.bic-gh.de</a><br>
>>> 06120 Halle ? ? ? ? ? ? ? ? ?Tel. <a href="tel:%2B49%20%280%29%20345%205582%20-%201470" value="+4934555821470">+49 (0) 345 5582 - 1470</a><br>
>>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?<a href="tel:%2B49%20%280%29%20345%205582%20-%200" value="+4934555820">+49 (0) 345 5582 - 0</a><br>
>>> sneumann(at)IPB-Halle.DE ? ? Fax. <a href="tel:%2B49%20%280%29%20345%205582%20-%201409" value="+4934555821409">+49 (0) 345 5582 - 1409</a><br>
>>><br>
>>><br>
>><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
><br>
><br>
<br>
<br>
<br>
--<br>
Daniel Molina, Cloud Technology Engineer/Researcher<br>
Major Contributor<br>
OpenNebula - The Open Source Toolkit for Cloud Computing<br>
<a href="http://www.OpenNebula.org" target="_blank">www.OpenNebula.org</a> | <a href="mailto:dmolina@opennebula.org">dmolina@opennebula.org</a><br>
<br>
<br>
------------------------------<br>
<br>
Message: 3<br>
Date: Mon, 2 May 2011 14:26:10 +0200<br>
From: Ahmad Hammad <<a href="mailto:ahmad.hammad@kit.edu">ahmad.hammad@kit.edu</a>><br>
To: "Ruben S. Montero" <<a href="mailto:rubensm@dacya.ucm.es">rubensm@dacya.ucm.es</a>><br>
Cc: ONE Users <<a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a>>, Ariel Garcia<br>
        <<a href="mailto:garcia@kit.edu">garcia@kit.edu</a>><br>
Subject: Re: [one-users] Ranged network!<br>
Message-ID: <<a href="mailto:201105021426.10893.ahmad.hammad@kit.edu">201105021426.10893.ahmad.hammad@kit.edu</a>><br>
Content-Type: text/plain; charset="us-ascii"<br>
<br>
Hello Ruben,<br>
<br>
Thank you all for the help and feedback.<br>
<br>
<br>
<br>
> Please also note that is very common to put the gateway in a VM also as<br>
> part of the network. You can request an specific IP for the gateway VM in<br>
> the template (NIC=[ NETWORK_ID = 3, IP = 192.168.0.1])<br>
><br>
> Probably, we should make more clear the documentation to remark that you<br>
> are defining the range using a network address and not a starting host ip<br>
> address. The rationale behind this is that in this way you can easily<br>
> setup the network address and mask for the VMs.<br>
<br>
Yes! now we could make it work but the documentation could be made more<br>
explicit, in particular the fact that you add 2 to NETWORK_SIZE to determine<br>
the netmask. (see "RangedLeases::RangedLeases(...)")<br>
<br>
> To improve this, we can extend the parameters to define the ranged network,<br>
> e.g. with the starting ip address parameter. Or alternatively, define a<br>
> fixed net using single leases and/or continuous ranges of leases. Which<br>
> one is better?<br>
<br>
Yes, that would be great. In particular the concrete proposal by Lars would be<br>
perfect for us.<br>
<br>
>Thanks for sharing!,... I've filled a ticket to track and implement this<br>
><br>
><a href="http://dev.opennebula.org/issues/602" target="_blank">http://dev.opennebula.org/issues/602</a><br>
<br>
Thanks,<br>
<br>
Ahmad&Ariel<br>
<br>
<br>
------------------------------<br>
<br>
Message: 4<br>
Date: Mon, 02 May 2011 14:40:11 +0200<br>
From: H?ctor Sanju?n <<a href="mailto:hsanjuan@opennebula.org">hsanjuan@opennebula.org</a>><br>
To: "Luis G. Alford G." <<a href="mailto:lgalford@gmail.com">lgalford@gmail.com</a>><br>
Cc: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: Re: [one-users] Help with OpenNebula Sunstone<br>
Message-ID: <<a href="mailto:4DBEA62B.9030202@opennebula.org">4DBEA62B.9030202@opennebula.org</a>><br>
Content-Type: text/plain; charset=ISO-8859-1<br>
<br>
Hi,<br>
<br>
I believe you need to specify the -H option when starting the sunstone<br>
server[1]. Otherwise it will only listen to localhost connections,<br>
therefore not being reachable from the outside.<br>
<br>
Hector<br>
<br>
[1]<br>
<a href="http://opennebula.org/documentation:rel2.2:sunstone#starting_the_cloud_operations_center" target="_blank">http://opennebula.org/documentation:rel2.2:sunstone#starting_the_cloud_operations_center</a><br>
<br>
El 02/05/11 02:12, Luis G. Alford G. escribi?:<br>
> Hello,<br>
><br>
> I have try to set up an instalation of OpenNebula on a Debian Squeeze I<br>
> got all the packages installed on the server now. I'm trying to see the<br>
> console of Sunstone and I keep having the same mesage that the server<br>
> can not be reached. I'm able to reached it with out any trouble ussing<br>
> SSH and similar<br>
><br>
> I have been doing some reading and on the log file of the server I don't<br>
> see any error mesage  I read that i should run this to see if an error<br>
> message comes up and nothing,<br>
><br>
> root@admxen:~/opennebula-2.2# lsof -i:4567<br>
> COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME<br>
> rackup  3991 root    5u  IPv4  12393      0t0  TCP localhost:4567 (LISTEN)<br>
> root@admxen:~/opennebula-2.2#<br>
><br>
> as you can see<br>
><br>
> root@admxen:~/opennebula-2.2# more /var/log/one/sunstone.log<br>
> root@admxen:~/opennebula-2.2#<br>
> nothing on the error log any ideas thoughts ?<br>
><br>
> any help wpulde be really apreciated ..<br>
><br>
> thanks<br>
> Luis Alford<br>
><br>
><br>
><br>
> _______________________________________________<br>
> Users mailing list<br>
> <a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
> <a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
<br>
--<br>
H?ctor Sanjuan<br>
OpenNebula.org<br>
<br>
<br>
------------------------------<br>
<br>
Message: 5<br>
Date: Mon, 02 May 2011 15:46:08 +0200<br>
From: Ruben Diez <<a href="mailto:rdiez@cesga.es">rdiez@cesga.es</a>><br>
To: <a href="mailto:users@lists.opennebula.org">users@lists.opennebula.org</a><br>
Subject: [one-users] Opennebula and Xen 4.1.0<br>
Message-ID: <<a href="mailto:4DBEB5A0.2050502@cesga.es">4DBEB5A0.2050502@cesga.es</a>><br>
Content-Type: text/plain; charset=ISO-8859-1; format=flowed<br>
<br>
Hi:<br>
<br>
we are have problems with Opennebula and a Xen 4.1.0....<br>
<br>
When we attempt to deploy a machine, the oned.log file says:<br>
[.....]<br>
Mon May  2 13:01:24 2011 [LCM][I]: New VM state is BOOT<br>
Mon May  2 13:01:24 2011 [VMM][I]: Generating deployment file:<br>
/srv/cloud/one/var/1095/deployment.0<br>
Mon May  2 13:01:26 2011 [VMM][I]: Command execution fail: 'if [ -x<br>
"/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy<br>
/srv/cloud/one/var//1095/images/deployment.0;<br>
else                              exit 42; fi'<br>
Mon May  2 13:01:26 2011 [VMM][I]: STDERR follows.<br>
Mon May  2 13:01:26 2011 [VMM][I]: Error: Subcommand sched-cred not found!<br>
Mon May  2 13:01:26 2011 [VMM][I]: ExitCode: 1<br>
Mon May  2 13:01:26 2011 [VMM][E]: Error deploying virtual machine:<br>
Error: Subcommand sched-cred not found!<br>
Mon May  2 13:01:26 2011 [DiM][I]: New VM state is FAILED<br>
[.....]<br>
<br>
The oned version is:<br>
<br>
$ oned -v<br>
Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org)<br>
<br>
OpenNebula 2.1.80 is distributed and licensed for use under the terms of the<br>
Apache License, Version 2.0 (<a href="http://www.apache.org/licenses/LICENSE-2.0" target="_blank">http://www.apache.org/licenses/LICENSE-2.0</a>).<br>
<br>
and the physical node have CentOS 5.6 with Xen 4.1.0<br>
<br>
The problem seems to be a error in the libvirt configuration:<br>
<br>
virsh # version<br>
Compiled against library: libvir 0.8.2<br>
Using library: libvir 0.8.2<br>
Using API: Xen 3.0.1<br>
Running hypervisor: Xen 4.1.0<br>
<br>
<br>
As you can see, the libvirt is connected to the Xen 4.1.0 hypervisor,<br>
but it is using the API of the Xen 3.0.1<br>
<br>
Anyone know about how we can change the libvirt API to the  Xen 4.1.0 one??<br>
<br>
Regards<br>
<br>
<br>
<br>
------------------------------<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.opennebula.org">Users@lists.opennebula.org</a><br>
<a href="http://lists.opennebula.org/listinfo.cgi/users-opennebula.org" target="_blank">http://lists.opennebula.org/listinfo.cgi/users-opennebula.org</a><br>
<br>
<br>
End of Users Digest, Vol 39, Issue 2<br>
************************************<br>
</blockquote></div><br>