Details
-
Bug
-
Status: Closed
-
Medium
-
Resolution: Done
-
Kohn Release
-
None
-
None
-
Policy 2022-06-30->2022-07-13
Description
An error occurs in deployment of OOM charts because the specification of the log directory in the Dockerfiles for the policy/acm components and the one specified in the logback.xml in OOM for those components are different. This should be correctly in the logback.xml files in OOM for the policy components. See error below:
Logging system failed to initialize using configuration from '/opt/app/policy/clamp/etc/logback.xml' java.lang.IllegalStateException: Logback configuration error detected: ERROR in ch.qos.logback.core.rolling.RollingFileAppender[ErrorOut] - Failed to create parent directories for [/var/log/onap/policy/pf-participant/error.log] ERROR in ch.qos.logback.core.rolling.RollingFileAppender[ErrorOut] - openFile(/var/log/onap/policy/pf-participant/error.log,true) call failed. java.io.FileNotFoundException: /var/log/onap/policy/pf-participant/error.log (No such file or directory)
Slack comment link: https://onapproject.slack.com/archives/C01CXFJJZH6/p1655969242482589?thread_ts=1653465810.292329&cid=C01CXFJJZH6