Uploaded image for project: 'Project Quay'
  1. Project Quay
  2. PROJQUAY-3998

First push of an image to a mirror registry fails

    XMLWordPrintable

Details

    • Bug
    • Resolution: Unresolved
    • Major
    • None
    • None
    • OMR, quay
    • False
    • None
    • False
    • 0

    Description

      Using mirror-registry v1.2.0
      After installation pushing an image to the registry fails , a second try is successful.

      [cloud-user@installer-host ~]$ /home/cloud-user/mirror-registry install -k /home/cloud-user/.ssh/id_rsa --sslCert domain.crt --sslKey domain.key --targetHostname installer-host.example.com --initUser dummy123 --initPassword dummy123 > /home/cloud-user/registry_intall.log 2>&1
      [cloud-user@installer-host ~]$ podman push --authfile /home/cloud-user/secrets.json 33152366d36b installer-host.example.com:8443/quay.io/kuryr/demo
      Getting image source signatures
      Copying blob c654a53af328 done
      Error: error copying image to the remote destination: Error trying to reuse blob sha256:ace0eda3e3be35a979cec764a3321b4c7d0b9e4bb3094d20d3ff6782961a8d54 at destination: Requesting bear token: invalid status code from registry 405 (Method
      Not Allowed)
      [cloud-user@installer-host ~]$ podman push --authfile /home/cloud-user/secrets.json 33152366d36b installer-host.example.com:8443/quay.io/kuryr/demo
      Getting image source signatures
      Copying blob ff87cb07a269 done
      Copying blob 277f1be07d96 done
      Copying blob ace0eda3e3be done
      Copying blob c654a53af328 skipped: already exists
      Copying config 33152366d3 done
      Writing manifest to image destination
      Storing signatures

      Attachments

        Issue Links

          Activity

            People

              Unassigned Unassigned
              itbrown@redhat.com Itshak Brown
              Votes:
              0 Vote for this issue
              Watchers:
              5 Start watching this issue

              Dates

                Created:
                Updated: