Project

General

Profile

Bug #39644

mgr/zabbix: ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest)

Added by Sebastian Wagner 4 months ago. Updated 8 days ago.

Status:
Pending Backport
Priority:
Urgent
Assignee:
Category:
zabbix module
Target version:
-
Start date:
05/09/2019
Due date:
% Done:

0%

Source:
Q/A
Tags:
Backport:
nautilus
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:

Description

======================================================================
ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest)
----------------------------------------------------------------------
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-swagner-testing/qa/tasks/mgr/test_module_selftest.py", line 41, in test_zabbix
    self._selftest_plugin("zabbix")
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-swagner-testing/qa/tasks/mgr/test_module_selftest.py", line 34, in _selftest_plugin
    "mgr", "self-test", "module", module_name)
  File "/home/teuthworker/src/git.ceph.com_ceph-c_wip-swagner-testing/qa/tasks/ceph_manager.py", line 1157, in raw_cluster_cmd
    stdout=StringIO(),
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/remote.py", line 205, in run
    r = self._runner(client=self.ssh, name=self.shortname, **kwargs)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 435, in run
    r.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 162, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 184, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi023 with status 1: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 120 ceph --cluster ceph mgr self-test module zabbix'
2019-05-08 20:53:12.238 7fdcc2030700 -1 Remote method threw exception: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/zabbix/module.py", line 458, in self_test
    data = self.get_data()
  File "/usr/share/ceph/mgr/zabbix/module.py", line 209, in get_data
    data['[{0},raw_bytes_used]'.format(pool['name'])] = pool['stats']['raw_bytes_used']
KeyError: ('raw_bytes_used',)

2019-05-08 20:53:12.238 7fdcc2030700 -1 mgr.server reply reply (1) Operation not permitted Test failed: Remote method threw exception: Traceback (most recent call last):
  File "/usr/share/ceph/mgr/zabbix/module.py", line 458, in self_test
    data = self.get_data()
  File "/usr/share/ceph/mgr/zabbix/module.py", line 209, in get_data
    data['[{0},raw_bytes_used]'.format(pool['name'])] = pool['stats']['raw_bytes_used']
KeyError: ('raw_bytes_used',)

http://qa-proxy.ceph.com/teuthology/swagner-2019-05-08_15:36:11-rados:mgr-wip-swagner-testing-distro-basic-smithi/3941021/teuthology.log

Introduced in https://github.com/ceph/ceph/pull/26152

Greg, I've assigned it to you, as Dmitriy Rabotjagov is not part of the mgr project


Related issues

Duplicated by mgr - Bug #39990: mgr/dashboard: test failure when running the backend-api-tests-script locally: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest) Need Review 05/21/2019
Copied to mgr - Backport #41811: nautilus: mgr/zabbix: ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest) New

History

#1 Updated by Dmitriy Rabotyagov 4 months ago

Hi,

Sorry, at the moment of placement of this patch every key was in place at mgr, but it was a while ago. I will test everything against current master a will push appropriate PR within several days.

#2 Updated by Dmitriy Rabotyagov 4 months ago

Just to update topic - working on issue, will place PR soon.

#3 Updated by Dmitriy Rabotyagov 4 months ago

Placed PR to cover this

#4 Updated by Nathan Cutler 4 months ago

  • Status changed from New to Need Review
  • Pull request ID set to 28058

#5 Updated by Sage Weil 4 months ago

/a/sage-2019-05-10_17:46:31-rados-wip-sage-testing-2019-05-10-0936-distro-basic-smithi/3946959

#6 Updated by Laura Paduano 4 months ago

  • Duplicated by Bug #39990: mgr/dashboard: test failure when running the backend-api-tests-script locally: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest) added

#7 Updated by Sebastian Wagner 4 months ago

  • Backport set to nautilus

#8 Updated by Neha Ojha 8 days ago

  • Status changed from Need Review to Pending Backport

#9 Updated by Nathan Cutler 7 days ago

  • Copied to Backport #41811: nautilus: mgr/zabbix: ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest) added

Also available in: Atom PDF