Bug #22514
zabbix throws exception
% Done:
0%
Source:
Tags:
Backport:
luminous
Regression:
No
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):
Description
2017-12-20T15:50:47.789 INFO:tasks.ceph.mgr.y.smithi093.stderr:2017-12-20 15:50:47.792 7f10d2495700 -1 log_channel(cluster) log [ERR] : Unhandled exception from module 'zabbix' while running on mgr.y: Configuration key zabbix_host not set; "ceph config-key set mgr/zabbix/zabbix_host <value>" 2017-12-20T15:50:47.789 INFO:tasks.ceph.mgr.y.smithi093.stderr:2017-12-20 15:50:47.792 7f10d2495700 -1 zabbix.serve: 2017-12-20T15:50:47.791 INFO:tasks.ceph.mgr.y.smithi093.stderr:2017-12-20 15:50:47.792 7f10d2495700 -1 Traceback (most recent call last): 2017-12-20T15:50:47.791 INFO:tasks.ceph.mgr.y.smithi093.stderr: File "/usr/lib/ceph/mgr/zabbix/module.py", line 257, in serve 2017-12-20T15:50:47.791 INFO:tasks.ceph.mgr.y.smithi093.stderr: self.init_module_config() 2017-12-20T15:50:47.791 INFO:tasks.ceph.mgr.y.smithi093.stderr: File "/usr/lib/ceph/mgr/zabbix/module.py", line 94, in init_module_config 2017-12-20T15:50:47.791 INFO:tasks.ceph.mgr.y.smithi093.stderr: '<value>"'.format(key)) 2017-12-20T15:50:47.791 INFO:tasks.ceph.mgr.y.smithi093.stderr:RuntimeError: Configuration key zabbix_host not set; "ceph config-key set mgr/zabbix/zabbix_host <value>"
/a/sage-2017-12-20_14:35:35-rados-wip-sage-testing-2017-12-19-1333-distro-basic-smithi/1985708
probably just need to whitelist for this test?
rados/mgr/{clusters/{2-node-mgr.yaml openstack.yaml} debug/mgr.yaml objectstore/filestore-xfs.yaml tasks/module_selftest.yaml}
Related issues
History
#1 Updated by John Spray over 6 years ago
- Status changed from 12 to In Progress
- Assignee set to John Spray
Hmm, probably better to update the test to set some dummy values (it's a bit naughty that it switches on the module without the mandatory config) -- I'll do that.
#2 Updated by John Spray over 6 years ago
- Category set to testing
#3 Updated by John Spray over 6 years ago
- Status changed from In Progress to Fix Under Review
#4 Updated by Kefu Chai about 6 years ago
- Status changed from Fix Under Review to Pending Backport
- Backport set to luminous
#5 Updated by Nathan Cutler about 6 years ago
- Copied to Backport #22576: luminous: zabbix throws exception added
#6 Updated by John Spray about 6 years ago
- Status changed from Pending Backport to Resolved