[one-users] Users Digest, Vol 39, Issue 2

Luis G. Alford G. lgalford at gmail.com
Mon May 2 17:54:26 PDT 2011


Re: Help with OpenNebula Sunstone (H?ctor Sanju?n)

I try it woth the -H option and it did not work I reinstalling the server
with graphycal support  to see how it works.

i'll keep you post it.

Rgds
Luis

On Mon, May 2, 2011 at 9:18 AM, <users-request at lists.opennebula.org> wrote:

> Send Users mailing list submissions to
>        users at lists.opennebula.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>        http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> or, via email, send a message with subject or body 'help' to
>        users-request at lists.opennebula.org
>
> You can reach the person managing the list at
>        users-owner at lists.opennebula.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of Users digest..."
>
>
> Today's Topics:
>
>   1. Re: RPCXML response problem (Giuseppe Carella)
>   2. Re: Error executing "econe-server start" (Daniel Molina)
>   3. Re: Ranged network! (Ahmad Hammad)
>   4. Re: Help with OpenNebula Sunstone (H?ctor Sanju?n)
>   5. Opennebula and Xen 4.1.0 (Ruben Diez)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Mon, 2 May 2011 12:34:25 +0200
> From: Giuseppe Carella <cargius at gmail.com>
> To: Joey Ma <majunjiev at gmail.com>
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] RPCXML response problem
> Message-ID: <BANLkTimUWmtJegePcEw1aE-ZBuL_rVzxDw at mail.gmail.com>
> Content-Type: text/plain; charset="iso-8859-1"
>
> It works!
>
> in the web site example there is not this cast:
>
>                Object untypedResult=null;
> try {
> untypedResult = client.execute( "one.vmpool.info", params );
> } catch (XmlRpcException e) {
> e.printStackTrace();
> }
>  Object[] result = (Object[]) untypedResult;
>
> Thank you Joey,
>
> Best,
>
> Giuseppe
>
> 2011/5/2 Joey Ma <majunjiev at gmail.com>
>
> > Hi,
> >
> > Maybe you should cast the returned type of Object to the OneResponse,
> "One
> > Response result = (OneResponse)client.execute( "one.vm.allocate", params
> )
> > ;".
> > The java unit testing source code in java oca, located in
> > ./src/oca/java/test, may helps you understanding the usage of  java
> methods
> > for xml-rpc calling.
> >
> > Best Regards,
> > Joey
> >
> > On Mon, May 2, 2011 at 5:57 PM, Giuseppe Carella <cargius at gmail.com
> >wrote:
> >
> >> Hi all,
> >>
> >> I have a problem with XMLRPC API using it with JAVA.
> >> When I send a request to opennebula XMLRPC server, I receive
> >> a response like this:
> >>
> >> [Ljava.lang.Object;@19968e23
> >>
> >> How can I extract the vid from this response object?
> >>
> >> I have followed all the instructions in the java example of the web
> site.
> >>
> >> public class XmlRpcTest {
> >>     public static void main( String <
> http://www.google.com/search?hl=en&q=allinurl%3Astring+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
> args[] ) throws Exception <
> http://www.google.com/search?hl=en&q=allinurl%3Aexception+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
> {
> >>         XmlRpcClient client = new XmlRpcClient( "
> http://localhost:2633/RPC2" );
> >>         Vector <
> http://www.google.com/search?hl=en&q=allinurl%3Avector+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
> params = new Vector <
> http://www.google.com/search?hl=en&q=allinurl%3Avector+java.sun.com&btnI=I%27m%20Feeling%20Lucky
> >();
> >>         params.addElement("SESSION-GOLA&4H910");
> >>         params.addElement("MEMORY=345 CPU=4
> DISK=[FILE=\"img\",TYPE=cd]""DISK=[FILE=\"../f\"]");
> >>
> >>         Object <
> http://www.google.com/search?hl=en&q=allinurl%3Aobject+java.sun.com&btnI=I%27m%20Feeling%20Lucky>
> result = client.execute( "one.vm.allocate", params );
> >>
> >>         if ( result != null )
> >>             System <
> http://www.google.com/search?hl=en&q=allinurl%3Asystem+java.sun.com&btnI=I%27m%20Feeling%20Lucky>.out.println(
> result.toString() );
> >>     }}
> >>
> >>
> >> Your help is kindly appreciated!
> >>
> >> thanks,
> >>
> >> Giuseppe
> >>
> >> _______________________________________________
> >> Users mailing list
> >> Users at lists.opennebula.org
> >> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >>
> >>
> >
> -------------- next part --------------
> An HTML attachment was scrubbed...
> URL: <
> http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110502/d820135c/attachment-0001.htm
> >
>
> ------------------------------
>
> Message: 2
> Date: Mon, 2 May 2011 12:50:48 +0200
> From: Daniel Molina <dmolina at opennebula.org>
> To: Sebastian Neg <neg.sebastian at gmail.com>
> Cc: Opennebula <users at lists.opennebula.org>
> Subject: Re: [one-users] Error executing "econe-server start"
> Message-ID: <BANLkTikosN0MxB=4zgJjeRc0YPESU=8LKQ at mail.gmail.com>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> Maybe you are missing the following patch:
>
> http://dev.opennebula.org/projects/opennebula/repository/revisions/ba0268d9ac5326b3e788a6b4a4af0f1be39dacb0/diff/src/cloud/ec2/lib/EC2QueryClient.rb
>
> Regards.
>
> On 2 May 2011 12:03, Sebastian Neg <neg.sebastian at gmail.com> wrote:
> > i solved the problem and now "econe-server is started"
> > when i try to upload an image into the OpenNebula cloud:
> > econe-upload -U http://ec2.opennebula:8080 --access-key oneadmin
> > --secret-key oneadmin //home/esprit/one/one-templates/ttylinux.img
> >
> > i have this error:
> > econe-upload:
> <Response><Errors><Error><Code>AuthFailure</Code><Message>User
> > not
> authorized</Message></Error></Errors><RequestID>0</RequestID></Response>
> >
> > any idea??
> >
> > On Fri, Apr 29, 2011 at 8:47 PM, Sebastian Neg <neg.sebastian at gmail.com>
> > wrote:
> >>
> >> yes i changed th port 8880 but nothing change.
> >>
> >> On Thu, Apr 28, 2011 at 1:07 PM, Steffen Neumann <sneumann at ipb-halle.de
> >
> >> wrote:
> >>>
> >>> Hi,
> >>>
> >>> Check the message:
> >>> Port busy, please shutdown the service or move econe server port.
> >>>
> >>> Which port did you change ? The 8880 ?
> >>>
> >>> Yours,
> >>> Steffen
> >>>
> >>> --
> >>> IPB Halle ? ? ? ? ? ? ? ? ? ?AG Massenspektrometrie & Bioinformatik
> >>> Dr. Steffen Neumann ? ? ? ? ?http://www.IPB-Halle.DE
> >>> Weinberg 3 ? ? ? ? ? ? ? ? ? http://msbi.bic-gh.de
> >>> 06120 Halle ? ? ? ? ? ? ? ? ?Tel. +49 (0) 345 5582 - 1470
> >>> ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ? ?+49 (0) 345 5582 - 0
> >>> sneumann(at)IPB-Halle.DE ? ? Fax. +49 (0) 345 5582 - 1409
> >>>
> >>>
> >>
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
> >
> >
>
>
>
> --
> Daniel Molina, Cloud Technology Engineer/Researcher
> Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org | dmolina at opennebula.org
>
>
> ------------------------------
>
> Message: 3
> Date: Mon, 2 May 2011 14:26:10 +0200
> From: Ahmad Hammad <ahmad.hammad at kit.edu>
> To: "Ruben S. Montero" <rubensm at dacya.ucm.es>
> Cc: ONE Users <users at lists.opennebula.org>, Ariel Garcia
>        <garcia at kit.edu>
> Subject: Re: [one-users] Ranged network!
> Message-ID: <201105021426.10893.ahmad.hammad at kit.edu>
> Content-Type: text/plain; charset="us-ascii"
>
> Hello Ruben,
>
> Thank you all for the help and feedback.
>
>
>
> > Please also note that is very common to put the gateway in a VM also as
> > part of the network. You can request an specific IP for the gateway VM in
> > the template (NIC=[ NETWORK_ID = 3, IP = 192.168.0.1])
> >
> > Probably, we should make more clear the documentation to remark that you
> > are defining the range using a network address and not a starting host ip
> > address. The rationale behind this is that in this way you can easily
> > setup the network address and mask for the VMs.
>
> Yes! now we could make it work but the documentation could be made more
> explicit, in particular the fact that you add 2 to NETWORK_SIZE to
> determine
> the netmask. (see "RangedLeases::RangedLeases(...)")
>
> > To improve this, we can extend the parameters to define the ranged
> network,
> > e.g. with the starting ip address parameter. Or alternatively, define a
> > fixed net using single leases and/or continuous ranges of leases. Which
> > one is better?
>
> Yes, that would be great. In particular the concrete proposal by Lars would
> be
> perfect for us.
>
> >Thanks for sharing!,... I've filled a ticket to track and implement this
> >
> >http://dev.opennebula.org/issues/602
>
> Thanks,
>
> Ahmad&Ariel
>
>
> ------------------------------
>
> Message: 4
> Date: Mon, 02 May 2011 14:40:11 +0200
> From: H?ctor Sanju?n <hsanjuan at opennebula.org>
> To: "Luis G. Alford G." <lgalford at gmail.com>
> Cc: users at lists.opennebula.org
> Subject: Re: [one-users] Help with OpenNebula Sunstone
> Message-ID: <4DBEA62B.9030202 at opennebula.org>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi,
>
> I believe you need to specify the -H option when starting the sunstone
> server[1]. Otherwise it will only listen to localhost connections,
> therefore not being reachable from the outside.
>
> Hector
>
> [1]
>
> http://opennebula.org/documentation:rel2.2:sunstone#starting_the_cloud_operations_center
>
> El 02/05/11 02:12, Luis G. Alford G. escribi?:
> > Hello,
> >
> > I have try to set up an instalation of OpenNebula on a Debian Squeeze I
> > got all the packages installed on the server now. I'm trying to see the
> > console of Sunstone and I keep having the same mesage that the server
> > can not be reached. I'm able to reached it with out any trouble ussing
> > SSH and similar
> >
> > I have been doing some reading and on the log file of the server I don't
> > see any error mesage  I read that i should run this to see if an error
> > message comes up and nothing,
> >
> > root at admxen:~/opennebula-2.2# lsof -i:4567
> > COMMAND  PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
> > rackup  3991 root    5u  IPv4  12393      0t0  TCP localhost:4567
> (LISTEN)
> > root at admxen:~/opennebula-2.2#
> >
> > as you can see
> >
> > root at admxen:~/opennebula-2.2# more /var/log/one/sunstone.log
> > root at admxen:~/opennebula-2.2#
> > nothing on the error log any ideas thoughts ?
> >
> > any help wpulde be really apreciated ..
> >
> > thanks
> > Luis Alford
> >
> >
> >
> > _______________________________________________
> > Users mailing list
> > Users at lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> --
> H?ctor Sanjuan
> OpenNebula.org
>
>
> ------------------------------
>
> Message: 5
> Date: Mon, 02 May 2011 15:46:08 +0200
> From: Ruben Diez <rdiez at cesga.es>
> To: users at lists.opennebula.org
> Subject: [one-users] Opennebula and Xen 4.1.0
> Message-ID: <4DBEB5A0.2050502 at cesga.es>
> Content-Type: text/plain; charset=ISO-8859-1; format=flowed
>
> Hi:
>
> we are have problems with Opennebula and a Xen 4.1.0....
>
> When we attempt to deploy a machine, the oned.log file says:
> [.....]
> Mon May  2 13:01:24 2011 [LCM][I]: New VM state is BOOT
> Mon May  2 13:01:24 2011 [VMM][I]: Generating deployment file:
> /srv/cloud/one/var/1095/deployment.0
> Mon May  2 13:01:26 2011 [VMM][I]: Command execution fail: 'if [ -x
> "/var/tmp/one/vmm/xen/deploy" ]; then /var/tmp/one/vmm/xen/deploy
> /srv/cloud/one/var//1095/images/deployment.0;
> else                              exit 42; fi'
> Mon May  2 13:01:26 2011 [VMM][I]: STDERR follows.
> Mon May  2 13:01:26 2011 [VMM][I]: Error: Subcommand sched-cred not found!
> Mon May  2 13:01:26 2011 [VMM][I]: ExitCode: 1
> Mon May  2 13:01:26 2011 [VMM][E]: Error deploying virtual machine:
> Error: Subcommand sched-cred not found!
> Mon May  2 13:01:26 2011 [DiM][I]: New VM state is FAILED
> [.....]
>
> The oned version is:
>
> $ oned -v
> Copyright 2002-2011, OpenNebula Project Leads (OpenNebula.org)
>
> OpenNebula 2.1.80 is distributed and licensed for use under the terms of
> the
> Apache License, Version 2.0 (http://www.apache.org/licenses/LICENSE-2.0).
>
> and the physical node have CentOS 5.6 with Xen 4.1.0
>
> The problem seems to be a error in the libvirt configuration:
>
> virsh # version
> Compiled against library: libvir 0.8.2
> Using library: libvir 0.8.2
> Using API: Xen 3.0.1
> Running hypervisor: Xen 4.1.0
>
>
> As you can see, the libvirt is connected to the Xen 4.1.0 hypervisor,
> but it is using the API of the Xen 3.0.1
>
> Anyone know about how we can change the libvirt API to the  Xen 4.1.0 one??
>
> Regards
>
>
>
> ------------------------------
>
> _______________________________________________
> Users mailing list
> Users at lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> End of Users Digest, Vol 39, Issue 2
> ************************************
>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.opennebula.org/pipermail/users-opennebula.org/attachments/20110502/7b9aa043/attachment-0002.htm>


More information about the Users mailing list