[Pkg-ganeti-devel] Bug#776770: ganeti-2.12 - Cluster verify fails with

Bastian Blank waldi at debian.org
Sun Feb 1 15:06:57 UTC 2015


Package: ganeti-2.12
Version: 2.12.0-3
Severity: important

Hi

On my Ganeti cluster using xen-pvm, "gnt-cluster verify" aborts:

| Waiting for job 1507 ...
| Sun Feb  1 15:54:12 2015 * Verifying cluster config
| Sun Feb  1 15:54:13 2015 * Verifying cluster certificate files
| Sun Feb  1 15:54:13 2015 * Verifying hypervisor parameters
| Sun Feb  1 15:54:13 2015 * Verifying all nodes belong to an existing group
| Waiting for job 1508 ...
| Sun Feb  1 15:54:26 2015 * Verifying group 'default'
| Sun Feb  1 15:54:27 2015 * Gathering data (3 nodes)
| Sun Feb  1 15:54:40 2015 * Gathering information about nodes (3 nodes)
| Sun Feb  1 15:54:44 2015 * Gathering disk information (3 nodes)
| Sun Feb  1 15:56:18 2015 * Verifying configuration file consistency
| Sun Feb  1 15:56:19 2015 * Verifying node status
| Job 1508 has failed: Failure: command execution error:
| 'NoneType' object has no attribute 'uuid'
| 1 job(s) failed while verifying the cluster.

jobs.log shows:

| 2015-02-01 15:56:23,468: job-1508 pid=5187 ERROR Op 1/1: Caught exception in CLUSTER_VERIFY_GROUP(…)
| Traceback (most recent call last):
|   File "/usr/share/ganeti/2.12/ganeti/jqueue/__init__.py", line 921, in _ExecOpCodeUnlocked
|     timeout=timeout)
|   File "/usr/share/ganeti/2.12/ganeti/jqueue/__init__.py", line 1215, in _WrapExecOpCode
|     return execop_fn(op, *args, **kwargs)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 666, in ExecOpCode
|     calc_timeout)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 593, in _LockAndExecLU
|     result = self._LockAndExecLU(lu, level + 1, calc_timeout)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 593, in _LockAndExecLU
|     result = self._LockAndExecLU(lu, level + 1, calc_timeout)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 593, in _LockAndExecLU
|     result = self._LockAndExecLU(lu, level + 1, calc_timeout)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 593, in _LockAndExecLU
|     result = self._LockAndExecLU(lu, level + 1, calc_timeout)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 600, in _LockAndExecLU
|     result = self._LockAndExecLU(lu, level + 1, calc_timeout)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 600, in _LockAndExecLU
|     result = self._LockAndExecLU(lu, level + 1, calc_timeout)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 541, in _LockAndExecLU
|     result = self._ExecLU(lu)
|   File "/usr/share/ganeti/2.12/ganeti/mcpu.py", line 509, in _ExecLU
|     result = _ProcessResult(submit_mj_fn, lu.op, lu.Exec(self.Log))
|   File "/usr/share/ganeti/2.12/ganeti/cmdlib/cluster.py", line 3609, in Exec
|     self._UpdateNodeInstances(node_i, nresult, nimg)
|   File "/usr/share/ganeti/2.12/ganeti/cmdlib/cluster.py", line 3096, in _UpdateNodeInstances
|     self.cfg.GetMultiInstanceInfoByName(idata)]
|   File "/usr/share/ganeti/2.12/ganeti/config.py", line 116, in sync_function
|     return fn(*args, **kwargs)
|   File "/usr/share/ganeti/2.12/ganeti/config.py", line 2112, in GetMultiInstanceInfoByName
|     result.append((instance.uuid, instance))
| AttributeError: 'NoneType' object has no attribute 'uuid'
| 2015-02-01 15:56:23,641: job-1508 pid=5187 INFO Finished job 1508, status = error

Bastian

-- System Information:
Debian Release: 8.0
  APT prefers unstable
  APT policy: (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Foreign Architectures: i386

Kernel: Linux 3.18.0-trunk-amd64 (SMP w/4 CPU cores)
Locale: LANG=de_DE.UTF-8, LC_CTYPE=de_DE.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)



More information about the Pkg-ganeti-devel mailing list