-
Bug
-
Resolution: Unresolved
-
Major
-
CNV v4.19.2
-
None
-
Quality / Stability / Reliability
-
2
-
False
-
-
False
-
CNV v4.19.9.rhel9-1
-
-
CNV Storage 278
-
None
Description of problem:
In some environments the export server might lack permissions to handle files that aren't created by Kubevirt or CDI, such as the lost+found directory. When that happens, export fails with {"component":"virt-exportserver-virt-export-example-export","level":"info","msg":"Starting export server","pos":"virt-exportserver.go:40","timestamp":"2025-04-16T01:25:28.213894Z"} {"component":"virt-exportserver-virt-export-example-export","level":"error","msg":"/export-volumes/test/lost+found may lack read permissions","pos":"exportserver.go:519","reason":"open /export-volumes/test/lost+found: permission denied","timestamp":"2025-04-16T01:25:28.214832Z"} {"component":"virt-exportserver-virt-export-example-export","level":"info","msg":"unable to manipulate /export-volumes/test's contents, exiting\n","pos":"exportserver.go:127","timestamp":"2025-04-16T01:25:28.214880Z"} We should exclude files not handled by Kubevirt (or CDI) to avoid this issue.
Version-Release number of selected component (if applicable):
4.19
How reproducible:
Always
Steps to Reproduce:
1. Create VM using storage with restricted permissions for non-kubevirt files 2. Create export 3. Export fails
Actual results:
Export server fails with lack of permissions
Expected results:
The export server should exclude non-kubevirt files such as lost+found
Additional info: