-
Bug
-
Resolution: Obsolete
-
Major
-
None
-
quay-v3.4.0
-
False
-
False
-
Undefined
-
Description:
This is an issue found when use quay to mirror image repository, when the source image repository doesn't have latest tag, the mirror was failed, quay report error message "
Mirror finished unsuccessfully for 'quay.io/quay/clair' with tag pattern '': ("skopeo inspect failed: No matching tags, including 'latest', to inspect for tags list", '', 'time="2020-11-11T03:47:08Z" level=fatal msg="Error parsing image name
"docker://quay.io/quay/clair:latest*
": Error reading manifest latest in quay.io/quay/clair: manifest unknown: manifest unknown"\n')
",see attached screenshot.
Note: Quay should support to mirror image repository whether it has latest tag or not.
Quay Image:
lizhang@lzha-mac quay3.4 % oc get pod quaysmtp-quay-app-57dd7dcbf8-zh8h4 -o json | jq '.spec.containers[0].image' "registry.redhat.io/quay/quay@sha256:12434420fa3ca1df4654bf6d08c8980b1209b13fbfe8336fd9b1ef6f04cc4c75"
Steps:
- Deploy Quay with TNG Operator with all default settings
- Login Quay
- Create new image repository and set to Mirror status
- Configure the mirror to external image repository without having latest tag
- Click "Sync Now"
- Check Mirror results
Expected Results:
The Mirror operation was failed, report error "skopeo inspect failed: No matching tags, including 'latest', to inspect for tags list"
Actual Results:
The mirror operation should complete successfully.