Project

General

Profile

Bug #19417

"AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool'" in rados

Added by Yuri Weinstein over 2 years ago. Updated over 2 years ago.

Status:
Duplicate
Priority:
Normal
Assignee:
-
Category:
-
Target version:
-
Start date:
03/29/2017
Due date:
% Done:

0%

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

Description

Run: http://pulpito.ceph.com/teuthology-2017-03-28_02:30:01-rados-kraken-distro-basic-smithi/
Jobs: ['953812', '953719', '953933', '953648', '953705', '953864', '953709', '953836', '953907', '953723', '953848', '953779', '953765', '953646']['953812', '953719', '953933', '953648', '953705', '953864', '953709', '953836', '953907', '953723', '953848', '953779', '953765', '953646']

Logs: http://qa-proxy.ceph.com/teuthology/teuthology-2017-03-28_02:30:01-rados-kraken-distro-basic-smithi/953836/teuthology.log

Hangup from  PID: 11907 task name: /usr/bin/python /usr/bin/daemon-helper kill ceph-osd -f --cluster ceph -i 4  UID: 0
2017-03-29T00:06:11.950 INFO:teuthology.orchestra.run.smithi044:Running: 'sudo adjust-ulimits ceph-coverage /home/ubuntu/cephtest/archive/coverage timeout 30 ceph --cluster ceph --admin-daemon /var/run/ceph/ceph-osd.4.asok dump_historic_ops'
2017-03-29T00:06:11.979 INFO:tasks.rados.rados.0.smithi141.stdout:3999: done (0 left)
2017-03-29T00:06:11.982 INFO:tasks.rados.rados.0.smithi141.stderr:0 errors.
2017-03-29T00:06:11.982 INFO:tasks.rados.rados.0.smithi141.stderr:
2017-03-29T00:06:11.992 DEBUG:teuthology.run_tasks:Unwinding manager thrashosds
2017-03-29T00:06:12.003 INFO:tasks.thrashosds:joining thrashosds
2017-03-29T00:06:12.003 ERROR:teuthology.run_tasks:Manager failed: thrashosds
Traceback (most recent call last):
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/run_tasks.py", line 159, in run_tasks
    suppress = manager.__exit__(*exc_info)
  File "/usr/lib/python2.7/contextlib.py", line 24, in __exit__
    self.gen.next()
  File "/home/teuthworker/src/git.ceph.com_ceph_kraken/qa/tasks/thrashosds.py", line 194, in task
    thrash_proc.do_join()
  File "/home/teuthworker/src/git.ceph.com_ceph_kraken/qa/tasks/ceph_manager.py", line 497, in do_join
    self.thread.get()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/gevent/greenlet.py", line 456, in get
    self._raise_exception()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/gevent/greenlet.py", line 159, in _raise_exception
    reraise(*self.exc_info)
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/virtualenv/local/lib/python2.7/site-packages/gevent/greenlet.py", line 536, in run
    result = self._run(*self.args, **self.kwargs)
  File "/home/teuthworker/src/git.ceph.com_ceph_kraken/qa/tasks/ceph_manager.py", line 725, in wrapper
    return func(self)
  File "/home/teuthworker/src/git.ceph.com_ceph_kraken/qa/tasks/ceph_manager.py", line 842, in do_thrash
    self.choose_action()()
  File "/home/teuthworker/src/git.ceph.com_ceph_kraken/qa/tasks/ceph_manager.py", line 202, in kill_osd
    if self.ceph_objectstore_tool:
AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool'

Related issues

Duplicates ceph-qa-suite - Bug #18799: AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool' Resolved 02/02/2017

History

#1 Updated by David Zafman over 2 years ago

Looking at the code this makes no sense to me. The init always sets the value of ceph_objectstore_tool to either False or True, so kill_osd() shouldn't get this error.

#2 Updated by Kefu Chai over 2 years ago

  • Project changed from Ceph to ceph-qa-suite
  • Status changed from New to Duplicate

#3 Updated by Kefu Chai over 2 years ago

  • Duplicates Bug #18799: AttributeError: Thrasher instance has no attribute 'ceph_objectstore_tool' added

Also available in: Atom PDF