Re: [one-users] Clean-Up Script Insufficient

2011-12-20 Thread Hutson Betts
It turns out using a VM_HOOK to remove the /var/log/one/$VMID.log file is insufficient. The script successfully deletes the log file after being called upon the VM transitioning to the DONE state. However, Output is still written to the log file, thereby causing it to be re-created. I just wanted t

[one-users] OCCI Compute Node Restart

2011-12-20 Thread Hutson Betts
Does anyone know how to force a hypervisor-level restart of a VM through the OCCI interface? This can be done at the XML-RPC layer using 'onevm restart $VMID'. For OCCI only the following are supported (Per documentation): STOPPED SUSPENDED RESUME CANCEL SHUTDOWN DONE They either suspend the VM o

Re: [one-users] Removing old VMs

2011-12-20 Thread Hutson Betts
I needed to forward this to the listserv. Also, on the same note, I discovered another odd behavior: Several VMs have been deleted, their state is DONE, and I manually removed their folders. However, when I issue a 'show' command to view information for VMs that have transitioned to the DONE stat

[one-users] VM isn't starting

2011-12-20 Thread Paulo Renato
Hi everyone, when I am trying start a vm, I get this error: Tue Dec 20 22:20:05 2011 [DiM][I]: New VM state is ACTIVE. Tue Dec 20 22:20:05 2011 [LCM][I]: New VM state is PROLOG.Tue Dec 20 22:20:05 2011 [TM][E]: prolog, error getting driver tm_nfs Tue Dec 20 22:20:05 2011 [DiM][I]: New VM state is

Re: [one-users] Little help with first building cloud

2011-12-20 Thread matheus tor4
Fabian, I solved the problem. Thanks to #opennebula channel on Freenode. I remove the hosts, then put it again, so the hosts will monitored sucessfully! Thanks for the help. Now I go running a test VM. See you later! On Tue, Dec 20, 2011 at 1:08 PM, Fabian Wenk wrote: > Hello Matheus > > >

Re: [one-users] Experiments with haizea and OpenNebula

2011-12-20 Thread davood ghatreh
Hi, check to see if ONE_AUTH environment variable is pointing to the correct path, and it has one line containing oneadmin:password. also, make sure oned has been started with oneadmin credentials. Thanks On Tue, Dec 20, 2011 at 6:55 AM, Paulo Renato wrote: > Davood, > > I follow your stepwis

Re: [one-users] Virtual Machine Lock Manager

2011-12-20 Thread Fabian Wenk
Hello Upendra On 15.12.2011 13:54, Upendra Moturi wrote: Hello Fabian Can you please explain me the work flow locking. i.e how one is throwing error when an image is registered with it. You need to create a persistent image (define in the image template), then it can only be used from one VM

Re: [one-users] Little help with first building cloud

2011-12-20 Thread Fabian Wenk
Hello Matheus On 20.12.2011 14:41, matheus tor4 wrote: At the moment I got this error message: Tue Dec 20 10:20:09 2011 [InM][I]: Monitoring host PacsOnCloud-FrontEnd (0) Tue Dec 20 10:20:10 2011 [InM][I]: Command execution fail: 'if [ -x "/var/tmp/one/im/run_probes" ]; then /var/tmp/one/im/run

Re: [one-users] Issue

2011-12-20 Thread Jaime Melis
Hello Hutson, Actually that's the expected behaviour of the 8021Q network drivers. We decided to keep the bridge and the physical device with the vlan tag in the host for the following reasons: 1) It doesn't hurt to leave the bridge and the tagged interface. It won't eat up system's resources. 2)

Re: [one-users] OCCI opennebula user authentication 401 failure

2011-12-20 Thread Stefano Ghio
Cheers, On 20/12/11 16.09, Daniel Molina wrote: Hi Stefano, You have to hash the password before sending it with curl Yes, I was wondering if I could send the plain text password instead of hashing that before The authentication cannot be disabled from the configuration file. It would need a b

Re: [one-users] error getting driver vmm_kvm

2011-12-20 Thread Stefano Ghio
Hi and thanks for your answer, I tried it but it was no use, log says: cat /var/log/one/oned.log Tue Dec 20 16:12:05 2011 [ONE][I]: Init OpenNebula Log system Tue Dec 20 16:12:05 2011 [ONE][I]: Log Level: 3 [0=ERROR,1=WARNING,2=INFO,3=DEBUG] Tue Dec 20 16:12:05 2011 [ONE][I]:

Re: [one-users] Why no hooks for migration?

2011-12-20 Thread Carlos Martín Sánchez
Hi Richard, You can create a hook on RUNNING and then check the VM history to detect if it has reached that state after a migration. Use $TEMPLATE as one of the arguments to get the VM information. You have the life-cycle reference here [1,2]. Below is a sample xml of a VM migrated from (1 localh

Re: [one-users] OCCI opennebula user authentication 401 failure

2011-12-20 Thread Daniel Molina
Hi Stefano, On 15 December 2011 15:27, Stefano Ghio wrote: > Cheers, > > I have some questions about OCCI authentication with ONE. > > I set up ONE and the OCCI server fine. > > I start them with "./onestart.sh" and "occi-server start". > I have 2 users: oneadmin:oneadmin and test:test. The secon

Re: [one-users] sunstone conf doesn't honor host ip binding

2011-12-20 Thread Daniel Molina
Hi Giovanni, I have fixed this bug in the repo. Thanks for the feedback http://dev.opennebula.org/projects/opennebula/repository/revisions/e81b906ec3b8c3d2ee1ab9917a1abb41692f45f1 Cheers. On 18 December 2011 16:16, Giovanni Toraldo wrote: > Hi, > > I've noticed that even the default sunstone-s

Re: [one-users] Experiments with haizea and OpenNebula

2011-12-20 Thread Paulo Renato
Davood, I follow your stepwise and it works for me. Now I was trying install OpenNebula 3.1 and I see that the configuration was diferent. But my problem is start oneacctd. The problem is related with authentication. Any idiea? Thanks. Em 2 de dezembro de 2011 04:41, davood ghatreh escreveu: >

Re: [one-users] error getting driver vmm_kvm

2011-12-20 Thread Carlos Martín Sánchez
Hi, >From the error message you pasted, it looks like the vmm_kvm driver crashed. Can you check the first lines from oned.log and look for these messages? Tue Dec 20 06:42:30 2011 [VMM][I]: Loading Virtual Machine Manager drivers. Tue Dec 20 06:42:30 2011 [VMM][I]: Loading driver: vmm_kvm (

[one-users] Again a question about the use of Java

2011-12-20 Thread Gian Uberto Lauri
Hello gentlemen! Let's assume that I have an OCCI server that controls OpenNebula with OCA (the OCCI accepts OVF messages, that's why I don't use OpenNebula own OCCI). Let's assume that users are authenticated by means of a client certificate in an HTTPS connection. How could I create

Re: [one-users] CPU capacity in Virtual Machine template leads to longterm pend.

2011-12-20 Thread Carlos Martín Sánchez
Hi, Please check that the scheduler is running (mm_sched process), take a look at the scheduler log (/var/log/one/sched.log), and check that you have hosts with enough CPU and memory resources. More info here [1]. Note that you can always deploy manually your VMs with the 'onevm deploy' command.

Re: [one-users] Removing old VMs

2011-12-20 Thread richard -rw- weinberger
2011/12/20 Carlos Martín Sánchez : > Hi, > > The feature request #1026 [1] can be easily implemented with hooks [2]. > Fair point. Will do so. :-) -- Thanks, //richard ___ Users mailing list Users@lists.opennebula.org http://lists.opennebula.org/listin

Re: [one-users] Removing old VMs

2011-12-20 Thread Carlos Martín Sánchez
Hi, The feature request #1026 [1] can be easily implemented with hooks [2]. For instance, with these two hooks you don't even need any script file: VM_HOOK = [ name = "vmdir_cleanup", on= "DONE", command = "/bin/rm", arguments = "-r /var/lib/one/$VMID" ] VM_HOOK = [

Re: [one-users] Little help with first building cloud

2011-12-20 Thread matheus tor4
That was a error with StrictHostKeyChecking. Solution is on: http://askubuntu.com/questions/87449/how-to-disable-strict-host-key-checking-in-ssh But the problem isn't all solved. At the moment I got this error message: Tue Dec 20 10:20:09 2011 [InM][I]: Monitoring host PacsOnCloud-FrontEnd (0) T

Re: [one-users] Little help with first building cloud

2011-12-20 Thread matheus tor4
Any hint?! On Mon, Dec 19, 2011 at 8:21 PM, matheus tor4 wrote: > Anyone? > > > On Mon, Dec 19, 2011 at 4:16 PM, matheus tor4 wrote: > >> Hello guys. >> >> I have one more problem here. >> >> When I start a host, in sunstone server, I get a error. >> On /var/log/one/oned.conf I see this: >> >> M

Re: [one-users] [Help] How to reboot a VM when the VM crashes?

2011-12-20 Thread Carlos Martín Sánchez
Hi, You can use the 'onevm restart' command, see [1] for more information on the VM life-cycle. Regards. [1] http://opennebula.org/documentation:rel3.0:vm_guide_2 -- Carlos Martín, MSc Project Engineer OpenNebula - The Open Source Toolkit for Data Center Virtualization www.OpenNebula.org | cmar.

[one-users] error getting driver vmm_kvm

2011-12-20 Thread Stefano Ghio
Cheers, I'm having trouble starting new VM instances with ONE. I get to the point where the machine state is BOOT, then I get: [VMM][E]: deploy_action, error getting driver vmm_kvm and immediately after the machine state is FAILED. I was trying with the ttylinux.img downloaded from the ONE w