Uploaded image for project: 'OpenShift API for Data Protection'
  1. OpenShift API for Data Protection
  2. OADP-144

Restore partially fails for tagged imagestreams

    XMLWordPrintable

Details

    • 0
    • 0
    • 0
    • Untriaged

    Description

      Description of problem:
      Restore partially fails for tagged imagestreams with these errors:

      time="2021-11-24T18:35:18Z" level=error msg="error restoring internal-alpine:latest: ImageStream.image.openshift.io \"internal-alpine\" is invalid: []: Internal error: imagestreams \"internal-alpine\" is invalid: spec.tags[latest].from.name: Invalid value: \"internal-alpine@sha256:65b3a80ebe7471beecbc090c5b2cdd0aafeaefa0715f8f12e40dc918a3a70e32\": error generating tag event: imagestreamimage.image.openshift.io \"sha256:65b3a80ebe7471beecbc090c5b2cdd0aafeaefa0715f8f12e40dc918a3a70e32\" not found" logSource="pkg/restore/restore.go:1328" restore=openshift-adp/django-persistent
      time="2021-11-24T18:35:18Z" level=error msg="error restoring internal-alpine:tag1: ImageStream.image.openshift.io \"internal-alpine\" is invalid: []: Internal error: imagestreams \"internal-alpine\" is invalid: spec.tags[tag1].from.name: Invalid value: \"internal-alpine@sha256:5e604d3358ab7b6b734402ce2e19ddd822a354dc14843f34d36c603521dbb4f9\": error generating tag event: imagestreamimage.image.openshift.io \"sha256:5e604d3358ab7b6b734402ce2e19ddd822a354dc14843f34d36c603521dbb4f9\" not found" logSource="pkg/restore/restore.go:1328" restore=openshift-adp/django-persistent
      time="2021-11-24T18:35:18Z" level=error msg="error restoring internal-alpine:tag3: ImageStream.image.openshift.io \"internal-alpine\" is invalid: []: Internal error: imagestreams \"internal-alpine\" is invalid: spec.tags[tag3].from.name: Invalid value: \"internal-alpine@sha256:65b3a80ebe7471beecbc090c5b2cdd0aafeaefa0715f8f12e40dc918a3a70e32\": error generating tag event: imagestreamimage.image.openshift.io \"sha256:65b3a80ebe7471beecbc090c5b2cdd0aafeaefa0715f8f12e40dc918a3a70e32\" not found" logSource="pkg/restore/restore.go:1328" restore=openshift-adp/django-persistent
      

      Probably the same issue as https://bugzilla.redhat.com/show_bug.cgi?id=1816148

      Version:
      0.4.2-4
      iib:136544

      How reproducible:
      Always

      Steps to reproduce:
      Follow up the steps in this test case:
      https://polarion.engineering.redhat.com/polarion/redirect/project/OADP/workitem?id=OADP-98

      Attachments

        Issue Links

          Activity

            People

              sseago Scott Seago
              mperetz@redhat.com Maya Peretz
              Votes:
              0 Vote for this issue
              Watchers:
              8 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: