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

HostedCluster registry and release providers are recreated on every reconcile

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Unresolved
    • Icon: Major Major
    • 4.20.0
    • 4.16, 4.17, 4.18, 4.19
    • HyperShift
    • Quality / Stability / Reliability
    • False
    • Hide

      None

      Show
      None
    • None
    • Important
    • Yes
    • Proposed
    • Bug Fix
    • Hide
      Hypershift didn't persist registry metadata and release image provider caches in the HostedCluster before this PR fix, as a result, caches for release and image metadata reset on controller restarts or updates, this PR introduces a persistent Registry Provider in the HostedCluster to fix cache loss and enable dynamic OpenShift image registry overrides. release and image metadata caches now survive restarts and updates, and registry overrides can be refreshed dynamically, improving uptime and mirror policy flexibility for hosted clusters.
      Show
      Hypershift didn't persist registry metadata and release image provider caches in the HostedCluster before this PR fix, as a result, caches for release and image metadata reset on controller restarts or updates, this PR introduces a persistent Registry Provider in the HostedCluster to fix cache loss and enable dynamic OpenShift image registry overrides. release and image metadata caches now survive restarts and updates, and registry overrides can be refreshed dynamically, improving uptime and mirror policy flexibility for hosted clusters.
    • None
    • None
    • None
    • None

      Description of problem:

       

      As described in Hypershift issues at scale - OCPBUGS-52256, the memory usage of hypershift quickly grows causing issues. This is caused in part by the the registry and release providers being recreated on every reconcile call. This results in the cached images never being used and new caches being created. This issue was introduced in the fix for OCBUGS-29110.
      Version-Release number of selected component (if applicable):

          

      How reproducible:

          

      Steps to Reproduce:

          1.
          2.
          3.
          

      Actual results:

          

      Expected results:

          

      Additional info:

          

              rcradick Ryan Cradick
              rcradick Ryan Cradick
              None
              None
              Ke Wang Ke Wang
              None
              Votes:
              0 Vote for this issue
              Watchers:
              7 Start watching this issue

                Created:
                Updated: