Actions
action #43928
closederror about "permission denied" in openqa-workercache service logs trying to call "find" on "lost+found" directory of cache
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
Actions