Uploaded image for project: 'OpenShift Hive'
  1. OpenShift Hive
  2. HIVE-2210

Do not watch OpenShift Proxy CRs if Proxy CRD doesn't exist

    XMLWordPrintable

Details

    • Story
    • Resolution: Done
    • Normal
    • None
    • None
    • False
    • None
    • False

    Description

      Description
      When attempting to run the latest hive version (7cbb91212d) in a non-openshift cluster, the hive-operator pod will go into crash loop backoff with: "Could not wait for Cache to sync" errors. This was attributed towards the hive-operator pod watching the config.openshift.io proxy CR, which does not exist in a non-openshift cluster.

      This is the PR that the issue appears to be added in: https://github.com/openshift/hive/pull/1999

      Acceptance Criteria

      1. Place logic around the watch proxy resource to not watch said resource if it doesn't exist as a CRD in the cluster

      Attachments

        1. deployments.yaml
          12 kB
        2. hiveoperator.log
          209 kB
        3. rs.yaml
          7 kB

        Activity

          People

            efried.openshift Eric Fried
            bvesel@redhat.com Benjamin Vesel
            Mingxia Huang Mingxia Huang
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: