[Pkg-ganeti-devel] Bug#539303: ganeti2: gnt-cluster init does not work

Maximilian Mill maximilian.mill at googlemail.com
Thu Jul 30 14:27:14 UTC 2009


Package: ganeti2
Version: 2.0.1-2
Severity: grave
Justification: renders package unusable

Hello,

it looks like 'gnt-cluster init --vg-name=vg0 cluster.xyz.com' doesn't create
all needed files for the cluster to work. ll /var/lib/ganeti:
insgesamt 20
-rw------- 1 root root 2422 30. Jul 13:29 config.data
-rw------- 1 root root  416 30. Jul 13:29 known_hosts
drwx------ 3 root root 4096 30. Jul 13:30 queue/
-r-------- 1 root root 1880 30. Jul 13:29 rapi.pem
-r-------- 1 root root 1880 30. Jul 13:29 server.pem
-rwxr-xr-x 1 root root    0 30. Jul 13:30 watcher.data*

I found this problem when i was trying to add a node. This error message comes:
gnt-node add anc
        Corrupt configuration file: Can't read from the ssconf file: '[Errno 2] No
        such file or directory: '/var/lib/ganeti/ssconf_master_node''
        Aborting.

I have this bug with 2.0.1-2 from unstable on a lenny maschine(bpo'ed).

I did a repack with the new upstream 2.0.2-1 and everything works like it
should.
Now gnt-cluster init created these files in /var/lib/ganeti and everything works:
insgesamt 56
-rw------- 1 root root 2422 30. Jul 13:32 config.data
-rw------- 1 root root  416 30. Jul 13:32 known_hosts
drwx------ 3 root root 4096 30. Jul 13:32 queue/
-r-------- 1 root root 1880 30. Jul 13:32 rapi.pem
-r-------- 1 root root 1880 30. Jul 13:32 server.pem
-r--r--r-- 1 root root   35 30. Jul 13:32 ssconf_cluster_name
-r--r--r-- 1 root root    0 30. Jul 13:32 ssconf_cluster_tags
-r--r--r-- 1 root root   25 30. Jul 13:32 ssconf_file_storage_dir
-r--r--r-- 1 root root    0 30. Jul 13:32 ssconf_instance_list
-r--r--r-- 1 root root   40 30. Jul 13:32 ssconf_master_candidates
-r--r--r-- 1 root root   15 30. Jul 13:32 ssconf_master_ip
-r--r--r-- 1 root root    8 30. Jul 13:32 ssconf_master_netdev
-r--r--r-- 1 root root   40 30. Jul 13:32 ssconf_master_node
-r--r--r-- 1 root root   40 30. Jul 13:32 ssconf_node_list
-r--r--r-- 1 root root    0 30. Jul 13:32 ssconf_offline_nodes
-r--r--r-- 1 root root   40 30. Jul 13:32 ssconf_online_nodes
-r--r--r-- 1 root root    6 30. Jul 13:32 ssconf_release_version

MM
-- System Information:
Debian Release: 5.0.2
  APT prefers stable
  APT policy: (500, 'stable')
Architecture: i386 (i686)

Kernel: Linux 2.6.26-2-686 (SMP w/2 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
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                 20080725-2       networking and traffic control too
ii  iputils-arping          3:20071127-1     Tool to send ICMP echo requests to
ii  lvm2                    2.02.39-7        The Linux Logical Volume Manager
ii  openssh-client          1:5.1p1-5        secure shell client, an rlogin/rsh
ii  openssh-server          1:5.1p1-5        secure shell server, an rshd repla
ii  openssl                 0.9.8g-15+lenny1 Secure Socket Layer (SSL) binary a
ii  python                  2.5.2-3          An interactive high-level object-o
ii  python-openssl          0.7-2            Python wrapper around the OpenSSL 
ii  python-pyparsing        1.5.0-1          Python parsing module
ii  python-simplejson       1.9.2-1          Simple, fast, extensible JSON enco
ii  python-support          0.8.4            automated rebuilding support for P
pn  socat                   <none>           (no description available)

Versions of packages ganeti2 recommends:
ii  drbd8-utils             2:8.0.14-2       RAID 1 over tcp/ip for Linux utili
pn  ganeti-instance-deboots <none>           (no description available)
ii  kvm                     72+dfsg-5~lenny2 Full virtualization on x86 hardwar

Versions of packages ganeti2 suggests:
ii  drbd8-source [drbd8-module-so 2:8.0.14-2 RAID 1 over tcp/ip for Linux modul





More information about the Pkg-ganeti-devel mailing list