<div><div>Package: ganeti2</div></div><div>Version: 2.5.1-1~bpo60+1</div><div>Severity: normal</div><div><br></div><div>Hi,</div><div><br></div><div>if you add a keymap to an instance this instance fails to start because ganeti tries</div>
<div>create files in a non-existant directory.</div><div><br></div><div>steps to reproduce:</div><div>- create an instance named test2</div><div>- modify the keymap:</div><div>gnt-instance modify -H keymap=fr test2</div><div>
- start the instance:</div><div>gnt-instance start test2</div><div>you will get a message telling you the instance failed to start.</div><div>Something like:</div><div>Failed to start instance test2: exited with exit code 1 (Could not </div>
<div>read keymap file: '/var/run/ganeti/kvm-hypervisor/keymap/test2' </div><div>) </div><div><br></div><div>To fix the problem, simply create the /var/run/ganeti/kvm-hypervisor/keymap/</div><div>directory with the following command:</div>
<div>gnt-cluster command mkdir /var/run/ganeti/kvm-hypervisor/keymap/</div><div><br></div><div>Thanks for your work and best regards,</div><div>Raphaël</div><div><br></div><div><br></div><div>-- System Information:</div><div>
Debian Release: 6.0.5</div><div>  APT prefers stable</div><div>  APT policy: (500, 'stable')</div><div>Architecture: amd64 (x86_64)</div><div><br></div><div>Kernel: Linux 3.2.0-0.bpo.2-amd64 (SMP w/8 CPU cores)</div>
<div>Locale: LANG=en_GB, LC_CTYPE=en_GB (charmap=ISO-8859-1)</div><div>Shell: /bin/sh linked to /bin/bash</div><div><br></div><div>Versions of packages ganeti2 depends on:</div><div>ii  bridge-utils          1.4-5              Utilities for configuring the Linu</div>
<div>ii  iproute               20100519-3         networking and traffic control too</div><div>ii  iputils-arping        3:20100418-3       Tool to send ICMP echo requests to</div><div>ii  libjs-jquery          1.6.4-1~bpo60+1    JavaScript library for dynamic web</div>
<div>ii  lvm2                  2.02.66-5          The Linux Logical Volume Manager</div><div>ii  openssh-client        1:5.5p1-6+squeeze2 secure shell (SSH) client, for sec</div><div>ii  openssh-server        1:5.5p1-6+squeeze2 secure shell (SSH) server, for sec</div>
<div>ii  openssl               0.9.8o-4squeeze13  Secure Socket Layer (SSL) binary a</div><div>ii  python                2.6.6-3+squeeze7   interactive high-level object-orie</div><div>ii  python-openssl        0.10-1             Python wrapper around the OpenSSL </div>
<div>ii  python-paramiko       1.7.6-5            Make ssh v2 connections with Pytho</div><div>ii  python-pycurl         7.19.0-3+b1        Python bindings to libcurl</div><div>ii  python-pyinotify      0.8.9-1            simple Linux inotify Python bindin</div>
<div>ii  python-pyparsing      1.5.2-2            Python parsing module</div><div>ii  python-simplejson     2.1.1-1            simple, fast, extensible JSON enco</div><div>ii  python-support        1.0.10             automated rebuilding support for P</div>
<div>ii  socat                 1.7.1.3-1          multipurpose relay for bidirection</div><div><br></div><div>Versions of packages ganeti2 recommends:</div><div>ii  drbd8-utils           2:8.3.11-3~bpo60+1 RAID 1 over tcp/ip for Linux utili</div>
<div>ii  ganeti-instance-deboo 0.9-3              debootstrap-based instance OS defi</div><div>ii  ndisc6                0.9.8-1            IPv6 diagnostic tools</div><div>ii  qemu-kvm              1.0+dfsg-8~bpo60+1 Full virtualization on x86 hardwar</div>
<div><br></div><div>Versions of packages ganeti2 suggests:</div><div>pn  drbd8-module-source           <none>     (no description available)</div><div><br></div><div>-- no debconf information</div>