Project

General

Profile

Actions

action #72142

open

Avoid problematic symlinking in download assets tasks of the web UI

Added by mkittler about 4 years ago. Updated about 4 years ago.

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

0%

Estimated time:

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 2 (0 open2 closed)

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

Actions
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)ResolvedXiaojing_liu2020-01-15

Actions
Actions #1

Updated by okurz about 4 years ago

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

Updated by okurz about 4 years 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
Actions #3

Updated by okurz about 4 years ago

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

Also available in: Atom PDF