Hi All,
I using the latest OOM chart. The cert-init container of dev-sdnc-0 pod is not coming up. PFB the events of dev-sdnc-0 pod:
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 3m9s default-scheduler Successfully assigned onap/dev-sdnc-0 to worker-son-08
Normal Pulling 3m6s kubelet, worker-son-08 Pulling image "dibi/envsubst"
Normal Pulled 3m6s kubelet, worker-son-08 Successfully pulled image "dibi/envsubst"
Normal Created 3m6s kubelet, worker-son-08 Created container sdnc-update-config
Normal Started 3m6s kubelet, worker-son-08 Started container sdnc-update-config
Normal Pulling 3m5s kubelet, worker-son-08 Pulling image "nexus3.onap.org:10001/onap/oom/readiness:3.0.1"
Normal Pulled 3m5s kubelet, worker-son-08 Successfully pulled image "nexus3.onap.org:10001/onap/oom/readiness:3.0.1"
Normal Created 3m5s kubelet, worker-son-08 Created container sdnc-readiness
Normal Started 3m5s kubelet, worker-son-08 Started container sdnc-readiness
Normal Pulling 3m2s kubelet, worker-son-08 Pulling image "nexus3.onap.org:10001/onap/oom/readiness:3.0.1"
Normal Pulled 3m2s kubelet, worker-son-08 Successfully pulled image "nexus3.onap.org:10001/onap/oom/readiness:3.0.1"
Normal Created 3m2s kubelet, worker-son-08 Created container sdnc-cert-initializer-readiness
Normal Started 3m1s kubelet, worker-son-08 Started container sdnc-cert-initializer-readiness
Normal Pulling 2m17s kubelet, worker-son-08 Pulling image "nexus3.onap.org:10001/onap/aaf/aaf_agent:2.1.20"
Normal Pulled 2m17s kubelet, worker-son-08 Successfully pulled image "nexus3.onap.org:10001/onap/aaf/aaf_agent:2.1.20"
Normal Created 2m17s kubelet, worker-son-08 Created container sdnc-aaf-config
Normal Started 2m17s kubelet, worker-son-08 Started container sdnc-aaf-config
Normal Pulling 2m4s (x2 over 2m6s) kubelet, worker-son-08 Pulling image "nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.0.0"
Normal Pulled 2m4s (x2 over 2m6s) kubelet, worker-son-08 Successfully pulled image "nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.0.0"
Normal Created 2m4s (x2 over 2m6s) kubelet, worker-son-08 Created container certs-init
Normal Started 2m3s (x2 over 2m5s) kubelet, worker-son-08 Started container certs-init
Warning BackOff 2m2s kubelet, worker-son-08 Back-off restarting failed container
The certs-init container log:
WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will impact performance.
2020-11-23 04:56:01.703 INFO 1 [ main] o.o.o.c.c.c.f.ClientConfigurationFactory : Successful validation of Client configuration. Configuration data: REQUEST_URL: https://oom-cert-service:8443/v1/certificate/, REQUEST_TIMEOUT: 30000, OUTPUT_PATH: /var/custom-certs, CA_NAME: RA, OUTPUT_TYPE: P12
2020-11-23 04:56:01.711 ERROR 1 [ main] o.o.o.c.c.CertServiceClient : Cert Service Client fails in execution:
org.onap.oom.certservice.client.configuration.exception.CsrConfigurationException: STATE is invalid.
at org.onap.oom.certservice.client.configuration.factory.CsrConfigurationFactory.lambda$create$3(CsrConfigurationFactory.java:57)
at java.base/java.util.Optional.orElseThrow(Unknown Source)
at org.onap.oom.certservice.client.configuration.factory.CsrConfigurationFactory.create(CsrConfigurationFactory.java:57)
at org.onap.oom.certservice.client.CertServiceClient.run(CertServiceClient.java:65)
at org.onap.oom.certservice.client.MainApp.main(MainApp.java:26)
2020-11-23 04:56:01.723 INFO 1 [ main] o.o.o.c.c.AppExitHandler : Application exits with following exit code: 2 and message: Invalid CSR configuration
It would be great if anyone can help me find the issue and bring up the sdnc pod.
Regards,
Niranjana