Re: [one-users] REG: operation problem

2011-10-06 Thread Carlos Martín Sánchez
Hi,

In 'src/oca/java/lib' you'll find the .jar files for the Apache XML-RPC
library.
Maybe you downloaded another version from their website that produces that
bug?

Regards.
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


2011/9/21 srivatsan jagannathan 

> Hi,
>
> different library version from the one included in our source  can you
> explain bit more on this, not sure which library you are referring to
>
>
>
> Regards,
> Srivatsan J.
>
>
>
> 2011/9/21 Carlos Martín Sánchez 
>
>> Hi,
>>
>> I've tried to reproduce it feeding your xml string to the host.infomethod, 
>> but it still works for me.
>> That "Unknown type: string" error seems to come from the Apache XML-RPC
>> library.
>> The only thing I can think of is that maybe you are using a different
>> library version from the one included in our source.
>>
>>
>> --
>> Carlos Martín, MSc
>> Project Major Contributor
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org  | cmar...@opennebula.org
>>
>>
>> 2011/9/20 srivatsan jagannathan 
>>
>>> Hi,
>>>
>>> OpenNebula version 2.2
>>> onehost list
>>>   ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
>>> STAT
>>>   18 cloud9default0   2400   2400   2400 63G   61.6G
>>>   on
>>> onehost show 18 -x
>>> 
>>>   18
>>>   cloud9
>>>   2
>>>   im_kvm
>>>   vmm_kvm
>>>   tm_nfs
>>>   1316541929
>>>   default
>>>   
>>> 18
>>> 0
>>> 0
>>> 0
>>> 0
>>> 66097408
>>> 2400
>>> 0
>>> 64609184
>>> 2400
>>> 0
>>> 1488224
>>> 0
>>> 0
>>>   
>>>   
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>> 
>>>   
>>> 
>>>
>>>
>>>
>>> once again i reran the program, still getting same error.
>>> JAVA API code
>>>
>>> OneResponse or = Host.info(Client, 18);
>>> if(or.isError()){
>>>System.out.println(" Check for error "+or.getErrorMessage());
>>>   }
>>> else{
>>>  System.out.println(or.getMessage());
>>>  }
>>>
>>>
>>> the response for this code error Failed to parse servers response:
>>> Unknown type: string
>>>
>>> I am thinking OneResponse return TRUE, because "Check for error" is
>>> missing in the output
>>>
>>>
>>> Regards,
>>> Srivatsan J.
>>>
>>> 2011/9/20 Carlos Martín Sánchez 
>>>
 Hi,

 I can't reproduce this problem. Can you provide more information?

 What OpenNebula version are you using?
 What's the output of "onehost show  -x"?
 Any trace?

 Regards
 --
 Carlos Martín, MSc
 Project Major Contributor
 OpenNebula - The Open Source Toolkit for Cloud Computing
 www.OpenNebula.org  | cmartin@opennebula
 .org


 On Mon, Sep 19, 2011 at 11:59 AM, srivatsan jagannathan <
 srivatsa...@gmail.com> wrote:

> Hi Team,
>
> I am trying to use JAVA API to perform operation on host.
>
> All these operation succeed,
> Host.allocate(Client, hostname, im, vmm, tm)
> Host.enable(Client, id, true)
> Host.enable(Client, id, false)
> Host.delete(Client, id)
>
> But
> Host.info(Client, id)
> gives error Failed to parse servers response: Unknown type: string
>
> in CLI onehost list & onehost show works properly
>
> no error in oned.log
>
>
> Regards,
> Srivatsan J.
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>

>>>
>>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] REG: operation problem

2011-09-26 Thread srivatsan jagannathan
Hi Carlos,

   Could you explain more on this
 you are using a different library version from the one included in our
source

Regards,
Srivatsan J.

2011/9/21 Carlos Martín Sánchez 

> Hi,
>
> I've tried to reproduce it feeding your xml string to the host.infomethod, 
> but it still works for me.
> That "Unknown type: string" error seems to come from the Apache XML-RPC
> library.
> The only thing I can think of is that maybe you are using a different
> library version from the one included in our source.
>
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> 2011/9/20 srivatsan jagannathan 
>
>> Hi,
>>
>> OpenNebula version 2.2
>> onehost list
>>   ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
>> STAT
>>   18 cloud9default0   2400   2400   2400 63G   61.6G
>>   on
>> onehost show 18 -x
>> 
>>   18
>>   cloud9
>>   2
>>   im_kvm
>>   vmm_kvm
>>   tm_nfs
>>   1316541929
>>   default
>>   
>> 18
>> 0
>> 0
>> 0
>> 0
>> 66097408
>> 2400
>> 0
>> 64609184
>> 2400
>> 0
>> 1488224
>> 0
>> 0
>>   
>>   
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>   
>> 
>>
>>
>>
>> once again i reran the program, still getting same error.
>> JAVA API code
>>
>> OneResponse or = Host.info(Client, 18);
>> if(or.isError()){
>>System.out.println(" Check for error "+or.getErrorMessage());
>>   }
>> else{
>>  System.out.println(or.getMessage());
>>  }
>>
>>
>> the response for this code error Failed to parse servers response:
>> Unknown type: string
>>
>> I am thinking OneResponse return TRUE, because "Check for error" is
>> missing in the output
>>
>>
>> Regards,
>> Srivatsan J.
>>
>> 2011/9/20 Carlos Martín Sánchez 
>>
>>> Hi,
>>>
>>> I can't reproduce this problem. Can you provide more information?
>>>
>>> What OpenNebula version are you using?
>>> What's the output of "onehost show  -x"?
>>> Any trace?
>>>
>>> Regards
>>> --
>>> Carlos Martín, MSc
>>> Project Major Contributor
>>> OpenNebula - The Open Source Toolkit for Cloud Computing
>>> www.OpenNebula.org  | cmar...@opennebula.org
>>>
>>>
>>> On Mon, Sep 19, 2011 at 11:59 AM, srivatsan jagannathan <
>>> srivatsa...@gmail.com> wrote:
>>>
 Hi Team,

 I am trying to use JAVA API to perform operation on host.

 All these operation succeed,
 Host.allocate(Client, hostname, im, vmm, tm)
 Host.enable(Client, id, true)
 Host.enable(Client, id, false)
 Host.delete(Client, id)

 But
 Host.info(Client, id)
 gives error Failed to parse servers response: Unknown type: string

 in CLI onehost list & onehost show works properly

 no error in oned.log


 Regards,
 Srivatsan J.

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


>>>
>>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] REG: operation problem

2011-09-21 Thread srivatsan jagannathan
Hi,

different library version from the one included in our source  can you
explain bit more on this, not sure which library you are referring to



Regards,
Srivatsan J.


2011/9/21 Carlos Martín Sánchez 

> Hi,
>
> I've tried to reproduce it feeding your xml string to the host.infomethod, 
> but it still works for me.
> That "Unknown type: string" error seems to come from the Apache XML-RPC
> library.
> The only thing I can think of is that maybe you are using a different
> library version from the one included in our source.
>
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> 2011/9/20 srivatsan jagannathan 
>
>> Hi,
>>
>> OpenNebula version 2.2
>> onehost list
>>   ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
>> STAT
>>   18 cloud9default0   2400   2400   2400 63G   61.6G
>>   on
>> onehost show 18 -x
>> 
>>   18
>>   cloud9
>>   2
>>   im_kvm
>>   vmm_kvm
>>   tm_nfs
>>   1316541929
>>   default
>>   
>> 18
>> 0
>> 0
>> 0
>> 0
>> 66097408
>> 2400
>> 0
>> 64609184
>> 2400
>> 0
>> 1488224
>> 0
>> 0
>>   
>>   
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>> 
>>   
>> 
>>
>>
>>
>> once again i reran the program, still getting same error.
>> JAVA API code
>>
>> OneResponse or = Host.info(Client, 18);
>> if(or.isError()){
>>System.out.println(" Check for error "+or.getErrorMessage());
>>   }
>> else{
>>  System.out.println(or.getMessage());
>>  }
>>
>>
>> the response for this code error Failed to parse servers response:
>> Unknown type: string
>>
>> I am thinking OneResponse return TRUE, because "Check for error" is
>> missing in the output
>>
>>
>> Regards,
>> Srivatsan J.
>>
>> 2011/9/20 Carlos Martín Sánchez 
>>
>>> Hi,
>>>
>>> I can't reproduce this problem. Can you provide more information?
>>>
>>> What OpenNebula version are you using?
>>> What's the output of "onehost show  -x"?
>>> Any trace?
>>>
>>> Regards
>>> --
>>> Carlos Martín, MSc
>>> Project Major Contributor
>>> OpenNebula - The Open Source Toolkit for Cloud Computing
>>> www.OpenNebula.org  | cmar...@opennebula.org
>>>
>>>
>>> On Mon, Sep 19, 2011 at 11:59 AM, srivatsan jagannathan <
>>> srivatsa...@gmail.com> wrote:
>>>
 Hi Team,

 I am trying to use JAVA API to perform operation on host.

 All these operation succeed,
 Host.allocate(Client, hostname, im, vmm, tm)
 Host.enable(Client, id, true)
 Host.enable(Client, id, false)
 Host.delete(Client, id)

 But
 Host.info(Client, id)
 gives error Failed to parse servers response: Unknown type: string

 in CLI onehost list & onehost show works properly

 no error in oned.log


 Regards,
 Srivatsan J.

 ___
 Users mailing list
 Users@lists.opennebula.org
 http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


>>>
>>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] REG: operation problem

2011-09-21 Thread Carlos Martín Sánchez
Hi,

I've tried to reproduce it feeding your xml string to the host.info method,
but it still works for me.
That "Unknown type: string" error seems to come from the Apache XML-RPC
library.
The only thing I can think of is that maybe you are using a different
library version from the one included in our source.

--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


2011/9/20 srivatsan jagannathan 

> Hi,
>
> OpenNebula version 2.2
> onehost list
>   ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
> STAT
>   18 cloud9default0   2400   2400   2400 63G   61.6G
> on
> onehost show 18 -x
> 
>   18
>   cloud9
>   2
>   im_kvm
>   vmm_kvm
>   tm_nfs
>   1316541929
>   default
>   
> 18
> 0
> 0
> 0
> 0
> 66097408
> 2400
> 0
> 64609184
> 2400
> 0
> 1488224
> 0
> 0
>   
>   
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
> 
>   
> 
>
>
>
> once again i reran the program, still getting same error.
> JAVA API code
>
> OneResponse or = Host.info(Client, 18);
> if(or.isError()){
>System.out.println(" Check for error "+or.getErrorMessage());
>   }
> else{
>  System.out.println(or.getMessage());
>  }
>
>
> the response for this code error Failed to parse servers response: Unknown
> type: string
>
> I am thinking OneResponse return TRUE, because "Check for error" is missing
> in the output
>
>
> Regards,
> Srivatsan J.
>
> 2011/9/20 Carlos Martín Sánchez 
>
>> Hi,
>>
>> I can't reproduce this problem. Can you provide more information?
>>
>> What OpenNebula version are you using?
>> What's the output of "onehost show  -x"?
>> Any trace?
>>
>> Regards
>> --
>> Carlos Martín, MSc
>> Project Major Contributor
>> OpenNebula - The Open Source Toolkit for Cloud Computing
>> www.OpenNebula.org  | cmar...@opennebula.org
>>
>>
>> On Mon, Sep 19, 2011 at 11:59 AM, srivatsan jagannathan <
>> srivatsa...@gmail.com> wrote:
>>
>>> Hi Team,
>>>
>>> I am trying to use JAVA API to perform operation on host.
>>>
>>> All these operation succeed,
>>> Host.allocate(Client, hostname, im, vmm, tm)
>>> Host.enable(Client, id, true)
>>> Host.enable(Client, id, false)
>>> Host.delete(Client, id)
>>>
>>> But
>>> Host.info(Client, id)
>>> gives error Failed to parse servers response: Unknown type: string
>>>
>>> in CLI onehost list & onehost show works properly
>>>
>>> no error in oned.log
>>>
>>>
>>> Regards,
>>> Srivatsan J.
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>>
>>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] REG: operation problem

2011-09-20 Thread srivatsan jagannathan
Hi,

OpenNebula version 2.2
onehost list
  ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
STAT
  18 cloud9default0   2400   2400   2400 63G   61.6G
on
onehost show 18 -x

  18
  cloud9
  2
  im_kvm
  vmm_kvm
  tm_nfs
  1316541929
  default
  
18
0
0
0
0
66097408
2400
0
64609184
2400
0
1488224
0
0
  
  













  




once again i reran the program, still getting same error.
JAVA API code

OneResponse or = Host.info(Client, 18);
if(or.isError()){
   System.out.println(" Check for error "+or.getErrorMessage());
  }
else{
 System.out.println(or.getMessage());
 }


the response for this code error Failed to parse servers response: Unknown
type: string

I am thinking OneResponse return TRUE, because "Check for error" is missing
in the output


Regards,
Srivatsan J.

2011/9/20 Carlos Martín Sánchez 

> Hi,
>
> I can't reproduce this problem. Can you provide more information?
>
> What OpenNebula version are you using?
> What's the output of "onehost show  -x"?
> Any trace?
>
> Regards
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmar...@opennebula.org
>
>
> On Mon, Sep 19, 2011 at 11:59 AM, srivatsan jagannathan <
> srivatsa...@gmail.com> wrote:
>
>> Hi Team,
>>
>> I am trying to use JAVA API to perform operation on host.
>>
>> All these operation succeed,
>> Host.allocate(Client, hostname, im, vmm, tm)
>> Host.enable(Client, id, true)
>> Host.enable(Client, id, false)
>> Host.delete(Client, id)
>>
>> But
>> Host.info(Client, id)
>> gives error Failed to parse servers response: Unknown type: string
>>
>> in CLI onehost list & onehost show works properly
>>
>> no error in oned.log
>>
>>
>> Regards,
>> Srivatsan J.
>>
>> ___
>> Users mailing list
>> Users@lists.opennebula.org
>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>
>>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] REG: operation problem

2011-09-20 Thread Carlos Martín Sánchez
Hi,

I can't reproduce this problem. Can you provide more information?

What OpenNebula version are you using?
What's the output of "onehost show  -x"?
Any trace?

Regards
--
Carlos Martín, MSc
Project Major Contributor
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org  | cmar...@opennebula.org


On Mon, Sep 19, 2011 at 11:59 AM, srivatsan jagannathan <
srivatsa...@gmail.com> wrote:

> Hi Team,
>
> I am trying to use JAVA API to perform operation on host.
>
> All these operation succeed,
> Host.allocate(Client, hostname, im, vmm, tm)
> Host.enable(Client, id, true)
> Host.enable(Client, id, false)
> Host.delete(Client, id)
>
> But
> Host.info(Client, id)
> gives error Failed to parse servers response: Unknown type: string
>
> in CLI onehost list & onehost show works properly
>
> no error in oned.log
>
>
> Regards,
> Srivatsan J.
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] REG: operation problem

2011-09-19 Thread srivatsan jagannathan
Hi Team,

I am trying to use JAVA API to perform operation on host.

All these operation succeed,
Host.allocate(Client, hostname, im, vmm, tm)
Host.enable(Client, id, true)
Host.enable(Client, id, false)
Host.delete(Client, id)

But
Host.info(Client, id)
gives error Failed to parse servers response: Unknown type: string

in CLI onehost list & onehost show works properly

no error in oned.log


Regards,
Srivatsan J.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] REG: operation problem

2011-09-19 Thread srivatsan jagannathan
Hi Team,

   Installed opennebula 2.2 and everything working fine...

Trying to add virtual network, type fixed see bottom.
onevnet -v create X.net
-> return vnet-number (10)

onevnet show vnet-number (works fine, list information)

onevnet list   ---> displays nothing (only header information rest
blank.)



--- sample network created---
NAME = "test1"
TYPE = FIXED

#Now we'll use the cluster private network (physical)
BRIDGE = virbr0
LEASES = [ IP="192.168.58.100"]
LEASES = [ IP="192.168.58.101"]
LEASES = [ IP="192.168.58.102"]
--


Regards,
Srivatsan J.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org