Project

General

Profile

Bug #42433

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

Added by Patrick Donnelly about 1 year ago. Updated 30 days ago.

Status:
Pending Backport
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:

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

Related to Ceph - Bug #47677: qa: AttributeError: 'list' object has no attribute 'stderr' Pending Backport
Copied to Ceph - Backport #47659: octopus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp In Progress
Copied to Ceph - Backport #47660: nautilus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp In Progress

History

#1 Updated by Kyrylo Shatskyy 11 months ago

is it still reproducible?

#2 Updated by Patrick Donnelly 11 months ago

Not recently.

#3 Updated by Patrick Donnelly 11 months ago

2019-11-28T08:24:59.421 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      drivers/acpi/acpica/rsmisc.o
2019-11-28T08:25:01.091 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      fs/nfs/nfs4super.o
2019-11-28T08:25:01.213 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      fs/nfs/nfs4file.o
2019-11-28T08:25:01.629 INFO:tasks.workunit.client.0.smithi090.stdout:  CC      kernel/groups.o
2019-11-28T08:25:01.903 INFO:teuthology.orchestra.run.smithi029:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-11-28T08:25:01.908 INFO:teuthology.orchestra.run.smithi090:> sudo logrotate /etc/logrotate.d/ceph-test.conf
2019-11-28T08:25:02.022 INFO:teuthology.orchestra.run.smithi090.stderr:error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp
2019-11-28T08:25:02.024 DEBUG:teuthology.orchestra.run:got remote process result: 1
2019-11-28T08:25:02.025 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-20191127.175901/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 457, in wait
    proc.wait()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 158, in wait
    self._raise_for_status()
  File "/home/teuthworker/src/git.ceph.com_git_teuthology_master/teuthology/orchestra/run.py", line 180, in _raise_for_status
    node=self.hostname, label=self.label
CommandFailedError: Command failed on smithi090 with status 1: 'sudo logrotate /etc/logrotate.d/ceph-test.conf'

/ceph/teuthology-archive/pdonnell-2019-11-27_23:31:21-fs-wip-pdonnell-testing-20191127.175901-distro-basic-smithi/4548111/teuthology.log

#4 Updated by Patrick Donnelly 9 months ago

/ceph/teuthology-archive/pdonnell-2020-01-23_00:39:49-kcephfs-wip-pdonnell-testing-20200122.210533-distro-basic-smithi/4695462/teuthology.log

#5 Updated by Patrick Donnelly about 1 month ago

  • Project changed from teuthology to Ceph
  • Status changed from New to In Progress
  • Assignee set to Patrick Donnelly
  • Target version set to v16.0.0
  • Source set to Q/A

/ceph/teuthology-archive/pdonnell-2020-09-20_07:10:11-fs-wip-pdonnell-testing-20200920.040823-distro-basic-smithi/5451225/teuthology.log

#6 Updated by Patrick Donnelly about 1 month ago

  • Status changed from In Progress to Fix Under Review
  • Pull request ID set to 37266

#7 Updated by Patrick Donnelly 30 days ago

  • Status changed from Fix Under Review to Pending Backport
  • Backport set to octopus,nautilus

#8 Updated by Nathan Cutler 28 days ago

  • Copied to Backport #47659: octopus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp added

#9 Updated by Nathan Cutler 28 days ago

  • Copied to Backport #47660: nautilus: qa: error: error renaming temp state file /var/lib/logrotate/logrotate.status.tmp added

#10 Updated by Patrick Donnelly 26 days ago

  • Related to Bug #47677: qa: AttributeError: 'list' object has no attribute 'stderr' added

Also available in: Atom PDF