-
Bug
-
Resolution: Done
-
Major
-
Logging 5.5.0
-
False
-
None
-
False
-
NEW
-
OBSDA-108 - Distribute an alternate Vector Log Collector
-
VERIFIED
-
Log Collection - Sprint 221, Log Collection - Sprint 222
Version:
clusterlogging.v5.5.0 (No such issue on Logging 5.4)
clusterType: UPI_on_Baremetal-packet_OVN-single-stack_http-proxy_Realtime-kernel
$ oc logs -c collector collector-4jxsz
2022-06-24T10:33:45.502500Z INFO vector::app: Log level is enabled. level="info"
2022-06-24T10:33:45.502548Z INFO vector::app: Loading configs. paths=["/etc/vector/vector.toml"]
2022-06-24T10:33:45.505455Z WARN vector::config::loading: Transform "route_container_logs._unmatched" has no consumers
2022-06-24T10:33:45.505795Z INFO vector::sources::kubernetes_logs: Obtained Kubernetes Node name to collect logs for (self). self_node_name="worker-01.knarra0624.qe.devcluster.openshift.com"
2022-06-24T10:33:45.529223Z ERROR vector::topology: Configuration error. error=Source "raw_container_logs": failed to infer config: in-cluster: (failed to parse cluster url: invalid authority), kubeconfig: (failed to read kubeconfig from '"/root/.kube/config"': No such file or directory (os error 2))
Step to Reproduce:
1) Deploy cluserlogging (vector to Elasticsearch)
2) oc get pods
NAME READY STATUS RESTARTS AGE
cluster-logging-operator-56c96c798c-ksthg 1/1 Running 0 25m
collector-4jxsz 1/2 CrashLoopBackOff 8 (86s ago) 17m
collector-flvld 1/2 CrashLoopBackOff 8 (97s ago) 17m
collector-gkjlc 1/2 CrashLoopBackOff 8 (119s ago) 17m
collector-rj2kp 1/2 CrashLoopBackOff 8 (106s ago) 17m
collector-vc7dk 1/2 CrashLoopBackOff 8 (106s ago) 17m
elasticsearch-cdm-6xgsmbow-1-6bb89bb444-84ld8 2/2 Running 0 17m
elasticsearch-im-app-27601110-cs786 0/1 Completed 0 5m11s
elasticsearch-im-audit-27601110-dkg4z 0/1 Completed 0 5m11s
elasticsearch-im-infra-27601110-pkfqt 0/1 Completed 0 5m11s
kibana-7dfb6c8478-52zqh 2/2 Running 0 17m