Project

General

Profile

action #72142

Avoid problematic symlinking in download assets tasks of the web UI

Added by mkittler 7 months ago. Updated 7 months ago.

Status:
New
Priority:
Low
Assignee:
-
Category:
Feature requests
Target version:
Start date:
2020-09-30
Due date:
% Done:

0%

Estimated time:
Difficulty:

Description

We recently introduced support for download asset tasks when using isos post. When there are multiple assets to be downloaded from the same URL these assets are only downloaded once and symlinks are used. The use of symlinks can be problematic because our cleanup might not treat them well, e.g. it might delete the symlink target but not the symlink itself leaving it broken.

We haven't seen this problem in practice yet so that's just a conclusion I came to when reading the download code. A possible solution would be using hard links with a fall back to copying (in case hard linking is not possible, e.g. because different filesystems are used).


Related issues

Related to openQA Project - action #70687: Download gru is attached to all scheduled jobs when doing 'isos post'Resolved2020-08-31

Related to openQA Project - action #62159: Asset GRU download not done by web UI host if job scheduled by `isos post`, fails to download and then cloned (was: … using the Web UI)Resolved2020-01-15

History

#1 Updated by okurz 7 months ago

  • Related to action #70687: Download gru is attached to all scheduled jobs when doing 'isos post' added

#2 Updated by okurz 7 months ago

  • Related to action #62159: Asset GRU download not done by web UI host if job scheduled by `isos post`, fails to download and then cloned (was: … using the Web UI) added

#3 Updated by okurz 7 months ago

  • Category set to Feature requests
  • Target version set to future

Also available in: Atom PDF