Project

General

Profile

Bug #39644

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

Added by Sebastian Wagner almost 5 years ago. Updated about 2 years ago.

Status:
Resolved
Priority:
Urgent
Assignee:
-
Category:
zabbix module
Target version:
-
% Done:

0%

Source:
Q/A
Tags:
Backport:
nautilus
Regression:
Yes
Severity:
3 - minor
Reviewed:
Affected Versions:
ceph-qa-suite:
Pull request ID:
Crash signature (v1):
Crash signature (v2):

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 Dashboard - Bug #39990: mgr/dashboard: test failure when running the backend-api-tests-script locally: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest) Resolved
Copied to mgr - Backport #41811: nautilus: mgr/zabbix: ERROR: test_zabbix (tasks.mgr.test_module_selftest.TestModuleSelftest) Rejected

History

#1 Updated by Dmitriy Rabotyagov almost 5 years 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 almost 5 years ago

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

#3 Updated by Dmitriy Rabotyagov almost 5 years ago

Placed PR to cover this

#4 Updated by Nathan Cutler almost 5 years ago

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

#5 Updated by Sage Weil almost 5 years 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 almost 5 years 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 almost 5 years ago

  • Backport set to nautilus

#8 Updated by Neha Ojha over 4 years ago

  • Status changed from Fix Under Review to Pending Backport

#9 Updated by Nathan Cutler over 4 years ago

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

#10 Updated by Greg Farnum over 4 years ago

  • Assignee deleted (Greg Farnum)

#11 Updated by Konstantin Shalygin about 2 years ago

  • Status changed from Pending Backport to Resolved

Also available in: Atom PDF