Hi All,

While deploying ONAP guilin release using oom, SDNC pods are not coming up:

onapit-sdnc-0                                      0/2     Init:Error         6 
         29m
onapit-sdnc-ansible-server-668576f5b4-pf76j        0/1     Init:1/2           2 
         29m
onapit-sdnc-db-0                                   1/1     Running            0 
         29m
onapit-sdnc-dbinit-job-6p28q                       0/1     Completed          0 
         29m
onapit-sdnc-dgbuilder-654f6bff57-5w6hg             1/1     Running            0 
         29m
onapit-sdnc-dmaap-listener-847c479dc8-n67c7        0/1     Init:1/2           0 
         29m
onapit-sdnc-sdnrdb-init-job-ll9kp                  0/1     Completed          0 
         19m
onapit-sdnc-ueb-listener-56bdd4cfd4-thncr          0/1     Init:1/2           0 
         29m
onapit-sdnc-web-d5856b54-56bbn                     0/1     Init:2/3           1 
         29m
onapit-sdnrdb-coordinating-only-5cf49c6695-tdj26   2/2     Running            0 
         29m
onapit-sdnrdb-master-0                             1/1     Running            0 
         29m
onapit-sdnrdb-master-1                             1/1     Running            0 
         29m
onapit-sdnrdb-master-2                             1/1     Running            0 
         29m

>From certs-init container I'm getting the following error: "CertService HTTP 
>unsuccessful response. Response code: 404 . Message from Service: 
>Certification authority not found for given CAName":

*kubectl logs onapit-sdnc-0 -n onap -c certs-init*

> 
> WARNING: sun.reflect.Reflection.getCallerClass is not supported. This will
> impact performance. 2021-03-31 23:59:09.941  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 2021-03-31
> 23:59:09.958  INFO 1 [           main]
> o.o.o.c.c.c.f.CsrConfigurationFactory    : Successful validation of CSR
> configuration. Configuration data: COMMON_NAME: sdnc.simpledemo.onap.org,
> COUNTRY: US, STATE: California, ORGANIZATION: Linux-Foundation,
> ORGANIZATION_UNIT: ONAP, LOCATION: San-Francisco, SANS: null 2021-03-31
> 23:59:09.959  INFO 1 [           main] o.o.o.c.c.c.KeyPairFactory         
> : KeyPair generation started with algorithm: RSA and key size: 2048 2021-03-31
> 23:59:10.760  INFO 1 [           main] o.o.o.c.c.c.CsrFactory             
> : Creation of CSR has been started with following parameters: COMMON_NAME:
> sdnc.simpledemo.onap.org, COUNTRY: US, STATE: California, ORGANIZATION:
> Linux-Foundation, ORGANIZATION_UNIT: ONAP, LOCATION: San-Francisco, SANS:
> null 2021-03-31 23:59:10.809  INFO 1 [           main]
> o.o.o.c.c.c.CsrFactory                   : Creation of CSR has been
> completed successfully 2021-03-31 23:59:10.810  INFO 1 [           main]
> o.o.o.c.c.c.CsrFactory                   : Conversion of CSR to PEM has
> been started 2021-03-31 23:59:10.815  INFO 1 [           main]
> o.o.o.c.c.c.PrivateKeyToPemEncoder       : Attempt to encode private key
> to PEM 2021-03-31 23:59:10.906  INFO 1 [           main]
> o.o.o.c.c.h.HttpClient                   : Attempt to send request to API,
> on url: https://oom-cert-service:8443/v1/certificate/RA 2021-03-31
> 23:59:11.203  INFO 1 [           main] o.o.o.c.c.h.HttpClient             
> : Received response from API 2021-03-31 23:59:11.203 ERROR 1 [          
> main] o.o.o.c.c.h.HttpClient                   : Error on API response.
> Response Code: 404 2021-03-31 23:59:11.216 ERROR 1 [           main]
> o.o.o.c.c.CertServiceClient              : Cert Service Client fails in
> execution: 
> org.onap.oom.certservice.client.httpclient.exception.CertServiceApiResponseException:
> CertService HTTP unsuccessful response. Response code: 404 . Message from
> Service: Certification authority not found for given CAName at
> org.onap.oom.certservice.client.httpclient.HttpClient.generateApiResponseException(HttpClient.java:96)
> at
> org.onap.oom.certservice.client.httpclient.HttpClient.extractCertServiceResponse(HttpClient.java:84)
> at
> org.onap.oom.certservice.client.httpclient.HttpClient.retrieveCertServiceData(HttpClient.java:62)
> at
> org.onap.oom.certservice.client.CertServiceClient.run(CertServiceClient.java:75)
> at org.onap.oom.certservice.client.MainApp.main(MainApp.java:26) 2021-03-31
> 23:59:11.221  INFO 1 [           main] o.o.o.c.c.AppExitHandler           
> : Application exits with following exit code: 5 and message: CertService
> HTTP unsuccessful response

I have also deployed platform component:
*platform:*
*enabled: true*

>From oom-cert-service I am getting the following error:

*kubectl logs onapit-oom-cert-service-5866f7d9c6-n7zsw -n onap*

> 
> 2021-04-01 00:03:27.927  INFO 1 [nio-8443-exec-2]
> o.o.o.c.a.CertificationController        : Received certificate signing
> request for CA named: RA 2021-04-01 00:03:27.928 DEBUG 1 [nio-8443-exec-2]
> .o.c.c.Pkcs10CertificationRequestFactory : Creating certification request
> from pem object 2021-04-01 00:03:27.930 DEBUG 1 [nio-8443-exec-2]
> o.o.o.c.c.CertificationModelFactory      : Received CSR meta data: Subject:
> {
> L=San-Francisco,OU=ONAP,O=Linux-Foundation,ST=California,C=US,CN=sdnc.simpledemo.onap.org
> ,SANs: [] } 2021-04-01 00:03:27.931 ERROR 1 [nio-8443-exec-2]
> o.o.o.c.a.a.CertificationExceptionAdvice : Exception occurred selecting
> CMPv2 server: 
> org.onap.oom.certservice.certification.exception.Cmpv2ServerNotFoundException:
> No server found for given CA name at
> org.onap.oom.certservice.certification.configuration.Cmpv2ServerProvider.lambda$getCmpv2Server$1(Cmpv2ServerProvider.java:40)
> at java.base/java.util.Optional.orElseThrow(Unknown Source) at
> org.onap.oom.certservice.certification.configuration.Cmpv2ServerProvider.getCmpv2Server(Cmpv2ServerProvider.java:40)
> at
> org.onap.oom.certservice.certification.CertificationModelFactory.createCertificationModel(CertificationModelFactory.java:62)
> at
> org.onap.oom.certservice.api.CertificationController.signCertificate(CertificationController.java:92)
> 

I tried to redeploy but it continues to give the same error.
Have anyone faced the same issue? Any input on what could be the issue?

Thanks & BR,
Paulo


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23101): https://lists.onap.org/g/onap-discuss/message/23101
Mute This Topic: https://lists.onap.org/mt/81765034/21656
Mute #sdnc:https://lists.onap.org/g/onap-discuss/mutehashtag/sdnc
Mute #guilin:https://lists.onap.org/g/onap-discuss/mutehashtag/guilin
Mute #oom:https://lists.onap.org/g/onap-discuss/mutehashtag/oom
Mute #deployment:https://lists.onap.org/g/onap-discuss/mutehashtag/deployment
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-


Reply via email to