Project

General

Profile

Actions

action #43928

closed

error about "permission denied" in openqa-workercache service logs trying to call "find" on "lost+found" directory of cache

Added by okurz about 6 years ago. Updated about 5 years ago.

Status:
Resolved
Priority:
Low
Assignee:
Category:
Feature requests
Target version:
Start date:
2018-11-15
Due date:
% Done:

0%

Estimated time:

Description

Observation

From the logs on openqaworker1 in the o3 network:

# journalctl -f
-- Logs begin at Thu 2018-11-15 03:32:45 CET. --
Nov 15 09:34:33 openqaworker1 systemd[1]: Started OpenQA Worker Cache Service Minion.
Nov 15 09:34:33 openqaworker1 openqa-workercache[4683]: find: ‘/var/lib/openqa/cache/lost+found’: Permission denied
Nov 15 09:34:33 openqaworker1 openqa-workercache[4684]: find: ‘/var/lib/openqa/cache/lost+found’: Permission denied

Steps to reproduce

  • Ensure /var/lib/openqa/cache is its own ext filesystem
  • Start the systemd service openqa-worker-cacheservice-minion
  • Observe the error in the logfile, e.g. journalctl -u openqa-worker-cacheservice-minion

Expected result

I assume the lost+found directory, if existing, does not really need to be searched to prevent this error message

Workaround

Delete the directory "lost+found" when /var/lib/openqa/cache should be its own filesystem as every content should be considered transient anyway


Related issues 1 (0 open1 closed)

Copied from openQA Infrastructure (public) - action #43823: o3 workers immediately incompleting all jobs, caching service can not be reachedResolvedokurz2018-11-15

Actions
Actions

Also available in: Atom PDF