action #57785
closedRemove all assets in iso
Description
Remove .sha256 file (if exists) when removing .iso assets
Updated by coolo about 5 years ago
I disagree - this is way too specific for OBS projects. But you'd need to register the asset with the jobs so they are considered at all
Updated by coolo about 5 years ago
(which would potentially pollute our DB - why exactly are we syncing them?)
Updated by andriinikitin about 5 years ago
rsync.pl way is to read all .iso files as part of generating isos post
command to provide ISO_CHECKSUM
(and sometimes ISO_CHECKSUM_1
?), which sounds inefficient way to do things (and wrong, because the file might be corrupted during rsync).
Can we always carry .sha256 files together with .iso instead?
Updated by livdywan about 5 years ago
- Category changed from Feature requests to Regressions/Crashes
- Status changed from New to In Progress
- Assignee set to livdywan
- Target version set to Current Sprint
After studying the code I think this is actually a bug. The code intentionally ignores unknown files with no explanation or even a log message.
Updated by coolo about 5 years ago
These checksums shouldn't be in 'iso' at all - but in 'other' and tracked as job setting with ASSET_\d+
Updated by coolo about 5 years ago
- Related to action #59151: Move sha256 files to 'other' added
Updated by coolo about 5 years ago
- Subject changed from Remove .sha256 file when removing .iso assets to Remove all assets in iso
Let's redefine this one to what Christian wrote
Updated by livdywan about 5 years ago
- Status changed from In Progress to Feedback
Updated by andriinikitin about 5 years ago
So actual problem with sha256 files was started when openqa-trigger-from-ibs started carrying .sha256 files together with .iso files.
Now the problem is fixed with commit below and the scripts do register .sha256 fiels as 'other' assets:
Updated by okurz about 5 years ago
- Status changed from Feedback to Resolved
- Target version changed from Current Sprint to Done
checked on osd, found no sha256 files in /var/lib/openqa/share/factory/iso and I assume we are good.