[Pkg-opennebula-devel] Bug#675954: opennebula: Fails to deploy with kvm

Olivier Berger olivier.berger at it-sudparis.eu
Mon Jun 4 14:24:27 UTC 2012

Package: opennebula
Version: 3.4.1-2
Severity: normal


AFAICT, with oneadmin user only member of the libvirt group, it won't be enough for deploying images on kvm :

Mon Jun  4 16:10:56 2012 [LCM][I]: New VM state is BOOT
Mon Jun  4 16:10:56 2012 [VMM][I]: Generating deployment file: /var/lib/one/74/deployment.0
Mon Jun  4 16:10:56 2012 [VMM][I]: ExitCode: 0
Mon Jun  4 16:10:56 2012 [VMM][I]: Successfully execute network driver operation: pre.
Mon Jun  4 16:10:57 2012 [VMM][I]: Command execution fail: cat << EOT | /var/tmp/one/vmm/kvm/deploy /var/lib/one//datastores/0/74/deployment.0 esther 74 esther
Mon Jun  4 16:10:57 2012 [VMM][I]: error: Failed to create domain from /var/lib/one//datastores/0/74/deployment.0
Mon Jun  4 16:10:57 2012 [VMM][I]: error: internal error process exited while connecting to monitor: Could not access KVM kernel module: Permission denied
Mon Jun  4 16:10:57 2012 [VMM][I]: failed to initialize KVM: Permission denied
Mon Jun  4 16:10:57 2012 [VMM][I]: No accelerator found!

I think that one needs also to add oneadmin to the kvm group.

Hope this helps,

Best regards,

-- System Information:
Debian Release: wheezy/sid
  APT prefers testing
  APT policy: (900, 'testing'), (300, 'stable')
Architecture: i386 (i686)

Kernel: Linux 3.2.0-2-686-pae (SMP w/2 CPU cores)
Locale: LANG=fr_FR.utf8, LC_CTYPE=fr_FR.utf8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages opennebula depends on:
ii  apg                2.2.3.dfsg.1-2
ii  genisoimage        9:1.1.11-2
ii  libc6              2.13-32
ii  libgcc1            1:4.7.0-8
ii  libmysqlclient18   5.5.23+dfsg-2
ii  libsqlite3-0
ii  libssl1.0.0        1.0.1c-1
ii  libstdc++6         4.7.0-8
ii  libxml2            2.7.8.dfsg-9.1
ii  libxmlrpc-c++4     1.16.33-3.1
ii  libxmlrpc-core-c3  1.16.33-3.1
ii  opennebula-tools   3.4.1-2
ii  wget               1.13.4-3

Versions of packages opennebula recommends:
ii  libjs-jquery     1.7.2+debian-1
ii  libjs-jquery-ui  1.8.ooops.20+dfsg-1

Versions of packages opennebula suggests:
pn  mysql-server     <none>
pn  ruby-amazon-ec2  <none>
pn  ruby-uuidtools   <none>

-- debconf-show failed

More information about the Pkg-opennebula-devel mailing list