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

Status section shows fluentdstatus even though the collector type is vector in clusterlogging instance

XMLWordPrintable

    • False
    • None
    • False
    • Engineering
    • NEW
    • NEW
    • Hide
      Before this fix, the status section of a ClusterLogging instance implemented with vector showed `collection.logs.fluentdStatus` and the console UI showed an error of invalid field. With this fix, `collection.logs.fluentdStatus` is removed from the console UI and status section of the ClusterLogging instance for both fluentd and vector.

      To obtain the same information in the console UI, navigate to the collector daemonset: Workloads > Daemonsets. To obtain the same information using OC, use `oc get daemonset/<collector-daemonset-name>`
      Show
      Before this fix, the status section of a ClusterLogging instance implemented with vector showed `collection.logs.fluentdStatus` and the console UI showed an error of invalid field. With this fix, `collection.logs.fluentdStatus` is removed from the console UI and status section of the ClusterLogging instance for both fluentd and vector. To obtain the same information in the console UI, navigate to the collector daemonset: Workloads > Daemonsets. To obtain the same information using OC, use `oc get daemonset/<collector-daemonset-name>`
    • Bug Fix
    • Log Collection - Sprint 240, Log Collection - Sprint 241
    • Low

      Description of problem:

      When collector type  is `vector` , the status section in clusterlogging instance shows fluentdstatus which makes it confusing as the collector type is vector. Refer below for clarification.

      spec:
          collection:
            logs:
              type: vector      <------------------------------------------
          managementState: Managed
        status:
          collection:
            logs:
              fluentdStatus:    <---------------------------------------------

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

      RHOCP cluster version 4.12
      Red Hat Openshift logging version 5.7.1.

      How reproducible:

      Yes, it is reproducible.

      Steps to Reproduce:

      1. Install openshift-logging with collector type as vector or migrate from fluentd to vector.
      2. Check the status section in clusterlogging instance.
      3.  

      Actual results:

      Status section in clusterlogging instance shows fluentdstatus .

      Expected results:

      Status section in clusterlogging instance could be generic irrespective of the collector type.

      Additional info:

            rh-ee-calee Calvin Lee
            rhn-support-krg Kruthika G
            Anping Li Anping Li
            Votes:
            1 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: