Project

General

Profile

Actions

Bug #7461

closed

new error reporting eats up logs

Added by Alfredo Deza about 10 years ago. Updated over 9 years ago.

Status:
Won't Fix
Priority:
Normal
Assignee:
Category:
-
% Done:

0%

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

Description

The new error reporting is eating ceph-deploy log output and having issues attempting to write them back

Sample traceback:

Traceback (most recent call last):
  File "/home/teuthworker/teuthology-master/teuthology/contextutil.py", line 25, in nested
    vars.append(enter())
  File "/usr/lib/python2.7/contextlib.py", line 17, in __enter__
    return self.gen.next()
  File "/home/teuthworker/teuthology-master/teuthology/task/ceph-deploy.py", line 258, in build_ceph_cluster
    node_dev_list = get_dev_for_osd(ctx, config)
  File "/home/teuthworker/teuthology-master/teuthology/task/ceph-deploy.py", line 114, in get_dev_for_osd
    devs = teuthology.get_scratch_devices(remote)
  File "/home/teuthworker/teuthology-master/teuthology/misc.py", line 791, in get_scratch_devices
    'grep', '-q', dev,
  File "/home/teuthworker/teuthology-master/teuthology/orchestra/remote.py", line 59, in run
    r = self._runner(client=self.ssh, name=self.name, **kwargs)
  File "/home/teuthworker/teuthology-master/teuthology/orchestra/run.py", line 282, in run
    r.exitstatus = _check_status(r.exitstatus)
  File "/home/teuthworker/teuthology-master/teuthology/orchestra/run.py", line 260, in _check_status
    g_out.get()
  File "/usr/lib/python2.7/dist-packages/gevent/greenlet.py", line 308, in get
    raise self._exception
UnicodeDecodeError: 'ascii' codec can't decode byte 0xe2 in position 8: ordinal not in range(128)

Log file http://qa-proxy.ceph.com/teuthology/teuthology-2014-02-16_01:10:11-ceph-deploy-master-testing-basic-vps/86304/teuthology.log

The hash in teuthology master is d0a43492

For the time being we are reverting that changeset until this gets fixed.

Actions #1

Updated by Alfredo Deza about 10 years ago

Reverted in master: 4c930a0

Actions #2

Updated by Alfredo Deza about 10 years ago

After looking at other previous logs, this was spit in teuthology's logs:

2014-02-18T03:16:45.909 INFO:teuthology.orchestra.run.err:[10.214.138.144]: [ceph_deploy.install][INFO  ] Distro info: Fedora 19 Schrödinger’s Cat

That totally looks like giving up on proper encoding!

Actions #3

Updated by Ian Colle about 10 years ago

  • Priority changed from High to Normal
Actions #4

Updated by John Spray over 9 years ago

  • Status changed from New to Won't Fix

The original change was nonessential so as it was reverted way back when this ticket can go away.

Actions

Also available in: Atom PDF