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

Reference configuration for ClusterLogging uses deprecated API

XMLWordPrintable

    • Low
    • CNF RAN Sprint 236, CNF RAN Sprint 237, CNF RAN Sprint 238
    • 3
    • Unspecified
    • Release Note Not Required

      Description of problem:
      The base ClusterLogging CR used in the DU configuration includes use of a deprecated API. The CR is in ClusterLogging.yaml:
      apiVersion: logging.openshift.io/v1
      kind: ClusterLogging
      metadata:
      name: instance
      namespace: openshift-logging
      annotations:
      ran.openshift.io/ztp-deploy-wave: "10"
      spec:
      managementState: "Managed"
      curation:
      type: "curator"
      curator:
      schedule: $schedule
      collection: $collection

      When applied to a 4.11 cluster the following status is attached to the CR:
      status:
      clusterConditions:

      • lastTransitionTime: "2022-07-20T21:36:54Z"
        message: curator is deprecated in favor of defining retention policy
        reason: ResourceDeprecated
        status: "True"
        type: CuratorRemoved

      Version-Release number of selected component (if applicable):
      OCP 4.11.0-rc.3
      Cluster Logging Operator 5.4.3

      How reproducible: 100%

      Steps to Reproduce:
      1.
      2.
      3.

      Actual results:

      Expected results:

      Additional info:

            angwang@redhat.com Angie Wang
            rhn-support-imiller Ian Miller
            Periyamaruthu Mohanraj Periyamaruthu Mohanraj
            Red Hat Employee
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: