Uploaded image for project: 'OpenShift Logging'
  1. OpenShift Logging
  2. LOG-5701

[release-5.9] loki-operator requires Cluster Credential Operator which does not exist on CRC

XMLWordPrintable

    • False
    • None
    • False
    • NEW
    • VERIFIED
    • Hide
      Before this update, the Loki Operator registers always the CredentialRequest watcher caused to crash the operator on environment without the cloud-credentials-operator e.g. CRC . With this update, the CredentialsRequest watch is registers on CCO-enabled environments only resolves the issue.
      Show
      Before this update, the Loki Operator registers always the CredentialRequest watcher caused to crash the operator on environment without the cloud-credentials-operator e.g. CRC . With this update, the CredentialsRequest watch is registers on CCO-enabled environments only resolves the issue.
    • Bug Fix
    • Log Storage - Sprint 255

      Description of problem:

      I am trying to deploy loki-operator in a CRC (OpenShift Local) installation and the operator fails with:

      {"_ts":"2024-04-24T16:02:28.027229225Z","_level":"0","_component":"loki-operator_controller-runtime_source_EventHandler","_message":"failed to get informer from cache","_error":{"msg":"failed to get API group resources: unable to retrieve the complete list of server APIs: cloudcredential.openshift.io/v1: the server could not find the requested resource"}}

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

      stable-5.9

      How reproducible:

      Always

      Steps to Reproduce:

      1. Create a CRC openshift cluster
      2. Deploy loki-operator from Red Hat repository
      3. Look at logs

       

      As a workaround, downloading and applying the cloudcredential CRD works: https://raw.githubusercontent.com/openshift/cloud-credential-operator/master/manifests/0000_03_cloud-credential-operator_01_crd.yaml

              ptsiraki@redhat.com Periklis Tsirakidis
              rhn-engineering-jlarriba Juan Larriba
              Kabir Bharti Kabir Bharti
              Votes:
              0 Vote for this issue
              Watchers:
              4 Start watching this issue

                Created:
                Updated:
                Resolved: