[one-users] onevm saveas error

2011-09-20 Thread bala suru
Hi,

I have used a some simple way to copy the image running Vm image(insted of
onevm saveas) ,
1. I did some modification over the running image(creating some files)
2. issued onevm suspend
3. copied var/images/  file of the running image
4. Registered the above copied image as a new image
5 . launched the new VM using above image

But I could not see any modified files on this VM ,,?

Are the steps which I followed are correct ..?

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


[one-users] XML-RPC API 2.2 - Session string when ssh authentication

2011-09-20 Thread Javier Diaz

Hi,
I am using OpenNebula 2.2 and I have a program that interact with it 
using the XML-RPC API for python. The authentication in OpenNebula has 
been configured to use the ssh keys.


I can interact with OpenNebula using the oneadmin user with a session 
string like :. However, when I try to do the 
same for a normal user : it does not 
work. I have tried different session string but I didn't find the right 
one. So, what is the structure of the session string that I need to use?


Thanks in advance.

Regards,
Javi

--
+-+
Dr. Javier Diaz
Post Doctoral Fellow
Pervasive Technology Institute
Indiana University
2719 East Tenth Street, Bloomington, IN 47408, USA
e-mail: javid...@indiana.edu
+-+

___
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


Re: [one-users] (no subject)

2011-09-20 Thread knawnd

Hi,

Humberto N. Castejon Martinez wrote on 20/09/11 17:17:

Hi,

I am running Opennebula 2.1.8. When specifying the context for a VM, if
I specify a URL in the "files" attribute, the contextualization fails.
Consider, for example, the following context:

CONTEXT=[ files="http://domain.com/test.xml"; ]

When I try to create the VM with such context, I get the following error
message:

tm_context.sh: Executed "mkdir -p /srv/cloud/one/var//106/images/isofiles".
tm_context.sh: Executed "cp -R /srv/cloud/one/var/106/context.sh
/srv/cloud/one/var//106/images/isofiles".
tm_context.sh: ERROR: Command "/usr/bin/wget -O
/srv/cloud/one/var//106/images/isofiles http://domain.com/test.xml"; failed.
as far as I understand the file (http://domain.com/test.xml) needs to be 
put into isofiles dir ( /srv/cloud/one/var//106/images/isofiles) whereas 
-O option for wget means that file has to be saved as one specified in 
argument of -O option.

I would try to replace -O option of wget command in line
exec_and_log "$WGET -O $ISO_DIR $f"

of  $ONE_LOCATION/lib/tm_commands//tm_context.sh file by -P 
option i.e.


exec_and_log "$WGET -P $ISO_DIR $f"

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


[one-users] (no subject)

2011-09-20 Thread Humberto N. Castejon Martinez
Hi,

I am running Opennebula 2.1.8. When specifying the context for a VM, if I
specify a URL in the "files" attribute, the contextualization fails.
Consider, for example, the following context:

CONTEXT=[ files="http://domain.com/test.xml"; ]

When I try to create the VM with such context, I get the following error
message:

tm_context.sh: Executed "mkdir -p /srv/cloud/one/var//106/images/isofiles".
tm_context.sh: Executed "cp -R /srv/cloud/one/var/106/context.sh
/srv/cloud/one/var//106/images/isofiles".
tm_context.sh: ERROR: Command "/usr/bin/wget -O
/srv/cloud/one/var//106/images/isofiles http://domain.com/test.xml"; failed.
tm_context.sh: ERROR: /srv/cloud/one/var//106/images/isofiles: Is a
directory

Error excuting image transfer script:
/srv/cloud/one/var//106/images/isofiles: Is a directory
I presume that specifying a URL in the file attribute is allowed, since
Opennebula uses "wget" to fetch the file (otherwise, if a local file is
specified, Opennebula uses "cp" to copy the file to the isofiles directory),
but the command that Opennebula runs is not correct. Is this a bug? Or am I
wrong thinking that a url can be specified?

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


[one-users] New community wiki

2011-09-20 Thread Borja Sotomayor

Hi everyone,

The OpenNebula community wiki has been moved to its own site:

http://wiki.opennebula.org/

If you had an account on the old wiki (under www.opennebula.org), your 
account should still work on the new wiki.


Cheers!
--
Borja Sotomayor

 Researcher, Computation Institute
 Lecturer, Department of Computer Science
 University of Chicago
 http://people.cs.uchicago.edu/~borja/

 Community Manager, OpenNebula project
 http://www.opennebula.org/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] onevm save method error

2011-09-20 Thread bala suru
Hi,
I could not succeed in saving the VM using onevm saveas command .

I tried may of the suggestion provided but still I same error exist .
http://lists.opennebula.org/pipermail/users-opennebula.org/2011-March/004394.html

I can suspend/Resume the VM this and all works fine ,

Hence I wanted to try some different method ..

I need to save modified VMs as new one ->
 here can I do normal copy and save the VM which is running and modified ..?

Can I deploy the new VM using the save Image ..?

regards
___
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] Building the first Cloud

2011-09-20 Thread Valentin Bud
Hello Community,

 I am about to embark in the journey of building the first Private Cloud. At
first it will be tested by the staff and
afterwards it will be deployed in production. I have read until now quite
some documentation about Cloud Computing
and I've successfully installed OpenNebula 3.0b2 from source.

 I have looked for information regarding Cloud Architecture and Design and
found out that literature on this subject
is quite scarce. Anyway I have found some presentations from CERN and the
OpenNebula blog post about the CERN Cloud, and
pieces start to fall into place. Great piece of technology this Cloud
Computing paradigm.

 I want to deploy a Private Cloud to automate the deployment of an
application we use for our customers. The application (a database)
uses the hard disk quite a lot to index large amounts of data. So I thought
I would deploy OpenNebula using the LVM storage driver. This way I can
balance the load
among the servers. Maybe in the future when the Cloud will be used at its
full potential and the needs will grow I will switch to NFS
on some decent hardware that can support the intensive read/write
operations. Another argument why I choose LVM is the possibility to
grow the volume and so the filesystem inside the VM in case of need. I need
to test if its possible to do this without shutting down the
database service.

 I don't want to waste your time Gentlemen but being my first try on
building a Cloud I thought I come here and post what I want to do
and receive some feedback from you. I do have some questions though. First
and foremost I come from the BSD world and I can't
say I'm a Linux advanced user and have a favorite distro. So which operating
systems in terms of features (security, networking, ease of administration,
etc) should I choose
to use for this Cloud. I usually choose the one I know best but as I have
mentioned I don't have a Linux operating system I know best.
I am thinking of using CentOS because KVM, which lies at the core of the
Cloud I want to build is actively developed and maintained by RedHat. I
assume
it works best on the operating system these guys develop.

 What other things should I research, what gotchas, what hints do you have
for a Cloud newbie? I want to build Clouds, I really like the concept and
the vision Cloud Computing brings in our times. For this I have to study and
gain experience, I know that. Any kind of thoughts you have
I appreciate them.

Thank you,
v
-- 
network warrior
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org