[one-users] Using Opennebula with a uncommon Xen-configuration

2011-04-12 Thread Andreas
Hi, 

since i hear a  speech from Tino Vazquez on the OSDC in Germany (which was 
really good), im very interested in opennebula. 
After reading documentation und testing some parts there seems to be a problem 
with our uncommon Xen-configuration.

We have no central storage for the images. The images are copied over ssh to 
the hosts (Dom0).
Our DomUs based on LVM-partitions, which are directly mounted in the DomU. 
They appear as a partition and not as a disk in the DomU.  
The disk configuration for a DomU is like following:

 'phy:/dev/system/helios-1_root,hda1,w'

To save a DomU we mount the LVM-Partition in the Dom0 and make a tar-archive 
of the files and directories in the partition. A copy of the kernel and the 
initrd  is provided in the Dom0 to start the DomU with the Xen-bootloader.

Does support Opennebula such a type of configuration and if not, how difficult 
it is to adjust it? Where i must start, if i want integrate these 
configuration?


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


[one-users] sunstone auth problem

2011-04-12 Thread Robert Parrott
Hi,

Trying to test out OpenNebula with sunstone, and am unable to
authorize through sunstone. A little debugging shows that calling the
UserPool method for the user returns an empty password hash.

I see in the logs that oned reports that a method is executed:

   Tue Apr 12 23:41:25 2011 [ReM][D]: UserPoolInfo method invoked

but the call returns "nil" in the sunstone code.

I can otherwise authenticate from the command ,ine using the typical
~/.one/one_auth file.

Any thoughts about what to look for to resolve this?


Thanks,
rob



-- 
Robert E. Parrott, Ph.D. (Phys. '06)
Director, Academic and Research Computing
Harvard University Sch. of Eng. and App. Sci.
Maxwell-Dworkin  211,
33 Oxford St.
Cambridge, MA 02138
(617)-496-1520
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] apache for a ssl proxy with econe

2011-04-12 Thread Steven Timm

Hi Sebastien--we have this working with pre-release
opennebula 2.2 at Fermilab and have contributed our
patches back to the trunk.  We've confirmed
that we can still use hybridfox to talk to the resulting combo.

More details contact us offline.

Steve





On Tue, 12 Apr 2011, sebastien goasguen wrote:


Hi,

In http://www.opennebula.org/documentation:rel2.2:ec2qcg
lighthttp is used to create a SSL proxy for the econe server.

Has anyone setup apache to do the same ?
I am looking for some documentation on how to do a SSL proxy to econe
with apache.

Any help much appreciated,

-sebastien




--
--
Steven C. Timm, Ph.D  (630) 840-8525
t...@fnal.gov  http://home.fnal.gov/~timm/
Fermilab Computing Division, Scientific Computing Facilities,
Grid Facilities Department, FermiGrid Services Group, Group Leader.
Lead of FermiCloud project.
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] apache for a ssl proxy with econe

2011-04-12 Thread sebastien goasguen
Hi,

In http://www.opennebula.org/documentation:rel2.2:ec2qcg
lighthttp is used to create a SSL proxy for the econe server.

Has anyone setup apache to do the same ?
I am looking for some documentation on how to do a SSL proxy to econe
with apache.

Any help much appreciated,

-sebastien

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Can't restart or resume VM when VM is in save status. And MEMORY = 0 when VM is running .

2011-04-12 Thread Khoa Nguyen
Hj.

According your help, I try to do but something is wrong. When i type "onevm
stop id". VM alway is save state.
It don't change from saving to stopping.

Thu Apr 14 14:51:11 2011 [DiM][I]: New VM state is ACTIVE.
Thu Apr 14 14:51:11 2011 [LCM][I]: New VM state is PROLOG.
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh:
oneadmin-desktop:/srv/cloud/images/ttylinux/ttylinux.img 172.29.70.137:
/srv/cloud/one/var//98/images/disk.0
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: DST:
/srv/cloud/one/var//98/images/disk.0
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Creating directory
/srv/cloud/one/var//98/images
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p
/srv/cloud/one/var//98/images".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w
/srv/cloud/one/var//98/images".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Cloning
/srv/cloud/images/ttylinux/ttylinux.img
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed "cp -r
/srv/cloud/images/ttylinux/ttylinux.img
/srv/cloud/one/var//98/images/disk.0".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw
/srv/cloud/one/var//98/images/disk.0".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed "mkdir -p
/srv/cloud/one/var//98/images/isofiles".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed "cp -R
/srv/cloud/one/var/98/context.sh /srv/cloud/one/var//98/images/isofiles".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed "cp -R
/srv/cloud/images/ttylinux/init.sh /srv/cloud/one/var//98/images/isofiles".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed "cp -R
/srv/cloud/one/.ssh/id_rsa.pub /srv/cloud/one/var//98/images/isofiles".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed "/usr/bin/mkisofs
-o /srv/cloud/one/var//98/images/disk.1 -J -R
/srv/cloud/one/var//98/images/isofiles".
Thu Apr 14 14:51:12 2011 [TM][I]: tm_context.sh: Executed "rm -rf
/srv/cloud/one/var//98/images/isofiles".
Thu Apr 14 14:51:12 2011 [LCM][I]: New VM state is BOOT
Thu Apr 14 14:51:12 2011 [VMM][I]: Generating deployment file:
/srv/cloud/one/var/98/deployment.0
Thu Apr 14 14:51:13 2011 [LCM][I]: New VM state is RUNNING
Thu Apr 14 14:51:22 2011 [LCM][I]: New VM state is SAVE_STOP

Then , i type "onevm resume id"

Thu Apr 14 15:03:16 2011 [ReM][D]: VirtualMachinePoolInfo method invoked
Thu Apr 14 15:03:21 2011 [ReM][D]: VirtualMachineAction invoked
Thu Apr 14 15:03:21 2011 [DiM][D]: Resuming VM 98
Thu Apr 14 15:03:21 2011 [DiM][E]: Could not resume VM 98, wrong state.
Thu Apr 14 15:03:21 2011 [ReM][E]: Wrong state to perform action

What 's your idea?

2011/4/9 Prakhar Srivastava 

> Hi,
> If by saving you intend to 'resume' that VM at a later point in time,your
> steps are correct.
>
> Regards,
> Prakhar
>
> 2011/4/8 Khoa Nguyen 
>
>>
>> Hi Prakhar Srivastava
>> Thank you for your reply. If i want to save a VM .
>> 1. onevm stop id
>> 2. Wait until changing from saving to stopping state.
>> 3. onevm resume id.
>>
>> Is that right?
>>
>>
>>
>> 2011/4/8 Prakhar Srivastava 
>>
>>> Hi Khoa
>>> As already stated by Carlos, the save state is an intermediate state in
>>> which the running VM image is saved to the disk. This might take a little
>>> time and in the the mean time, the VM state is save (means it is saving the
>>> image so that it can be resumed from the state at which it was stopped). You
>>> cannot perform resume  at save (saving...)  state. It will always give an
>>> error. Once the VMs image is saved completely, the state changes to stop
>>> (means the VM is stopped). You can only resume a VM from a stopped or
>>> suspended state. So if you are not getting to 'stop' state, please check
>>> your vm.log file for any error. You can find the log file in
>>> /var/log//vm.log. Do post back the logs in case you find it cryptic
>>> !!!
>>>
>>> Regards,
>>> Prakhar
>>>
>>>
>>> 2011/4/8 Khoa Nguyen 
>>>
 Hi Carlos Martín Sánchez

 When the VM is in save status, How to change from saving  to running
 status?
 I try to enable VM , but it display Erros: wrong state.
 I can't solve problem.




 2011/4/5 Carlos Martín Sánchez 

> Hi there,
>
> If you take a look at the Virtual Machine Life-cycle diagram [1], the
> 'save' state is a intermediate state, and the VM should end in either the
> 'suspended' or 'stopped' state. If the VM is stuck in 'save', you may find
> some error messages in oned.log or the VM's log (in /vm.log).
>
> About #2, it may be a monitorization problem. Can you check using virsh
> or xentop the actual memory consumption?
>
> Best regards,
> Carlos.
>
> [1]
> http://opennebula.org/documentation:rel2.2:vm_guide#virtual_machine_life-cycle
>
> --
> Carlos Martín, MSc
> Project Major Contributor
> OpenNebula - The Open Source Toolkit for Cloud Computing
> www.OpenNebula.org  | cmartin@opennebula
> .org
>
>
> On 17 

Re: [one-users] econe vm templates

2011-04-12 Thread sebastien goasguen
Thanks a lot Daniel, I had not realized this was a client side issue.
It makes sense,

-sebastien

On Tue, Apr 12, 2011 at 5:12 PM, Daniel Molina  wrote:
> Hi,
>
> There is no problem on the econe server side, you can define as many
> types as you want and name them as you want, the server will handle
> it. The problem is in the client side, for example the econe client
> uses the amazon-ec2 gem where you can find the following code snippet:
>
> raise ArgumentError, ":instance_type must specify a valid instance
> type" unless optio
> ns[:instance_type].nil? || ["t1.micro", "m1.small", "m1.large",
> "m1.xlarge", "m2.xlarge", "c1.medium", "c1.xlarge", "m2.2xlarge",
> "m2.4xlarge", "cc1.4xlarge"].include?(options[:instance_
> type])
>
> therefore you will have to use one of those names or modify the gem
> source. I think that other client utilities have the same restriction.
>
> Regards.
>
>
> On 12 April 2011 18:08, sebastien goasguen  wrote:
>> Hi,
>>
>> When configuring econe.conf we specifiy the possible instance types:
>>
>> # VM types allowed and its template file (inside templates directory)
>> VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
>> VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb]
>>
>> Is it possible to use any naming convention for the templates or are
>> we limited to the same as EC2 ?
>>
>> for example can I write something like this in econe.conf:
>>
>> VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb]
>>
>> Which will let users do:
>>
>> econe-run-instances -t medium.onecore
>>
>> thanks ?
>>
>> --
>> ---
>> Sebastien Goasguen, Associate Professor
>> School of Computing
>> Clemson University
>> 864-553-4734.
>> Google Voice: (864)-869-8683
>> http://sites.google.com/site/runseb/
>> ___
>> Users mailing list
>> Users@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 | dmol...@opennebula.org
>



-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Java OCA: poor choice of Exception class

2011-04-12 Thread Carsten.Friedrich
Some time ago I wrote a Java OCA client library based on JAXB bindings and 
posted it to this group. Have a look in the achieve and see if that suits you 
better than the stock version. It's not complete as I had to 
reverse-engineer/guess the XSD from XML output and mostly focus on part I 
actually use. There is an updated version I can probably make available if 
there is interest.

Carsten


Carsten Friedrich
Research Team leader
ICT Centre, GPO Box 664,Canberra, ACT 2601
Phone: +61 2 6216 7019 
Email: carsten.friedr...@csiro.au
Web:   http://www.csiro.au/org/ICT.html


-Original Message-
From: users-boun...@lists.opennebula.org 
[mailto:users-boun...@lists.opennebula.org] On Behalf Of Gian Uberto Lauri
Sent: Tuesday, 12 April 2011 3:30
To: Carlos Martín Sánchez
Cc: users@lists.opennebula.org
Subject: Re: [one-users] Java OCA: poor choiche of Exception class

> "CMS" == Carlos Martín Sánchez  writes:

CMS> Hi Gian Uberto, Thank you for your feedback. As you may know, we
CMS> use mainly our Ruby bindings for external tools and extensions,
CMS> so these comments about the Java API are very welcome.  Please
CMS> feel free to open a ticket in our development portal [1], along
CMS> with any other comments, suggestions or patches.

Ticket #572  has been created.  There are two  version of the  Error I
add. The  firs one uses  java.lang.Error that is more  appropriate but
breaks the  legacy code. A  second version  does not change  the class
name (is  an Error after  all) but extends RuntimeException  since you
should  not write  a  catch  code for  it,  you  should provide  valid
resources for the program to run correctly.

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Laboratorio Ricerca e Sviluppo / Research & Development Lab.
Area Calcolo Distribuito / Distributed Computation Area

gianuberto.la...@eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs 

http://www.eng.it |  ioccc best One Liner, 1987 

___
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] econe vm templates

2011-04-12 Thread Daniel Molina
Hi,

There is no problem on the econe server side, you can define as many
types as you want and name them as you want, the server will handle
it. The problem is in the client side, for example the econe client
uses the amazon-ec2 gem where you can find the following code snippet:

raise ArgumentError, ":instance_type must specify a valid instance
type" unless optio
ns[:instance_type].nil? || ["t1.micro", "m1.small", "m1.large",
"m1.xlarge", "m2.xlarge", "c1.medium", "c1.xlarge", "m2.2xlarge",
"m2.4xlarge", "cc1.4xlarge"].include?(options[:instance_
type])

therefore you will have to use one of those names or modify the gem
source. I think that other client utilities have the same restriction.

Regards.


On 12 April 2011 18:08, sebastien goasguen  wrote:
> Hi,
>
> When configuring econe.conf we specifiy the possible instance types:
>
> # VM types allowed and its template file (inside templates directory)
> VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
> VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb]
>
> Is it possible to use any naming convention for the templates or are
> we limited to the same as EC2 ?
>
> for example can I write something like this in econe.conf:
>
> VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb]
>
> Which will let users do:
>
> econe-run-instances -t medium.onecore
>
> thanks ?
>
> --
> ---
> Sebastien Goasguen, Associate Professor
> School of Computing
> Clemson University
> 864-553-4734.
> Google Voice: (864)-869-8683
> http://sites.google.com/site/runseb/
> ___
> Users mailing list
> Users@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 | dmol...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Problem with ebtables OpenNebula

2011-04-12 Thread Leong Marco
Tino,

I have installed rubygems. However, it is able to run in root, not oneadmin.

Leong Marco
leong.chou@usj.edu.mo



On Apr 12, 2011, at 5:22 PM, Tino Vazquez wrote:

> Hi,
> 
> You need to install the rubygems dependency, the process varies
> depending on the linux distro used.
> 
> Regards,
> 
> -Tino
> 
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
> 
> 
> 
> On Tue, Apr 12, 2011 at 2:17 AM, Leong Marco  
> wrote:
>> [oneadmin@geek ~]$ ruby -dw /usr/lib/one/mads/one_auth_mad.rb
>> Exception `LoadError' at /usr/lib/one/mads/one_auth_mad.rb:33 - no such file
>> to load -- rubygems
>> /usr/lib/one/mads/one_auth_mad.rb:33:in `require': no such file to load --
>> rubygems (LoadError)
>> from /usr/lib/one/mads/one_auth_mad.rb:33
>> here is the output.
>> Leong Marco
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 11:06 PM, Tino Vazquez wrote:
>> 
>> Ok, please try
>> 
>> $ ruby -dw $ONE_LOCATION/lib/mads/one_auth_mad.rb
>> 
>> and send the output
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 4:59 PM, Leong Marco 
>> wrote:
>> 
>> Hi,
>> 
>> It return the shell.
>> 
>> Best regards.
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 10:54 PM, Tino Vazquez wrote:
>> 
>> Hi,
>> 
>> What happens, does it return the shell, or does it wait for input?
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> 
>> Constantino Vázquez Blanco, MSc
>> 
>> OpenNebula Major Contributor
>> 
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 4:49 PM, Leong Marco 
>> 
>> wrote:
>> 
>> Hi Tino,
>> 
>> Thank you for your reply.
>> 
>> This command doesn't produce any output.
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote:
>> 
>> Dear Leong,
>> 
>> Please try the following as oneadmin, and send the output:
>> 
>> # $ONE_LOCATION/lib/mads/one_auth_mad
>> 
>> Regards,
>> 
>> .Tino
>> 
>> 
>> --
>> 
>> Constantino Vázquez Blanco, MSc
>> 
>> OpenNebula Major Contributor
>> 
>> www.OpenNebula.org | @tinova79
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco 
>> 
>> wrote:
>> 
>> Dear Tino,
>> 
>> Yes, I did have this error in the log.
>> 
>> Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> What is the problem happen here? Thank you for your help !
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote:
>> 
>> Dear Leong, Marwen,
>> 
>> If you are experiencing the following in the logs
>> 
>> Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command
>> 
>> it may be due to a missing dependency, we can walk you on finding out which
>> 
>> one.
>> 
>> Otherwise, please say so and we will look at other possible causes.
>> 
>> Regards,
>> 
>> -Tino
>> 
>> --
>> 
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> 
>> Virtualization Technology Engineer / Researcher
>> 
>> OpenNebula Toolkit | opennebula.org
>> 
>> 
>> 
>> On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco 
>> 
>> wrote:
>> 
>> Hi,
>> 
>> I have the same problem as Marwen. With this log message.
>> 
>> Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf
>> 
>> /var/lib/one/2603e38607a144aef3bef07283d77095".
>> 
>> Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
>> 
>> Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file:
>> 
>> /var/lib/one/165/deployment.1
>> 
>> Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
>> 
>> Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully
>> 
>> executed.
>> 
>> However, if I do a list to ebtables, it is empty.
>> 
>> [oneadmin@geek root]$ sudo ebtables --list
>> 
>> Bridge table: filter
>> 
>> Bridge chain: INPUT, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: FORWARD, entries: 0, policy: ACCEPT
>> 
>> Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
>> 
>> When I run some ebtables command like this one, it works
>> 
>> sudo ebtables -A FORWARD -p IPv4 -j ACCEPT
>> 
>> this does add the rules to the table.
>> 
>> What can I provide to help you to debug this problem?
>> 
>> Leong Marco
>> 
>> leong.chou@usj.edu.mo
>> 
>> 
>> On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:
>> 
>> Hi Zaina
>> 
>> Yes I added oneadmin in the sudoers file of the physical host where the VM
>> 
>> is allocated.
>> 
>> And when I create the VM I specify the host where the VM will be allocated.
>> 
>> But the problem is not resolved.
>> 
>> Do you think that we must add this command in sudoers file of all cluster
>> 
>> nodes.
>> 
>> oneadminALL=(ALL) NOPASSWD: /sbin/ebtables *
>> 
>> Best regards
>> 
>> Marwen
>> 
>> From: Zaina AFOULKI 
>> 
>> To: users@lists.opennebula.org
>> 
>> Subject: Re: [one-users] Problem with ebtables OpenNebula
>> 
>> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
>

[one-users] how to predeploy image

2011-04-12 Thread Łukasz Grabowski
Hi,

I am using OpenNebula 1.4 and Haizea 1.0. I want to predeploy an image so
that the VM could start at the scheduled by haizea time.
How can I predeploy a VM's image? I would appreciate clarification.

I had several ideas how to make it work but I didn't succeed.
1. I tried to copy a prepared image to the default directory
(/var/lib/one//images/) in which it should be stored when a new VM is
created.
2. Then I tried to do the same and to create transfer.0.prolog file (after
reading one of the generated by opennebula) but it didn't work.
3. I tried even set the source in DISK section in VM template to the copied
file in the destination.
However, everytime I can see in VM log, that the image is copied.

I am enclosing VM log and VM template
Tue Apr 12 19:46:59 2011 [DiM][I]: New VM state is ACTIVE.
Tue Apr 12 19:46:59 2011 [LCM][I]: New VM state is PROLOG.
Tue Apr 12 19:48:44 2011 [TM][I]: tm_clone.sh:
debian:/var/lib/one/50/images/disk.0 194.29.169.42:
/var/lib/one//50/images/disk.0
Tue Apr 12 19:48:44 2011 [TM][I]: tm_clone.sh: DST:
/var/lib/one//50/images/disk.0
Tue Apr 12 19:48:44 2011 [TM][I]: tm_clone.sh: Creating directory
/var/lib/one//50/images
Tue Apr 12 19:48:44 2011 [TM][I]: tm_clone.sh: Executed "ssh 194.29.169.42
mkdir -p /var/lib/one//50/images".
Tue Apr 12 19:48:44 2011 [TM][I]: tm_clone.sh: Cloning
debian:/var/lib/one/50/images/disk.0
Tue Apr 12 19:48:44 2011 [TM][I]: tm_clone.sh: Executed "scp
debian:/var/lib/one/50/images/disk.0 194.29.169.42:
/var/lib/one//50/images/disk.0".
Tue Apr 12 19:48:44 2011 [TM][I]: tm_clone.sh: Executed "ssh 194.29.169.42
chmod a+w /var/lib/one//50/images/disk.0".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_mkswap.sh: Creating 1024Mb image in
/var/lib/one//50/images/disk.1
Tue Apr 12 19:48:46 2011 [TM][I]: tm_mkswap.sh: Executed "ssh 194.29.169.42
mkdir -p /var/lib/one//50/images".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_mkswap.sh: Executed "ssh 194.29.169.42
dd if=/dev/zero of=/var/lib/one//50/images/disk.1 bs=1 count=1 seek=1024M".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_mkswap.sh: Initializing swap space
Tue Apr 12 19:48:46 2011 [TM][I]: tm_mkswap.sh: Executed "ssh 194.29.169.42
/sbin/mkswap /var/lib/one//50/images/disk.1".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_mkswap.sh: Executed "ssh 194.29.169.42
chmod a+w /var/lib/one//50/images/disk.1".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_context.sh: Executed "mkdir -p
/var/c8f990f3e542b79b3bb691c6c20a2684/isofiles".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_context.sh: Executed "cp -R
/var/lib/one/50/context.sh /var/c8f990f3e542b79b3bb691c6c20a2684/isofiles".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_context.sh: Executed "cp -R
/srv/cloud/vm_contextualization/id_rsa.pub
/var/c8f990f3e542b79b3bb691c6c20a2684/isofiles".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_context.sh: Executed "cp -R
/srv/cloud/vm_contextualization/init.sh
/var/c8f990f3e542b79b3bb691c6c20a2684/isofiles".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_context.sh: Executed "mkisofs -o
/var/c8f990f3e542b79b3bb691c6c20a2684/disk.2 -J -R
/var/c8f990f3e542b79b3bb691c6c20a2684/isofiles".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_context.sh: Executed "scp
/var/c8f990f3e542b79b3bb691c6c20a2684/disk.2 194.29.169.42:
/var/lib/one//50/images/disk.2".
Tue Apr 12 19:48:46 2011 [TM][I]: tm_context.sh: Executed "rm -rf
/var/c8f990f3e542b79b3bb691c6c20a2684".
Tue Apr 12 19:48:46 2011 [LCM][I]: New VM state is BOOT
Tue Apr 12 19:48:46 2011 [VMM][I]: Generating deployment file:
/var/lib/one/50/deployment.0
Tue Apr 12 19:48:52 2011 [LCM][I]: New VM state is RUNNING
Tue Apr 12 19:48:59 2011 [LCM][I]: New VM state is SHUTDOWN
Tue Apr 12 19:49:05 2011 [LCM][I]: New VM state is EPILOG
Tue Apr 12 19:49:07 2011 [TM][I]: tm_delete.sh: Deleting
/var/lib/one//50/images
Tue Apr 12 19:49:07 2011 [TM][I]: tm_delete.sh: Executed "ssh 194.29.169.42
rm -rf /var/lib/one//50/images".
Tue Apr 12 19:49:07 2011 [DiM][I]: New VM state is DONE




VM template
---
NAME = debian-context

CPU= 1
MEMORY = 512

# --- kernel & boot device ---

OS = [
  kernel   = "/boot/vmlinuz-2.6.32-5-xen-amd64",
  initrd   = "/boot/initrd.img-2.6.32-5-xen-amd64",
  root = "xvda2" ]

DISK = [
  source   = "/var/lib/one/50/images/disk.0",
  target   = "xvda2",
  readonly = "no" ]

DISK = [
  type = swap,
  size = 1024,
  readonly = "no",
  target = "xvda1" ]

NIC=[network="private"]

HAIZEA = [ start = "+00:01:10",
duration = "00:02:00",
preemptible = "no" ]
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Opennebula Deltacloud Adaptor

2011-04-12 Thread Daniel Molina
Hi,

The Deltacloud Adaptor was developed on OpenNebula 1,4 and
deltacloud-core (0.0.1), but it should not be difficult to update it
to the last versions.

Regards.

On 12 April 2011 00:32, Sebastian Neg  wrote:
> Hi,I installed Opennebula 2.2 on CentOS.
> Deltacloud Adaptor is it functional with this version?
> Thanks
> ___
> Users mailing list
> Users@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 | dmol...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] econe vm templates

2011-04-12 Thread sebastien goasguen
Hi,

When configuring econe.conf we specifiy the possible instance types:

# VM types allowed and its template file (inside templates directory)
VM_TYPE=[NAME=m1.small, TEMPLATE=m1.small.erb]
VM_TYPE=[NAME=m1.medium, TEMPLATE=m1.medium.erb]

Is it possible to use any naming convention for the templates or are
we limited to the same as EC2 ?

for example can I write something like this in econe.conf:

VM_TYPE=[NAME=medium.onecore, TEMPLATE=medium.onecore.erb]

Which will let users do:

econe-run-instances -t medium.onecore

thanks ?

-- 
---
Sebastien Goasguen, Associate Professor
School of Computing
Clemson University
864-553-4734.
Google Voice: (864)-869-8683
http://sites.google.com/site/runseb/
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Host hooks aren't triggered

2011-04-12 Thread Tino Vazquez
Hi,

Just to confirm, are you running "oned" as root or as oneadmin?

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Tue, Apr 12, 2011 at 3:19 PM, Zaina AFOULKI
 wrote:
> Hi,
>
> I have two VMs running with onevm list. But after I added the lines you
> indicated at the end of the file I get:
>
> OpenNebula vms info return code
> nil
>
> Not sure what's wrong here...
> Thanks a lot for your help Tino.
>
> --
> Zaina
>
> On Tue, 12 Apr 2011 13:44:30 +0200, Tino Vazquez wrote:
>>
>> Hi Zaina,
>>
>> Let's see why the "vms.info" is failing, please add the following to
>> the file:
>>
>> --
>> rc = vms.info
>>
>> my_file.puts "OpenNebula vms info return code"
>> my_file.puts rc
>> --
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>>
>>
>>
>> On Tue, Apr 12, 2011 at 1:36 PM, Zaina AFOULKI
>>  wrote:
>>>
>>> Hi Tino,
>>>
>>> this is the output of "onevm list"
>>>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>>>  3362   orange orange-a runn   0      0K           node2 00 00:06:53
>>>  3363   orange orange-a runn   0      0K           node2 00 00:06:53
>>>
>>> The output in /tmp/remove_me.txt is still 
>>>
>>> Thanks,
>>>
>>> --
>>> Zaina
>>>
>>> On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote:

 Hi,

 So it seems like the retrieved collection of VMs is null, and that is
 why no VM is scheduled. What is the output of "onevm list"? Running as
 oneadmin.

 Regards,

 -Tino

 --
 Constantino Vázquez Blanco, MSc
 OpenNebula Major Contributor
 www.OpenNebula.org | @tinova79



 On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI
  wrote:
>
> Hi Tino,
>
> Yes, I'm attaching the ruby file...
>
> Thanks,
>
> Zaina
>
> On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote:
>>
>> Hi Zaina,
>>
>> Is that after the "vms.info" line?
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> Virtualization Technology Engineer / Researcher
>> OpenNebula Toolkit | opennebula.org
>>
>>
>>
>> On Sat, Apr 2, 2011 at 12:22 PM, Zaina AFOULKI
>>  wrote:
>>>
>>> Hi Tino,
>>>
>>> I changed as you advised and it prints:
>>> 
>>>
>>>
>>> On Fri, 1 Apr 2011 18:06:57 +0200, Tino Vazquez wrote:

 Hi,

 Everything seems alright, except for the xpath expression returned
 nil
 object. So please let's try debugging the vms fetched:

 ---
 class OpenNebula::VirtualMachinePool
  attr_reader :xml
 end

 my_file.puts vms.xml
 ---

 Regards,

 -Tino

 --
 Constantino Vázquez Blanco | dsa-research.org/tinova
 Virtualization Technology Engineer / Researcher
 OpenNebula Toolkit | opennebula.org



 On Fri, Apr 1, 2011 at 5:47 PM, Zaina AFOULKI
  wrote:
>
> Hi Tino,
>
> I added the lines as you asked and I get this in the
> /tmp/remove_me.txt
> OpenNebula host  NilClass
> NilClass
>
> $ onehost list -x
> 
>  
>    29
>    node1
>    2
>    im_kvm
>    vmm_kvm
>    tm_nfs
>    1301672703
>    default
>    
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>    
>    
>      29
>      0
>      262144
>      10
>      0
>      2056676
>      200
>      0
>      770956
>      90
>      0
>      1285720
>      109
>      1
>    
>  
>  
>    31
>    node2
>    4
>    im_kvm
>    vmm_kvm
>    tm_nfs
>    1301672409
>    default
>    
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>      
>    
>    
>      31
>      0
>      0
>      0
>      0
>      2056676
>      200
>      0
>      1800824
>      200
>      0
>      255852
>      0
>      0
>    
>  
> 
>
>
>
> $ onevm list -x
>
>

[one-users] ttylinux fails to start

2011-04-12 Thread Mike Putter

Hi,

I followed the example of creating a ttylinux VM.

The VM starts, boots and eventually fails.

The error log reads:

Tue Apr 12 15:02:23 2011 [DiM][I]: New VM state is ACTIVE.
Tue Apr 12 15:02:23 2011 [LCM][I]: New VM state is PROLOG.
Tue Apr 12 15:02:23 2011 [VM][I]: Virtual Machine has no context
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: 
voyager:/srv/cloud/one/one-templates/ttylinux.img 
wws-vmhost01:/srv/cloud/one/var//1/ima

ges/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: DST: 
/srv/cloud/one/var//1/images/disk.0
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Creating directory 
/srv/cloud/one/var//1/images
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "mkdir -p 
/srv/cloud/one/var//1/images".
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "chmod a+w 
/srv/cloud/one/var//1/images".
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Cloning 
/srv/cloud/one/one-templates/ttylinux.img
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "cp -r 
/srv/cloud/one/one-templates/ttylinux.img /srv/cloud/one/var//1/images/d

isk.0".
Tue Apr 12 15:02:24 2011 [TM][I]: tm_clone.sh: Executed "chmod a+rw 
/srv/cloud/one/var//1/images/disk.0".

Tue Apr 12 15:02:26 2011 [LCM][I]: New VM state is BOOT
Tue Apr 12 15:02:26 2011 [VMM][I]: Generating deployment file: 
/srv/cloud/one/var/1/deployment.0
Tue Apr 12 15:02:58 2011 [VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/kvm/deploy" ]; then /var/tmp/one/vmm/kvm/deploy /
srv/cloud/one/var//1/images/deployment.0; 
else  exit 42; fi'

Tue Apr 12 15:02:58 2011 [VMM][I]: STDERR follows.
Tue Apr 12 15:02:58 2011 [VMM][I]: error: Failed to create domain from 
/srv/cloud/one/var//1/images/deployment.0
Tue Apr 12 15:02:58 2011 [VMM][I]: error: monitor socket did not show 
up.: Connection refused

Tue Apr 12 15:02:58 2011 [VMM][I]: ExitCode: 255
Tue Apr 12 15:02:58 2011 [VMM][E]: Error deploying virtual machine: 
error: Failed to create domain from /srv/cloud/one/var//1/images/de

ployment.0
Tue Apr 12 15:02:58 2011 [DiM][I]: New VM state is FAILED
Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: 
Deleting /srv/cloud/one/var//1/images


Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: LOG - 1 tm_delete.sh: 
Executed "rm -rf /srv/cloud/one/var//1/images".


Tue Apr 12 15:02:58 2011 [TM][W]: Ignored: TRANSFER SUCCESS 1 -

Tue Apr 12 15:16:36 2011 [DiM][I]: New VM state is DONE.



I restarted the host machine before deployment of the VM, so VM services 
should be initiated.


BTW: I found out that the host CPU has no support for the virtualization 
instruction set required by KVM. Can it be the cause of the above 
failure ? Or should KVM revert automatically to another state to 
continue deployment ?


I'm glad to provide more output from logs if necessary.



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


Re: [one-users] Host hooks aren't triggered

2011-04-12 Thread Zaina AFOULKI

Hi,

I have two VMs running with onevm list. But after I added the lines you 
indicated at the end of the file I get:


OpenNebula vms info return code
nil

Not sure what's wrong here...
Thanks a lot for your help Tino.

--
Zaina

On Tue, 12 Apr 2011 13:44:30 +0200, Tino Vazquez wrote:

Hi Zaina,

Let's see why the "vms.info" is failing, please add the following to
the file:

--
rc = vms.info

my_file.puts "OpenNebula vms info return code"
my_file.puts rc
--

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Tue, Apr 12, 2011 at 1:36 PM, Zaina AFOULKI
 wrote:

Hi Tino,

this is the output of "onevm list"
  ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
 3362   orange orange-a runn   0      0K           node2 00 00:06:53
 3363   orange orange-a runn   0      0K           node2 00 00:06:53

The output in /tmp/remove_me.txt is still 

Thanks,

--
Zaina

On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote:


Hi,

So it seems like the retrieved collection of VMs is null, and that 
is
why no VM is scheduled. What is the output of "onevm list"? Running 
as

oneadmin.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI
 wrote:


Hi Tino,

Yes, I'm attaching the ruby file...

Thanks,

Zaina

On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote:


Hi Zaina,

Is that after the "vms.info" line?

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Sat, Apr 2, 2011 at 12:22 PM, Zaina AFOULKI
 wrote:


Hi Tino,

I changed as you advised and it prints:



On Fri, 1 Apr 2011 18:06:57 +0200, Tino Vazquez wrote:


Hi,

Everything seems alright, except for the xpath expression 
returned nil

object. So please let's try debugging the vms fetched:

---
class OpenNebula::VirtualMachinePool
 attr_reader :xml
end

my_file.puts vms.xml
---

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Fri, Apr 1, 2011 at 5:47 PM, Zaina AFOULKI
 wrote:


Hi Tino,

I added the lines as you asked and I get this in the
/tmp/remove_me.txt
OpenNebula host  NilClass
NilClass

$ onehost list -x

 
   29
   node1
   2
   im_kvm
   vmm_kvm
   tm_nfs
   1301672703
   default
   
     
     
     
     
     
     
     
     
     
     
     
     
     
   
   
     29
     0
     262144
     10
     0
     2056676
     200
     0
     770956
     90
     0
     1285720
     109
     1
   
 
 
   31
   node2
   4
   im_kvm
   vmm_kvm
   tm_nfs
   1301672409
   default
   
     
     
     
     
     
     
     
     
     
     
     
     
     
   
   
     31
     0
     0
     0
     0
     2056676
     200
     0
     1800824
     200
     0
     255852
     0
     0
   
 




$ onevm list -x



 
   3056
   2
   sfr
   sfr-ar
   1301672685
   3
   3
   1301672613
   0
   one-3056
   0
   0
   0
   0
   0
   
     
     
       
       
       
     
     
       
     
     
       
       
       
     
     
     
     
       
       
       
       
       
     
     
       
       
     
     
       
       
     
     
   
   
     0
     node1
     29
     1301672663
     0
     1301672663
     1301672665
     1301672665
     0
     0
     0
     0
   
 
 
   3057
   2
   sfr
   sfr-ar
   1301672685
   3
   3
   1301672614
   0
   one-3057
   0
   0
   0
   0
   0
   
     
     
       
       
       
     
     
       
     
     
       
       
       
     
     
     
     
       
       
       
       
       
     
     
       
       
     
     
       
       
     
     
   
   
     0
     node2
     31
     1301672664
     0
     1301672664
     1301672684
     1301672684
     0
     0
     0
     0
   
 




On Fri, 1 Apr 2011 17:31:44 +0200, Tino Vazquez wrote:


Hi,

Please try the following:

my_file.puts "OpenNebula host  #{vm_ids_array.class}"
my_file.puts vm_ids_array.class

Also, please send the output of

$ onehost list -x
$ onevm list -x

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Fri, Apr 1, 2011 at 5:23 PM, Zaina AFOULKI
 wrote:


Hi Tino,

I added this to the ruby script (I'm new to Ruby, so I'm not 
sure

it's
correct):

my_file.puts "OpenNebula host  #{vm_ids_array.class}"
for item in 0...vm_ids_array.length
       my_file.puts " #{vm_ids_array[item]}";
end

$cat /tmp/remove_me.txt
OpenNebula host has failed 31
NilClass

oned.log:

Fri Apr  1 17:16:36 2011 [HKM][D]: Message received: LOG - 
31

Command
execution fail: /home/oneadmin/one/share/hooks/host_error.rb 
31 -r

y
Fri Apr  1 17:16:36 2011 [HKM][D]: Message received: LOG - 
31

STDERR
follows.
Fri Apr  1 17:1

Re: [one-users] tm_commands for moosefs

2011-04-12 Thread Ignacio M. Llorente
Thanks, it would be an excellent contribution to our ecosystem. We will send
you more details. Cheers

On Thu, Apr 7, 2011 at 11:42 AM, Giovanni Toraldo  wrote:

> Hi,
>
> I'm happily using opennebula 2.2 with MooseFS (http://www.moosefs.org/)
> as backend storage.
>
> I've created a new tm_commands set from tm_ssh to make it working with
> mfs, and using some specific mfs command for speeding up the transfer
> from/to frontend.
>
> It's opennebula interested in integrating third-party transfer managers?
> If so, I'm willing to publish it as feature request on dev.opennebula.org.
>
> Thanks.
>
> --
> Giovanni Toraldo
> http://www.libersoft.it/
>
>
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>
>


-- 
Ignacio M. Llorente, PhD, MBA
Project co-Lead and Director
OpenNebula - The Open Source Toolkit for Cloud Computing
www.OpenNebula.org | imllore...@opennebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] onehost register problem (typo)

2011-04-12 Thread Héctor Sanjuán
El 12/04/11 13:59, Héctor Sanjuán escribió:
> add it to .ssh/authorised_keys.
Sorry, I mispelled it: .ssh/authorized_keys
   ^

-- 
Héctor Sanjuan
OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] onehost register problem

2011-04-12 Thread Héctor Sanjuán
You need passwordless ssh access to the desired host.

To do that you need to use ssh-keygen, copy the generated public key to
the remote host and add it to .ssh/authorised_keys.

Hope it works,

Hector

El 12/04/11 13:49, Marco Mirabile escribió:
> hi 
> 
> I have a problem in registering a host OpenNebula. I would like
> to enter the local host in onehost, but I get
> a message after the inclusion of authentication:
> 
> 
> oneadmin @ mobile: ~ $ The Authenticity of host '127 .0.0.1 (127.0.0.1) 
> 'can
> not beestablished.
> RSA key fingerprint is 16:2 d: 9e: 74: bc: 63: a4: 9d: 6d: 34: dc: 78:2 
> d: ca: 23:7 a.
> Are you sure You want to continue connecting (yes / no)?
> 
> 
> if I choose to continue, the result on the monitor is a column of "y"
> 
> thank you very much
> 
> 
> 
> ___
> Users mailing list
> Users@lists.opennebula.org
> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


-- 
Héctor Sanjuan
OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] onehost register problem

2011-04-12 Thread Marco Mirabile
hi

I have a problem in registering a host OpenNebula. I would like to enter the
 local host in onehost, but I get a message after the inclusion of
authentication:

>
> oneadmin @ mobile: ~ $ The Authenticity of host '127 .0.0.1 (127.0.0.1) 'can
> not beestablished.
> RSA key fingerprint is 16:2 d: 9e: 74: bc: 63: a4: 9d: 6d: 34: dc: 78:2 d:
>  ca: 23:7 a.
> Are you sure You want to continue connecting (yes / no)?


if I choose to continue, the result on the monitor is a column of "y"

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


Re: [one-users] Host hooks aren't triggered

2011-04-12 Thread Tino Vazquez
Hi Zaina,

Let's see why the "vms.info" is failing, please add the following to the file:

--
rc = vms.info

my_file.puts "OpenNebula vms info return code"
my_file.puts rc
--

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Tue, Apr 12, 2011 at 1:36 PM, Zaina AFOULKI
 wrote:
> Hi Tino,
>
> this is the output of "onevm list"
>   ID     USER     NAME STAT CPU     MEM        HOSTNAME        TIME
>  3362   orange orange-a runn   0      0K           node2 00 00:06:53
>  3363   orange orange-a runn   0      0K           node2 00 00:06:53
>
> The output in /tmp/remove_me.txt is still 
>
> Thanks,
>
> --
> Zaina
>
> On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote:
>>
>> Hi,
>>
>> So it seems like the retrieved collection of VMs is null, and that is
>> why no VM is scheduled. What is the output of "onevm list"? Running as
>> oneadmin.
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco, MSc
>> OpenNebula Major Contributor
>> www.OpenNebula.org | @tinova79
>>
>>
>>
>> On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI
>>  wrote:
>>>
>>> Hi Tino,
>>>
>>> Yes, I'm attaching the ruby file...
>>>
>>> Thanks,
>>>
>>> Zaina
>>>
>>> On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote:

 Hi Zaina,

 Is that after the "vms.info" line?

 Regards,

 -Tino

 --
 Constantino Vázquez Blanco | dsa-research.org/tinova
 Virtualization Technology Engineer / Researcher
 OpenNebula Toolkit | opennebula.org



 On Sat, Apr 2, 2011 at 12:22 PM, Zaina AFOULKI
  wrote:
>
> Hi Tino,
>
> I changed as you advised and it prints:
> 
>
>
> On Fri, 1 Apr 2011 18:06:57 +0200, Tino Vazquez wrote:
>>
>> Hi,
>>
>> Everything seems alright, except for the xpath expression returned nil
>> object. So please let's try debugging the vms fetched:
>>
>> ---
>> class OpenNebula::VirtualMachinePool
>>  attr_reader :xml
>> end
>>
>> my_file.puts vms.xml
>> ---
>>
>> Regards,
>>
>> -Tino
>>
>> --
>> Constantino Vázquez Blanco | dsa-research.org/tinova
>> Virtualization Technology Engineer / Researcher
>> OpenNebula Toolkit | opennebula.org
>>
>>
>>
>> On Fri, Apr 1, 2011 at 5:47 PM, Zaina AFOULKI
>>  wrote:
>>>
>>> Hi Tino,
>>>
>>> I added the lines as you asked and I get this in the
>>> /tmp/remove_me.txt
>>> OpenNebula host  NilClass
>>> NilClass
>>>
>>> $ onehost list -x
>>> 
>>>  
>>>    29
>>>    node1
>>>    2
>>>    im_kvm
>>>    vmm_kvm
>>>    tm_nfs
>>>    1301672703
>>>    default
>>>    
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>    
>>>    
>>>      29
>>>      0
>>>      262144
>>>      10
>>>      0
>>>      2056676
>>>      200
>>>      0
>>>      770956
>>>      90
>>>      0
>>>      1285720
>>>      109
>>>      1
>>>    
>>>  
>>>  
>>>    31
>>>    node2
>>>    4
>>>    im_kvm
>>>    vmm_kvm
>>>    tm_nfs
>>>    1301672409
>>>    default
>>>    
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>      
>>>    
>>>    
>>>      31
>>>      0
>>>      0
>>>      0
>>>      0
>>>      2056676
>>>      200
>>>      0
>>>      1800824
>>>      200
>>>      0
>>>      255852
>>>      0
>>>      0
>>>    
>>>  
>>> 
>>>
>>>
>>>
>>> $ onevm list -x
>>>
>>>
>>> 
>>>  
>>>    3056
>>>    2
>>>    sfr
>>>    sfr-ar
>>>    1301672685
>>>    3
>>>    3
>>>    1301672613
>>>    0
>>>    one-3056
>>>    0
>>>    0
>>>    0
>>>    0
>>>    0
>>>    
>>>      
>>>      
>>>        
>>>        
>>>        
>>>      
>>>      
>>>        
>>>      
>>>      
>>>        
>>>        
>>>        
>>>      
>>>      
>>>      
>>>      
>>>        
>>>        
>>>        
>>>        
>>>        
>>>      
>>>      
>>>        
>>>        
>>>      
>>>      
>>>        
>>>        
>>>      
>>>      
>>>    
>>>    
>>>      0
>>>      node1
>>>      29
>>>      1301672663
>>>      0
>>>      1301672663
>>>      1301672665
>>>      1301672665
>>>      0
>>>      0
>>>      0
>>>      0
>>>    
>>>  
>>>  
>>>    3057
>>>    2
>>>    sfr
>>>  

Re: [one-users] Host hooks aren't triggered

2011-04-12 Thread Zaina AFOULKI

Hi Tino,

this is the output of "onevm list"
   ID USER NAME STAT CPU MEMHOSTNAMETIME
 3362   orange orange-a runn   0  0K   node2 00 00:06:53
 3363   orange orange-a runn   0  0K   node2 00 00:06:53

The output in /tmp/remove_me.txt is still 

Thanks,

--
Zaina

On Mon, 11 Apr 2011 17:02:10 +0200, Tino Vazquez wrote:

Hi,

So it seems like the retrieved collection of VMs is null, and that is
why no VM is scheduled. What is the output of "onevm list"? Running 
as

oneadmin.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Tue, Apr 5, 2011 at 8:19 AM, Zaina AFOULKI
 wrote:

Hi Tino,

Yes, I'm attaching the ruby file...

Thanks,

Zaina

On Mon, 4 Apr 2011 15:06:02 +0200, Tino Vazquez wrote:


Hi Zaina,

Is that after the "vms.info" line?

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Sat, Apr 2, 2011 at 12:22 PM, Zaina AFOULKI
 wrote:


Hi Tino,

I changed as you advised and it prints:



On Fri, 1 Apr 2011 18:06:57 +0200, Tino Vazquez wrote:


Hi,

Everything seems alright, except for the xpath expression 
returned nil

object. So please let's try debugging the vms fetched:

---
class OpenNebula::VirtualMachinePool
 attr_reader :xml
end

my_file.puts vms.xml
---

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Fri, Apr 1, 2011 at 5:47 PM, Zaina AFOULKI
 wrote:


Hi Tino,

I added the lines as you asked and I get this in the 
/tmp/remove_me.txt

OpenNebula host  NilClass
NilClass

$ onehost list -x

 
   29
   node1
   2
   im_kvm
   vmm_kvm
   tm_nfs
   1301672703
   default
   
     
     
     
     
     
     
     
     
     
     
     
     
     
   
   
     29
     0
     262144
     10
     0
     2056676
     200
     0
     770956
     90
     0
     1285720
     109
     1
   
 
 
   31
   node2
   4
   im_kvm
   vmm_kvm
   tm_nfs
   1301672409
   default
   
     
     
     
     
     
     
     
     
     
     
     
     
     
   
   
     31
     0
     0
     0
     0
     2056676
     200
     0
     1800824
     200
     0
     255852
     0
     0
   
 




$ onevm list -x



 
   3056
   2
   sfr
   sfr-ar
   1301672685
   3
   3
   1301672613
   0
   one-3056
   0
   0
   0
   0
   0
   
     
     
       
       
       
     
     
       
     
     
       
       
       
     
     
     
     
       
       
       
       
       
     
     
       
       
     
     
       
       
     
     
   
   
     0
     node1
     29
     1301672663
     0
     1301672663
     1301672665
     1301672665
     0
     0
     0
     0
   
 
 
   3057
   2
   sfr
   sfr-ar
   1301672685
   3
   3
   1301672614
   0
   one-3057
   0
   0
   0
   0
   0
   
     
     
       
       
       
     
     
       
     
     
       
       
       
     
     
     
     
       
       
       
       
       
     
     
       
       
     
     
       
       
     
     
   
   
     0
     node2
     31
     1301672664
     0
     1301672664
     1301672684
     1301672684
     0
     0
     0
     0
   
 




On Fri, 1 Apr 2011 17:31:44 +0200, Tino Vazquez wrote:


Hi,

Please try the following:

my_file.puts "OpenNebula host  #{vm_ids_array.class}"
my_file.puts vm_ids_array.class

Also, please send the output of

$ onehost list -x
$ onevm list -x

Regards,

-Tino

--
Constantino Vázquez Blanco | dsa-research.org/tinova
Virtualization Technology Engineer / Researcher
OpenNebula Toolkit | opennebula.org



On Fri, Apr 1, 2011 at 5:23 PM, Zaina AFOULKI
 wrote:


Hi Tino,

I added this to the ruby script (I'm new to Ruby, so I'm not 
sure

it's
correct):

my_file.puts "OpenNebula host  #{vm_ids_array.class}"
for item in 0...vm_ids_array.length
       my_file.puts " #{vm_ids_array[item]}";
end

$cat /tmp/remove_me.txt
OpenNebula host has failed 31
NilClass

oned.log:

Fri Apr  1 17:16:36 2011 [HKM][D]: Message received: LOG - 31 
Command
execution fail: /home/oneadmin/one/share/hooks/host_error.rb 
31 -r y
Fri Apr  1 17:16:36 2011 [HKM][D]: Message received: LOG - 31 
STDERR

follows.
Fri Apr  1 17:16:36 2011 [HKM][D]: Message received: LOG - 31
/home/oneadmin/one/share/hooks/host_error.rb:81: undefined 
method

`length'
for nil:NilClass (NoMethodError)

Thanks for your help,

--
Zaina

On Fri, 1 Apr 2011 12:31:21 +0100, Tino Vazquez wrote:


Hi Zaina,

Could you please print out also the content of 
"vm_ids_array"? I am

afraid the xpath expression may not be doing its job.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Fri, Apr 1, 2011 at 8:57 AM, Zaina AFOULKI
 wrote:


Hi,

I checked the ruby script that's called and it seems that 
the array

contain

Re: [one-users] Sunstone donot deploy machine

2011-04-12 Thread Ruben Diez

Yes: it was a browser problem...

Thanks a lot


Héctor Sanjuán escribió:

Hi,

It could be a browser problem (any chance of updating? or testing with
Chrome?). Even if it's not probably the extension firebug can give you
some information if the problem is on the client-side javascript, and
would allow you to inspect more closely the data sent to the sunstone
server when a new VM is created and the returned information.

You can also try updating OpenNebula to the latest release (2.2) as
there were a few bugs fixed.

In any case, can you attach the sunstone.log? Just to make sure we
didn't miss anything in there.

Thanks,

Hector

El 12/04/11 10:31, Ruben Diez escribió:
  

Héctor Sanjuán escribió:


Hi,

It is not very clear to me what might be happening.

Which version of OpenNebula are you using?
  
  

$ 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).



Which browser?

  
  

Firefox 3.0.6


Does the "new" VM button pop up a VM creation form at all or does the
problem happen after you submit this form?

  
  

After summit the form, nothing happens


On the second case, Are you using any of the wizards of the form or the
"advanced" mode using an ONE template?
  
  

We probe both of them. They not work


(Note that "deployment" and "creation" are different things. The "new"
buttons helps you create a VM. This VM is later "deployed" in a host).
And all VMs should appear in the list, whatever their status is.

  
  

After push the "create" button of the VM creation form, nothing happens

Regards,


Hector



El 11/04/11 18:53, Ruben Diez escribió:
 
  

Hi:

We are attempt to deploy a virtual machine by using the "new" button
from the machine view, but nothing happens

No error appears in the sunstone.log file. The new machine don't appear
in machine view, and not listed in the fail machine list...

Any idea??

___
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] Problem with ebtables OpenNebula

2011-04-12 Thread Tino Vazquez
Hi,

You need to install the rubygems dependency, the process varies
depending on the linux distro used.

Regards,

-Tino

--
Constantino Vázquez Blanco, MSc
OpenNebula Major Contributor
www.OpenNebula.org | @tinova79



On Tue, Apr 12, 2011 at 2:17 AM, Leong Marco  wrote:
> [oneadmin@geek ~]$ ruby -dw /usr/lib/one/mads/one_auth_mad.rb
> Exception `LoadError' at /usr/lib/one/mads/one_auth_mad.rb:33 - no such file
> to load -- rubygems
> /usr/lib/one/mads/one_auth_mad.rb:33:in `require': no such file to load --
> rubygems (LoadError)
> from /usr/lib/one/mads/one_auth_mad.rb:33
> here is the output.
> Leong Marco
> leong.chou@usj.edu.mo
>
>
> On Apr 11, 2011, at 11:06 PM, Tino Vazquez wrote:
>
> Ok, please try
>
> $ ruby -dw $ONE_LOCATION/lib/mads/one_auth_mad.rb
>
> and send the output
>
> Regards,
>
> -Tino
>
> --
> Constantino Vázquez Blanco, MSc
> OpenNebula Major Contributor
> www.OpenNebula.org | @tinova79
>
>
>
> On Mon, Apr 11, 2011 at 4:59 PM, Leong Marco 
> wrote:
>
> Hi,
>
> It return the shell.
>
> Best regards.
>
> Leong Marco
>
> leong.chou@usj.edu.mo
>
>
> On Apr 11, 2011, at 10:54 PM, Tino Vazquez wrote:
>
> Hi,
>
> What happens, does it return the shell, or does it wait for input?
>
> Regards,
>
> -Tino
>
> --
>
> Constantino Vázquez Blanco, MSc
>
> OpenNebula Major Contributor
>
> www.OpenNebula.org | @tinova79
>
>
>
> On Mon, Apr 11, 2011 at 4:49 PM, Leong Marco 
>
> wrote:
>
> Hi Tino,
>
> Thank you for your reply.
>
> This command doesn't produce any output.
>
> Leong Marco
>
> leong.chou@usj.edu.mo
>
>
> On Apr 11, 2011, at 10:20 PM, Tino Vazquez wrote:
>
> Dear Leong,
>
> Please try the following as oneadmin, and send the output:
>
> # $ONE_LOCATION/lib/mads/one_auth_mad
>
> Regards,
>
> .Tino
>
>
> --
>
> Constantino Vázquez Blanco, MSc
>
> OpenNebula Major Contributor
>
> www.OpenNebula.org | @tinova79
>
>
>
> On Mon, Apr 11, 2011 at 3:49 PM, Leong Marco 
>
> wrote:
>
> Dear Tino,
>
> Yes, I did have this error in the log.
>
> Mon Apr 11 15:13:09 2011 [MAD][E]: MAD did not answer INIT command
>
> What is the problem happen here? Thank you for your help !
>
> Leong Marco
>
> leong.chou@usj.edu.mo
>
>
> On Apr 11, 2011, at 8:55 PM, Tino Vazquez wrote:
>
> Dear Leong, Marwen,
>
> If you are experiencing the following in the logs
>
> Fri Apr  8 11:59:05 2011 [MAD][E]: MAD did not answer INIT command
>
> it may be due to a missing dependency, we can walk you on finding out which
>
> one.
>
> Otherwise, please say so and we will look at other possible causes.
>
> Regards,
>
> -Tino
>
> --
>
> Constantino Vázquez Blanco | dsa-research.org/tinova
>
> Virtualization Technology Engineer / Researcher
>
> OpenNebula Toolkit | opennebula.org
>
>
>
> On Mon, Apr 11, 2011 at 9:13 AM, Leong Marco 
>
> wrote:
>
> Hi,
>
> I have the same problem as Marwen. With this log message.
>
> Mon Apr 11 14:50:26 2011 [TM][I]: tm_context.sh: Executed "rm -rf
>
> /var/lib/one/2603e38607a144aef3bef07283d77095".
>
> Mon Apr 11 14:50:26 2011 [LCM][I]: New VM state is BOOT
>
> Mon Apr 11 14:50:26 2011 [VMM][I]: Generating deployment file:
>
> /var/lib/one/165/deployment.1
>
> Mon Apr 11 14:50:28 2011 [LCM][I]: New VM state is RUNNING
>
> Mon Apr 11 14:50:28 2011 [HKM][I]: Hook ebtables-start successfully
>
> executed.
>
> However, if I do a list to ebtables, it is empty.
>
> [oneadmin@geek root]$ sudo ebtables --list
>
> Bridge table: filter
>
> Bridge chain: INPUT, entries: 0, policy: ACCEPT
>
> Bridge chain: FORWARD, entries: 0, policy: ACCEPT
>
> Bridge chain: OUTPUT, entries: 0, policy: ACCEPT
>
> When I run some ebtables command like this one, it works
>
> sudo ebtables -A FORWARD -p IPv4 -j ACCEPT
>
> this does add the rules to the table.
>
> What can I provide to help you to debug this problem?
>
> Leong Marco
>
> leong.chou@usj.edu.mo
>
>
> On Apr 7, 2011, at 9:46 PM, marwen marwen wrote:
>
> Hi Zaina
>
> Yes I added oneadmin in the sudoers file of the physical host where the VM
>
> is allocated.
>
> And when I create the VM I specify the host where the VM will be allocated.
>
> But the problem is not resolved.
>
> Do you think that we must add this command in sudoers file of all cluster
>
> nodes.
>
> oneadmin    ALL=(ALL) NOPASSWD: /sbin/ebtables *
>
> Best regards
>
> Marwen
>
> From: Zaina AFOULKI 
>
> To: users@lists.opennebula.org
>
> Subject: Re: [one-users] Problem with ebtables OpenNebula
>
> Message-ID: <4d9cb10c.6080...@ensi-bourges.fr>
>
> Content-Type: text/plain; charset=ISO-8859-1
>
> Hi Marwen,
>
> Did you make sure that oneadmin is added in the /etc/sudoers file with
>
> oneadmin    ALL=(ALL) NOPASSWD: /sbin/ebtables * ?
>
> http://opennebula.org/documentation:archives:rel2.0:nm
>
> --
>
> Zaina
>
>
> On 04/06/2011 06:40 PM, marwen marwen wrote:
>
> Hi,
>
> I'm using ebtables to isolate virtual network in OpenNebula.
>
> I have a problem when OpenNebula execute ebtables-kvm script.
>
> In fact, the log file mention no error "Wed Apr  6 18:22:02 2011
>
> [HKM][D]:
>
> Messa

[one-users] Can Opennebula implete Virtual Machine backup and restore?

2011-04-12 Thread liudewei
Can Opennebula implete Virtual Machine backup and restore? 

It needs to be managed for virtual machine backup and restore function by web 
application UI(B/S framework)

Opennebula:How to use the LVM?

Or other ways?

I hope to give me a very good solutions! thanks! 
I feel very difficult!
We discuss solutions the following (take update openebula core code way process)
 
•modify oned RPC interface,add backup_vm() interface. 
•modify oned db,add backup table 
vid  vm id
bid  back id
time --- back time  
•the client call backup_vm(), oned will be shut the vm if vm is running
•after confirm the vm stopped ,oned will vm images directory copy to the dir 
:/one_images/backup/vid-bid:
copy use shutdown operate ,update tm's epilog logic  
•In  backup table insert a data
Do you have any questions? if No problem ,Who can help me modify the qestion 
logic please?

regards!
david
---
Confidentiality Notice: The information contained in this e-mail and any 
accompanying attachment(s) 
is intended only for the use of the intended recipient and may be confidential 
and/or privileged of 
Neusoft Corporation, its subsidiaries and/or its affiliates. If any reader of 
this communication is 
not the intended recipient, unauthorized use, forwarding, printing,  storing, 
disclosure or copying 
is strictly prohibited, and may be unlawful.If you have received this 
communication in error,please 
immediately notify the sender by return e-mail, and delete the original message 
and all copies from 
your system. Thank you. 
---
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone donot deploy machine

2011-04-12 Thread Héctor Sanjuán
Hi,

It could be a browser problem (any chance of updating? or testing with
Chrome?). Even if it's not probably the extension firebug can give you
some information if the problem is on the client-side javascript, and
would allow you to inspect more closely the data sent to the sunstone
server when a new VM is created and the returned information.

You can also try updating OpenNebula to the latest release (2.2) as
there were a few bugs fixed.

In any case, can you attach the sunstone.log? Just to make sure we
didn't miss anything in there.

Thanks,

Hector

El 12/04/11 10:31, Ruben Diez escribió:
> Héctor Sanjuán escribió:
>> Hi,
>>
>> It is not very clear to me what might be happening.
>>
>> Which version of OpenNebula are you using?
>>   
> $ 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).
> 
>> Which browser?
>>
>>   
> Firefox 3.0.6
>> Does the "new" VM button pop up a VM creation form at all or does the
>> problem happen after you submit this form?
>>
>>   
> After summit the form, nothing happens
>> On the second case, Are you using any of the wizards of the form or the
>> "advanced" mode using an ONE template?
>>   
> We probe both of them. They not work
>> (Note that "deployment" and "creation" are different things. The "new"
>> buttons helps you create a VM. This VM is later "deployed" in a host).
>> And all VMs should appear in the list, whatever their status is.
>>
>>   
> After push the "create" button of the VM creation form, nothing happens
> 
> Regards,
>> Hector
>>
>>
>>
>> El 11/04/11 18:53, Ruben Diez escribió:
>>  
>>> Hi:
>>>
>>> We are attempt to deploy a virtual machine by using the "new" button
>>> from the machine view, but nothing happens
>>>
>>> No error appears in the sunstone.log file. The new machine don't appear
>>> in machine view, and not listed in the fail machine list...
>>>
>>> Any idea??
>>>
>>> ___
>>> Users mailing list
>>> Users@lists.opennebula.org
>>> http://lists.opennebula.org/listinfo.cgi/users-opennebula.org
>>>
>>> 
>>
>>
>>   
> 
> 


-- 
Héctor Sanjuan
OpenNebula.org
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone in ubuntu

2011-04-12 Thread Steffen Neumann
Hi,

On Mon, 2011-04-11 at 19:21 +0800, Jeff wrote:
> Thank you olivier. It seems that there is something wrong with the
> option -H when using sunstone-server command .So I edited the
> $ONE_LOCATION/bin/sunstone-server and replaced line ' HOST="127.0.0.1"
> ' with 'HOST="myip"' ,then it worked. That's kind of weird. Maybe it
> is a bug ?
No, that's how you configure how a server should LISTEN,
you can restrict that to interfaces, and 127.0.0.1 
would be lo instead of eth0. You can also set HOST="0.0.0.0"
and it'll listen on all interfaces, IIRC.

Yours,
Steffen

-- 
IPB HalleAG 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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


[one-users] Directory Xen On opennebula

2011-04-12 Thread mahirudin alkhoir
I have xen host with guest os running, but my directory xen not in
/srv/cloud because when i create guest with xen, i manage to directory
/virtual/xen
is that possible if i want integrated with opennebula???
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Sunstone donot deploy machine

2011-04-12 Thread Ruben Diez

Héctor Sanjuán escribió:

Hi,

It is not very clear to me what might be happening.

Which version of OpenNebula are you using?
  

$ 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).


Which browser?

  

Firefox 3.0.6

Does the "new" VM button pop up a VM creation form at all or does the
problem happen after you submit this form?

  

After summit the form, nothing happens

On the second case, Are you using any of the wizards of the form or the
"advanced" mode using an ONE template?
  

We probe both of them. They not work

(Note that "deployment" and "creation" are different things. The "new"
buttons helps you create a VM. This VM is later "deployed" in a host).
And all VMs should appear in the list, whatever their status is.

  

After push the "create" button of the VM creation form, nothing happens

Regards,

Hector



El 11/04/11 18:53, Ruben Diez escribió:
  

Hi:

We are attempt to deploy a virtual machine by using the "new" button
from the machine view, but nothing happens

No error appears in the sunstone.log file. The new machine don't appear
in machine view, and not listed in the fail machine list...

Any idea??

___
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] Live migrate failed

2011-04-12 Thread Jeff
Hi, all. I am testing the live migrate function of opennebula. But it 
seemed that it didn't work on my machine.So I checked the vm log and 
found this error information :


Tue Apr 12 14:56:07 2011 [LCM][I]: New VM state is MIGRATE
Tue Apr 12 14:56:07 2011 [VMM][I]: Command execution fail: 'if [ -x 
"/var/tmp/one/vmm/kvm/migrate" ]; then /var/tmp/one/vmm/kvm/migrate 
one-67 cloudlabnc1; else  exit 42; fi'

Tue Apr 12 14:56:07 2011 [VMM][I]: STDERR follows.
Tue Apr 12 14:56:07 2011 [VMM][I]: error: Cannot access CA certificate 
'/etc/pki/CA/cacert.pem': No such file or directory

Tue Apr 12 14:56:07 2011 [VMM][I]: ExitCode: 1
Tue Apr 12 14:56:07 2011 [VMM][E]: Error live-migrating VM, error: 
Cannot access CA certificate '/etc/pki/CA/cacert.pem': No such file or 
directory
Tue Apr 12 14:56:08 2011 [LCM][I]: Fail to life migrate VM. Assuming 
that the VM is still RUNNING (will poll VM).

Tue Apr 12 14:56:08 2011 [VMM][D]: Monitor Information:

Could anyone please give me any advice ?
Best Regards
Jeff
___
Users mailing list
Users@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org


Re: [one-users] Java OCA: poor choiche of Exception class

2011-04-12 Thread Gian Uberto Lauri
According to the last update in  issue #572

> "r" == redmine   writes:

r> Issue #572 has been updated by Ruben S. Montero.

r> Target version changed from Release 2.2 to Release 2.4

r> This is initially scheduled for 2.4

does the OpenNebula team plan to  include my contribution in the code,
and  if  yes, which  kind  of  exception  (the  Error or  the  Runtime
Exception) ?

I ask  this because I  am working on  a OVF aware  OCCI implementation
that relies on the OCA API (for Venus-C)  and I wonder if I can use my
modified code now or this spells trouble.

Zeeshan, your opinion is welcome, too!

--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Laboratorio Ricerca e Sviluppo / Research & Development Lab.
Area Calcolo Distribuito / Distributed Computation Area

gianuberto.la...@eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs 

http://www.eng.it |  ioccc best One Liner, 1987 

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


Re: [one-users] Authentication ldap and authdb issues

2011-04-12 Thread Gian Uberto Lauri
> "SN" == Steffen Neumann  writes:

SN>Does that mean the users have to put their passwds in plain
SN> text into their homedir ?? This would be a gaping security hole.

They should be readable by the user only, like private keys in SSH, I think...


--
ing. Gian Uberto Lauri
Ricercatore / Reasearcher
Laboratorio Ricerca e Sviluppo / Research & Development Lab.
Area Calcolo Distribuito / Distributed Computation Area

gianuberto.la...@eng.it

Engineering Ingegneria Informatica spa
Corso Stati Uniti 23/C, 35127 Padova (PD) 

Tel. +39-049.8283.571 | main(){printf(&unix["\021%six\012\0"], 
Fax  +39-049.8283.569 |(unix)["have"]+"fun"-0x60);}   
Skype: gian.uberto.lauri  |  David Korn, AT&T Bell Labs 

http://www.eng.it |  ioccc best One Liner, 1987 

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


Re: [one-users] Authentication ldap and authdb issues

2011-04-12 Thread Steffen Neumann
Hi,

On Mon, 2011-04-11 at 22:54 +0530, Madhurranjan Mohaan wrote:
> I am trying to use the ldap add on to integrate the setup with ldap

I have some followup questions:

1) The documentation suggests that LDAP integration was created
   for the 2.0 release: documentation:archives:rel2.0:ldap
   I assume it still (is supposed to) work with 2.2 ?

2) The user should add its credentials to $ONE_AUTH file 
   (usually $HOME/.one/one_auth) in this fashion:

user_dn:plain:user_password

   Does that mean the users have to put their passwds 
   in plain text into their homedir ?? This would be 
   a gaping security hole.

Yours,
Steffen

-- 
IPB HalleAG 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@lists.opennebula.org
http://lists.opennebula.org/listinfo.cgi/users-opennebula.org