Project

General

Profile

action #129340

Updated by okurz over 1 year ago

## Observation 

 When starting a job with an asset which is a symlink, openQA dies with the following error message 

 ~~~ 
 qemu-img: Could not open '/var/lib/openqa/pool/4/ignition.qcow2': Failed to lock byte 201 
 ~~~ 

 ph03nix wrote: 
 > cdywan wrote: 
 >  
 > > Can you clarify e.g. is this a recent regression? Maybe if you have a job that used to work? If it wasn't already cleaned up in the meanwhile, adding this ticket would stop it from being removed. 
 >  
 > This is a recent regression. I have a automated script that creates symlinks to assets, which used to work until recently it stopped working with exactly this issue. 
 >  
 > I only have failures on my own openQA instance, but it's trivial to reproduce the issue (use a symlinked asset) 

 ## Steps to reproduce 

 * Create asset, which is a symlink 
 * Start a job with this asset as `HDD_1` variable (or `HDD_2`, ...) 

 ## Impact 

 * Regression, this means we can not have symlinks as asset files 

 ## Problem 

 * No hypothesis 

 ## Suggestion 

 * Investigate what the actual problem is 
 * Try to reproduce the problem with os-autoinst only. If not reproducible check if this needs an openQA worker with or without enabled worker cache 

 ## Workarounds 

 * Use hard-links or copies of asset files

Back