You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+6Lines changed: 6 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -1,5 +1,11 @@
1
1
# Change Log
2
2
3
+
## 2023-11-07
4
+
### Added
5
+
- Control Plane Logs Collection for OCNE and Standalone Kubernetes Clusters.
6
+
- Support for launching Fluentd containers in privileged mode (default false).
7
+
- Added FAQ for triaging log collection setup issues in OCNE and Standalone Kubernetes Clusters.
8
+
3
9
## 2023-10-31
4
10
### Changed
5
11
- Ruby upgrade from 2.7.8 to 3.1.2 for OL8-Slim Fluentd container image. It also includes Fluentd (1.15.3 to 1.16.2) and other dependency gem upgrades.
# Concat filter to handle partial logs in CRI/ContainerD
120
122
# Docker can also have partial logs but handling is different for different docker versions. Considering Kubernetes/OKE moved to ContainerD/CRI since last 4-5 releases, ignoring docker handling.
121
123
# This filter can not be clubbed with concat filter for multiline as both are mutually exclusive.
122
-
{{- if eq $runtime "cri" }}
124
+
{{- if and (ne $name "kube-audit") (eq $runtime "cri") }}
E, [2023-08-07T10:17:13.710854 #18] ERROR -- : oci upload exception : Error while uploading the payload. { 'message': 'execution expired', 'status': 0, 'opc-request-id': 'D733ED0C244340748973D8A035068955', 'response-body': '' }
287
+
```
288
+
289
+
* Check if your OCNE setup configuration has `restrict-service-externalip` value set to `true` for kubernetes module. If yes, update it to false to allow access to Logging Analytics endpoint from containers. Refer [this](https://docs.oracle.com/en/operating-systems/olcne/1.3/orchestration/external-ips.html#8.4-Enabling-Access-to-all-externalIPs) for more details. If the issue is still not resolved,
290
+
* Check if your OCNE setup configuration has `selinux` value set to `enforcing` in globals section. If yes, you may need to start the fluentd containers in privileged mode. To achieve the same, set `privileged` to true in override_values.yaml.
291
+
292
+
```
293
+
..
294
+
..
295
+
oci-onm-logan:
296
+
..
297
+
..
298
+
privileged: true
299
+
```
300
+
301
+
#### How to fix _Permission denied @ dir_s_mkdir - /var/log/oci_la_fluentd_outplugin_ error ?
302
+
303
+
Log location: Pod logs of Daemonset `oci-onm-logan`
304
+
305
+
Set `privileged` to true in override_values.yaml to resolve this.
306
+
307
+
```
308
+
..
309
+
..
310
+
oci-onm-logan:
311
+
..
312
+
..
313
+
privileged: true
314
+
```
315
+
316
+
### Log Collection for Standalone cluster (docker runtime)
317
+
318
+
#### How to fix the warning _/var/log/containers/..log unreadable_ ?
319
+
320
+
Log location: Pod logs of Daemonset `oci-onm-logan`
321
+
322
+
Sample Error:
323
+
```
324
+
2023-10-10 13:00:16 +0000 [warn]: #0 [in_tail_containerlogs] /var/log/containers/kube-flannel-ds-kl9bb_kube-flannel_kube-flannel-c2a954a05c57f4f68bc3ab348f071812be2405c76bd1631890638eac7c503506.log unreadable. It is excluded and would be examined next time.
325
+
```
326
+
327
+
The default path for docker data (in which the container logs will be written) in a typical standalone cluster is `/var/lib/docker/containers`. You may need to validate the same and update `containerdataHostPath` in override_values.yaml accordingly.
0 commit comments