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 over 5 years ago. Updated over 4 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 - action #43823: o3 workers immediately incompleting all jobs, caching service can not be reachedResolvedokurz2018-11-15

Actions
Actions #1

Updated by okurz over 5 years ago

  • Copied from action #43823: o3 workers immediately incompleting all jobs, caching service can not be reached added
Actions #2

Updated by okurz over 4 years ago

  • Description updated (diff)
Actions #3

Updated by coolo over 4 years ago

  • Category changed from Regressions/Crashes to Feature requests
  • Priority changed from Normal to Low

There is no harm done though

Actions #4

Updated by okurz over 4 years ago

  • Status changed from New to Feedback
  • Assignee set to okurz
  • Target version set to Current Sprint

I guess we can solve this by documentation :) https://github.com/os-autoinst/openQA/pull/2462

Actions #5

Updated by okurz over 4 years ago

  • Status changed from Feedback to Resolved

merged

Actions

Also available in: Atom PDF