Hi AAF team,

We have installed Guilin release of AAF, but AAF SMS Heath Check is failing.

The primary error seems to be "error occurred during enable mount: 
path=sms/smsinternaldomain/ error="path is already in use at 
sms/smsinternaldomain/".
We are facing problems due to this as DCAE init-tls is unable to get the 
certificates from AAF. Can you please help us with some pointers on how to 
resolve this issue?
Attached all relevant logs for aaf-sms and DCAE init-tls logs.


-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.
View/Reply Online (#23097): https://lists.onap.org/g/onap-discuss/message/23097
Mute This Topic: https://lists.onap.org/mt/81731062/21656
Mute #aaf:https://lists.onap.org/g/onap-discuss/mutehashtag/aaf
Mute #guilin:https://lists.onap.org/g/onap-discuss/mutehashtag/guilin
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub 
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-


ubuntu@control01-oran:~$ kubectl logs onap-aaf-sms-696fcb67cd-xs9kw -n onap
INFO: 2021/03/30 14:54:10 vault.go:521: Vault is already Initialized
WARNING: 2021/03/30 14:54:10 auth.go:85: Pemfile has extra data
WARNING: 2021/03/30 14:54:10 auth.go:85: Pemfile has extra data
ERROR: 2021/03/30 14:55:01 vault.go:225: Mount internal Domain: Error making 
API request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/smsinternaldomain
Code: 400. Errors:

* path is already in use at sms/smsinternaldomain/
ERROR: 2021/03/30 14:55:01 vault.go:250: Mount Internal Domain: Unable to mount 
internal Domain
ERROR: 2021/03/30 14:55:01 vault.go:299: Store UUID: Unable to mount internal 
Domain
ERROR: 2021/03/30 14:55:01 handler.go:270: HealthCheck Create Domain: Unable to 
store Secret Domain UUID. Retry
ERROR: 2021/03/30 14:55:02 vault.go:289: Create Domain: Error making API 
request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/has
Code: 400. Errors:

* path is already in use at sms/has/
ERROR: 2021/03/30 14:55:02 handler.go:47: CreateSecretDomainHandler: Unable to 
create Secret Domain
ERROR: 2021/03/30 14:55:07 vault.go:289: Create Domain: Error making API 
request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/has
Code: 400. Errors:

* path is already in use at sms/has/
ERROR: 2021/03/30 14:55:07 handler.go:47: CreateSecretDomainHandler: Unable to 
create Secret Domain
ERROR: 2021/03/30 14:55:12 vault.go:289: Create Domain: Error making API 
request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/has
Code: 400. Errors:

* path is already in use at sms/has/
ERROR: 2021/03/30 14:55:12 handler.go:47: CreateSecretDomainHandler: Unable to 
create Secret Domain
ERROR: 2021/03/30 14:55:17 vault.go:289: Create Domain: Error making API 
request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/has
Code: 400. Errors:

* path is already in use at sms/has/
ERROR: 2021/03/30 14:55:17 handler.go:47: CreateSecretDomainHandler: Unable to 
create Secret Domain
ERROR: 2021/03/30 14:55:21 vault.go:225: Mount internal Domain: Error making 
API request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/smsinternaldomain
Code: 400. Errors:

* path is already in use at sms/smsinternaldomain/
ERROR: 2021/03/30 14:55:21 vault.go:250: Mount Internal Domain: Unable to mount 
internal Domain
ERROR: 2021/03/30 14:55:21 vault.go:299: Store UUID: Unable to mount internal 
Domain
ERROR: 2021/03/30 14:55:21 handler.go:270: HealthCheck Create Domain: Unable to 
store Secret Domain UUID. Retry
ERROR: 2021/03/30 14:55:22 vault.go:289: Create Domain: Error making API 
request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/has
Code: 400. Errors:

* path is already in use at sms/has/
ERROR: 2021/03/30 14:55:22 handler.go:47: CreateSecretDomainHandler: Unable to 
create Secret Domain
ERROR: 2021/03/30 14:55:27 vault.go:289: Create Domain: Error making API 
request.

URL: POST http://aaf-sms-db:8200/v1/sys/mounts/sms/osdf
Code: 400. Errors:
ubuntu@control01-oran:~$ kubectl logs onap-aaf-sms-preload-xdzpr  -n onap
Processing    /preload/config/has.json
Uploading data...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
2021/03/30 14:55:27 Error Uploading has.json : Request Failed with: 500 
Internal Server Error and Error: Unable to create Secret Domain
Processing    /preload/config/osdf.json
Uploading data...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
Request Failed with: 500 Internal Server Error and Error: Unable to create 
Secret Domain

Retrying...
2021/03/30 14:55:52 Error Uploading osdf.json : Request Failed with: 500 
Internal Server Error and Error: Unable to create Secret Domain
ubuntu@control01-oran:~$ kubectl logs onap-aaf-sms-quorumclient-0 -n onap
INFO: 2021/03/30 14:43:40 quorumclient.go:77: Starting Log for Quorum Client
ERROR: 2021/03/30 14:43:51 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:44:01 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:44:11 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:44:21 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:44:31 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:44:41 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:44:51 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:45:01 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:45:11 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:45:21 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:45:31 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:45:41 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:45:51 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:46:01 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:46:11 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:46:21 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ERROR: 2021/03/30 14:46:31 quorumclient.go:176: Connect to SMS: Get 
https://aaf-sms.onap:10443/v1/sms/quorum/status: dial tcp 10.233.24.23:10443: 
connect: connection refused
ubuntu@control01-oran:~$ kubectl logs onap-aaf-sms-vault-0   -n onap -c 
aaf-sms-vault
Couldn't start vault with IPC_LOCK. Disabling IPC_LOCK, please use --privileged 
or --cap-add IPC_LOCK

WARNING! Unable to read storage migration status.
2021-03-30T14:43:40.319Z [INFO]  proxy environment: http_proxy= https_proxy= 
no_proxy=
2021-03-30T14:43:40.320Z [WARN]  storage.consul: appending trailing forward 
slash to path
2021-03-30T14:43:40.329Z [WARN]  storage migration check error: error="Get 
http://localhost:8500/v1/kv/smsvault/core/migration: dial tcp 127.0.0.1:8500: 
connect: connection refused"
2021-03-30T14:43:42.334Z [WARN]  storage migration check error: error="Get 
http://localhost:8500/v1/kv/smsvault/core/migration: dial tcp 127.0.0.1:8500: 
connect: connection refused"
2021-03-30T14:43:44.338Z [WARN]  storage migration check error: error="Get 
http://localhost:8500/v1/kv/smsvault/core/migration: dial tcp 127.0.0.1:8500: 
connect: connection refused"
2021-03-30T14:43:46.346Z [WARN]  storage migration check error: error="Get 
http://localhost:8500/v1/kv/smsvault/core/migration: dial tcp 127.0.0.1:8500: 
connect: connection refused"
2021-03-30T14:43:55.356Z [WARN]  no `api_addr` value specified in config or in 
VAULT_API_ADDR; falling back to detection if possible, but this value should be 
manually set
==> Vault server configuration:

             Api Address: http://10.233.68.54:8200
                     Cgo: disabled
         Cluster Address: https://10.233.68.54:8201
              Listener 1: tcp (addr: "[::]:8200", cluster address: "[::]:8201", 
max_request_duration: "1m30s", max_request_size: "33554432", tls: "disabled")
               Log Level: info
                   Mlock: supported: true, enabled: false
           Recovery Mode: false
                 Storage: consul (HA available)
                 Version: Vault v1.3.3

==> Vault server started! Log data will stream in below:

2021-03-30T14:54:50.171Z [INFO]  core.cluster-listener: starting listener: 
listener_address=[::]:8201
2021-03-30T14:54:50.171Z [INFO]  core.cluster-listener: serving cluster 
requests: cluster_listen_address=[::]:8201
2021-03-30T14:54:50.172Z [INFO]  core: vault is unsealed
2021-03-30T14:54:50.173Z [INFO]  core: entering standby mode
2021-03-30T14:54:50.196Z [INFO]  core: acquired lock, enabling active operation
2021-03-30T14:54:50.284Z [INFO]  core: post-unseal setup starting
2021-03-30T14:54:50.292Z [INFO]  core: loaded wrapping token key
2021-03-30T14:54:50.292Z [INFO]  core: successfully setup plugin catalog: 
plugin-directory=
2021-03-30T14:54:50.309Z [INFO]  core: successfully mounted backend: 
type=system path=sys/
2021-03-30T14:54:50.309Z [INFO]  core: successfully mounted backend: 
type=identity path=identity/
2021-03-30T14:54:50.309Z [INFO]  core: successfully mounted backend: 
type=cubbyhole path=cubbyhole/
2021-03-30T14:54:50.309Z [INFO]  core: successfully mounted backend: type=kv 
path=sms/smsinternaldomain/
2021-03-30T14:54:50.309Z [INFO]  core: successfully mounted backend: type=kv 
path=sms/has/
2021-03-30T14:54:50.309Z [INFO]  core: successfully mounted backend: type=kv 
path=sms/osdf/
2021-03-30T14:54:50.320Z [INFO]  core: successfully enabled credential backend: 
type=token path=token/
2021-03-30T14:54:50.320Z [INFO]  core: successfully enabled credential backend: 
type=approle path=approle/
2021-03-30T14:54:50.321Z [INFO]  core: restoring leases
2021-03-30T14:54:50.321Z [INFO]  rollback: starting rollback manager
2021-03-30T14:54:50.325Z [INFO]  identity: entities restored
2021-03-30T14:54:50.325Z [INFO]  expiration: lease restore complete
2021-03-30T14:54:50.326Z [INFO]  identity: groups restored
2021-03-30T14:54:50.330Z [INFO]  core: post-unseal setup complete
2021-03-30T14:55:01.609Z [INFO]  core: successful mount: namespace= 
path=sms/8b298f9b-fd83-928a-033e-9d9d0a76fc87/ type=kv
2021-03-30T14:55:01.622Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:55:01.656Z [INFO]  core: successfully unmounted: 
path=sms/8b298f9b-fd83-928a-033e-9d9d0a76fc87/ namespace=
2021-03-30T14:55:02.083Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/has/ error="path is already in use at sms/has/"
2021-03-30T14:55:07.091Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/has/ error="path is already in use at sms/has/"
2021-03-30T14:55:12.098Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/has/ error="path is already in use at sms/has/"
2021-03-30T14:55:17.107Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/has/ error="path is already in use at sms/has/"
2021-03-30T14:55:21.678Z [INFO]  core: successful mount: namespace= 
path=sms/2295b231-ebab-a606-4c20-65333540d624/ type=kv
2021-03-30T14:55:21.682Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:55:21.697Z [INFO]  core: successfully unmounted: 
path=sms/2295b231-ebab-a606-4c20-65333540d624/ namespace=
2021-03-30T14:55:22.115Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/has/ error="path is already in use at sms/has/"
2021-03-30T14:55:27.133Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/osdf/ error="path is already in use at sms/osdf/"
2021-03-30T14:55:32.144Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/osdf/ error="path is already in use at sms/osdf/"
2021-03-30T14:55:37.156Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/osdf/ error="path is already in use at sms/osdf/"
2021-03-30T14:55:42.169Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/osdf/ error="path is already in use at sms/osdf/"
2021-03-30T14:55:47.178Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/osdf/ error="path is already in use at sms/osdf/"
2021-03-30T14:56:01.729Z [INFO]  core: successful mount: namespace= 
path=sms/b1dcf4e1-cec0-38b6-f0d4-6bf833e14b95/ type=kv
2021-03-30T14:56:01.735Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:56:01.777Z [INFO]  core: successfully unmounted: 
path=sms/b1dcf4e1-cec0-38b6-f0d4-6bf833e14b95/ namespace=
2021-03-30T14:56:21.800Z [INFO]  core: successful mount: namespace= 
path=sms/3c9d6a4d-a096-dd98-09f0-6464e0ecef5b/ type=kv
2021-03-30T14:56:21.804Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:56:21.819Z [INFO]  core: successfully unmounted: 
path=sms/3c9d6a4d-a096-dd98-09f0-6464e0ecef5b/ namespace=
2021-03-30T14:56:41.843Z [INFO]  core: successful mount: namespace= 
path=sms/86c85829-f500-7742-4f76-f42f7a95b3de/ type=kv
2021-03-30T14:56:41.848Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:56:41.859Z [INFO]  core: successfully unmounted: 
path=sms/86c85829-f500-7742-4f76-f42f7a95b3de/ namespace=
2021-03-30T14:57:01.889Z [INFO]  core: successful mount: namespace= 
path=sms/4ae9179e-4276-0c0a-5fd4-fc8ef56f32dc/ type=kv
2021-03-30T14:57:01.893Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:57:01.909Z [INFO]  core: successfully unmounted: 
path=sms/4ae9179e-4276-0c0a-5fd4-fc8ef56f32dc/ namespace=
2021-03-30T14:57:21.934Z [INFO]  core: successful mount: namespace= 
path=sms/bc83efc5-5cc0-f7c0-34a7-1b0ab27fcb59/ type=kv
2021-03-30T14:57:21.938Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:57:21.951Z [INFO]  core: successfully unmounted: 
path=sms/bc83efc5-5cc0-f7c0-34a7-1b0ab27fcb59/ namespace=
2021-03-30T14:57:41.983Z [INFO]  core: successful mount: namespace= 
path=sms/2cedc968-e7a8-e7c5-470f-cd9d48c46bdf/ type=kv
2021-03-30T14:57:41.987Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:57:41.999Z [INFO]  core: successfully unmounted: 
path=sms/2cedc968-e7a8-e7c5-470f-cd9d48c46bdf/ namespace=
2021-03-30T14:58:02.030Z [INFO]  core: successful mount: namespace= 
path=sms/d8d13e52-489a-0509-b4f3-d93f50ff6c68/ type=kv
2021-03-30T14:58:02.033Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:58:02.045Z [INFO]  core: successfully unmounted: 
path=sms/d8d13e52-489a-0509-b4f3-d93f50ff6c68/ namespace=
2021-03-30T14:58:22.075Z [INFO]  core: successful mount: namespace= 
path=sms/d2526bda-4fc5-073a-a3a8-7ccf3e9c86d3/ type=kv
2021-03-30T14:58:22.079Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:58:22.091Z [INFO]  core: successfully unmounted: 
path=sms/d2526bda-4fc5-073a-a3a8-7ccf3e9c86d3/ namespace=
2021-03-30T14:58:42.119Z [INFO]  core: successful mount: namespace= 
path=sms/e4774587-b070-2ec3-cc63-6674051af866/ type=kv
2021-03-30T14:58:42.122Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:58:42.135Z [INFO]  core: successfully unmounted: 
path=sms/e4774587-b070-2ec3-cc63-6674051af866/ namespace=
2021-03-30T14:59:02.157Z [INFO]  core: successful mount: namespace= 
path=sms/ba00ebe6-0f4e-3371-bd92-f87697c76617/ type=kv
2021-03-30T14:59:02.160Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:59:02.172Z [INFO]  core: successfully unmounted: 
path=sms/ba00ebe6-0f4e-3371-bd92-f87697c76617/ namespace=
2021-03-30T14:59:22.196Z [INFO]  core: successful mount: namespace= 
path=sms/5de2040b-7ae3-3222-c741-0bc9fc69ae4a/ type=kv
2021-03-30T14:59:22.199Z [ERROR] secrets.system.system_86dbe03c: error occurred 
during enable mount: path=sms/smsinternaldomain/ error="path is already in use 
at sms/smsinternaldomain/"
2021-03-30T14:59:22.212Z [INFO]  core: successfully unmounted: 
path=sms/5de2040b-7ae3-3222-c741-0bc9fc69ae4a/ namespace=
2021-03-30T14:59:42.236Z [INFO]  core: successful mount: namespace= 
path=sms/af69b635-c23d-4cd6-3059-d848e0df6a4c/ type=kv
+ export [email protected]
+ [email protected]
+ 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 [email protected]
+ [email protected]
+ 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=false
+ TLS_SERVER=false
+ 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/jks.pass /opt/app/osaaf/p12.pass 
/opt/app/osaaf/trust.pass
+ '[' false == false ']'
+ export aaf_locator_fqdn=dcae
+ aaf_locator_fqdn=dcae
+ /opt/app/aaf_config/bin/agent.sh
Caller Properties Initialized
cat SSO
cadi_keyfile=/root/.aaf/keyfile
[email protected]
aaf_password=enc:JRCqz3sec0AT5hUxElMmosgV3jA3yzZv9u9OOwUY9JU
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 [email protected] (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
2021-03-26T07:36:48.445+0000: Trans Info
         REMOTE Get Configuration 816.08044ms
 
############################################################
# Properties Generated by AT&T Certificate Manager
#   by root
#   on 2021-03-26T07:36:48.442+0000
# @copyright 2019, AT&T
############################################################
aaf_env=DEV
[email protected]
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
2021-03-26T07:36:48.715+0000 INIT [cadi] cadi_keyfile points to 
/opt/app/osaaf/local/org.onap.dcae.keyfile
2021-03-26T07:36:48.732+0000 INIT [cadi] https.protocols set by cadi_protocols 
in CADI Properties
2021-03-26T07:36:48.732+0000 INIT [cadi] jdk.tls.client.protocols set from 
Default Protocols
AppID:          [email protected]
  Sponsor:       [email protected]
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:
2021-03-26T07:36:49.829+0000: Trans Info
         Read Artifact 474.80154ms
 
#### Place Certificates (by deployer)
2021-03-26T07:36:50.107+0000 INIT [cadi] cadi_keyfile points to 
/opt/app/osaaf/local/org.onap.dcae.keyfile
2021-03-26T07:36:50.120+0000 INIT [cadi] https.protocols set by cadi_protocols 
in CADI Properties
2021-03-26T07:36:50.120+0000 INIT [cadi] jdk.tls.client.protocols set from 
Default Protocols
2021-03-26T07:36:51.401+0000: Trans Info
         REMOTE Place Artifact 646.2086ms
 
FAILED to get Certificate
Initialization complete
+ grep cadi_keystore_password_p12
+ cut -d = -f 2-
+ /opt/app/aaf_config/bin/agent.sh aafcli showpass [email protected] dcae
+ tr -d '\n'
+ /opt/app/aaf_config/bin/agent.sh aafcli showpass [email protected] dcae
+ grep cadi_keystore_password_jks=
+ tr -d '\n'
+ cut -d = -f 2-
+ /opt/app/aaf_config/bin/agent.sh aafcli showpass [email protected] 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: can't stat '/opt/app/osaaf/local/org.onap.dcae.p12': No such file or 
directory

Reply via email to