diff options
author | Dan Timoney <dtimoney@att.com> | 2021-01-12 11:10:58 -0500 |
---|---|---|
committer | Dan Timoney <dtimoney@att.com> | 2021-01-19 16:27:11 +0000 |
commit | cf7099eccff434408d77e29e20d76fe0915028e5 (patch) | |
tree | 78c7087d6cd202391cf5a148b10b0347b53b39f1 | |
parent | f2cc30d314acdc5efdbee957416891a49b7ab799 (diff) |
[SDNC] Tuning fixes for SDNC
Corrected issue in values.yaml that was causing OpenDaylight akka
configuration file override not to be loaded properly. As a result,
we are seeing memory-related exceptions (circuit-breaker exception), whic
seems to be contributing to a memory leak error.
Also, updated configuration to enhance logging so that summary of
messages in/out (aka 'audit log') is written for debugging purposes.
Issue-ID: SDNC-1430
Signed-off-by: Dan Timoney <dtimoney@att.com>
Change-Id: I2a3950ecde1c53f8e68b11bbc9c0ddc136f67b54
(cherry picked from commit 9520e7cfed1474213930a9c877e223902a15eae5)
-rwxr-xr-x | kubernetes/sdnc/resources/config/conf/org.opendaylight.aaa.filterchain.cfg | 1 | ||||
-rw-r--r-- | kubernetes/sdnc/templates/statefulset.yaml | 3 | ||||
-rw-r--r-- | kubernetes/sdnc/values.yaml | 2 |
3 files changed, 5 insertions, 1 deletions
diff --git a/kubernetes/sdnc/resources/config/conf/org.opendaylight.aaa.filterchain.cfg b/kubernetes/sdnc/resources/config/conf/org.opendaylight.aaa.filterchain.cfg new file mode 100755 index 0000000000..cffc526fb6 --- /dev/null +++ b/kubernetes/sdnc/resources/config/conf/org.opendaylight.aaa.filterchain.cfg @@ -0,0 +1 @@ +customFilterList=org.onap.ccsdk.sli.core.filters.ControllerAuditLogFilter,org.onap.ccsdk.sli.core.filters.ControllerPayloadLoggingFilter diff --git a/kubernetes/sdnc/templates/statefulset.yaml b/kubernetes/sdnc/templates/statefulset.yaml index 98ad43ed60..1f0a31ac7b 100644 --- a/kubernetes/sdnc/templates/statefulset.yaml +++ b/kubernetes/sdnc/templates/statefulset.yaml @@ -267,6 +267,9 @@ spec: - mountPath: {{ .Values.config.odl.etcDir }}/org.opendaylight.controller.cluster.datastore.cfg name: properties subPath: org.opendaylight.controller.cluster.datastore.cfg + - mountPath: {{ .Values.config.odl.etcDir }}/org.opendaylight.aaa.filterchain.cfg + name: properties + subPath: org.opendaylight.aaa.filterchain.cfg - mountPath: {{ .Values.config.odl.binDir }}/setenv name: properties subPath: setenv diff --git a/kubernetes/sdnc/values.yaml b/kubernetes/sdnc/values.yaml index f710deb4c0..f821e9afbc 100644 --- a/kubernetes/sdnc/values.yaml +++ b/kubernetes/sdnc/values.yaml @@ -193,7 +193,7 @@ config: binDir: /opt/opendaylight/bin gcLogDir: /opt/opendaylight/data/log salConfigDir: /opt/opendaylight/system/org/opendaylight/controller/sal-clustering-config - salConfigVersion: 1.9.1 + salConfigVersion: 1.10.4 akka: seedNodeTimeout: 15s circuitBreaker: |