Tests results - Container init-tls from pod onap-dcae-datalake-admin-ui-564c6ff5d-6466q logs

# Results

By type

- Logs

raw version

              + export APP_FQI=dcae@dcae.onap.org
    + APP_FQI=dcae@dcae.onap.org
    + export aaf_locate_url=https://aaf-locate.onap:8095
    + aaf_locate_url=https://aaf-locate.onap:8095
    + export aaf_locator_container=oom
    + aaf_locator_container=oom
    + export aaf_locator_container_ns=onap
    + aaf_locator_container_ns=onap
    + export aaf_locator_app_ns=org.osaaf.aaf
    + aaf_locator_app_ns=org.osaaf.aaf
    + export DEPLOY_FQI=deployer@people.osaaf.org
    + DEPLOY_FQI=deployer@people.osaaf.org
    + export 'DEPLOY_PASSWORD=demo123456!'
    + DEPLOY_PASSWORD='demo123456!'
    + export cadi_longitude=-72.0
    + cadi_longitude=-72.0
    + export cadi_latitude=38.0
    + cadi_latitude=38.0
    + export aaf_locator_fqdn=dcae
    + aaf_locator_fqdn=dcae
    + export TLS_SERVER=true
    + TLS_SERVER=true
    + ARTIFACTS=/opt/app/osaaf/local
    + TARGET=/opt/app/osaaf
    + AAFNS=org.onap.dcae
    + DUMMY_FQDN=dcae
    + rm -rf /opt/app/osaaf/local
    + rm -f '/opt/app/osaaf/*'
    + '[' true == false ']'
    + /opt/app/aaf_config/bin/agent.sh
    Caller Properties Initialized
    cat SSO
    cadi_keyfile=/root/.aaf/keyfile
    aaf_id=deployer@people.osaaf.org
    aaf_password=enc:FXcVtzRMvOUaKqdb_cyb6PIAEMkCxFR_808BbLT0tCq
    aaf_locate_url=https://-locator.:8095
    aaf_url_cm=https://AAF_LOCATE_URL/%CNS.%NS.cm:2.1
    aaf_url=https://AAF_LOCATE_URL/%CNS.%NS.service:2.1
    cadi_truststore=/root/.aaf/truststoreONAPall.jks
    cadi_truststore_password=changeit
    cadi_latitude=
    cadi_longitude=
    hostname=dcae
    aaf_locator_fqdn=dcae
    aaf_locator_container_ns=onap
    aaf_locator_container=oom
    aaf_locator_app_ns=org.osaaf.aaf
    cadi_longitude=-72.0
    cadi_latitude=38.0
    aaf_locate_url=https://aaf-locate.onap:8095
    Created /opt/app/osaaf/local
    Existing files in /opt/app/osaaf/local
    total 0
    Clean up directory /opt/app/osaaf/local
    Namespace is org.onap.dcae
    #### Create Configuration files
    Writing to /opt/app/osaaf/local
    Writing file /opt/app/osaaf/local/org.onap.dcae.keyfile
    Password for dcae@dcae.onap.org (leave blank for NO password): Passed in Truststore is /root/.aaf/truststoreONAPall.jks
    New Truststore is /opt/app/osaaf/local/truststoreONAPall.jks
    Creating new /opt/app/osaaf/local/org.onap.dcae.cred.props
    Creating new /opt/app/osaaf/local/org.onap.dcae.location.props
    Creating new /opt/app/osaaf/local/org.onap.dcae.props
    2022-11-17T05:00:40.300+0000: Trans Info
             REMOTE Get Configuration 727.97705ms

    ############################################################
    # Properties Generated by AT&T Certificate Manager
    #   by root
    #   on 2022-11-17T05:00:40.299+0000
    # @copyright 2019, AT&T
    ############################################################
    aaf_env=DEV
    aaf_id=dcae@dcae.onap.org
    aaf_locate_url=https://aaf-locate.onap:8095
    aaf_locator_app_ns=org.osaaf.aaf
    aaf_locator_container=oom
    aaf_locator_container_ns=onap
    aaf_locator_fqdn=dcae
    aaf_oauth2_introspect_url=https://AAF_LOCATE_URL/%CNS.%AAF_NS.introspect:2.1/introspect
    aaf_oauth2_token_url=https://AAF_LOCATE_URL/%CNS.%AAF_NS.token:2.1/token
    aaf_url=https://AAF_LOCATE_URL/%CNS.%AAF_NS.service:2.1
    aaf_url_cm=https://AAF_LOCATE_URL/%CNS.%AAF_NS.cm:2.1
    aaf_url_fs=https://AAF_LOCATE_URL/%CNS.%AAF_NS.fs:2.1
    aaf_url_gui=https://AAF_LOCATE_URL/%CNS.%AAF_NS.gui:2.1
    aaf_url_hello=https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.hello:2.1
    aaf_url_oauth=https://AAF_LOCATE_URL/%CNS.%AAF_NS.oauth:2.1
    cadi_prop_files=/opt/app/osaaf/local/org.onap.dcae.location.props:/opt/app/osaaf/local/org.onap.dcae.cred.props
    cadi_protocols=TLSv1.1,TLSv1.2

    #### Certificate Authorization Artifact
    2022-11-17T05:00:40.557+0000 INIT [cadi] cadi_keyfile points to /opt/app/osaaf/local/org.onap.dcae.keyfile
    2022-11-17T05:00:40.572+0000 INIT [cadi] https.protocols set by cadi_protocols in CADI Properties
    2022-11-17T05:00:40.573+0000 INIT [cadi] jdk.tls.client.protocols set from Default Protocols
    AppID:          dcae@dcae.onap.org
      Sponsor:       mmanager@osaaf.org
    Machine:         dcae
    CA:              local
    Types:           file,jks,pkcs12,script
    Namespace:       org.onap.dcae
    Directory:       /opt/app/osaaf/local
    O/S User:        root
    Renew Days:      60
    Notification     mailto:
    2022-11-17T05:00:41.570+0000: Trans Info
             Read Artifact 442.44995ms

    #### Place Certificates (by deployer)
    2022-11-17T05:00:41.801+0000 INIT [cadi] cadi_keyfile points to /opt/app/osaaf/local/org.onap.dcae.keyfile
    2022-11-17T05:00:41.816+0000 INIT [cadi] https.protocols set by cadi_protocols in CADI Properties
    2022-11-17T05:00:41.816+0000 INIT [cadi] jdk.tls.client.protocols set from Default Protocols
    Writing to /opt/app/osaaf/local
    Writing file /opt/app/osaaf/local/org.onap.dcae.crt
    Writing file /opt/app/osaaf/local/org.onap.dcae.key
    Writing file /opt/app/osaaf/local/org.onap.dcae.jks
    Writing file /opt/app/osaaf/local/org.onap.dcae.trust.jks
    Writing file /opt/app/osaaf/local/org.onap.dcae.p12
    Writing file /opt/app/osaaf/local/org.onap.dcae.trust.jks
    Writing file /opt/app/osaaf/local/org.onap.dcae.check.sh
    Writing file /opt/app/osaaf/local/org.onap.dcae.crontab.sh
    Backing up /opt/app/osaaf/local/org.onap.dcae.cred.props
    2022-11-17T05:00:43.548+0000: Trans Info
             REMOTE Place Artifact 1172.8712ms
            Reconstitute Private Key 0.299082ms
            Reconstitute Private Key 0.054495ms

    Obtained Certificates
    #### Validate Configuration and Certificate with live call
    2022-11-17T05:00:43.788+0000 INIT [cadi] cadi_keyfile points to /opt/app/osaaf/local/org.onap.dcae.keyfile
    2022-11-17T05:00:43.802+0000 INIT [cadi] https.protocols set by cadi_protocols in CADI Properties
    2022-11-17T05:00:43.802+0000 INIT [cadi] jdk.tls.client.protocols set from Default Protocols
    Validating Configuration...
    2022-11-17T05:00:44.400+0000 INIT [cadi] X509 Chain
      0)
        Subject: C=US, O=ONAP, OU=OSAAF, OU=dcae@dcae.onap.org:DEV, CN=dcae
        Issuer : CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US
        Expires: Fri Nov 17 05:00:42 GMT 2023
      1)
        Subject: CN=intermediateCA_9, OU=OSAAF, O=ONAP, C=US
        Issuer : C=US, O=ONAP, OU=OSAAF
        Expires: Thu Aug 17 18:51:37 GMT 2023

    2022-11-17T05:00:44.405+0000 INIT [cadi] https.protocols loaded from System Properties
    2022-11-17T05:00:44.405+0000 INIT [cadi] jdk.tls.client.protocols loaded from System Properties
    2022-11-17T05:00:44.443+0000 INIT [cadi] RegistrationProperty: default_container='oom'
    2022-11-17T05:00:44.444+0000 INIT [cadi] RegistrationProperty: public_port='null'
    2022-11-17T05:00:44.448+0000 INIT [cadi] RegistrationProperty: hostname='dcae-datalake-admin-ui'
    2022-11-17T05:00:44.448+0000 INIT [cadi] RegistrationProperty: public_fqdn='dcae-datalake-admin-ui'
    2022-11-17T05:00:44.449+0000 INIT [cadi] RegistrationProperty: default_name='%NS.%N'
    2022-11-17T05:00:44.449+0000 INIT [cadi] RegistrationProperty: latitude='38.0'
    2022-11-17T05:00:44.449+0000 INIT [cadi] RegistrationProperty: longitude='-72.0'
    2022-11-17T05:00:44.450+0000 INIT [cadi] RegistrationProperty: default_fqdn='dcae'
    2022-11-17T05:00:44.450+0000 INIT [cadi] RegistrationProperty: default_container_ns='onap'
    2022-11-17T05:00:44.450+0000 DEBUG [cadi] RegistrationReplacement from AAFCon, source: https://AAF_LOCATE_URL/%CNS.%AAF_NS.service:2.1, dot_le: .oom, value: https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
    2022-11-17T05:00:44.451+0000 INFO [cadi] AAFCon has URL of https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
    2022-11-17T05:00:44.500+0000 DEBUG [cadi] Configured AbsAAFLocator not found"LocatorCreator is not set"Continuing Locator creation
    2022-11-17T05:00:44.500+0000 DEBUG [cadi] RegistrationReplacement from Config.loadLocator, source: https://AAF_LOCATE_URL/%CNS.%AAF_NS.service:2.1, dot_le: .oom, value: https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
    2022-11-17T05:00:44.501+0000 INFO [cadi] loadLocator URL is https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
    2022-11-17T05:00:44.503+0000 DEBUG [cadi] RegistrationReplacement from AAFLocator, source: https://AAF_LOCATE_URL, dot_le: .oom, value: https://aaf-locate.onap:8095
    2022-11-17T05:00:44.503+0000 INFO [cadi] AbsAAFLocator AAF URI is https://aaf-locate.onap:8095/locate
    2022-11-17T05:00:44.504+0000 DEBUG [cadi] RegistrationReplacement from AAFLocator, source: onap.org.osaaf.aaf.service:2.1, dot_le: .oom, value: onap.org.osaaf.aaf.service:2.1
    2022-11-17T05:00:44.504+0000 INFO [cadi] AbsAAFLocator name is https://aaf-locate.onap:8095/locate
    2022-11-17T05:00:44.531+0000 DEBUG [cadi] Root URI: https://aaf-locate.onap:8095/locate/onap.org.osaaf.aaf.service:2.1
    2022-11-17T05:00:44.531+0000 INFO [cadi] AAFLocator enabled using https://aaf-locate.onap:8095
    Success connecting to https://aaf-service.onap:8100
       Permissions for dcae@dcae.onap.org
    	org.onap.aai.resources|*|delete
    	org.onap.aai.resources|*|get
    	org.onap.aai.resources|*|patch
    	org.onap.aai.resources|*|post
    	org.onap.aai.resources|*|put
    	org.onap.aai.traversal|*|advanced
    	org.onap.dcae.certman|local|request,ignoreIPs,showpass
    	org.onap.dmaap-dr.feed|*|*
    	org.onap.dmaap-dr.sub|*|*
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.aPnfTopic-1540492548|pub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.aPnfTopic-1540492548|sub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.aPnfTopic-1540492548|view
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PM_MAPPER|pub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PM_MAPPER|view
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_READY|pub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_READY|view
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_REGISTRATION|sub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PNF_REGISTRATION|view
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540393649|pub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540393649|view
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398384|pub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398384|view
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398410|pub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.PolandSpring1540398410|view
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.topic-000|pub
    	org.onap.dmaap.mr.topic|:topic.org.onap.dmaap.mr.topic-000|view
    	org.onap.dmaap.mr.topic|org.onap.dmaap.mr.PM_MAPPER|pub
    	org.onap.dmaap.mr.topic|org.onap.dmaap.mr.PM_MAPPER|sub
    Initialization complete
    + /opt/app/aaf_config/bin/agent.sh aafcli showpass dcae@dcae.onap.org dcae
    + cut -d = -f 2-
    + grep cadi_keystore_password_p12
    + tr -d '\n'
    + /opt/app/aaf_config/bin/agent.sh aafcli showpass dcae@dcae.onap.org dcae
    + grep cadi_keystore_password_jks=
    + cut -d = -f 2-
    + tr -d '\n'
    + /opt/app/aaf_config/bin/agent.sh aafcli showpass dcae@dcae.onap.org dcae
    + grep cadi_truststore_password=
    + cut -d = -f 2-
    + tr -d '\n'
    + cp /opt/app/osaaf/local/org.onap.dcae.p12 /opt/app/osaaf/cert.p12
    + cp /opt/app/osaaf/local/org.onap.dcae.jks /opt/app/osaaf/cert.jks
    + cp /opt/app/osaaf/local/org.onap.dcae.trust.jks /opt/app/osaaf/trust.jks
    + openssl pkcs12 -in /opt/app/osaaf/cert.p12 -passin file:/opt/app/osaaf/p12.pass -nodes -nokeys -out /opt/app/osaaf/cert.pem
    + openssl pkcs12 -in /opt/app/osaaf/cert.p12 -passin file:/opt/app/osaaf/p12.pass -nodes -nocerts -out /opt/app/osaaf/key.pem
    + chmod 644 /opt/app/osaaf/cert.pem /opt/app/osaaf/key.pem
    + echo ''
    + keytool -exportcert -rfc -file /opt/app/osaaf/cacert.pem -keystore /opt/app/osaaf/local/org.onap.dcae.trust.jks -alias ca_local_0
    Enter keystore password:
    *****************  WARNING WARNING WARNING  *****************
    * The integrity of the information stored in your keystore  *
    * has NOT been verified!  In order to verify its integrity, *
    * you must provide your keystore password.                  *
    *****************  WARNING WARNING WARNING  *****************

    Certificate stored in file
    + '[' true == false ']'