Bug 1887436 - Openshift-samples operator Degraded with message FailedImageImports
Summary: Openshift-samples operator Degraded with message FailedImageImports
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: ImageStreams
Version: 4.5
Hardware: All
OS: All
urgent
urgent
Target Milestone: ---
: ---
Assignee: Oleg Bulatov
QA Contact: Wenjing Zheng
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2020-10-12 13:21 UTC by Ashish Prajapati
Modified: 2024-03-25 16:41 UTC (History)
14 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of:
Environment:
Last Closed: 2021-02-05 14:41:13 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)

Description Ashish Prajapati 2020-10-12 13:21:11 UTC
Description of problem:

Openshift-samples operator Degraded with message FailedImageImports

openshift-samples                         4.5.13   True       True         True      1m9s


oc get configs.samples.operator.openshift.io cluster -o yaml
apiVersion: samples.operator.openshift.io/v1
kind: Config
metadata:
  creationTimestamp: "2020-10-09T14:56:34Z"
  finalizers:
  - samples.operator.openshift.io/finalizer
  generation: 1
  managedFields:
  - apiVersion: samples.operator.openshift.io/v1
    fieldsType: FieldsV1
    fieldsV1:
      f:metadata:
        f:finalizers:
          .: {}
          v:"samples.operator.openshift.io/finalizer": {}
      f:spec:
        .: {}
        f:architectures: {}
        f:managementState: {}
      f:status:
        .: {}
        f:architectures: {}
        f:conditions: {}
        f:managementState: {}
    manager: cluster-samples-operator
    operation: Update
    time: "2020-10-09T14:56:43Z"
  name: cluster
  resourceVersion: "68580547"
  selfLink: /apis/samples.operator.openshift.io/v1/configs/cluster
  uid: aa5f1f1b-117a-4651-8dd9-4bf1ec251069
spec:
  architectures:
  - x86_64
  managementState: Managed
status:
  architectures:
  - x86_64
  conditions:
  - lastTransitionTime: "2020-10-09T14:56:37Z"
    lastUpdateTime: "2020-10-09T14:56:37Z"
    status: "True"
    type: ConfigurationValid
  - lastTransitionTime: "2020-10-09T14:56:40Z"
    lastUpdateTime: "2020-10-09T14:56:41Z"
    message: '<imagestream/jboss-datagrid65-client-openshift>Internal error occurred:
      registry.redhat.io/jboss-datagrid-6/datagrid65-client-openshift:1.1: Get https://registry.redhat.io/v2/jboss-datagrid-6/datagrid65-client-openshift/manifests/1.1:
      unauthorized: Please login to the Red Hat Registry using your Customer Portal
      credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication<imagestream/jboss-datagrid65-client-openshift><imagestream/mariadb>Internal
      error occurred: registry.redhat.io/rhscl/mariadb-103-rhel7:latest: Get https://registry.redhat.io/v2/rhscl/mariadb-103-rhel7/manifests/latest:
      unauthorized: Please login to the Red Hat Registry using your Customer Portal
      credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication<imagestream/mariadb><imagestream/jboss-datavirt64-openshift>Internal
      error occurred: registry.redhat.io/jboss-datavirt-6/datavirt64-openshift:1.5:
      Get https://registry.redhat.io/v2/jboss-datavirt-6/datavirt64-openshift/manifests/1.5:
      unauthorized: Please login to the Red Hat Registry using your Customer Portal
      credentials. Further instructions can be found here: https://access.redhat.com/RegistryAuthentication<imagestream/jboss-datavirt64-openshift>'
    reason: 'jboss-datagrid65-client-openshift mariadb jboss-datavirt64-openshift '
    status: "True"
    type: ImportImageErrorsExist
  - lastTransitionTime: "2020-10-09T14:56:37Z"
    lastUpdateTime: "2020-10-09T14:56:41Z"
    reason: 'eap-cd-runtime-openshift redhat-sso70-openshift eap-cd-openshift mysql
      nodejs redhat-sso71-openshift openjdk-11-rhel8 jboss-eap70-openshift fis-java-openshift
      fis-karaf-openshift fuse7-console jboss-datagrid65-openshift jboss-fuse70-karaf-openshift
      jboss-webserver31-tomcat8-openshift jboss-webserver50-tomcat9-openshift apicast-gateway
      ruby redhat-sso72-openshift httpd jboss-processserver64-openshift rhpam-businesscentral-rhel8
      rhpam-kieserver-rhel8 jboss-amq-63 jboss-datagrid71-client-openshift jboss-datavirt64-driver-openshift
      jboss-eap71-openshift java mongodb sso74-openshift-rhel8 jboss-datavirt64-openshift
      jboss-decisionserver64-openshift dotnet-runtime fuse7-karaf-openshift jboss-eap72-openshift
      nginx php rhpam-businesscentral-monitoring-rhel8 redhat-sso73-openshift jboss-datagrid73-openshift
      fuse-apicurito-generator jboss-fuse70-java-openshift jenkins-agent-maven rhdm-decisioncentral-rhel8
      jboss-datagrid71-openshift jboss-datagrid72-openshift jenkins-agent-nodejs fuse7-java-openshift
      jboss-fuse70-console golang jboss-webserver31-tomcat7-openshift jboss-eap64-openshift
      apicurito-ui dotnet fuse7-eap-openshift openjdk-8-rhel8 jboss-webserver30-tomcat8-openshift
      rhdm-kieserver-rhel8 openjdk-11-rhel7 redhat-openjdk18-openshift postgresql
      jboss-fuse70-eap-openshift jenkins rhpam-smartrouter-rhel8 perl python jboss-webserver30-tomcat7-openshift '
    status: "True"
    type: ImageChangesInProgress
  - lastTransitionTime: "2020-10-09T14:56:40Z"
    lastUpdateTime: "2020-10-09T14:56:40Z"
    status: "True"
    type: SamplesExist
  - lastTransitionTime: "2020-10-09T14:56:37Z"
    lastUpdateTime: "2020-10-09T14:56:37Z"
    status: "True"
    type: ImportCredentialsExist
  - lastTransitionTime: "2020-10-09T14:56:37Z"
    lastUpdateTime: "2020-10-09T14:56:37Z"
    status: "False"
    type: RemovePending
  - lastTransitionTime: "2020-10-09T14:56:37Z"
    lastUpdateTime: "2020-10-09T14:56:37Z"
    status: "False"
    type: MigrationInProgress
  managementState: Managed


Version-Release number of selected component (if applicable):

OCP 4.5.X


Actual results:
openshift-samples reports degraded with FailedImageImports


Expected results:
Samples installation successful at 4.5.X
openshift-samples should report Available

Comment 34 Miciah Dashiel Butler Masters 2020-11-13 01:51:43 UTC
Are the DNS failures consistent or intermittent?

Can you verify that the upstream resolver is accessible and responding properly?  The cluster DNS service should be using the upstream resolver from the host's /etc/resolv.conf, so the following is a way to perform this verification:

    for pod in $(oc -n openshift-dns get pods -l dns.operator.openshift.io/daemonset-dns=default -o name)
    do oc -n openshift-dns rsh -c dns "$pod" dig +search registry.redhat.io
    done

Comment 58 mfisher 2021-01-20 20:04:55 UTC
Updating target-release as it appears this will not make the 4.7 release schedule.

Comment 66 Red Hat Bugzilla 2023-09-15 00:49:31 UTC
The needinfo request[s] on this closed bug have been removed as they have been unresolved for 500 days


Note You need to log in before you can comment on or make changes to this bug.