Re: [one-users] OpenNebula Express Install Ubuntu 10.04 --- onevm suspend Urgent!!!!

2011-12-17 Thread srivatsan jagannathan
Opennebula Express Install ubuntu-KVM-NFS  (ttylinux image)

SSH between the hosts working fine
onehost create works fine...
onevm create works fine...


onevm suspend has the following error

Sat Dec 17 16:58:15 2011 [LCM][I]: New VM state is BOOT
Sat Dec 17 16:58:15 2011 [VMM][I]: Generating deployment file:
/var/lib/one/3/deployment.0
Sat Dec 17 16:58:16 2011 [LCM][I]: New VM state is RUNNING
Sat Dec 17 16:58:57 2011 [LCM][I]: New VM state is SAVE_SUSPEND
Sat Dec 17 16:58:57 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/kvm/save" ]; then /var/tmp/one/vmm/kvm/save one-3
/var/lib/one//3/images/checkpoint; else  exit
42; fi'
Sat Dec 17 16:58:57 2011 [VMM][I]: STDERR follows.
Sat Dec 17 16:58:57 2011 [VMM][I]: error: Failed to save domain one-3 to
/var/lib/one//3/images/checkpoint
Sat Dec 17 16:58:57 2011 [VMM][I]: error: unable to set ownership of
'/var/lib/one//3/images/checkpoint' to user 0:0: Operation not permitted
Sat Dec 17 16:58:57 2011 [VMM][I]: ExitCode: 1
Sat Dec 17 16:58:57 2011 [VMM][E]: Error saving VM state, error: Failed to
save domain one-3 to /var/lib/one//3/images/checkpoint
Sat Dec 17 16:58:57 2011 [LCM][I]: Fail to save VM state. Assuming that the
VM is still RUNNING (will poll VM).
Sat Dec 17 16:58:58 2011 [VMM][I]: VM running but new state from monitor is
PAUSED.
Sat Dec 17 16:58:58 2011 [LCM][I]: VM is suspended.
Sat Dec 17 16:58:58 2011 [DiM][I]: New VM state is SUSPENDED
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] REG: live migration Opennebula express install

2011-10-08 Thread srivatsan jagannathan
Hi Team,

Ubuntu 10.04 Express Install KVM with NFS configuration,

fixed
1. apparmor
2. enable libvirt_tls = 1
3. able to passwordless-ssh between worker node
4. QEMU+ssh is also added


VM.log
Sat Oct  8 20:48:57 2011 [LCM][I]: New VM state is MIGRATE
Sat Oct  8 20:48:57 2011 [VMM][I]: Command execution fail: 'if [ -x
"/var/tmp/one/vmm/kvm/migrate" ]; then /var/tmp/one/vmm/kvm/migrate one-216
cloud8; else  exit 42; fi'
Sat Oct  8 20:48:57 2011 [VMM][I]: STDERR follows.
Sat Oct  8 20:48:57 2011 [VMM][I]: Warning: Permanently added
'cloud7,192.168.58.7' (RSA) to the list of known hosts.
Sat Oct  8 20:48:57 2011 [VMM][I]: error: cannot recv data: Connection reset
by peer
Sat Oct  8 20:48:57 2011 [VMM][I]: ExitCode: 1
Sat Oct  8 20:48:57 2011 [VMM][E]: Error live-migrating VM, Warning:
Permanently added 'cloud7,192.168.58.7' (RSA) to the list of known hosts.
Sat Oct  8 20:48:58 2011 [LCM][I]: Fail to life migrate VM. Assuming that
the VM is still RUNNING (will poll VM).


Oned.log
Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: LOG - 216 Command
execution fail: 'if [ -x "/var/tmp/one/vmm/kvm/migrate" ]; then
/var/tmp/one/vmm/kvm/migrate one-216 cloud8; else
   exit 42; fi'

Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: LOG - 216 STDERR
follows.

Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: LOG - 216 Warning:
Permanently added 'cloud7,192.168.58.7' (RSA) to the list of known hosts.

Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: LOG - 216 error: cannot
recv data: Connection reset by peer

Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: LOG - 216 ExitCode: 1

Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: MIGRATE FAILURE 216
Warning: Permanently added 'cloud7,192.168.58.7' (RSA) to the list of known
hosts.

Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: error: cannot recv
data: Connection reset by peer

Sat Oct  8 20:48:57 2011 [VMM][D]: Message received: ExitCode: 1
___
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 <http://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 <http://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] OpenNebula Express Install Ubuntu 10.04

2011-09-25 Thread srivatsan jagannathan
Hi Hector,
In Opennebula Express Install,
it has mentioned SSH keys creation.

whether this refers to passwordless SSH ?

Regards,
Srivatsan J.

On Sun, Sep 25, 2011 at 6:35 PM, Héctor Sanjuán wrote:

> Hi you need to set up passwordless ssh access from the frontend to the
> remote hosts before trying to add them.
>
> Hector
>
> El 25/09/11 17:09, srivatsan jagannathan escribió:
> > additional error, in logs
> >
> > Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then
> > /var/tmp/one/im/run_probes kvm 192.168.58.8; else
> >exit 42; fi'
> > Sun Sep 25 18:03:11 2011 [InM][I]: STDERR follows.
> > Sun Sep 25 18:03:11 2011 [InM][I]: Warning: Permanently added
> > '192.168.58.8' (RSA) to the list of known hosts.
> > Sun Sep 25 18:03:11 2011 [InM][I]: Permission denied, please try again.
> > Sun Sep 25 18:03:11 2011 [InM][I]: Permission denied, please try again.
> > Sun Sep 25 18:03:11 2011 [InM][I]: Permission denied
> (publickey,password).
> > Sun Sep 25 18:03:11 2011 [InM][I]: ExitCode: 255
> >
> >
> > On Sun, Sep 25, 2011 at 4:23 PM, srivatsan jagannathan
> > mailto:srivatsa...@gmail.com>> wrote:
> >
> > Opennebula Express Install ubuntu-KVM-NFS
> >
> > when i add host i got these error in oned.log
> >
> > Monitoring host 192.168.58.8  (0)
> > Sun Sep 25 17:17:26 2011 [InM][I]: Command execution fail: scp -r
> > /var/lib/one/remotes/. 192.168.58.8 :/var/tmp/one
> > Sun Sep 25 17:17:26 2011 [InM][I]: STDERR follows.
> > Sun Sep 25 17:17:26 2011 [InM][I]: Warning: Permanently added
> > '192.168.58.8 ' (RSA) to the list of known hosts.
> > Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied, please try
> again.
> > Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied, please try
> again.
> > Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied
> > (publickey,password).
> > Sun Sep 25 17:17:26 2011 [InM][I]: lost connection
> > Sun Sep 25 17:17:26 2011 [InM][I]: ExitCode: 1
> >
> >
> >
> >
> > ___
> > Users mailing list
> > Users@lists.opennebula.org
> > http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>
> --
> Héctor Sanjuán
> OpenNebula Sunstone Developer
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] OpenNebula Express Install Ubuntu 10.04

2011-09-25 Thread srivatsan jagannathan
additional error, in logs

Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then
/var/tmp/one/im/run_probes kvm 192.168.58.8; else
   exit 42; fi'
Sun Sep 25 18:03:11 2011 [InM][I]: STDERR follows.
Sun Sep 25 18:03:11 2011 [InM][I]: Warning: Permanently added '192.168.58.8'
(RSA) to the list of known hosts.
Sun Sep 25 18:03:11 2011 [InM][I]: Permission denied, please try again.
Sun Sep 25 18:03:11 2011 [InM][I]: Permission denied, please try again.
Sun Sep 25 18:03:11 2011 [InM][I]: Permission denied (publickey,password).
Sun Sep 25 18:03:11 2011 [InM][I]: ExitCode: 255


On Sun, Sep 25, 2011 at 4:23 PM, srivatsan jagannathan <
srivatsa...@gmail.com> wrote:

> Opennebula Express Install ubuntu-KVM-NFS
>
> when i add host i got these error in oned.log
>
> Monitoring host 192.168.58.8 (0)
> Sun Sep 25 17:17:26 2011 [InM][I]: Command execution fail: scp -r
> /var/lib/one/remotes/. 192.168.58.8:/var/tmp/one
> Sun Sep 25 17:17:26 2011 [InM][I]: STDERR follows.
> Sun Sep 25 17:17:26 2011 [InM][I]: Warning: Permanently added '
> 192.168.58.8' (RSA) to the list of known hosts.
> Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied, please try again.
> Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied, please try again.
> Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied (publickey,password).
> Sun Sep 25 17:17:26 2011 [InM][I]: lost connection
> Sun Sep 25 17:17:26 2011 [InM][I]: ExitCode: 1
>
>
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula Express Install Ubuntu 10.04

2011-09-25 Thread srivatsan jagannathan
Opennebula Express Install ubuntu-KVM-NFS

when i add host i got these error in oned.log

Monitoring host 192.168.58.8 (0)
Sun Sep 25 17:17:26 2011 [InM][I]: Command execution fail: scp -r
/var/lib/one/remotes/. 192.168.58.8:/var/tmp/one
Sun Sep 25 17:17:26 2011 [InM][I]: STDERR follows.
Sun Sep 25 17:17:26 2011 [InM][I]: Warning: Permanently added '192.168.58.8'
(RSA) to the list of known hosts.
Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied, please try again.
Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied, please try again.
Sun Sep 25 17:17:26 2011 [InM][I]: Permission denied (publickey,password).
Sun Sep 25 17:17:26 2011 [InM][I]: lost connection
Sun Sep 25 17:17:26 2011 [InM][I]: ExitCode: 1
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] OpenNebula Express Install

2011-09-22 Thread srivatsan jagannathan
Hi all,

No error in install.log (front end and 2 nodes)

but,

onehost list
  ID NAME  CLUSTER  RVM   TCPU   FCPU   ACPUTMEMFMEM
STAT
   3 cloud8default0  0  0100  0K  0K
on
   5 cloud7default0  0  0100  0K  0K
on



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


Re: [one-users] REG: onevnet list

2011-09-22 Thread srivatsan jagannathan
Hi Fabian,

Having same problem with this configuration also,
NAME   = "test150"
TYPE   = FIXED
BRIDGE = eth1
LEASES = [IP=192.168.58.150]

OUTPUT
onevnet show 108
VIRTUAL NETWORK 108 INFORMATION
ID:   : 108
UID:  : 0
PUBLIC: N

VIRTUAL NETWORK TEMPLATE
BRIDGE=eth1
LEASES=[ IP=192.168.58.150 ]
NAME=test150
TYPE=FIXED

LEASES INFORMATION
LEASE=[ IP=192.168.58.100, MAC=02:00:c0:a8:3a:64, USED=0, VID=-1 ]
LEASE=[ IP=192.168.58.150, MAC=02:00:c0:a8:3a:96, USED=0, VID=-1 ]


onevnet list
  ID USER NAME  TYPE BRIDGE P #LEASES



log file oned.log
Thu Sep 22 10:06:10 2011 [InM][I]: --Mark--
Thu Sep 22 10:06:10 2011 [VMM][I]: --Mark--
Thu Sep 22 10:06:10 2011 [InM][I]: Monitoring host cloud7 (19)
Thu Sep 22 10:06:14 2011 [InM][D]: Host 19 successfully monitored.
Thu Sep 22 10:06:39 2011 [ReM][D]: HostPoolInfo method invoked
Thu Sep 22 10:06:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Sep 22 10:07:09 2011 [ReM][D]: HostPoolInfo method invoked
Thu Sep 22 10:07:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Sep 22 10:07:21 2011 [ReM][D]: VirtualNetworkAllocate method invoked
Thu Sep 22 10:07:27 2011 [ReM][D]: VirtualNetworkPoolInfo method invoked
Thu Sep 22 10:07:39 2011 [ReM][D]: HostPoolInfo method invoked
Thu Sep 22 10:07:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked


Hi Fabian,
>
> OpenNebula Set up, 1 main server (without virtual bridge), 2 node server
> (with bridge name virbr0)
>
> Main server where i can perform one(host/vm/image/vnet) doesn't configured
> as bridge
>
> but the 2 node server has bridge name virbr0
>
> added oned.log
> Thu Sep 22 09:54:39 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:54:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:55:09 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:55:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:55:39 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:55:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:55:55 2011 [InM][I]: Monitoring host cloud7 (19)
> Thu Sep 22 09:55:59 2011 [InM][D]: Host 19 successfully monitored.
> Thu Sep 22 09:56:09 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:56:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:56:10 2011 [InM][I]: --Mark--
> Thu Sep 22 09:56:10 2011 [VMM][I]: --Mark--
> Thu Sep 22 09:56:39 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:56:39 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
> Thu Sep 22 09:57:09 2011 [ReM][D]: HostPoolInfo method invoked
> Thu Sep 22 09:57:09 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
>
>
>
>
> Regards,
> Srivatsan J.
>

On Wed, Sep 21, 2011 at 6:33 PM, Fabian Wenk  wrote:

> Hello Srivatsan
>
>
> On 20.09.11 12:06, srivatsan jagannathan wrote:
>
>> 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.)
>>
>
> somehow strange, did you see any errors in the log files?
>
>
>  #Now we'll use the cluster private network (physical)
>> BRIDGE = virbr0
>>
>
> Does the interface virbr0 exist? Is it really a bridge interface? You can
> check with 'brctl show'.
>
>
> bye
> Fabian
> __**_
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/**listinfo.cgi/users-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 <http://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 <http://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 <http://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: onehost JAVA API

2011-09-20 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: onevnet list

2011-09-20 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


[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