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

deployment/logging-view-plugin is not created if visualization spec is not added in clusterlogging CR

XMLWordPrintable

    • Icon: Bug Bug
    • Resolution: Done
    • Icon: Critical Critical
    • Logging 5.7.0
    • Logging 5.7.0
    • Log Console
    • None
    • False
    • None
    • False
    • NEW
    • VERIFIED
    • Log Collection - Sprint 235

      Description of problem:

      `deployment/logging-view-plugin` is not created if `visualization` spec is not added in clusterlogging CR when the default log store is lokistack. 

      In Logging 5.6, we only need to create clusterlogging CR with below yaml:

      apiVersion: logging.openshift.io/v1
      kind: ClusterLogging
      metadata:
        name: instance
        namespace: openshift-logging
      spec:
        collection:
          type: vector
        logStore:
          lokistack:
            name: lokistack-sample
          type: lokistack
        managementState: Managed 

      and the `deployment/logging-view-plugin` is created automatically. With the above configuration.

      In Logging 5.7, the logging-view-plugin will not be deployed unless we add below lines to clusterlogging CR.

        visualization:
          type: ocp-console

      when upgrade logging 5.6 to 5.7.0, logging-view-plugin will not be upgraded, it keeps old version.

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

      cluster-logging.v5.7.0

      How reproducible:

      Always

      Steps to Reproduce:

      1. deploy logging 5.7 and set default log store to lokistack
      2. check pod status

      Actual results:

      `deployment/logging-view-plugin` is not created.

      Expected results:

      `deployment/logging-view-plugin` should be created. The behavior is what we have in 5.5 and 5.6.

      Additional info:

            cahartma@redhat.com Casey Hartman
            qitang@redhat.com Qiaoling Tang
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: