Hide Forgot
Description of problem: Deploy logging, set "managementState: UnManaged" in clusterlogging CR, log collection type is fluentd, then change log collection type to rsyslog in clusterlogging CR, wait for a while, check pod, there are two kinds of log collector in the ns: $ oc get pod NAME READY STATUS RESTARTS AGE cluster-logging-operator-77fd7bcbb8-6dj74 1/1 Running 0 49m elasticsearch-clientdatamaster-0-1-84d764899d-x57xd 1/1 Running 0 35m elasticsearch-clientdatamaster-0-2-56984bb76c-mf2t5 1/1 Running 0 35m elasticsearch-clientdatamaster-0-3-7cd67f75dd-9btxc 1/1 Running 0 35m elasticsearch-operator-86cc7cb548-hgkfh 1/1 Running 0 5h fluentd-4h2h4 1/1 Running 0 11m fluentd-7jmz2 1/1 Running 0 11m fluentd-8qp49 1/1 Running 0 11m fluentd-9txtr 1/1 Running 0 11m fluentd-c7skq 1/1 Running 0 11m fluentd-dscn8 1/1 Running 0 11m kibana-648865b454-hzvcj 2/2 Running 0 53m rsyslog-jnpfq 1/1 Running 0 3m rsyslog-l5w66 1/1 Running 0 3m rsyslog-nblvx 1/1 Running 0 3m rsyslog-qbfrz 1/1 Running 0 3m rsyslog-rdvcf 1/1 Running 0 3m rsyslog-sxxd6 1/1 Running 0 3m $ oc get ds NAME DESIRED CURRENT READY UP-TO-DATE AVAILABLE NODE SELECTOR AGE fluentd 6 6 6 6 6 <none> 11m rsyslog 6 6 6 6 0 <none> 3m $ oc get clusterlogging -o yaml apiVersion: v1 items: - apiVersion: logging.openshift.io/v1alpha1 kind: ClusterLogging metadata: creationTimestamp: 2019-01-18T01:19:02Z generation: 1 name: example namespace: openshift-logging resourceVersion: "263964" selfLink: /apis/logging.openshift.io/v1alpha1/namespaces/openshift-logging/clusterloggings/example uid: 0a592282-1abf-11e9-ac86-06a5d6fd69d6 spec: collection: logs: fluentd: resources: {} rsyslog: resources: {} type: rsyslog curation: curator: resources: {} schedule: 30 6 * * * type: curator logStore: elasticsearch: nodeCount: 3 redundancyPolicy: SingleRedundancy resources: {} storage: {} type: elasticsearch managementState: UnManaged Version-Release number of selected component (if applicable): $ oc get pod cluster-logging-operator-77fd7bcbb8-6dj74 -o yaml |grep image image: quay.io/openshift/origin-cluster-logging-operator:latest imagePullPolicy: IfNotPresent imagePullSecrets: image: quay.io/openshift/origin-cluster-logging-operator:latest imageID: quay.io/openshift/origin-cluster-logging-operator@sha256:af7998d54bb770dc4b1944d2ebc0a656b94f160df05bb92d02ea16bdeffe09a5 How reproducible: Always Steps to Reproduce: 1.Deploy logging, set "managementState: UnManaged" in clusterlogging CR, default log collection is fluentd 2.change log collection type to rsyslog 3.check pods Actual results: Expected results: Additional info:
Verified in quay.io/openshift/origin-cluster-logging-operator@sha256:9be38553042fa32720c4b5237c7eadb974546c9e702a0aa44e3fe089dc21ac8b
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2019:0758