Bug#611724: ganeti2: Ganeti service don't start

2011-02-01 Thread Diego Silva
Package: ganeti2
Version: 2.1.6-1
Severity: normal

After install ganeti2 on squezze and follow the official 2.1 install 
documentation, I can't start the service due the missing of configuration files:

/etc/init.d/ganeti start
Starting Ganeti cluster:ganeti-noded...done.
ganeti-masterd...Cluster configuration incomplete: 'Can't read from the ssconf 
file: '[Errno 2] No such file or directory: 
'/var/lib/ganeti/ssconf_master_node'''
failed (exit code 12).
ganeti-rapi...Cluster configuration incomplete: 'Can't read from the ssconf 
file: '[Errno 2] No such file or directory: 
'/var/lib/ganeti/ssconf_master_node'''
failed (exit code 12).
ganeti-confd...done


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

Kernel: Linux 2.6.32-5-xen-amd64 (SMP w/4 CPU cores)
Locale: LANG=pt_BR.UTF-8, LC_CTYPE=pt_BR.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash

Versions of packages ganeti2 depends on:
ii  bridge-utils1.4-5Utilities 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-jquery1.4.2-2  JavaScript library for dynamic web
ii  lvm22.02.66-5The Linux Logical Volume Manager
ii  openssh-client  1:5.5p1-6secure shell (SSH) client, for sec
ii  openssh-server  1:5.5p1-6secure shell (SSH) server, for sec
ii  openssl 0.9.8o-4 Secure Socket Layer (SSL) binary a
ii  python  2.6.6-3+squeeze5 interactive high-level object-orie
ii  python-openssl  0.10-1   Python wrapper around the OpenSSL 
ii  python-pyinotify0.8.9-1  simple Linux inotify Python bindin
ii  python-pyparsing1.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-1multipurpose relay for bidirection

Versions of packages ganeti2 recommends:
ii  drbd8-utils2:8.3.7-2.1   RAID 1 over tcp/ip for Linux utili
ii  ganeti-instance-debootstra 0.9-3 debootstrap-based instance OS defi
ii  qemu-kvm   0.12.5+dfsg-5 Full virtualization on x86 hardwar

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

-- no debconf information



-- 
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#611724: [Pkg-ganeti-devel] Bug#611724: ganeti2: Ganeti service don't start

2011-02-01 Thread Iustin Pop
On Tue, Feb 01, 2011 at 10:20:53AM -0200, Diego Silva wrote:
 Package: ganeti2
 Version: 2.1.6-1
 Severity: normal
 
 After install ganeti2 on squezze and follow the official 2.1 install 
 documentation, I can't start the service due the missing of configuration 
 files:
 
 /etc/init.d/ganeti start
 Starting Ganeti cluster:ganeti-noded...done.
 ganeti-masterd...Cluster configuration incomplete: 'Can't read from the 
 ssconf file: '[Errno 2] No such file or directory: 
 '/var/lib/ganeti/ssconf_master_node'''
 failed (exit code 12).
 ganeti-rapi...Cluster configuration incomplete: 'Can't read from the ssconf 
 file: '[Errno 2] No such file or directory: 
 '/var/lib/ganeti/ssconf_master_node'''
 failed (exit code 12).
 ganeti-confd...done

Have you actually initialized the cluster? Per
http://docs.ganeti.org/ganeti/2.1/html/install.html#initializing-the-cluster?

regards,
iustin


signature.asc
Description: Digital signature


Bug#611724: [Pkg-ganeti-devel] Bug#611724: ganeti2: Ganeti service don't start

2011-02-01 Thread Diego Morato

I was unable to initialise the cluster:

/var/log/ganeti/commands.log:
2011-01-31 21:42:10,076: gnt-cluster init pid=2965 INFO run with arguments 
'cluster00.example.com.br'
2011-01-31 21:42:13,391: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:14,418: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:15,444: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:16,471: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:17,497: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:18,524: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:19,550: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:20,577: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:21,603: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:22,630: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:23,656: gnt-cluster init pid=2965 ERROR RPC error in version 
from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
2011-01-31 21:42:23,659: gnt-cluster init pid=2965 ERROR Error during command 
processing
Traceback (most recent call last):
  File /usr/lib/pymodules/python2.6/ganeti/cli.py, line 1676, in GenericMain
    result = func(options, args)
  File /usr/lib/pymodules/python2.6/ganeti/cli.py, line 1141, in wrapper
    return fn(*args, **kwargs)
  File /usr/sbin/gnt-cluster, line 114, in InitCluster
    uid_pool=uid_pool,
  File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 329, in 
InitCluster
    _InitGanetiServerSetup(hostname.name)
  File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 183, in 
_InitGanetiServerSetup
    _WaitForNodeDaemon(master_name)
  File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 199, in 
_WaitForNodeDaemon
     10 seconds % node_name)
OpExecError: Node daemon on node1.example.com.br didn't answer queries within 
10 seconds

/etc/hosts:
127.0.0.1   localhost
10.10.12.48  node2.example.com.br node2
10.10.12.49  node3.example.com.br node3
10.10.12.14  cluster00.example.com.br cluster00
10.10.12.47  node1.example.com.br node1

 




 Date: Tue, 1 Feb 2011 20:38:00 +0100
 From: ius...@debian.org
 To: diego.mor...@hotmail.com; 611...@bugs.debian.org
 Subject: Re: [Pkg-ganeti-devel] Bug#611724: ganeti2: Ganeti service don't 
 start
 
 On Tue, Feb 01, 2011 at 10:20:53AM -0200, Diego Silva wrote:
  Package: ganeti2
  Version: 2.1.6-1
  Severity: normal
  
  After install ganeti2 on squezze and follow the official 2.1 install 
  documentation, I can't start the service due the missing of configuration 
  files:
  
  /etc/init.d/ganeti start
  Starting Ganeti cluster:ganeti-noded...done.
  ganeti-masterd...Cluster configuration incomplete: 'Can't read from the 
  ssconf file: '[Errno 2] No such file or directory: 
  '/var/lib/ganeti/ssconf_master_node'''
  failed (exit code 12).
  ganeti-rapi...Cluster configuration incomplete: 'Can't read from the ssconf 
  file: '[Errno 2] No such file or directory: 
  '/var/lib/ganeti/ssconf_master_node'''
  failed (exit code 12).
  ganeti-confd...done
 
 Have you actually initialized the cluster? Per
 http://docs.ganeti.org/ganeti/2.1/html/install.html#initializing-the-cluster?
 
 regards,
 iustin
  


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org



Bug#611724: [Pkg-ganeti-devel] Bug#611724: ganeti2: Ganeti service don't start

2011-02-01 Thread Iustin Pop
On Tue, Feb 01, 2011 at 08:11:26PM -0200, Diego Morato wrote:
 
 I was unable to initialise the cluster:
 
 /var/log/ganeti/commands.log:
 2011-01-31 21:42:10,076: gnt-cluster init pid=2965 INFO run with arguments 
 'cluster00.example.com.br'
 2011-01-31 21:42:13,391: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:14,418: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:15,444: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:16,471: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:17,497: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:18,524: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:19,550: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:20,577: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:21,603: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:22,630: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:23,656: gnt-cluster init pid=2965 ERROR RPC error in version 
 from node node1.example.com.br: Error in SSL handshake: ([('SSL routines', 
 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
 2011-01-31 21:42:23,659: gnt-cluster init pid=2965 ERROR Error during command 
 processing
 Traceback (most recent call last):
   File /usr/lib/pymodules/python2.6/ganeti/cli.py, line 1676, in GenericMain
     result = func(options, args)
   File /usr/lib/pymodules/python2.6/ganeti/cli.py, line 1141, in wrapper
     return fn(*args, **kwargs)
   File /usr/sbin/gnt-cluster, line 114, in InitCluster
     uid_pool=uid_pool,
   File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 329, in 
 InitCluster
     _InitGanetiServerSetup(hostname.name)
   File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 183, in 
 _InitGanetiServerSetup
     _WaitForNodeDaemon(master_name)
   File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 199, in 
 _WaitForNodeDaemon
      10 seconds % node_name)
 OpExecError: Node daemon on node1.example.com.br didn't answer queries within 
 10 seconds

Did you have a leftover node daemon running maybe? Can you remove
/var/lib/ganeti/*, killall ganeti-noded, and retry the initialization?

thanks,
iustin


signature.asc
Description: Digital signature


Bug#611724: [Pkg-ganeti-devel] Bug#611724: ganeti2: Ganeti service don't start

2011-02-01 Thread Diego Morato

Iustin,

Now it worked! The question is why the ssconf* files was not created initially? 
Please, before close this bug I will try to reproduce it again, because to 
install this server I followed the ganeti official documentation.


Att,





 Date: Wed, 2 Feb 2011 00:52:22 +0100
 From: ius...@debian.org
 To: diego.mor...@hotmail.com
 CC: 611...@bugs.debian.org
 Subject: Re: [Pkg-ganeti-devel] Bug#611724: ganeti2: Ganeti service don't 
 start

 On Tue, Feb 01, 2011 at 08:11:26PM -0200, Diego Morato wrote:
 
  I was unable to initialise the cluster:
 
  /var/log/ganeti/commands.log:
  2011-01-31 21:42:10,076: gnt-cluster init pid=2965 INFO run with arguments 
  'cluster00.example.com.br'
  2011-01-31 21:42:13,391: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:14,418: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:15,444: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:16,471: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:17,497: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:18,524: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:19,550: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:20,577: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:21,603: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:22,630: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:23,656: gnt-cluster init pid=2965 ERROR RPC error in 
  version from node node1.example.com.br: Error in SSL handshake: ([('SSL 
  routines', 'SSL3_GET_SERVER_CERTIFICATE', 'certificate verify failed')],)
  2011-01-31 21:42:23,659: gnt-cluster init pid=2965 ERROR Error during 
  command processing
  Traceback (most recent call last):
File /usr/lib/pymodules/python2.6/ganeti/cli.py, line 1676, in 
  GenericMain
  result = func(options, args)
File /usr/lib/pymodules/python2.6/ganeti/cli.py, line 1141, in wrapper
  return fn(*args, **kwargs)
File /usr/sbin/gnt-cluster, line 114, in InitCluster
  uid_pool=uid_pool,
File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 329, in 
  InitCluster
  _InitGanetiServerSetup(hostname.name)
File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 183, in 
  _InitGanetiServerSetup
  _WaitForNodeDaemon(master_name)
File /usr/lib/pymodules/python2.6/ganeti/bootstrap.py, line 199, in 
  _WaitForNodeDaemon
   10 seconds % node_name)
  OpExecError: Node daemon on node1.example.com.br didn't answer queries 
  within 10 seconds

 Did you have a leftover node daemon running maybe? Can you remove
 /var/lib/ganeti/*, killall ganeti-noded, and retry the initialization?

 thanks,
 iustin
  


--
To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org
with a subject of unsubscribe. Trouble? Contact listmas...@lists.debian.org