[Pkg-ganeti-devel] Bug#676930: ganeti2: Keymap options for KVM makes instance startup fail because of a missing directory

Raphaël Enrici raphael at root-42.com
Sun Jun 10 15:28:47 UTC 2012


Package: ganeti2
Version: 2.5.1-1~bpo60+1
Severity: normal

Hi,

if you add a keymap to an instance this instance fails to start because
ganeti tries
create files in a non-existant directory.

steps to reproduce:
- create an instance named test2
- modify the keymap:
gnt-instance modify -H keymap=fr test2
- start the instance:
gnt-instance start test2
you will get a message telling you the instance failed to start.
Something like:
Failed to start instance test2: exited with exit code 1 (Could not
read keymap file: '/var/run/ganeti/kvm-hypervisor/keymap/test2'
)

To fix the problem, simply create the /var/run/ganeti/kvm-hypervisor/keymap/
directory with the following command:
gnt-cluster command mkdir /var/run/ganeti/kvm-hypervisor/keymap/

Thanks for your work and best regards,
Raphaël


-- System Information:
Debian Release: 6.0.5
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/8 CPU cores)
Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)
Shell: /bin/sh linked to /bin/bash

Versions of packages ganeti2 depends on:
ii  bridge-utils          1.4-5              Utilities for configuring the
Linu
ii  iproute               20100519-3         networking and traffic control
too
ii  iputils-arping        3:20100418-3       Tool to send ICMP echo
requests to
ii  libjs-jquery          1.6.4-1~bpo60+1    JavaScript library for dynamic
web
ii  lvm2                  2.02.66-5          The Linux Logical Volume
Manager
ii  openssh-client        1:5.5p1-6+squeeze2 secure shell (SSH) client, for
sec
ii  openssh-server        1:5.5p1-6+squeeze2 secure shell (SSH) server, for
sec
ii  openssl               0.9.8o-4squeeze13  Secure Socket Layer (SSL)
binary a
ii  python                2.6.6-3+squeeze7   interactive high-level
object-orie
ii  python-openssl        0.10-1             Python wrapper around the
OpenSSL
ii  python-paramiko       1.7.6-5            Make ssh v2 connections with
Pytho
ii  python-pycurl         7.19.0-3+b1        Python bindings to libcurl
ii  python-pyinotify      0.8.9-1            simple Linux inotify Python
bindin
ii  python-pyparsing      1.5.2-2            Python parsing module
ii  python-simplejson     2.1.1-1            simple, fast, extensible JSON
enco
ii  python-support        1.0.10             automated rebuilding support
for P
ii  socat                 1.7.1.3-1          multipurpose relay for
bidirection

Versions of packages ganeti2 recommends:
ii  drbd8-utils           2:8.3.11-3~bpo60+1 RAID 1 over tcp/ip for Linux
utili
ii  ganeti-instance-deboo 0.9-3              debootstrap-based instance OS
defi
ii  ndisc6                0.9.8-1            IPv6 diagnostic tools
ii  qemu-kvm              1.0+dfsg-8~bpo60+1 Full virtualization on x86
hardwar

Versions of packages ganeti2 suggests:
pn  drbd8-module-source           <none>     (no description available)

-- no debconf information
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.alioth.debian.org/pipermail/pkg-ganeti-devel/attachments/20120610/e176c369/attachment.html>


More information about the Pkg-ganeti-devel mailing list