action #43928

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

Added by okurz over 1 year ago. Updated 5 months ago.

Status:ResolvedStart date:15/11/2018
Priority:LowDue date:
Assignee:okurz% Done:

0%

Category:Feature requests
Target version:Current Sprint
Difficulty:
Duration:

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

Copied from openQA Infrastructure - action #43823: o3 workers immediately incompleting all jobs, caching ser... Resolved 15/11/2018

History

#1 Updated by okurz over 1 year ago

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

#2 Updated by okurz 5 months ago

  • Description updated (diff)

#3 Updated by coolo 5 months ago

  • Category changed from Concrete Bugs to Feature requests
  • Priority changed from Normal to Low

There is no harm done though

#4 Updated by okurz 5 months 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

#5 Updated by okurz 5 months ago

  • Status changed from Feedback to Resolved

merged

Also available in: Atom PDF