openshift / openshift/lightspeed-rag-content

podman run: kernel does not support overlay fs

Open
#788 1 comment 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
HTML
Stars
19
Forks
38
Avg merge
17h 57m
Merged PRs (30d)
4

Description

I try to create the my-byok-image by running:

$ podman run -it  --device=/dev/fuse   -v $XDG_RUNTIME_DIR/containers/auth.json:/run/user/0/containers/auth.json:Z   -v $MYDIR/my-knowledge:/markdown:Z   -v $MYDIR/output:/output:Z   registry.redhat.io/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9:latest
Error: kernel does not support overlay fs: unable to create kernel-style whiteout: permission denied
WARN[0000] failed to shutdown storage: "kernel does not support overlay fs: unable to create kernel-style whiteout: permission denied"

Test for the filesystem works fine

# check /markdown
$ podman run -it --rm --device=/dev/fuse \
  -v $XDG_RUNTIME_DIR/containers/auth.json:/run/user/0/containers/auth.json:Z \
  -v $MYDIR/my-knowledge:/markdown:Z \
  -v $MYDIR/output:/output:Z \
  registry.redhat.io/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9:latest ls -l /markdown
total 4
-rw-r--r--. 1 root root 1798 Aug 14 16:16 general.md

# create file /output/test
$ podman run -it --rm --device=/dev/fuse   -v $XDG_RUNTIME_DIR/containers/auth.json:/run/user/0/containers/auth.json:Z   -v $MYDIR/my-knowledge:/markdown:Z   -v $MYDIR/output:/output:Z   registry.redhat.io/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9:latest touch /output/test

# check /output/test
$ podman run -it --rm --device=/dev/fuse   -v $XDG_RUNTIME_DIR/containers/auth.json:/run/user/0/containers/auth.json:Z   -v $MYDIR/my-knowledge:/markdown:Z   -v $MYDIR/output:/output:Z   registry.redhat.io/openshift-lightspeed-tech-preview/lightspeed-rag-tool-rhel9:latest ls -l /output
total 0
-rw-r--r--. 1 root root 0 Aug 17 10:51 test

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start by reproducing the shown podman run command with /dev/fuse and the mounted /markdown and /output paths, then investigate the kernel overlay filesystem permission error. Done means the lightspeed-rag-tool-rhel9:latest image starts successfully and the documented filesystem checks still work.

Written by the indexing model from the issue text.

Assessment

Domain
infrastructure
Issue type
Bug
Difficulty
4/5
Estimated time
3-5 days
Activity status
Quiet
Clarity
Needs clarification
Newbie friendliness
30/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.