Re: [one-users] Error when instantiating VM from image - next status

2012-06-24 Thread Jan Benadik
No - this attempt was with SSH transfer driver, not shared. Jan Dňa 22.06.2012 17:18, Ruben S. Montero  wrote / napísal(a): Seems the same thing... is it /var/lib/one/ in an NFS volume in the host?  BTW, you need ACPI installe

Re: [one-users] Error when instantiating VM from image - next status

2012-06-23 Thread Juanra
El 22/06/2012 17:18, "Ruben S. Montero" escribió: > > Seems the same thing... is it /var/lib/one/ in an NFS volume in the host? > > BTW, you need ACPI installed in the guest domains to shutdown them, if not you can just use cancel > > > On Fri, Jun 22, 2012 at 4:39 PM, Jan Benadik wrote: >> >> Ot

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Ruben S. Montero
Seems the same thing... is it /var/lib/one/ in an NFS volume in the host? BTW, you need ACPI installed in the guest domains to shutdown them, if not you can just use cancel On Fri, Jun 22, 2012 at 4:39 PM, Jan Benadik wrote: > Other error message (with SSH transfer driver used): > Fri Jun 22

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Jan Benadik
Other error message (with SSH transfer driver used): Fri Jun 22 14:08:53 2012 [LCM][I]: New VM state is BOOT Fri Jun 22 14:08:53 2012 [VMM][I]: Generating deployment file: /var/lib/one/0/deployment.1 Fri Jun 22 14:08:53 2012 [VMM][I]: ExitCode: 0 Fri Jun 22 14

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Jan Benadik
Yes - I had the same idea already :-) I tried to set management node as host and deploy VM there - it works ... So - it seems to be an NFS issue. But - I cannot shutdown running VM. VM is in shutdown state for a while and after that is running again ...

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Jaime Melis
Hello Jan, I forgot to mention that it's not enough with using the SSH transfer driver, you also have to unmount all your NFS exports in your hypervisor node, so the disk images aren't copied to an NFS filesystem. Cheers, Jaime On Fri, Jun 22, 2012 at 11:21 AM, Jaime Melis wrote: > Hello Jan,

Re: [one-users] Error when instantiating VM from image - next status

2012-06-22 Thread Jaime Melis
Hello Jan, let's try without NFS just to rule it out. Can you use the SSH transfer driver: http://opennebula.org/documentation:rel3.4:fs_ds#using_the_ssh_transfer_driver and try launching the VM again? By the way, after reading your logs it seems you're not using the last stable release OpenNebul

Re: [one-users] Error when instantiating VM from image - next status

2012-06-21 Thread Jan Benadik
Yes, it runs: oneadmin@nebula-3:~$ ps aux |grep oned oneadmin 10158  0.0  0.1 1172252 8020 ?    Sl   Jun21   0:22 /usr/bin/oned -f When I changed security_driver in qemu.conf to default state /etc/libvirt/qemu.conf: # security_driver = "selinux" my er

Re: [one-users] Error when instantiating VM from image - next status

2012-06-21 Thread Javier Fontan
Also, I supposte oned is running as oneadmin user. Just to check. On Thu, Jun 21, 2012 at 5:19 PM, Javier Fontan wrote: > I am checking my configuration ans the only differences are: > > * oneadmin is in group oneadmin > * qemu group is oneadmin > *  /var/lib/one/** lrwk, line is in /etc/apparmor

Re: [one-users] Error when instantiating VM from image - next status

2012-06-21 Thread Javier Fontan
I am checking my configuration ans the only differences are: * oneadmin is in group oneadmin * qemu group is oneadmin * /var/lib/one/** lrwk, line is in /etc/apparmor.d/local/usr.sbin.libvirtd Can you try moving the line of apparmor to /etc/apparmor.d/local/usr.sbin.libvirtd? Maybe there's a pre

[one-users] Error when instantiating VM from image - next status

2012-06-21 Thread Jan Benadik
So - now I have still the same error message in oned.log: Thu Jun 21 09:26:42 2012 [LCM][I]: New VM state is BOOT Thu Jun 21 09:26:42 2012 [VMM][I]: Generating deployment file: /var/lib/one/0/deployment.38 Thu Jun 21 09:26:42 2012 [VMM][I]: ExitCode: 0 Thu Jun

Re: [one-users] Error when instantiating VM from image

2012-06-20 Thread Jan Benadik
oneadminoneadmin@nebula-3:~$ ls -l `readlink -f  /var/lib/one/0/images/disk.1` -rw-rw 1 oneadmin root 10737418241 Jun 20 10:57 /var/lib/one/images/9c52b90a79dba7c26a912d05ff5190b8 oneadmin@nebula-3:~$ id uid=108(oneadmin) gid=115(cloud) groups=115(cloud),6(dis

Re: [one-users] Error when instantiating VM from image

2012-06-20 Thread Jaime Melis
Hello Jan, can you please revert to your initial conf (dyn_ownership = 0) and send us: # something like this (the disk will have probably changed by now): $ ls -l `readlink -f /var/lib/one/5/images/disk.1` and: $ id $ grep -Ev '^($|#)' /etc/libvirt/qemu.conf can you confirm that libvirtd is ru

Re: [one-users] Error when instantiating VM from image

2012-06-20 Thread Jan Benadik
ad1) - doesn't help, libvirtd daemon didn't start (dnsmasq only) - yes - it is owned by oneadmin (but this is link only, original file is owned by oneadmin too) ad2) - doesn't help Still the same error message. Jan Dňa 20.06.2012 09:1

Re: [one-users] Error when instantiating VM from image

2012-06-20 Thread cloud.b.lab
Jan,This reply is from a ONE user.Try after making following change:1) In /etc/libvirt/libvirtd.conf set : #unix_sock_group = "libvirtd"unix_sock_group = "oneadmin"Restart Libvirt-bin.Also just check if the ownership of /var/lib/one/5/images/disk.1 is with oneadmin.If that does't help

Re: [one-users] Error when instantiating VM from image

2012-06-19 Thread Jan Benadik
Thanks for reply, but it doesn't help. Still the same result ...:-( Jan Dňa 19.06.2012 19:06, Jaime Melis  wrote / napísal(a): Hello, You probably need to add oneadmin to the disk group. Let us know if that doesn'

Re: [one-users] Error when instantiating VM from image

2012-06-19 Thread Jaime Melis
Hello, You probably need to add oneadmin to the disk group. Let us know if that doesn't work. Cheers, Jaime On Mon, Jun 18, 2012 at 12:44 PM, Jan Benadik wrote: > Hi all, > > I have two machines with Ubuntu 12.04 Server ("central" and "host"), KVM > hypervisor, Opennebula 3.2.1, shared /var/

[one-users] Error when instantiating VM from image

2012-06-18 Thread Jan Benadik
Hi all, I have two machines with Ubuntu 12.04 Server ("central" and "host"), KVM hypervisor, Opennebula 3.2.1, shared /var/lib/one folder (nfs) User "oneadmin" and group "cloud" has the same uid and gid on both systems, user oneadmin is a member of kvm and libvirtd g