[one-users] Cannot stop VM (OpenNebula 1.2)

Didier DUMET didier.dumet at gmail.com
Mon Oct 12 08:59:11 PDT 2009


Hi,

Running OpenNebula 1.2 on Ubuntu Jaunty, I've the same problem as the one
described in this thread
http://lists.opennebula.org/htdig.cgi/users-opennebula.org/2009-August/00062
7.html when stopping a VM. However, when applying the patch (i.e. changing
virsh occurrence by virsh -c qemu:///session), the onevm create command
fails with the following error (found in oned.log):

Mon Oct 12 16:54:26 2009 [TM][D]: Message received: LOG - 121 tm_clone.sh:
cloud-server2:/var/lib/one/images/ubuntu.img
cloud-server1:/var/lib/one//121/images/disk.0

Mon Oct 12 16:54:26 2009 [TM][D]: Message received: LOG - 121 tm_clone.sh:
DST: /var/lib/one//121/images/disk.0

Mon Oct 12 16:54:26 2009 [TM][D]: Message received: LOG - 121 tm_clone.sh:
Creating directory /var/lib/one//121/images

Mon Oct 12 16:54:26 2009 [TM][D]: Message received: LOG - 121 tm_clone.sh:
Executed "ssh cloud-server1 mkdir -p /var/lib/one//121/images".

Mon Oct 12 16:54:26 2009 [TM][D]: Message received: LOG - 121 tm_clone.sh:
Cloning cloud-server2:/var/lib/one/images/ubuntu.img

Mon Oct 12 16:54:37 2009 [InM][D]: Host 0 successfully monitored.
Mon Oct 12 16:54:55 2009 [InM][I]: Monitoring host cloud-server1 (0)
Mon Oct 12 16:55:13 2009 [InM][D]: Host 0 successfully monitored.
Mon Oct 12 16:55:20 2009 [TM][D]: Message received: LOG - 121 tm_clone.sh:
Executed "scp cloud-server2:/var/lib/one/images/ubuntu.img
cloud-server1:/var/lib/one//121/i
mages/disk.0".

Mon Oct 12 16:55:20 2009 [TM][D]: Message received: LOG - 121 tm_clone.sh:
Executed "ssh cloud-server1 chmod a+w /var/lib/one//121/images/disk.0".

Mon Oct 12 16:55:20 2009 [TM][D]: Message received: TRANSFER SUCCESS 121 -

Mon Oct 12 16:55:20 2009 [VMM][D]: Message received: LOG - 121 Command: scp
/var/lib/one/121/deployment.0
cloud-server1:/var/lib/one//121/images/deployment.0

Mon Oct 12 16:55:21 2009 [VMM][D]: Message received: LOG - 121 Copy success

Mon Oct 12 16:55:25 2009 [InM][I]: Monitoring host cloud-server1 (0)
Mon Oct 12 16:55:31 2009 [InM][D]: Host 0 successfully monitored.
Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: LOG - 121 Connecting to
uri: qemu:///system

Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: LOG - 121 16:55:31.824:
warning : Cannot set group when not running as root

Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: LOG - 121 16:55:32.008:
error : internal error Failed to add tap interface 'vnet%d' to bridge 'br0'
: Operation no
t permitted

Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: LOG - 121 libvir: QEMU
error : internal error Failed to add tap interface 'vnet%d' to bridge 'br0'
: Operation not
 permitted

Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: LOG - 121 error: Failed
to create domain from /var/lib/one//121/images/deployment.0

Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: LOG - 121 error:
internal error Failed to add tap interface 'vnet%d' to bridge 'br0' :
Operation not permitted

Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: LOG - 121 ExitCode: 1

Mon Oct 12 16:55:51 2009 [VMM][D]: Message received: DEPLOY FAILURE 121
Failed to create domain from /var/lib/one//121/images/deployment.0


Any idea on how to resolve this ?
Thanks,
Regards.

Didier






More information about the Users mailing list