Uploaded image for project: 'OpenShift Bugs'
  1. OpenShift Bugs
  2. OCPBUGS-32745

2 minutes time out degrades machineconfignode resources when pinning release images

XMLWordPrintable

    • Low
    • None
    • False
    • Hide

      None

      Show
      None

      Description of problem:

      
          

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

      
          

      How reproducible:

      
          

      Steps to Reproduce:

          1Description of problem:{code:none}
      If all the images in the pinnedimageset are not pulled before 2 minutes the machineconfignode is degraded
      
      
        - lastTransitionTime: "2024-04-23T10:30:46Z"
          message: 'Error: requeue: prefetching images incomplete after: 2m0s'
          reason: PrefetchFailed
          status: "True"
          type: PinnedImageSetsDegraded
      
          

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

          pre-merge https://github.com/openshift/machine-config-operator/pull/4303
          

      How reproducible:

      Always
          

      Steps to Reproduce:

          1.  execute this command to fill in the following pinnedimageset
      
      
      $ oc adm release info   -o pullspec | awk '{print "   - name: " $1}'
         - name: registry.build03.ci.openshift.org/ci-ln-d30q8sk/stable@sha256:7b1b1255645d6fe7a...
         - name: registry.build03.ci.openshift.org/ci-ln-d30q8sk/stable@sha256:42141b60a0ecaaab...
      ....
      
      
      
      apiVersion: machineconfiguration.openshift.io/v1alpha1
      kind: PinnedImageSet
      metadata:
        [?4ms:
          machineconfiguration.openshift.io/role: worker
        name: my-worker-pinned-images-all
      spec:
        pinnedImages:
         - name: registry.build03.ci.openshift.org/ci-ln-d30q8sk/stable@sha256:7b1b1255645d6fe7a...
         - name: registry.build03.ci.openshift.org/ci-ln-d30q8sk/stable@sha256:42141b60a0ecaaab...
      ......
      
          

      Actual results:

      The pinnedimageset will take longer than 2 minutes and the machineconfignodes will be degraded.
      
      
          

      Expected results:

      It is highly unlikely that MCO will be able to pull all the images in a relase in less than 2 minutes, so this timeout will always degrade MCO when we try to pin the release images.
      
      We expect MCO to be able to pull all the images in a relase without being degraded. 
      
          

      Additional info:

      This is already planned to increase the timeout in follow-up PRs. This issue will not block the merge. The main goal of this ticket is not to forget that change and it's verification.
      
      
          

      2.
      3.

          Actual results:{code:none}
      
          

      Expected results:

      
          

      Additional info:

      
          

              sbatschelet Sam Batschelet
              sregidor@redhat.com Sergio Regidor de la Rosa
              Sergio Regidor de la Rosa Sergio Regidor de la Rosa
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated: