-
Bug
-
Resolution: Done
-
Medium
-
Casablanca Release
-
None
the pod is in a crash loop. At first glance it seems that the config.json file has hashtag comments that are the problem. I tried removing the comments but the pod still crashes out with the same problem. Perhaps it is something in the application that doesn't like the filesystem properties of the configmap?
kubectl logs -f deep-policy-policy-apex-pdp-0 2018-09-17 21:00:31,401 Apex [main] ERROR o.o.p.a.service.engine.main.ApexMain - start of Apex service failed org.onap.policy.apex.model.basicmodel.concepts.ApexException: Apex configuration file "/home/apexuser/config/config.json" is not a normal file at org.onap.policy.apex.service.engine.main.ApexCommandLineArguments.validateReadableFile(ApexCommandLineArguments.java:282) at org.onap.policy.apex.service.engine.main.ApexCommandLineArguments.validate(ApexCommandLineArguments.java:163) at org.onap.policy.apex.service.engine.main.ApexMain.<init>(ApexMain.java:66) at org.onap.policy.apex.service.engine.main.ApexMain.main(ApexMain.java:157) deep-policy-policy-apex-pdp-0 0/1 CrashLoopBackOff 8 23m