We sometimes see the following error in the logs: Fault(1000): upload path exists: /mnt/koji/work/osbuild-cg/osbuild-composer-koji-082e1c88/Fedora-IoT-38.raw.xz. I think this happens when we retry the upload call of the first chunk due to random network issues. The solution is to always upload in the overwriting mode, which ignores the already existing file. See https://pagure.io/koji/blob/175ecb5e8f3d45a1d244b227eb889321e5dd0a29/f/kojihub/kojihub.py#_15522 This is safe because: 1) We use UUIDs in the filename, which means that there should never be a real conflict. 2) The overwriting mode is actually the default mode in koji, see https://pagure.io/koji/blob/175ecb5e8f3d45a1d244b227eb889321e5dd0a29/f/koji/__init__.py#_3342 Signed-off-by: Ondřej Budai <ondrej@budai.cz> |
||
|---|---|---|
| .. | ||
| azure | ||
| koji | ||
| oci | ||
| vmware | ||