Project

General

Profile

Actions

Bug #42433

closed

qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp

Added by Patrick Donnelly over 4 years ago. Updated almost 3 years ago.

Status:
Resolved
Priority:
Normal
Category:
-
Target version:
% Done:

0%

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

Description

2019-10-19T18:07:01.369 INFO:teuthology.orchestra.run.smithi179:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-10-19T18:07:01.378 INFO:teuthology.orchestra.run.smithi202:Running:
2019-10-19T18:07:01.378 INFO:teuthology.orchestra.run.smithi202:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-10-19T18:07:01.524 INFO:teuthology.orchestra.run.smithi179.stderr:error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp
2019-10-19T18:07:01.526 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-10-19T18:07:01.527 ERROR:teuthology:Uncaught exception (Hub)
Traceback (most recent call last):
  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-c_wip-pdonnell-testing-20191019.054359/qa/tasks/ceph.py", line 161, in invoke_logrotate
    wait=False,
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 461, in wait
    proc.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 smithi179 with status 1: 'sudo logrotate /etc/logrotate.d/ceph-test.conf'

/ceph/teuthology-archive/pdonnell-2019-10-19_09:46:38-fs-wip-pdonnell-testing-20191019.054359-distro-basic-smithi/4425537/teuthology.log

Error is vague. Not sure yet what the cause could be.


Related issues 3 (0 open3 closed)

Related to Ceph - Bug #47677: qa: AttributeError: 'list' object has no attribute 'stderr'ResolvedPatrick Donnelly

Actions
Copied to Ceph - Backport #47659: octopus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmpResolvedNathan CutlerActions
Copied to Ceph - Backport #47660: nautilus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmpRejectedNathan CutlerActions
Actions

Also available in: Atom PDF