[Pkg-nagios-devel] Bug#804508: check-mk-livestatus: Cannot activate changes in WATO
Karol Szafranski
karol.szafranski at mailmix.pl
Mon Nov 9 00:42:35 UTC 2015
Package: check-mk-livestatus
Version: 1.2.6p12-1
Severity: important
Dear Maintainer,
I attempted to make a standalone nagios + check-mk + multisite/WATO install on a fresh host. After installing multisite and sorting out various missing directories and permission issues I've added my first monitored host, selected services detected via cmk agent
and wanted to apply changes. Unfortunately, every attempt to do so ends up with the following error on the UI:
local variable 'cleanup' referenced before assignment
and in the apache log:
General error: local variable 'cleanup' referenced before assignment\n, referer: http://HOSTNAME/check_mk/wato.py?mode=3Dchangelog&folder=3D.
It seems impossible to proceed further with adding/configuring/removing hosts/services so in this scenario check-mk with WATO UI is unusable.
I first got hit by this bug on Jessie with check-mk* packages from backports and was encouraged to test on and report against sid.
The issue does not seem familiar to users of 'original' builds from mathias-kettner.de (see reply to my post http://lists.mathias-kettner.de/pipermail/checkmk-en/2015-November/017695.html), so I downloaded them and performed diffs on /usr/share/check_mk/modules and /usr/share/check_mk/htdocs against their conterparts in the original builds. The only differences I found were png files and config files containing paths. Haven't tried to dig deeper in python code (yet?).
Just for the sake of experiment I checked 1.2.6p7 as well (from snapshots) to rule out some regression about upstream bug introduced in 1.2.6p11 related to adding hosts http://mathias-kettner.com/check_mk_werks.php?werk_id=2599. Got the same error on 1.2.6p7.
*** Reporter, please consider answering these questions, where appropriate ***
* What led up to the situation?
* What exactly did you do (or not do) that was effective (or
ineffective)?
* What was the outcome of this action?
* What outcome did you expect instead?
*** End of the template - remove these template lines ***
-- System Information:
Debian Release: stretch/sid
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: amd64 (x86_64)
Kernel: Linux 4.2.0-1-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)
Versions of packages check-mk-livestatus depends on:
ii libc6 2.19-22
ii libgcc1 1:5.2.1-23
ii libstdc++6 5.2.1-23
Versions of packages check-mk-livestatus recommends:
ii check-mk-doc 1.2.6p12-1
Versions of packages check-mk-livestatus suggests:
ii xinetd 1:2.3.15-4
-- no debconf information
More information about the Pkg-nagios-devel
mailing list