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

CLO instance to deploy Vector not working.

    XMLWordPrintable

Details

    • Logging (Core) - Sprint 213, Logging (Core) - Sprint 214

    Description

      Steps to reproduce the issue:

      1 Install the Cluster Logging and Elasticsearch 5.4 operator. 

      oc get csv
      NAME                              DISPLAY                            VERSION    REPLACES   PHASE
      cluster-logging.5.4.0-11          Red Hat OpenShift Logging          5.4.0-11              Succeeded
      elasticsearch-operator.5.4.0-25   OpenShift Elasticsearch Operator   5.4.0-25              Succeeded 

      2 Create a cluster logging instance with Vector as collector.

      apiVersion: "logging.openshift.io/v1"
      kind: "ClusterLogging"
      metadata:
        name: "instance" 
        namespace: "openshift-logging"
      spec:
        managementState: "Managed"  
        logStore:
          type: "elasticsearch"  
          retentionPolicy: 
            application:
              maxAge: 7d
            infra:
              maxAge: 7d
            audit:
              maxAge: 7d
          elasticsearch:
            nodeCount: 3 
            storage: {} 
            resources: 
                limits:
                  memory: "4Gi"
                requests:
                  memory: "1Gi"
            proxy: 
              resources:
                limits:
                  memory: 256Mi
                requests:
                  memory: 256Mi
            redundancyPolicy: "SingleRedundancy"
        visualization:
          type: "kibana"  
          kibana:
            replicas: 1
        collection:
          logs:
            type: "vector"  
            fluentd: {} 

      Tried with:

        collection:
          logs:
            type: "vector"  
            vector: {}
      
        collection:
          logs:
            type: "vector"  
      
        collection:
          logs:
            type: "vector"  
            fluentd: {}

      3 Check the Logging status and pods.

      oc get pods
      NAME                                            READY   STATUS      RESTARTS   AGE
      cluster-logging-operator-7f88bbfd56-hkkst       1/1     Running     0          121m
      elasticsearch-cdm-de5zrkmo-1-5db5cbdf9b-cpslb   2/2     Running     0          114m
      elasticsearch-cdm-de5zrkmo-2-776497dd8b-59v8n   2/2     Running     0          114m
      elasticsearch-cdm-de5zrkmo-3-79d8c64b4d-tq6hv   2/2     Running     0          114m
      elasticsearch-im-app-27348825--1-gkrc6          0/1     Completed   0          8m29s
      elasticsearch-im-audit-27348825--1-w7bxz        0/1     Completed   0          8m29s
      elasticsearch-im-infra-27348825--1-26b59        0/1     Completed   0          8m29s
      kibana-55c9bb6984-7rlq9                         2/2     Running     0          114m
      
      apiVersion: logging.openshift.io/v1
      kind: ClusterLogging
      metadata:
        creationTimestamp: "2021-12-31T03:58:34Z"
        generation: 1
        name: instance
        namespace: openshift-logging
        resourceVersion: "48091"
        uid: d0174552-2b3a-400b-a304-1112fa00286c
      spec:
        collection:
          logs:
            fluentd: {}
            type: vector
        logStore:
          elasticsearch:
            nodeCount: 3
            proxy:
              resources:
                limits:
                  memory: 256Mi
                requests:
                  memory: 256Mi
            redundancyPolicy: SingleRedundancy
            resources:
              limits:
                memory: 4Gi
              requests:
                memory: 1Gi
            storage: {}
          retentionPolicy:
            application:
              maxAge: 7d
            audit:
              maxAge: 7d
            infra:
              maxAge: 7d
          type: elasticsearch
        managementState: Managed
        visualization:
          kibana:
            replicas: 1
          type: kibana
      status:
        clusterConditions:
        - lastTransitionTime: "2021-12-31T03:58:35Z"
          message: curator is deprecated in favor of defining retention policy
          reason: ResourceDeprecated
          status: "True"
          type: CuratorRemoved
        collection:
          logs:
            fluentdStatus: {}
        curation: {}
        logStore:
          elasticsearchStatus:
          - cluster:
              activePrimaryShards: 0
              activeShards: 0
              initializingShards: 0
              numDataNodes: 0
              numNodes: 0
              pendingTasks: 0
              relocatingShards: 0
              status: cluster health unknown
              unassignedShards: 0
            clusterConditions:
            - lastTransitionTime: "2021-12-31T03:58:46Z"
              message: previously used GenUUID is no longer found in Spec.Nodes
              reason: Invalid Spec
              status: "True"
              type: InvalidUUID
            clusterName: elasticsearch
            nodeConditions:
              elasticsearch-cdm-de5zrkmo-1: []
              elasticsearch-cdm-de5zrkmo-2:
              - lastTransitionTime: "2021-12-31T03:58:39Z"
                reason: ContainerCreating
                status: "True"
                type: ElasticsearchContainerWaiting
              - lastTransitionTime: "2021-12-31T03:58:39Z"
                reason: ContainerCreating
                status: "True"
                type: ProxyContainerWaiting
              elasticsearch-cdm-de5zrkmo-3:
              - lastTransitionTime: "2021-12-31T03:58:39Z"
                reason: ContainerCreating
                status: "True"
                type: ElasticsearchContainerWaiting
              - lastTransitionTime: "2021-12-31T03:58:39Z"
                reason: ContainerCreating
                status: "True"
                type: ProxyContainerWaiting
            nodeCount: 0
            pods:
              client:
                failed: []
                notReady:
                - elasticsearch-cdm-de5zrkmo-1-5db5cbdf9b-cpslb
                - elasticsearch-cdm-de5zrkmo-2-776497dd8b-59v8n
                - elasticsearch-cdm-de5zrkmo-3-79d8c64b4d-tq6hv
                ready: []
              data:
                failed: []
                notReady:
                - elasticsearch-cdm-de5zrkmo-1-5db5cbdf9b-cpslb
                - elasticsearch-cdm-de5zrkmo-2-776497dd8b-59v8n
                - elasticsearch-cdm-de5zrkmo-3-79d8c64b4d-tq6hv
                ready: []
              master:
                failed: []
                notReady:
                - elasticsearch-cdm-de5zrkmo-1-5db5cbdf9b-cpslb
                - elasticsearch-cdm-de5zrkmo-2-776497dd8b-59v8n
                - elasticsearch-cdm-de5zrkmo-3-79d8c64b4d-tq6hv
                ready: []
            shardAllocationEnabled: shard allocation unknown
        visualization:
          kibanaStatus:
          - deployment: kibana
            pods:
              failed: []
              notReady: []
              ready:
              - kibana-55c9bb6984-7rlq9
            replicaSets:
            - kibana-55c9bb6984
            replicas: 1
       

      Attachments

        Activity

          People

            syedriko_sub@redhat.com Sergey Yedrikov
            rhn-support-ikanse Ishwar Kanse
            Ishwar Kanse Ishwar Kanse
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: