openshift / hypershift

Hyperscale OpenShift - clusters with hosted control planes
https://hypershift-docs.netlify.app
Apache License 2.0
432 stars 319 forks source link

Do failed image imports ever get retried? (konnectivity bootup/ oc new-app problem) #681

Closed relyt0925 closed 3 years ago

relyt0925 commented 3 years ago

Background: for a period of time since the openshift-apiserver now is wired to talk into the cluster for image imports image imports will fail. This is because konnectivity needs to startup and connect to the konnectivity server before image imports can start working.

What I have seen is image imports that hit an "internalError" only retry the first tag if there are multiple tags in an image stream. I have verified this on multiple image streams.

Trying to determine if this is a bug or expected? If expected hypershift might need to add logic to delete these and allow these to rereconcile after konnectivity has fully initalized

NAME                                                  IMAGE REPOSITORY                                                                                                 TAGS                                                  UPDATED
apicast-gateway                                       image-registry.openshift-image-registry.svc:5000/openshift/apicast-gateway                                       2.1.0.GA,2.2.0.GA,2.3.0.GA,2.4.0.GA + 5 more...       
apicurito-ui                                          image-registry.openshift-image-registry.svc:5000/openshift/apicurito-ui                                          1.2,1.3,1.4,1.5,1.6,1.7,1.8                           
cli                                                   image-registry.openshift-image-registry.svc:5000/openshift/cli                                                   latest                                                
cli-artifacts                                         image-registry.openshift-image-registry.svc:5000/openshift/cli-artifacts                                         latest                                                
dotnet                                                image-registry.openshift-image-registry.svc:5000/openshift/dotnet                                                2.1,2.1-el7,2.1-ubi8,3.1,3.1-el7 + 3 more...          9 minutes ago
dotnet-runtime                                        image-registry.openshift-image-registry.svc:5000/openshift/dotnet-runtime                                        2.1,2.1-el7,2.1-ubi8,3.1,3.1-el7 + 3 more...          
driver-toolkit                                        image-registry.openshift-image-registry.svc:5000/openshift/driver-toolkit                                        48.84.202110270303-0,latest                           8 minutes ago
eap-cd-openshift                                      image-registry.openshift-image-registry.svc:5000/openshift/eap-cd-openshift                                      12.0,13.0,14.0,15.0,16.0,17.0,18.0,19.0 + 2 more...   
eap-cd-runtime-openshift                              image-registry.openshift-image-registry.svc:5000/openshift/eap-cd-runtime-openshift                              18.0,19.0,20.0,latest                                 
fis-java-openshift                                    image-registry.openshift-image-registry.svc:5000/openshift/fis-java-openshift                                    1.0,2.0                                               
fis-karaf-openshift                                   image-registry.openshift-image-registry.svc:5000/openshift/fis-karaf-openshift                                   1.0,2.0                                               
fuse-apicurito-generator                              image-registry.openshift-image-registry.svc:5000/openshift/fuse-apicurito-generator                              1.2,1.3,1.4,1.5,1.6,1.7,1.8                           8 minutes ago
fuse7-console                                         image-registry.openshift-image-registry.svc:5000/openshift/fuse7-console                                         1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8                   8 minutes ago
fuse7-eap-openshift                                   image-registry.openshift-image-registry.svc:5000/openshift/fuse7-eap-openshift                                   1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8                   9 minutes ago
fuse7-java-openshift                                  image-registry.openshift-image-registry.svc:5000/openshift/fuse7-java-openshift                                  1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8                   8 minutes ago
fuse7-karaf-openshift                                 image-registry.openshift-image-registry.svc:5000/openshift/fuse7-karaf-openshift                                 1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8                   
golang                                                image-registry.openshift-image-registry.svc:5000/openshift/golang                                                1.13.4-ubi7,1.14.7-ubi8                               8 minutes ago
httpd                                                 image-registry.openshift-image-registry.svc:5000/openshift/httpd                                                 2.4,2.4-el7,2.4-el8                                   8 minutes ago
installer                                             image-registry.openshift-image-registry.svc:5000/openshift/installer                                             latest                                                34 seconds ago
installer-artifacts                                   image-registry.openshift-image-registry.svc:5000/openshift/installer-artifacts                                   latest                                                4 minutes ago
java                                                  image-registry.openshift-image-registry.svc:5000/openshift/java                                                  11,8,openjdk-11-el7,openjdk-11-ubi8 + 2 more...       
jboss-amq-62                                          image-registry.openshift-image-registry.svc:5000/openshift/jboss-amq-62                                          1.1,1.2,1.3,1.4,1.5,1.6,1.7                           
jboss-amq-63                                          image-registry.openshift-image-registry.svc:5000/openshift/jboss-amq-63                                          1.0,1.1,1.2,1.3,1.4                                   
jboss-datagrid65-client-openshift                     image-registry.openshift-image-registry.svc:5000/openshift/jboss-datagrid65-client-openshift                     1.0,1.1                                               
jboss-datagrid65-openshift                            image-registry.openshift-image-registry.svc:5000/openshift/jboss-datagrid65-openshift                            1.2,1.3,1.4,1.5,1.6                                   
jboss-datagrid71-client-openshift                     image-registry.openshift-image-registry.svc:5000/openshift/jboss-datagrid71-client-openshift                     1.0                                                   
jboss-datagrid71-openshift                            image-registry.openshift-image-registry.svc:5000/openshift/jboss-datagrid71-openshift                            1.1,1.0,1.2,1.3                                       9 minutes ago
jboss-datagrid72-openshift                            image-registry.openshift-image-registry.svc:5000/openshift/jboss-datagrid72-openshift                            1.0,1.1,1.2                                           
jboss-datagrid73-openshift                            image-registry.openshift-image-registry.svc:5000/openshift/jboss-datagrid73-openshift                            1.0,1.1,1.2,1.3,1.4                                   
jboss-datavirt64-driver-openshift                     image-registry.openshift-image-registry.svc:5000/openshift/jboss-datavirt64-driver-openshift                     1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7                       
jboss-datavirt64-openshift                            image-registry.openshift-image-registry.svc:5000/openshift/jboss-datavirt64-openshift                            1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7                       
jboss-decisionserver64-openshift                      image-registry.openshift-image-registry.svc:5000/openshift/jboss-decisionserver64-openshift                      1.0,1.1,1.2,1.3,1.4,1.5,1.6                           9 minutes ago
jboss-eap64-openshift                                 image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap64-openshift                                 1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8,1.9 + 1 more...       
jboss-eap70-openshift                                 image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap70-openshift                                 1.3,1.4,1.5,1.6,1.7                                   8 minutes ago
jboss-eap71-openshift                                 image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap71-openshift                                 1.1,1.2,1.3,1.4,latest                                
jboss-eap72-openjdk11-openshift-rhel8                 image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap72-openjdk11-openshift-rhel8                 1.0,1.1,latest                                        
jboss-eap72-openshift                                 image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap72-openshift                                 1.0,1.1,1.2,latest                                    9 minutes ago
jboss-eap73-openjdk11-openshift                       image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap73-openjdk11-openshift                       7.3,7.3.0,latest                                      
jboss-eap73-openjdk11-runtime-openshift               image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap73-openjdk11-runtime-openshift               7.3,7.3.0,latest                                      
jboss-eap73-openshift                                 image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap73-openshift                                 7.3,7.3.0,latest                                      
jboss-eap73-runtime-openshift                         image-registry.openshift-image-registry.svc:5000/openshift/jboss-eap73-runtime-openshift                         7.3,7.3.0,latest                                      
jboss-fuse70-console                                  image-registry.openshift-image-registry.svc:5000/openshift/jboss-fuse70-console                                  1.0                                                   9 minutes ago
jboss-fuse70-eap-openshift                            image-registry.openshift-image-registry.svc:5000/openshift/jboss-fuse70-eap-openshift                            1.0                                                   
jboss-fuse70-java-openshift                           image-registry.openshift-image-registry.svc:5000/openshift/jboss-fuse70-java-openshift                           1.0                                                   
jboss-fuse70-karaf-openshift                          image-registry.openshift-image-registry.svc:5000/openshift/jboss-fuse70-karaf-openshift                          1.0                                                   
jboss-processserver64-openshift                       image-registry.openshift-image-registry.svc:5000/openshift/jboss-processserver64-openshift                       1.0,1.1,1.2,1.3,1.4,1.5,1.6                           
jboss-webserver31-tomcat7-openshift                   image-registry.openshift-image-registry.svc:5000/openshift/jboss-webserver31-tomcat7-openshift                   1.0,1.1,1.2,1.3,1.4                                   
jboss-webserver31-tomcat8-openshift                   image-registry.openshift-image-registry.svc:5000/openshift/jboss-webserver31-tomcat8-openshift                   1.0,1.1,1.2,1.3,1.4                                   8 minutes ago
jboss-webserver54-openjdk11-tomcat9-openshift-rhel7   image-registry.openshift-image-registry.svc:5000/openshift/jboss-webserver54-openjdk11-tomcat9-openshift-rhel7   1.0,latest                                            
jboss-webserver54-openjdk11-tomcat9-openshift-ubi8    image-registry.openshift-image-registry.svc:5000/openshift/jboss-webserver54-openjdk11-tomcat9-openshift-ubi8    1.0,latest                                            
jboss-webserver54-openjdk8-tomcat9-openshift-rhel7    image-registry.openshift-image-registry.svc:5000/openshift/jboss-webserver54-openjdk8-tomcat9-openshift-rhel7    1.0,latest                                            8 minutes ago
jboss-webserver54-openjdk8-tomcat9-openshift-ubi8     image-registry.openshift-image-registry.svc:5000/openshift/jboss-webserver54-openjdk8-tomcat9-openshift-ubi8     1.0,latest                                            8 minutes ago
jenkins                                               image-registry.openshift-image-registry.svc:5000/openshift/jenkins                                               2                                                     
jenkins-agent-base                                    image-registry.openshift-image-registry.svc:5000/openshift/jenkins-agent-base                                    latest                                                9 minutes ago
jenkins-agent-maven                                   image-registry.openshift-image-registry.svc:5000/openshift/jenkins-agent-maven                                   v4.0                                                  
jenkins-agent-nodejs                                  image-registry.openshift-image-registry.svc:5000/openshift/jenkins-agent-nodejs                                  latest,v4.0                                           8 minutes ago
mariadb                                               image-registry.openshift-image-registry.svc:5000/openshift/mariadb                                               10.3,10.3-el7,10.3-el8                                
mongodb                                               image-registry.openshift-image-registry.svc:5000/openshift/mongodb                                               3.6                                                   
must-gather                                           image-registry.openshift-image-registry.svc:5000/openshift/must-gather                                           latest                                                35 seconds ago
mysql                                                 image-registry.openshift-image-registry.svc:5000/openshift/mysql                                                 8.0,8.0-el7,8.0-el8                                   
nginx                                                 image-registry.openshift-image-registry.svc:5000/openshift/nginx                                                 1.14-el8,1.16,1.16-el7,1.16-el8 + 2 more...           
nodejs                                                image-registry.openshift-image-registry.svc:5000/openshift/nodejs                                                10-ubi8,12,12-ubi7,12-ubi8,14-ubi7 + 2 more...        7 seconds ago
oauth-proxy                                           image-registry.openshift-image-registry.svc:5000/openshift/oauth-proxy                                           v4.4                                                  4 minutes ago
openjdk-11-rhel7                                      image-registry.openshift-image-registry.svc:5000/openshift/openjdk-11-rhel7                                      1.0,1.1                                               
openjdk-11-rhel8                                      image-registry.openshift-image-registry.svc:5000/openshift/openjdk-11-rhel8                                      1.0                                                   
perl                                                  image-registry.openshift-image-registry.svc:5000/openshift/perl                                                  5.26-ubi8,5.30,5.30-el7,5.30-ubi8                     
php                                                   image-registry.openshift-image-registry.svc:5000/openshift/php                                                   7.2-ubi8,7.3,7.3-ubi7,7.3-ubi8,7.4-ubi8               
postgresql                                            image-registry.openshift-image-registry.svc:5000/openshift/postgresql                                            10-el8,12,12-el7,12-el8,9.6-el8                       
python                                                image-registry.openshift-image-registry.svc:5000/openshift/python                                                2.7,2.7-ubi7,2.7-ubi8,3.6-ubi8,3.8 + 2 more...        
redhat-openjdk18-openshift                            image-registry.openshift-image-registry.svc:5000/openshift/redhat-openjdk18-openshift                            1.0,1.1,1.2,1.3,1.4,1.5,1.6,1.7,1.8                   8 minutes ago
redhat-sso70-openshift                                image-registry.openshift-image-registry.svc:5000/openshift/redhat-sso70-openshift                                1.3,1.4                                               8 minutes ago
redhat-sso71-openshift                                image-registry.openshift-image-registry.svc:5000/openshift/redhat-sso71-openshift                                1.0,1.1,1.2,1.3                                       
redhat-sso72-openshift                                image-registry.openshift-image-registry.svc:5000/openshift/redhat-sso72-openshift                                1.0,1.1,1.2,1.3,1.4                                   8 minutes ago
redhat-sso73-openshift                                image-registry.openshift-image-registry.svc:5000/openshift/redhat-sso73-openshift                                1.0,latest                                            
redis                                                 image-registry.openshift-image-registry.svc:5000/openshift/redis                                                 5,5-el7,5-el8                                         9 minutes ago
rhdm-decisioncentral-rhel8                            image-registry.openshift-image-registry.svc:5000/openshift/rhdm-decisioncentral-rhel8                            7.10.1                                                9 minutes ago
rhdm-kieserver-rhel8                                  image-registry.openshift-image-registry.svc:5000/openshift/rhdm-kieserver-rhel8                                  7.10.1                                                
rhpam-businesscentral-monitoring-rhel8                image-registry.openshift-image-registry.svc:5000/openshift/rhpam-businesscentral-monitoring-rhel8                7.10.1                                                9 minutes ago
rhpam-businesscentral-rhel8                           image-registry.openshift-image-registry.svc:5000/openshift/rhpam-businesscentral-rhel8                           7.10.1                                                8 minutes ago
rhpam-kieserver-rhel8                                 image-registry.openshift-image-registry.svc:5000/openshift/rhpam-kieserver-rhel8                                 7.10.1                                                8 minutes ago
rhpam-smartrouter-rhel8                               image-registry.openshift-image-registry.svc:5000/openshift/rhpam-smartrouter-rhel8                               7.10.1                                                8 minutes ago
ruby                                                  image-registry.openshift-image-registry.svc:5000/openshift/ruby                                                  2.5-ubi8,2.6,2.6-ubi7,2.6-ubi8,2.7 + 2 more...        
sso74-openshift-rhel8                                 image-registry.openshift-image-registry.svc:5000/openshift/sso74-openshift-rhel8                                 7.4                                                   
tests                                                 image-registry.openshift-image-registry.svc:5000/openshift/tests                                                 latest                                                
tools                                                 image-registry.openshift-image-registry.svc:5000/openshift/tools                                                 latest                                                
ubi8-openjdk-11                                       image-registry.openshift-image-registry.svc:5000/openshift/ubi8-openjdk-11                                       1.3                                                   
ubi8-openjdk-8                                        image-registry.openshift-image-registry.svc:5000/openshift/ubi8-openjdk-8                                        1.3                                                   

What I am seeing is these imports (anything that does not have an updated field is failed are never retried and if apps try and utilize them the new-app command fails since the image import is bad. This is expected for a period of time (when konnectivity is getting provisioned and cluster-dns is getting setup since konnectivity runs in the pod network). During that time: konnectivity-agent won't be able to connect back to the master. However, these image imports proceed and end up in a failed state.

Work around is to delete them and they will get reconciled and retried but wondering what a more graceful permanent solution is.

relyt0925 commented 3 years ago

I looked further in this use case and it looks like only the first tag is retried

Tylers-MacBook-Pro:armada-bootstrap tylerlisowski$ kubectl --kubeconfig /tmp/59555688-admin-kubeconfig get imagestreams -n openshift nginx -o yaml
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
  annotations:
    openshift.io/display-name: Nginx HTTP server and a reverse proxy (nginx)
    openshift.io/image.dockerRepositoryCheck: "2021-11-15T05:06:41Z"
    samples.operator.openshift.io/version: 4.8.18
  creationTimestamp: "2021-11-15T04:54:55Z"
  generation: 3
  labels:
    samples.operator.openshift.io/managed: "true"
  name: nginx
  namespace: openshift
  resourceVersion: "23068"
  uid: 833d32c9-855e-4e84-a7ed-d51cc4b38a9d
spec:
  lookupPolicy:
    local: false
  tags:
  - annotations:
      description: Build and serve static content via Nginx HTTP server and a reverse
        proxy (nginx) on RHEL 8. For more information about using this builder image,
        including OpenShift considerations, see https://github.com/sclorg/nginx-container/blob/master/1.14/README.md.
      iconClass: icon-nginx
      openshift.io/display-name: Nginx HTTP server and a reverse proxy 1.14 (RHEL
        8)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nginx-ex.git
      supports: nginx
      tags: builder,nginx
      version: "1.14"
    from:
      kind: DockerImage
      name: registry.redhat.io/rhel8/nginx-114:latest
    generation: 3
    importPolicy: {}
    name: 1.14-el8
    referencePolicy:
      type: Local
  - annotations:
      description: Build and serve static content via Nginx HTTP server and a reverse
        proxy (nginx) on RHEL 7. For more information about using this builder image,
        including OpenShift considerations, see https://github.com/sclorg/nginx-container/blob/master/1.16/README.md.
      iconClass: icon-nginx
      openshift.io/display-name: Nginx HTTP server and a reverse proxy 1.16
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nginx-ex.git
      supports: nginx
      tags: builder,nginx,hidden
      version: "1.16"
    from:
      kind: DockerImage
      name: registry.redhat.io/rhscl/nginx-116-rhel7:latest
    generation: 2
    importPolicy: {}
    name: "1.16"
    referencePolicy:
      type: Local
  - annotations:
      description: Build and serve static content via Nginx HTTP server and a reverse
        proxy (nginx) on RHEL 7. For more information about using this builder image,
        including OpenShift considerations, see https://github.com/sclorg/nginx-container/blob/master/1.16/README.md.
      iconClass: icon-nginx
      openshift.io/display-name: Nginx HTTP server and a reverse proxy 1.16 (RHEL
        7)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nginx-ex.git
      supports: nginx
      tags: builder,nginx
      version: "1.16"
    from:
      kind: DockerImage
      name: registry.redhat.io/rhscl/nginx-116-rhel7:latest
    generation: 2
    importPolicy: {}
    name: 1.16-el7
    referencePolicy:
      type: Local
  - annotations:
      description: Build and serve static content via Nginx HTTP server and a reverse
        proxy (nginx) on RHEL 8. For more information about using this builder image,
        including OpenShift considerations, see https://github.com/sclorg/nginx-container/blob/master/1.16/README.md.
      iconClass: icon-nginx
      openshift.io/display-name: Nginx HTTP server and a reverse proxy 1.16 (RHEL
        8)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nginx-ex.git
      supports: nginx
      tags: builder,nginx
      version: "1.16"
    from:
      kind: DockerImage
      name: registry.redhat.io/rhel8/nginx-116:latest
    generation: 2
    importPolicy: {}
    name: 1.16-el8
    referencePolicy:
      type: Local
  - annotations:
      description: Build and serve static content via Nginx HTTP server and a reverse
        proxy (nginx) on RHEL 7. For more information about using this builder image,
        including OpenShift considerations, see https://github.com/sclorg/nginx-container/blob/master/1.18/README.md.
      iconClass: icon-nginx
      openshift.io/display-name: Nginx HTTP server and a reverse proxy 1.18 (UBI 7)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nginx-ex.git
      supports: nginx
      tags: builder,nginx
      version: "1.18"
    from:
      kind: DockerImage
      name: registry.redhat.io/ubi7/nginx-118:latest
    generation: 2
    importPolicy: {}
    name: 1.18-ubi7
    referencePolicy:
      type: Local
  - annotations:
      description: Build and serve static content via Nginx HTTP server and a reverse
        proxy (nginx) on RHEL 8. For more information about using this builder image,
        including OpenShift considerations, see https://github.com/sclorg/nginx-container/blob/master/1.18/README.md.
      iconClass: icon-nginx
      openshift.io/display-name: Nginx HTTP server and a reverse proxy 1.18 (UBI 8)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nginx-ex.git
      supports: nginx
      tags: builder,nginx
      version: "1.18"
    from:
      kind: DockerImage
      name: registry.redhat.io/ubi8/nginx-118:latest
    generation: 2
    importPolicy: {}
    name: 1.18-ubi8
    referencePolicy:
      type: Local
  - annotations:
      description: |-
        Build and serve static content via Nginx HTTP server and a reverse proxy (nginx) on RHEL. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/nginx-container/blob/master/1.18/README.md.

        WARNING: By selecting this tag, your application will automatically update to use the latest version of Nginx available on OpenShift, including major version updates.
      iconClass: icon-nginx
      openshift.io/display-name: Nginx HTTP server and a reverse proxy (Latest)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nginx-ex.git
      supports: nginx
      tags: builder,nginx
    from:
      kind: ImageStreamTag
      name: 1.18-ubi8
    generation: 1
    importPolicy: {}
    name: latest
    referencePolicy:
      type: Local
status:
  dockerImageRepository: image-registry.openshift-image-registry.svc:5000/openshift/nginx
  tags:
  - items:
    - created: "2021-11-15T05:06:41Z"
      dockerImageReference: registry.redhat.io/rhel8/nginx-114@sha256:c9e035d14cc8681307275eb62a2b2a054048121941ba70e68e1c6ac89dc875ed
      generation: 3
      image: sha256:c9e035d14cc8681307275eb62a2b2a054048121941ba70e68e1c6ac89dc875ed
    tag: 1.14-el8
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:56Z"
      message: 'Internal error occurred: registry.redhat.io/rhscl/nginx-116-rhel7:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: "1.16"
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:56Z"
      message: 'Internal error occurred: registry.redhat.io/rhscl/nginx-116-rhel7:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 1.16-el7
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:56Z"
      message: 'Internal error occurred: registry.redhat.io/rhel8/nginx-116:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 1.16-el8
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:56Z"
      message: 'Internal error occurred: registry.redhat.io/ubi7/nginx-118:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 1.18-ubi7
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:56Z"
      message: 'Internal error occurred: registry.redhat.io/ubi8/nginx-118:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 1.18-ubi8
relyt0925 commented 3 years ago
Tylers-MacBook-Pro:armada-bootstrap tylerlisowski$ kubectl --kubeconfig /tmp/59555688-admin-kubeconfig get imagestreams -n openshift nodejs -o yaml
apiVersion: image.openshift.io/v1
kind: ImageStream
metadata:
  annotations:
    openshift.io/display-name: Node.js
    openshift.io/image.dockerRepositoryCheck: "2021-11-15T05:06:44Z"
    samples.operator.openshift.io/version: 4.8.18
  creationTimestamp: "2021-11-15T04:54:52Z"
  generation: 3
  labels:
    samples.operator.openshift.io/managed: "true"
  name: nodejs
  namespace: openshift
  resourceVersion: "23107"
  uid: 9dd0acf4-e7c9-4915-acd3-c2ba92754597
spec:
  lookupPolicy:
    local: false
  tags:
  - annotations:
      description: Build and run Node.js 10 applications on UBI 8. For more information
        about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/10/README.md.
      iconClass: icon-nodejs
      openshift.io/display-name: Node.js 10 (UBI 8)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nodejs-ex.git
      tags: builder,nodejs
      version: "10"
    from:
      kind: DockerImage
      name: registry.redhat.io/ubi8/nodejs-10:latest
    generation: 3
    importPolicy: {}
    name: 10-ubi8
    referencePolicy:
      type: Local
  - annotations:
      description: Build and run Node.js 12 applications on RHEL 7. For more information
        about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/12/README.md.
      iconClass: icon-nodejs
      openshift.io/display-name: Node.js 12
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nodejs-ex.git
      tags: builder,nodejs,hidden
      version: "12"
    from:
      kind: DockerImage
      name: registry.redhat.io/rhscl/nodejs-12-rhel7:latest
    generation: 2
    importPolicy: {}
    name: "12"
    referencePolicy:
      type: Local
  - annotations:
      description: Build and run Node.js 12 applications on UBI 7. For more information
        about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/12/README.md.
      iconClass: icon-nodejs
      openshift.io/display-name: Node.js 12 (UBI 7)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nodejs-ex.git
      tags: builder,nodejs
      version: "12"
    from:
      kind: DockerImage
      name: registry.redhat.io/ubi7/nodejs-12:latest
    generation: 2
    importPolicy: {}
    name: 12-ubi7
    referencePolicy:
      type: Local
  - annotations:
      description: Build and run Node.js 12 applications on UBI 8. For more information
        about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/12/README.md.
      iconClass: icon-nodejs
      openshift.io/display-name: Node.js 12 (UBI 8)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nodejs-ex.git
      tags: builder,nodejs
      version: "12"
    from:
      kind: DockerImage
      name: registry.redhat.io/ubi8/nodejs-12:latest
    generation: 2
    importPolicy: {}
    name: 12-ubi8
    referencePolicy:
      type: Local
  - annotations:
      description: Build and run Node.js 14 applications on UBI 7. For more information
        about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/14/README.md.
      iconClass: icon-nodejs
      openshift.io/display-name: Node.js 14 (UBI 7)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nodejs-ex.git
      tags: builder,nodejs
      version: "14"
    from:
      kind: DockerImage
      name: registry.redhat.io/ubi7/nodejs-14:latest
    generation: 2
    importPolicy: {}
    name: 14-ubi7
    referencePolicy:
      type: Local
  - annotations:
      description: Build and run Node.js 14 applications on UBI 8. For more information
        about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/14/README.md.
      iconClass: icon-nodejs
      openshift.io/display-name: Node.js 14 (UBI 8)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nodejs-ex.git
      tags: builder,nodejs
      version: "14"
    from:
      kind: DockerImage
      name: registry.redhat.io/ubi8/nodejs-14:latest
    generation: 2
    importPolicy: {}
    name: 14-ubi8
    referencePolicy:
      type: Local
  - annotations:
      description: |-
        Build and run Node.js applications on UBI. For more information about using this builder image, including OpenShift considerations, see https://github.com/sclorg/s2i-nodejs-container/blob/master/14/README.md.

        WARNING: By selecting this tag, your application will automatically update to use the latest version of Node.js available on OpenShift, including major version updates.
      iconClass: icon-nodejs
      openshift.io/display-name: Node.js (Latest)
      openshift.io/provider-display-name: Red Hat, Inc.
      sampleRepo: https://github.com/sclorg/nodejs-ex.git
      supports: nodejs
      tags: builder,nodejs
    from:
      kind: ImageStreamTag
      name: 14-ubi8
    generation: 1
    importPolicy: {}
    name: latest
    referencePolicy:
      type: Local
status:
  dockerImageRepository: image-registry.openshift-image-registry.svc:5000/openshift/nodejs
  tags:
  - items:
    - created: "2021-11-15T05:06:44Z"
      dockerImageReference: registry.redhat.io/ubi8/nodejs-10@sha256:4b8d60103eebcbe838b9ddcc8425f9d1a08ce562cc65c96feebbb9160e6e8cfb
      generation: 3
      image: sha256:4b8d60103eebcbe838b9ddcc8425f9d1a08ce562cc65c96feebbb9160e6e8cfb
    tag: 10-ubi8
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:54Z"
      message: 'Internal error occurred: registry.redhat.io/rhscl/nodejs-12-rhel7:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: "12"
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:54Z"
      message: 'Internal error occurred: registry.redhat.io/ubi7/nodejs-12:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 12-ubi7
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:54Z"
      message: 'Internal error occurred: registry.redhat.io/ubi8/nodejs-12:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 12-ubi8
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:54Z"
      message: 'Internal error occurred: registry.redhat.io/ubi7/nodejs-14:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 14-ubi7
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:54Z"
      message: 'Internal error occurred: registry.redhat.io/ubi8/nodejs-14:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 14-ubi8
relyt0925 commented 3 years ago

It looks to be moving but at a slow pace

  dockerImageRepository: image-registry.openshift-image-registry.svc:5000/openshift/nodejs
  tags:
  - items:
    - created: "2021-11-15T05:06:44Z"
      dockerImageReference: registry.redhat.io/ubi8/nodejs-10@sha256:4b8d60103eebcbe838b9ddcc8425f9d1a08ce562cc65c96feebbb9160e6e8cfb
      generation: 3
      image: sha256:4b8d60103eebcbe838b9ddcc8425f9d1a08ce562cc65c96feebbb9160e6e8cfb
    tag: 10-ubi8
  - items:
    - created: "2021-11-15T05:25:43Z"
      dockerImageReference: registry.redhat.io/rhscl/nodejs-12-rhel7@sha256:926ceef83d87759ce363fa14079aeb5b777cbeb7650b4f308abc11ce558920ef
      generation: 4
      image: sha256:926ceef83d87759ce363fa14079aeb5b777cbeb7650b4f308abc11ce558920ef
    tag: "12"
  - conditions:
    - generation: 2
      lastTransitionTime: "2021-11-15T04:54:54Z"
      message: 'Internal error occurred: registry.redhat.io/ubi7/nodejs-12:latest:
        Get "https://registry.redhat.io/v2/": EOF'
      reason: InternalError
      status: "False"
      type: ImportSuccess
    items: null
    tag: 12-ubi7
relyt0925 commented 3 years ago

fixed by going direct on the well known registries