By type
+ trap keep_running ERR
+ set -e
+ cfy profiles use -u admin -t default_tenant -p UmH7vbj6 --rest-certificate /certs/cacert.pem --ssl dcae-cloudify-manager
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Initializing local profile ...
Initialization completed successfully
Attempting to connect to dcae-cloudify-manager through port 443, using https (SSL mode: True)...
Initializing profile dcae-cloudify-manager...
Initialization completed successfully
Using manager dcae-cloudify-manager with port 443
+ cfy status
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Retrieving manager services status... [ip=dcae-cloudify-manager]
Services:
+--------------------------------+--------+
| service | status |
+--------------------------------+--------+
| Cloudify Console | Active |
| PostgreSQL | Active |
| AMQP-Postgres | Active |
| Manager Rest-Service | Active |
| RabbitMQ | Active |
| Webserver | Active |
| Management Worker | Active |
+--------------------------------+--------+
+ cfy secret create -s UmH7vbj6 cmpass
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Secret `cmpass` created
+ for config in '/dcae-configs/*.json'
++ basename /dcae-configs/dmaap-plugin.json .json
+ key=dmaap-plugin
+ egrep -v '^#|^$' /dcae-configs/dmaap-plugin.json
+ curl -v -X PUT -H 'Content-Type: application/json' --data-binary @/tmp/dcae-upload consul-server:8500/v1/kv/dmaap-plugin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to consul-server port 8500 (#0)
* Trying 10.233.77.101...
* Connected to consul-server (10.233.77.101) port 8500 (#0)
> PUT /v1/kv/dmaap-plugin HTTP/1.1
> User-Agent: curl/7.29.0
> Host: consul-server:8500
> Accept: */*
> Content-Type: application/json
> Content-Length: 120
>
} [data not shown]
* upload completely sent off: 120 out of 120 bytes
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Fri, 02 Apr 2021 02:08:29 GMT
< Content-Length: 4
<
{ [data not shown]
100 124 100 4 100 120 11 348 --:--:-- --:--:-- --:--:-- 349
* Connection #0 to host consul-server left intact
+ for config in '/dcae-configs/*.json'
++ basename /dcae-configs/k8s-plugin.json .json
+ key=k8s-plugin
+ egrep -v '^#|^$' /dcae-configs/k8s-plugin.json
+ curl -v -X PUT -H 'Content-Type: application/json' --data-binary @/tmp/dcae-upload consul-server:8500/v1/kv/k8s-plugin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to consul-server port 8500 (#0)
* Trying 10.233.77.101...
* Connected to consul-server (10.233.77.101) port 8500 (#0)
> PUT /v1/kv/k8s-plugin HTTP/1.1
> User-Agent: curl/7.29.0
> Host: consul-server:8500
> Accept: */*
> Content-Type: application/json
> Content-Length: 1514
> Expect: 100-continue
>
< HTTP/1.1 100 Continue
} [data not shown]
< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Fri, 02 Apr 2021 02:08:30 GMT
< Content-Length: 4
<
{ [data not shown]
100 1518 100 4 100 1514 6 2388 --:--:-- --:--:-- --:--:-- 2388
100 1518 100 4 100 1514 6 2387 --:--:-- --:--:-- --:--:-- 2388
* Connection #0 to host consul-server left intact
+ trap - ERR
+ set +e
+ deploy pgaas_initdb k8s-pgaas-initdb.yaml k8s-pgaas-initdb-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=pgaas_initdb'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=pgaas_initdb&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b pgaas_initdb /blueprints/k8s-pgaas-initdb.yaml
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
truetrueUploading blueprint /blueprints/k8s-pgaas-initdb.yaml...
k8s-pgaas-initdb.... |####################----------------------------| 41.42%
k8s-pgaas-initdb.... |########################################--------| 82.84%
k8s-pgaas-initdb.... |################################################| 100.0%
Blueprint uploaded. The blueprint's id is pgaas_initdb
+ cm_hasany 'deployments?id=pgaas_initdb'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=pgaas_initdb&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-pgaas-initdb-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-pgaas-initdb-inputs.yaml
+ cfy deployments create -b pgaas_initdb -i/inputs/k8s-pgaas-initdb-inputs.yaml pgaas_initdb
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Creating new deployment from blueprint pgaas_initdb...
Deployment created. The deployment's id is pgaas_initdb
+ cm_hasany 'node-instances?deployment_id=pgaas_initdb&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=pgaas_initdb&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d pgaas_initdb install
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Executing workflow `install` on deployment `pgaas_initdb` [timeout=900 seconds]
Deployment environment creation is pending...
2021-04-02 02:08:37.863 CFY Starting 'create_deployment_environment' workflow execution
2021-04-02 02:08:37.869 CFY Installing deployment and workflow plugins
2021-04-02 02:08:37.968 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-02 02:08:37.983 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-02 02:08:38.959 LOG INFO: Installing plugin: pgaas
2021-04-02 02:08:39.660 LOG INFO: Using existing installation of managed plugin: 3db510d7-f484-4a9b-8a8e-b0e1bebe192f [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:08:39.661 LOG INFO: Installing plugin: ssh_keyshare
2021-04-02 02:08:40.397 LOG INFO: Using existing installation of managed plugin: 61785f5c-6b9f-4a0b-84c9-2ae4df0fd2c0 [package_name: sshkeyshare, package_version: 1.2.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:08:40.399 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-02 02:08:40.513 CFY Creating deployment work directory
2021-04-02 02:08:40.765 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-02 02:08:46.227 CFY Starting 'install' workflow execution
2021-04-02 02:08:46.870 CFY [sharedsshkey_pgrs_1sjvyh] Validating node instance before creation: nothing to do
2021-04-02 02:08:46.939 CFY [sharedsshkey_pgrs_1sjvyh] Precreating node instance: nothing to do
2021-04-02 02:08:47.213 CFY [sharedsshkey_pgrs_1sjvyh] Creating node instance
2021-04-02 02:08:47.405 CFY [sharedsshkey_pgrs_1sjvyh.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-04-02 02:08:51.385 CFY [sharedsshkey_pgrs_1sjvyh.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-04-02 02:08:51.598 CFY [sharedsshkey_pgrs_1sjvyh] Node instance created
2021-04-02 02:08:51.711 CFY [sharedsshkey_pgrs_1sjvyh] Configuring node instance: nothing to do
2021-04-02 02:08:51.824 CFY [sharedsshkey_pgrs_1sjvyh] Starting node instance: nothing to do
2021-04-02 02:08:51.933 CFY [sharedsshkey_pgrs_1sjvyh] Poststarting node instance: nothing to do
2021-04-02 02:08:52.184 CFY [sharedsshkey_pgrs_1sjvyh] Node instance started
2021-04-02 02:08:52.822 CFY [pgaas_cluster_jy58cx] Validating node instance before creation: nothing to do
2021-04-02 02:08:52.930 CFY [pgaas_cluster_jy58cx] Precreating node instance: nothing to do
2021-04-02 02:08:53.202 CFY [pgaas_cluster_jy58cx] Creating node instance
2021-04-02 02:08:53.382 CFY [pgaas_cluster_jy58cx.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-02 02:08:57.326 LOG [pgaas_cluster_jy58cx.create] WARNING: add_pgaas_cluster() invoked
2021-04-02 02:08:57.539 LOG [pgaas_cluster_jy58cx.create] WARNING: All done
2021-04-02 02:08:58.160 CFY [pgaas_cluster_jy58cx.create] Task succeeded 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-02 02:08:58.215 CFY [pgaas_cluster_jy58cx] Node instance created
2021-04-02 02:08:58.531 CFY [pgaas_cluster_jy58cx] Configuring node instance: nothing to do
2021-04-02 02:08:58.605 CFY [pgaas_cluster_jy58cx] Starting node instance: nothing to do
2021-04-02 02:08:58.727 CFY [pgaas_cluster_jy58cx] Poststarting node instance: nothing to do
2021-04-02 02:08:58.983 CFY [pgaas_cluster_jy58cx] Node instance started
2021-04-02 02:08:59.353 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment pgaas_initdb
* Run 'cfy events list 04f5c252-f798-45f0-9478-b7d5ca12aac4' to retrieve the execution's events/logs
+ deploy tcagen2 k8s-tcagen2.yaml k8s-tcagen2-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=tcagen2'
+ deploy ves-tls k8s-ves.yaml k8s-ves-inputs-tls.yaml
+ set +e
+ cm_hasany 'blueprints?id=ves-tls'
+ deploy prh k8s-prh.yaml k8s-prh-inputs.yaml
+ set +e
+ deploy holmes_rules k8s-holmes-rules.yaml k8s-holmes_rules-inputs.yaml
+ cm_hasany 'blueprints?id=prh'
+ deploy hv-ves k8s-hv-ves.yaml k8s-hv_ves-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=holmes_rules'
+ set +e
+ cm_hasany 'blueprints?id=hv-ves'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=tcagen2&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=holmes_rules&_include=id'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=ves-tls&_include=id'
++ /bin/jq .metadata.pagination.total
++ /bin/jq .metadata.pagination.total
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=hv-ves&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=prh&_include=id'
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b tcagen2 /blueprints/k8s-tcagen2.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b ves-tls /blueprints/k8s-ves.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b holmes_rules /blueprints/k8s-holmes-rules.yaml
+ COUNT=0
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b hv-ves /blueprints/k8s-hv-ves.yaml
+ cfy blueprints upload -b prh /blueprints/k8s-prh.yaml
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Uploading blueprint /blueprints/k8s-ves.yaml...
k8s-ves.yaml |#######################---------------------------------| 41.44%
k8s-ves.yaml |##############################################----------| 82.88%
k8s-ves.yaml |########################################################| 100.0%Uploading blueprint /blueprints/k8s-prh.yaml...
Uploading blueprint /blueprints/k8s-tcagen2.yaml...
Uploading blueprint /blueprints/k8s-hv-ves.yaml...
Uploading blueprint /blueprints/k8s-holmes-rules.yaml...
k8s-prh.yaml |#######################---------------------------------| 41.44%
k8s-prh.yaml |##############################################----------| 82.87%
k8s-prh.yaml |########################################################| 100.0%
k8s-tcagen2.yaml |######################------------------------------| 41.42%
k8s-tcagen2.yaml |###########################################---------| 82.85%
k8s-tcagen2.yaml |####################################################| 100.0%
k8s-holmes-rules.... |####################----------------------------| 41.41%
k8s-holmes-rules.... |########################################--------| 82.83%
k8s-hv-ves.yaml |######################-------------------------------| 41.43%
k8s-holmes-rules.... |################################################| 100.0%
k8s-hv-ves.yaml |############################################---------| 82.85%
k8s-hv-ves.yaml |#####################################################| 100.0%
Blueprint uploaded. The blueprint's id is tcagen2
Blueprint uploaded. The blueprint's id is hv-ves
+ cm_hasany 'deployments?id=tcagen2'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=tcagen2&_include=id'
+ cm_hasany 'deployments?id=hv-ves'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=hv-ves&_include=id'
++ /bin/jq .metadata.pagination.total
Blueprint uploaded. The blueprint's id is prh
Blueprint uploaded. The blueprint's id is ves-tls
+ cm_hasany 'deployments?id=prh'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=prh&_include=id'
++ /bin/jq .metadata.pagination.total
+ cm_hasany 'deployments?id=ves-tls'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=ves-tls&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-tcagen2-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-tcagen2-inputs.yaml
+ cfy deployments create -b tcagen2 -i/inputs/k8s-tcagen2-inputs.yaml tcagen2
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-hv_ves-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-hv_ves-inputs.yaml
+ cfy deployments create -b hv-ves -i/inputs/k8s-hv_ves-inputs.yaml hv-ves
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-prh-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-prh-inputs.yaml
+ cfy deployments create -b prh -i/inputs/k8s-prh-inputs.yaml prh
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-ves-inputs-tls.yaml ']'
+ INPUTS=-i/inputs/k8s-ves-inputs-tls.yaml
+ cfy deployments create -b ves-tls -i/inputs/k8s-ves-inputs-tls.yaml ves-tls
Blueprint uploaded. The blueprint's id is holmes_rules
+ cm_hasany 'deployments?id=holmes_rules'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=holmes_rules&_include=id'
++ /bin/jq .metadata.pagination.total
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-holmes_rules-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-holmes_rules-inputs.yaml
+ cfy deployments create -b holmes_rules -i/inputs/k8s-holmes_rules-inputs.yaml holmes_rules
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Creating new deployment from blueprint tcagen2...
Creating new deployment from blueprint hv-ves...
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Creating new deployment from blueprint prh...
Creating new deployment from blueprint ves-tls...
Creating new deployment from blueprint holmes_rules...
Deployment created. The deployment's id is hv-ves
Deployment created. The deployment's id is tcagen2
+ cm_hasany 'node-instances?deployment_id=hv-ves&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=hv-ves&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ cm_hasany 'node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
Deployment created. The deployment's id is prh
+ cm_hasany 'node-instances?deployment_id=prh&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=prh&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
Deployment created. The deployment's id is ves-tls
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d hv-ves install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d tcagen2 install
+ cm_hasany 'node-instances?deployment_id=ves-tls&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=ves-tls&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d prh install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d ves-tls install
Deployment created. The deployment's id is holmes_rules
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ cm_hasany 'node-instances?deployment_id=holmes_rules&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=holmes_rules&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_rules install
Executing workflow `install` on deployment `hv-ves` [timeout=900 seconds]
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Executing workflow `install` on deployment `tcagen2` [timeout=900 seconds]
Executing workflow `install` on deployment `prh` [timeout=900 seconds]
Executing workflow `install` on deployment `ves-tls` [timeout=900 seconds]
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Deployment environment creation is pending...
Deployment environment creation is pending...
Deployment environment creation is pending...
Executing workflow `install` on deployment `holmes_rules` [timeout=900 seconds]
Deployment environment creation is pending...
Deployment environment creation is pending...
2021-04-02 02:09:17.041 CFY Starting 'create_deployment_environment' workflow execution
2021-04-02 02:09:17.107 CFY Installing deployment and workflow plugins
2021-04-02 02:09:17.206 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.222 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.039 CFY Starting 'create_deployment_environment' workflow execution
2021-04-02 02:09:17.104 CFY Installing deployment and workflow plugins
2021-04-02 02:09:17.146 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.168 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.129 CFY Starting 'create_deployment_environment' workflow execution
2021-04-02 02:09:17.137 CFY Installing deployment and workflow plugins
2021-04-02 02:09:17.236 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.251 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.804 CFY Starting 'create_deployment_environment' workflow execution
2021-04-02 02:09:17.813 CFY Installing deployment and workflow plugins
2021-04-02 02:09:17.912 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.927 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.173 CFY Starting 'create_deployment_environment' workflow execution
2021-04-02 02:09:17.177 CFY Installing deployment and workflow plugins
2021-04-02 02:09:17.276 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:17.304 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:21.128 LOG INFO: Installing plugin: k8s
2021-04-02 02:09:21.033 LOG INFO: Installing plugin: k8s
2021-04-02 02:09:21.342 LOG INFO: Installing plugin: k8s
2021-04-02 02:09:22.010 LOG INFO: Installing plugin: pgaas
2021-04-02 02:09:21.106 LOG INFO: Installing plugin: k8s
2021-04-02 02:09:24.241 LOG INFO: Using existing installation of managed plugin: 81333ba4-bef4-4788-bff5-7c0452ccce8b [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:09:24.242 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:24.357 CFY Creating deployment work directory
2021-04-02 02:09:24.643 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-02 02:09:24.022 LOG INFO: Using existing installation of managed plugin: 81333ba4-bef4-4788-bff5-7c0452ccce8b [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:09:24.024 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:24.154 CFY Creating deployment work directory
2021-04-02 02:09:24.431 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-02 02:09:24.160 LOG INFO: Using existing installation of managed plugin: 81333ba4-bef4-4788-bff5-7c0452ccce8b [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:09:24.161 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:24.220 CFY Creating deployment work directory
2021-04-02 02:09:24.535 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-02 02:09:24.469 LOG INFO: Using existing installation of managed plugin: 3db510d7-f484-4a9b-8a8e-b0e1bebe192f [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:09:24.470 LOG INFO: Installing plugin: k8s
2021-04-02 02:09:25.226 LOG INFO: Using existing installation of managed plugin: 81333ba4-bef4-4788-bff5-7c0452ccce8b [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:09:25.227 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:25.342 CFY Creating deployment work directory
2021-04-02 02:09:25.627 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-02 02:09:24.035 LOG INFO: Using existing installation of managed plugin: 81333ba4-bef4-4788-bff5-7c0452ccce8b [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:09:24.037 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-02 02:09:24.135 CFY Creating deployment work directory
2021-04-02 02:09:24.426 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-02 02:09:31.521 CFY Starting 'install' workflow execution
2021-04-02 02:09:33.039 CFY [hv-ves_r0w7il] Validating node instance before creation: nothing to do
2021-04-02 02:09:33.304 CFY [hv-ves_r0w7il] Precreating node instance: nothing to do
2021-04-02 02:09:33.116 CFY Starting 'install' workflow execution
2021-04-02 02:09:34.547 CFY [docker.tca_vzcoly] Validating node instance before creation: nothing to do
2021-04-02 02:09:34.724 CFY [docker.tca_vzcoly] Precreating node instance: nothing to do
2021-04-02 02:09:34.940 CFY [docker.tca_vzcoly] Creating node instance
2021-04-02 02:09:33.228 CFY Starting 'install' workflow execution
2021-04-02 02:09:34.616 CFY [prh_zu8vf1] Validating node instance before creation: nothing to do
2021-04-02 02:09:34.854 CFY [prh_zu8vf1] Precreating node instance: nothing to do
2021-04-02 02:09:33.708 CFY Starting 'install' workflow execution
2021-04-02 02:09:35.304 CFY [pgaasvm_azmkok] Validating node instance before creation: nothing to do
2021-04-02 02:09:33.728 CFY Starting 'install' workflow execution
2021-04-02 02:09:35.223 CFY [ves_tkxx9c] Validating node instance before creation: nothing to do
2021-04-02 02:09:35.423 CFY [ves_tkxx9c] Precreating node instance: nothing to do
2021-04-02 02:09:33.536 CFY [hv-ves_r0w7il] Creating node instance
2021-04-02 02:09:34.429 CFY [hv-ves_r0w7il.create] Sending task 'k8splugin.create_for_components'
2021-04-02 02:09:35.905 CFY [docker.tca_vzcoly.create] Sending task 'k8splugin.create_for_components'
2021-04-02 02:09:35.708 CFY [prh_zu8vf1] Creating node instance
2021-04-02 02:09:36.306 CFY [prh_zu8vf1.create] Sending task 'k8splugin.create_for_components'
2021-04-02 02:09:35.545 CFY [pgaasvm_azmkok] Precreating node instance: nothing to do
2021-04-02 02:09:35.920 CFY [pgaasvm_azmkok] Creating node instance
2021-04-02 02:09:36.855 CFY [pgaasvm_azmkok.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-02 02:09:36.221 CFY [ves_tkxx9c] Creating node instance
2021-04-02 02:09:36.543 CFY [ves_tkxx9c.create] Sending task 'k8splugin.create_for_components'
2021-04-02 02:09:42.750 LOG [pgaasvm_azmkok.create] WARNING: create_database(holmes)
2021-04-02 02:09:45.521 LOG [pgaasvm_azmkok.create] WARNING: All done
2021-04-02 02:09:47.125 CFY [pgaasvm_azmkok.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-02 02:09:47.297 CFY [pgaasvm_azmkok] Node instance created
2021-04-02 02:09:47.455 CFY [pgaasvm_azmkok] Configuring node instance: nothing to do
2021-04-02 02:09:47.567 CFY [pgaasvm_azmkok] Starting node instance: nothing to do
2021-04-02 02:09:47.649 CFY [pgaasvm_azmkok] Poststarting node instance: nothing to do
2021-04-02 02:09:47.944 CFY [pgaasvm_azmkok] Node instance started
2021-04-02 02:09:48.358 CFY [holmesrules_qh3eor] Validating node instance before creation: nothing to do
2021-04-02 02:09:48.459 CFY [holmesrules_qh3eor] Precreating node instance: nothing to do
2021-04-02 02:09:51.458 LOG [docker.tca_vzcoly.create] INFO: Added config for dcae-tcagen2
2021-04-02 02:09:51.458 LOG [docker.tca_vzcoly.create] INFO: Done setting up: dcae-tcagen2
2021-04-02 02:09:51.457 LOG [prh_zu8vf1.create] INFO: Added config for dcae-prh
2021-04-02 02:09:51.458 LOG [prh_zu8vf1.create] INFO: Done setting up: dcae-prh
2021-04-02 02:09:52.520 CFY [prh_zu8vf1.create] Task succeeded 'k8splugin.create_for_components'
2021-04-02 02:09:48.737 CFY [holmesrules_qh3eor] Creating node instance
2021-04-02 02:09:48.952 CFY [holmesrules_qh3eor.create] Sending task 'k8splugin.create_for_components'
2021-04-02 02:09:51.457 LOG [ves_tkxx9c.create] INFO: Added config for dcae-ves-collector
2021-04-02 02:09:51.458 LOG [ves_tkxx9c.create] INFO: Done setting up: dcae-ves-collector
2021-04-02 02:09:52.812 CFY [ves_tkxx9c.create] Task succeeded 'k8splugin.create_for_components'
2021-04-02 02:09:51.220 LOG [hv-ves_r0w7il.create] INFO: Added config for dcae-hv-ves-collector
2021-04-02 02:09:51.220 LOG [hv-ves_r0w7il.create] INFO: Done setting up: dcae-hv-ves-collector
2021-04-02 02:09:51.943 CFY [hv-ves_r0w7il.create] Task succeeded 'k8splugin.create_for_components'
2021-04-02 02:09:52.055 CFY [hv-ves_r0w7il] Node instance created
2021-04-02 02:09:52.414 CFY [hv-ves_r0w7il] Configuring node instance: nothing to do
2021-04-02 02:09:52.525 CFY [hv-ves_r0w7il] Starting node instance
2021-04-02 02:09:52.110 CFY [docker.tca_vzcoly.create] Task succeeded 'k8splugin.create_for_components'
2021-04-02 02:09:52.256 CFY [docker.tca_vzcoly] Node instance created
2021-04-02 02:09:52.637 CFY [docker.tca_vzcoly] Configuring node instance: nothing to do
2021-04-02 02:09:52.820 CFY [docker.tca_vzcoly] Starting node instance
2021-04-02 02:09:53.683 CFY [docker.tca_vzcoly.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:09:53.047 CFY [prh_zu8vf1] Node instance created
2021-04-02 02:09:53.226 CFY [prh_zu8vf1] Configuring node instance: nothing to do
2021-04-02 02:09:53.539 CFY [prh_zu8vf1] Starting node instance
2021-04-02 02:09:54.236 CFY [prh_zu8vf1.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:09:57.131 LOG [holmesrules_qh3eor.create] INFO: Added config for holmes-rule-mgmt
2021-04-02 02:09:53.335 CFY [ves_tkxx9c] Node instance created
2021-04-02 02:09:53.644 CFY [ves_tkxx9c] Configuring node instance: nothing to do
2021-04-02 02:09:53.959 CFY [ves_tkxx9c] Starting node instance
2021-04-02 02:09:54.495 CFY [ves_tkxx9c.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:09:53.255 CFY [hv-ves_r0w7il.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:09:57.131 LOG [holmesrules_qh3eor.create] INFO: Done setting up: holmes-rule-mgmt
2021-04-02 02:09:58.625 CFY [holmesrules_qh3eor.create] Task succeeded 'k8splugin.create_for_components'
2021-04-02 02:09:58.806 CFY [holmesrules_qh3eor] Node instance created
2021-04-02 02:09:59.620 CFY [holmesrules_qh3eor] Configuring node instance: nothing to do
2021-04-02 02:10:00.414 CFY [holmesrules_qh3eor] Starting node instance
2021-04-02 02:10:03.014 LOG [prh_zu8vf1.start] INFO: Starting k8s deployment for dcae-prh, image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.services.prh.prh-app-server:1.5.4, env: {'DCAE_CA_CERTPATH': '/opt/app/prh/etc/cert/cacert.pem', 'CONSUL_HOST': u'consul-server.onap', 'CONFIG_BINDING_SERVICE': 'config-binding-service', 'CBS_CONFIG_URL': 'https://config-binding-service:10443/service_component_all/dcae-prh'}, kwargs: {'readiness': {u'endpoint': u'/heartbeat', u'type': u'http', u'timeout': u'1s', u'interval': u'15s'}, 'liveness': {}, 'tls_info': {u'use_tls': True, u'cert_directory': u'/opt/app/prh/etc/cert'}, 'envs': {}, 'labels': {'cfydeployment': u'prh', 'cfynodeinstance': u'prh_zu8vf1', 'cfynode': u'prh'}, 'external_cert': {u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'ca_name': u'RA', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/app/prh/logs'}, 'ports': [u'8100:0'], 'k8s_location': u'central'}
2021-04-02 02:10:00.735 CFY [holmesrules_qh3eor.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:10:02.727 LOG [ves_tkxx9c.start] INFO: Starting k8s deployment for dcae-ves-collector, image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.ves.vescollector:1.7.9, env: {'DCAE_CA_CERTPATH': '/opt/app/dcae-certificate//cacert.pem', 'CONSUL_HOST': u'consul-server.onap', 'CONFIG_BINDING_SERVICE': 'config-binding-service', 'CBS_CONFIG_URL': 'https://config-binding-service:10443/service_component_all/dcae-ves-collector'}, kwargs: {'readiness': {u'endpoint': u'/healthcheck', u'type': u'http', u'timeout': u'1s', u'interval': u'15s'}, 'liveness': {}, 'tls_info': {u'use_tls': True, u'cert_directory': u'/opt/app/dcae-certificate/'}, 'envs': {}, 'labels': {'cfydeployment': u'ves-tls', 'cfynodeinstance': u'ves_tkxx9c', 'cfynode': u'ves'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'dcae-ves-collector', u'sans': u'dcae-ves-collector:ves-collector:ves'}, u'cert_type': u'JKS', u'external_cert_directory': u'/opt/app/dcae-certificate/', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/app/VESCollector/logs'}, 'ports': [u'8080:0', u'8443:30417'], 'k8s_location': u'central'}
2021-04-02 02:10:02.729 LOG [ves_tkxx9c.start] INFO: Passing k8sconfig: {'filebeat': {u'config_map': u'onap-dcae-filebeat-configmap', u'config_path': u'/usr/share/filebeat/filebeat.yml', u'log_path': u'/var/log/onap', u'image': u'docker.elastic.co/beats/filebeat:5.5.0', u'data_path': u'/usr/share/filebeat/data', u'config_subpath': u'filebeat.yml'}, 'truststore_merger': {u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.1.1'}, 'cbs': {'base_url': 'https://config-binding-service:10443/service_component_all'}, 'external_cert': {u'country': u'US', u'truststore_password': u'secret', u'cert_secret_name': u'oom-cert-service-client-tls-secret', u'state': u'California', u'organizational_unit': u'ONAP', u'location': u'San-Francisco', u'timeout': u'30000', u'keystore_password': u'secret', u'organization': u'Linux-Foundation', u'request_url': u'https://oom-cert-service:8443/v1/certificate/', u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.1.1'}, 'default_k8s_location': u'central', 'tls': {u'component_cert_dir': u'/opt/dcae/cacert', u'cert_path': u'/opt/app/osaaf', u'image': u'nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0', u'ca_cert_configmap': u'onap-dcae-bootstrap-dcae-cacert', u'component_ca_cert_path': u'/opt/dcae/cacert/cacert.pem'}, 'consul_host': 'consul-server:8500', 'consul_dns_name': u'consul-server.onap', 'max_wait': 1800, 'image_pull_secrets': [u'onap-docker-registry-key'], 'namespace': u'onap'}
2021-04-02 02:10:02.812 LOG [ves_tkxx9c.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-02 02:10:03.005 LOG [ves_tkxx9c.start] INFO: k8s deployment initiated successfully for dcae-ves-collector: {'services': ['dcae-ves-collector', 'xdcae-ves-collector'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-ves-collector'}
2021-04-02 02:10:03.007 LOG [ves_tkxx9c.start] INFO: Waiting up to 1800 secs for dcae-ves-collector to become ready
2021-04-02 02:10:01.639 LOG [hv-ves_r0w7il.start] INFO: Starting k8s deployment for dcae-hv-ves-collector, image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.collectors.hv-ves.hv-collector-main:1.5.1, env: {'DCAE_CA_CERTPATH': '/etc/ves-hv/ssl/cacert.pem', u'JAVA_OPTS': u'-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml', 'CONSUL_HOST': u'consul-server.onap', 'CONFIG_BINDING_SERVICE': 'config-binding-service', 'CBS_CONFIG_URL': 'https://config-binding-service:10443/service_component_all/dcae-hv-ves-collector'}, kwargs: {'readiness': {u'interval': u'15s', u'type': u'script', u'timeout': u'2s', u'script': u'/opt/ves-hv-collector/healthcheck.sh'}, 'liveness': {}, 'tls_info': {u'use_tls': True, u'cert_directory': u'/etc/ves-hv/ssl'}, 'envs': {u'JAVA_OPTS': u'-Dlogback.configurationFile=/etc/ONAP/dcae-hv-ves-collector/logback.xml'}, 'labels': {'cfydeployment': u'hv-ves', 'cfynodeinstance': u'hv-ves_r0w7il', 'cfynode': u'hv-ves'}, 'external_cert': {u'external_cert_directory': u'/etc/ves-hv/ssl', u'external_certificate_parameters': {u'common_name': u'dcae-hv-ves-collector', u'sans': u'dcae-hv-ves-collector:hv-ves-collector:hv-ves'}, u'cert_type': u'JKS', u'ca_name': u'RA', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/var/log/ONAP/dcae-hv-ves-collector'}, 'ports': [u'6061:30222'], 'k8s_location': u'central'}
2021-04-02 02:10:01.639 LOG [hv-ves_r0w7il.start] INFO: Passing k8sconfig: {'filebeat': {u'config_map': u'onap-dcae-filebeat-configmap', u'config_path': u'/usr/share/filebeat/filebeat.yml', u'log_path': u'/var/log/onap', u'image': u'docker.elastic.co/beats/filebeat:5.5.0', u'data_path': u'/usr/share/filebeat/data', u'config_subpath': u'filebeat.yml'}, 'truststore_merger': {u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.1.1'}, 'cbs': {'base_url': 'https://config-binding-service:10443/service_component_all'}, 'external_cert': {u'country': u'US', u'truststore_password': u'secret', u'cert_secret_name': u'oom-cert-service-client-tls-secret', u'state': u'California', u'organizational_unit': u'ONAP', u'location': u'San-Francisco', u'timeout': u'30000', u'keystore_password': u'secret', u'organization': u'Linux-Foundation', u'request_url': u'https://oom-cert-service:8443/v1/certificate/', u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.1.1'}, 'default_k8s_location': u'central', 'tls': {u'component_cert_dir': u'/opt/dcae/cacert', u'cert_path': u'/opt/app/osaaf', u'image': u'nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0', u'ca_cert_configmap': u'onap-dcae-bootstrap-dcae-cacert', u'component_ca_cert_path': u'/opt/dcae/cacert/cacert.pem'}, 'consul_host': 'consul-server:8500', 'consul_dns_name': u'consul-server.onap', 'max_wait': 1800, 'image_pull_secrets': [u'onap-docker-registry-key'], 'namespace': u'onap'}
2021-04-02 02:10:01.743 LOG [hv-ves_r0w7il.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-02 02:10:02.459 LOG [hv-ves_r0w7il.start] INFO: k8s deployment initiated successfully for dcae-hv-ves-collector: {'services': ['dcae-hv-ves-collector', 'xdcae-hv-ves-collector'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-hv-ves-collector'}
2021-04-02 02:10:02.504 LOG [hv-ves_r0w7il.start] INFO: Waiting up to 1800 secs for dcae-hv-ves-collector to become ready
2021-04-02 02:10:02.623 LOG [docker.tca_vzcoly.start] INFO: Starting k8s deployment for dcae-tcagen2, image: nexus3.onap.org:10001/onap/org.onap.dcaegen2.analytics.tca-gen2.dcae-analytics-tca-web:1.2.1, env: {'DCAE_CA_CERTPATH': '/etc/tca-gen2/ssl/cacert.pem', 'CONSUL_HOST': u'consul-server.onap', 'CONFIG_BINDING_SERVICE': 'config-binding-service', 'CBS_CONFIG_URL': 'https://config-binding-service:10443/service_component_all/dcae-tcagen2'}, kwargs: {'readiness': {u'endpoint': u'/actuator/health', u'type': u'http', u'timeout': u'10s', u'interval': u'30s'}, 'liveness': {}, 'tls_info': {u'use_tls': True, u'cert_directory': u'/etc/tca-gen2/ssl'}, 'envs': {}, 'labels': {'cfydeployment': u'tcagen2', 'cfynodeinstance': u'docker.tca_vzcoly', 'cfynode': u'docker.tca'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/logs/dcae-analytics-tca'}, 'ports': [u'9091:0'], 'k8s_location': u'central'}
2021-04-02 02:10:02.623 LOG [docker.tca_vzcoly.start] INFO: Passing k8sconfig: {'filebeat': {u'config_map': u'onap-dcae-filebeat-configmap', u'config_path': u'/usr/share/filebeat/filebeat.yml', u'log_path': u'/var/log/onap', u'image': u'docker.elastic.co/beats/filebeat:5.5.0', u'data_path': u'/usr/share/filebeat/data', u'config_subpath': u'filebeat.yml'}, 'truststore_merger': {u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.1.1'}, 'cbs': {'base_url': 'https://config-binding-service:10443/service_component_all'}, 'external_cert': {u'country': u'US', u'truststore_password': u'secret', u'cert_secret_name': u'oom-cert-service-client-tls-secret', u'state': u'California', u'organizational_unit': u'ONAP', u'location': u'San-Francisco', u'timeout': u'30000', u'keystore_password': u'secret', u'organization': u'Linux-Foundation', u'request_url': u'https://oom-cert-service:8443/v1/certificate/', u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.1.1'}, 'default_k8s_location': u'central', 'tls': {u'component_cert_dir': u'/opt/dcae/cacert', u'cert_path': u'/opt/app/osaaf', u'image': u'nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0', u'ca_cert_configmap': u'onap-dcae-bootstrap-dcae-cacert', u'component_ca_cert_path': u'/opt/dcae/cacert/cacert.pem'}, 'consul_host': 'consul-server:8500', 'consul_dns_name': u'consul-server.onap', 'max_wait': 1800, 'image_pull_secrets': [u'onap-docker-registry-key'], 'namespace': u'onap'}
2021-04-02 02:10:02.641 LOG [docker.tca_vzcoly.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-02 02:10:02.910 LOG [docker.tca_vzcoly.start] INFO: k8s deployment initiated successfully for dcae-tcagen2: {'services': ['dcae-tcagen2'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-tcagen2'}
2021-04-02 02:10:02.910 LOG [docker.tca_vzcoly.start] INFO: Waiting up to 1800 secs for dcae-tcagen2 to become ready
2021-04-02 02:10:03.014 LOG [prh_zu8vf1.start] INFO: Passing k8sconfig: {'filebeat': {u'config_map': u'onap-dcae-filebeat-configmap', u'config_path': u'/usr/share/filebeat/filebeat.yml', u'log_path': u'/var/log/onap', u'image': u'docker.elastic.co/beats/filebeat:5.5.0', u'data_path': u'/usr/share/filebeat/data', u'config_subpath': u'filebeat.yml'}, 'truststore_merger': {u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.1.1'}, 'cbs': {'base_url': 'https://config-binding-service:10443/service_component_all'}, 'external_cert': {u'country': u'US', u'truststore_password': u'secret', u'cert_secret_name': u'oom-cert-service-client-tls-secret', u'state': u'California', u'organizational_unit': u'ONAP', u'location': u'San-Francisco', u'timeout': u'30000', u'keystore_password': u'secret', u'organization': u'Linux-Foundation', u'request_url': u'https://oom-cert-service:8443/v1/certificate/', u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.1.1'}, 'default_k8s_location': u'central', 'tls': {u'component_cert_dir': u'/opt/dcae/cacert', u'cert_path': u'/opt/app/osaaf', u'image': u'nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0', u'ca_cert_configmap': u'onap-dcae-bootstrap-dcae-cacert', u'component_ca_cert_path': u'/opt/dcae/cacert/cacert.pem'}, 'consul_host': 'consul-server:8500', 'consul_dns_name': u'consul-server.onap', 'max_wait': 1800, 'image_pull_secrets': [u'onap-docker-registry-key'], 'namespace': u'onap'}
2021-04-02 02:10:03.039 LOG [prh_zu8vf1.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-02 02:10:03.165 LOG [prh_zu8vf1.start] INFO: k8s deployment initiated successfully for dcae-prh: {'services': ['dcae-prh'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-prh'}
2021-04-02 02:10:03.165 LOG [prh_zu8vf1.start] INFO: Waiting up to 1800 secs for dcae-prh to become ready
2021-04-02 02:10:04.905 LOG [holmesrules_qh3eor.start] INFO: Starting k8s deployment for holmes-rule-mgmt, image: nexus3.onap.org:10001/onap/holmes/rule-management:1.2.9, env: {u'MSB_ADDR': u'msb-iag.onap', 'CONSUL_HOST': u'consul-server.onap', 'CBS_CONFIG_URL': 'https://config-binding-service:10443/service_component_all/holmes-rule-mgmt', 'CONFIG_BINDING_SERVICE': 'config-binding-service', 'DCAE_CA_CERTPATH': '/opt/dcae/cacert/cacert.pem', u'URL_JDBC': u'dcae-pg-primary.onap', u'JDBC_USERNAME': u'holmes_admin', u'JDBC_PASSWORD': u'ccc99650fe57399036ec9bdfe34d86a717eee76f3800169dc30ad09aa96c89d6'}, kwargs: {'readiness': {}, 'liveness': {}, 'tls_info': {}, 'envs': {u'MSB_ADDR': u'msb-iag.onap', u'URL_JDBC': u'dcae-pg-primary.onap', u'JDBC_USERNAME': u'holmes_admin', u'JDBC_PASSWORD': u'ccc99650fe57399036ec9bdfe34d86a717eee76f3800169dc30ad09aa96c89d6'}, 'labels': {'cfydeployment': u'holmes_rules', 'cfynodeinstance': u'holmesrules_qh3eor', 'cfynode': u'holmesrules'}, 'external_cert': {u'use_external_tls': False, u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'ca_name': u'RA', u'external_cert_directory': u'/opt/app/dcae-certificate/external'}, 'resource_config': {u'requests': {u'cpu': u'250m', u'memory': u'256Mi'}, u'limits': {u'cpu': u'250m', u'memory': u'1024Mi'}}, 'volumes': [], 'log_info': {}, 'ports': [u'9101:0', u'9104:0'], 'k8s_location': u'central'}
2021-04-02 02:10:04.905 LOG [holmesrules_qh3eor.start] INFO: Passing k8sconfig: {'filebeat': {u'config_map': u'onap-dcae-filebeat-configmap', u'config_path': u'/usr/share/filebeat/filebeat.yml', u'log_path': u'/var/log/onap', u'image': u'docker.elastic.co/beats/filebeat:5.5.0', u'data_path': u'/usr/share/filebeat/data', u'config_subpath': u'filebeat.yml'}, 'truststore_merger': {u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.1.1'}, 'cbs': {'base_url': 'https://config-binding-service:10443/service_component_all'}, 'external_cert': {u'country': u'US', u'truststore_password': u'secret', u'cert_secret_name': u'oom-cert-service-client-tls-secret', u'state': u'California', u'organizational_unit': u'ONAP', u'location': u'San-Francisco', u'timeout': u'30000', u'keystore_password': u'secret', u'organization': u'Linux-Foundation', u'request_url': u'https://oom-cert-service:8443/v1/certificate/', u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.1.1'}, 'default_k8s_location': u'central', 'tls': {u'component_cert_dir': u'/opt/dcae/cacert', u'cert_path': u'/opt/app/osaaf', u'image': u'nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0', u'ca_cert_configmap': u'onap-dcae-bootstrap-dcae-cacert', u'component_ca_cert_path': u'/opt/dcae/cacert/cacert.pem'}, 'consul_host': 'consul-server:8500', 'consul_dns_name': u'consul-server.onap', 'max_wait': 1800, 'image_pull_secrets': [u'onap-docker-registry-key'], 'namespace': u'onap'}
2021-04-02 02:10:04.918 LOG [holmesrules_qh3eor.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-02 02:10:04.996 LOG [holmesrules_qh3eor.start] INFO: k8s deployment initiated successfully for holmes-rule-mgmt: {'services': ['holmes-rule-mgmt'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-holmes-rule-mgmt'}
2021-04-02 02:10:04.997 LOG [holmesrules_qh3eor.start] INFO: Waiting up to 1800 secs for holmes-rule-mgmt to become ready
2021-04-02 02:11:15.525 LOG [docker.tca_vzcoly.start] INFO: k8s deployment is ready for: dcae-tcagen2
2021-04-02 02:11:15.525 LOG [docker.tca_vzcoly.start] INFO: Done starting: dcae-tcagen2
2021-04-02 02:11:16.399 CFY [docker.tca_vzcoly.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:11:16.489 CFY [docker.tca_vzcoly] Poststarting node instance: nothing to do
2021-04-02 02:11:16.588 CFY [docker.tca_vzcoly] Node instance started
2021-04-02 02:11:17.143 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment tcagen2
* Run 'cfy events list f3e4681c-429c-4537-9801-58f8ba527c73' to retrieve the execution's events/logs
2021-04-02 02:11:24.220 LOG [hv-ves_r0w7il.start] INFO: k8s deployment is ready for: dcae-hv-ves-collector
2021-04-02 02:11:24.221 LOG [hv-ves_r0w7il.start] INFO: Done starting: dcae-hv-ves-collector
2021-04-02 02:11:24.866 CFY [hv-ves_r0w7il.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:11:24.900 CFY [hv-ves_r0w7il] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-02 02:11:25.027 CFY [hv-ves_r0w7il] Node instance started
2021-04-02 02:11:25.440 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment hv-ves
* Run 'cfy events list 5c68c93d-17f2-4149-a31b-efd32118a282' to retrieve the execution's events/logs
2021-04-02 02:11:41.489 LOG [prh_zu8vf1.start] INFO: k8s deployment is ready for: dcae-prh
2021-04-02 02:11:41.489 LOG [prh_zu8vf1.start] INFO: Done starting: dcae-prh
2021-04-02 02:11:42.295 CFY [prh_zu8vf1.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
Execution ended, waiting 3 seconds for additional log messages
2021-04-02 02:11:42.346 CFY [prh_zu8vf1] Poststarting node instance: nothing to do
2021-04-02 02:11:42.644 CFY [prh_zu8vf1] Node instance started
2021-04-02 02:11:42.875 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment prh
* Run 'cfy events list 018e2f5a-528c-437d-9fa8-af00632f5b37' to retrieve the execution's events/logs
2021-04-02 02:11:52.563 LOG [holmesrules_qh3eor.start] INFO: k8s deployment is ready for: holmes-rule-mgmt
2021-04-02 02:11:52.564 LOG [holmesrules_qh3eor.start] INFO: Done starting: holmes-rule-mgmt
2021-04-02 02:11:53.312 CFY [holmesrules_qh3eor.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:11:51.683 LOG [ves_tkxx9c.start] INFO: k8s deployment is ready for: dcae-ves-collector
2021-04-02 02:11:51.683 LOG [ves_tkxx9c.start] INFO: Done starting: dcae-ves-collector
2021-04-02 02:11:52.270 CFY [ves_tkxx9c.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:11:52.303 CFY [ves_tkxx9c] Poststarting node instance: nothing to do
2021-04-02 02:11:52.392 CFY [ves_tkxx9c] Node instance started
2021-04-02 02:11:52.844 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment ves-tls
* Run 'cfy events list 59a394ee-0b2d-4a10-94b4-3757983df34b' to retrieve the execution's events/logs
2021-04-02 02:11:53.399 CFY [holmesrules_qh3eor] Poststarting node instance: nothing to do
2021-04-02 02:11:53.780 CFY [holmesrules_qh3eor] Node instance started
2021-04-02 02:11:54.104 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment holmes_rules
* Run 'cfy events list 935a13f9-9112-47b3-9d62-c52ceb5aa4ed' to retrieve the execution's events/logs
+ deploy holmes_engine k8s-holmes-engine.yaml k8s-holmes_engine-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=holmes_engine'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=holmes_engine&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b holmes_engine /blueprints/k8s-holmes-engine.yaml
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Uploading blueprint /blueprints/k8s-holmes-engine.yaml...
k8s-holmes-engine... |####################----------------------------| 41.41%
k8s-holmes-engine... |########################################--------| 82.83%
k8s-holmes-engine... |################################################| 100.0%
Blueprint uploaded. The blueprint's id is holmes_engine
+ cm_hasany 'deployments?id=holmes_engine'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=holmes_engine&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-holmes_engine-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-holmes_engine-inputs.yaml
+ cfy deployments create -b holmes_engine -i/inputs/k8s-holmes_engine-inputs.yaml holmes_engine
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Creating new deployment from blueprint holmes_engine...
Deployment created. The deployment's id is holmes_engine
+ cm_hasany 'node-instances?deployment_id=holmes_engine&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=holmes_engine&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_engine install
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Executing workflow `install` on deployment `holmes_engine` [timeout=900 seconds]
Deployment environment creation is pending...
2021-04-02 02:12:03.335 CFY Starting 'create_deployment_environment' workflow execution
2021-04-02 02:12:03.344 CFY Installing deployment and workflow plugins
2021-04-02 02:12:03.441 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-02 02:12:03.459 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-02 02:12:04.469 LOG INFO: Installing plugin: pgaas
2021-04-02 02:12:05.172 LOG INFO: Using existing installation of managed plugin: 3db510d7-f484-4a9b-8a8e-b0e1bebe192f [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:12:05.173 LOG INFO: Installing plugin: k8s
2021-04-02 02:12:05.897 LOG INFO: Using existing installation of managed plugin: 81333ba4-bef4-4788-bff5-7c0452ccce8b [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-02 02:12:05.898 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-02 02:12:06.013 CFY Creating deployment work directory
2021-04-02 02:12:06.248 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-02 02:12:12.116 CFY Starting 'install' workflow execution
2021-04-02 02:12:12.739 CFY [pgaasvm_6kx8p8] Validating node instance before creation: nothing to do
2021-04-02 02:12:12.852 CFY [pgaasvm_6kx8p8] Precreating node instance: nothing to do
2021-04-02 02:12:13.081 CFY [pgaasvm_6kx8p8] Creating node instance
2021-04-02 02:12:13.194 CFY [pgaasvm_6kx8p8.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-02 02:12:15.967 LOG [pgaasvm_6kx8p8.create] WARNING: create_database(holmes)
2021-04-02 02:12:16.805 CFY [pgaasvm_6kx8p8.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-02 02:12:17.124 CFY [pgaasvm_6kx8p8] Node instance created
2021-04-02 02:12:17.208 CFY [pgaasvm_6kx8p8] Configuring node instance: nothing to do
2021-04-02 02:12:17.327 CFY [pgaasvm_6kx8p8] Starting node instance: nothing to do
2021-04-02 02:12:17.410 CFY [pgaasvm_6kx8p8] Poststarting node instance: nothing to do
2021-04-02 02:12:17.503 CFY [pgaasvm_6kx8p8] Node instance started
2021-04-02 02:12:18.131 CFY [holmesengine_ptsuiq] Validating node instance before creation: nothing to do
2021-04-02 02:12:18.216 CFY [holmesengine_ptsuiq] Precreating node instance: nothing to do
2021-04-02 02:12:18.480 CFY [holmesengine_ptsuiq] Creating node instance
2021-04-02 02:12:18.675 CFY [holmesengine_ptsuiq.create] Sending task 'k8splugin.create_for_components'
2021-04-02 02:12:25.973 LOG [holmesengine_ptsuiq.create] INFO: Added config for holmes-engine-mgmt
2021-04-02 02:12:25.974 LOG [holmesengine_ptsuiq.create] INFO: Done setting up: holmes-engine-mgmt
2021-04-02 02:12:26.597 CFY [holmesengine_ptsuiq.create] Task succeeded 'k8splugin.create_for_components'
2021-04-02 02:12:26.648 CFY [holmesengine_ptsuiq] Node instance created
2021-04-02 02:12:26.839 CFY [holmesengine_ptsuiq] Configuring node instance: nothing to do
2021-04-02 02:12:26.951 CFY [holmesengine_ptsuiq] Starting node instance
2021-04-02 02:12:27.308 CFY [holmesengine_ptsuiq.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-02 02:12:31.901 LOG [holmesengine_ptsuiq.start] INFO: Starting k8s deployment for holmes-engine-mgmt, image: nexus3.onap.org:10001/onap/holmes/engine-management:1.2.9, env: {u'MSB_ADDR': u'msb-iag.onap', 'CONSUL_HOST': u'consul-server.onap', 'CBS_CONFIG_URL': 'https://config-binding-service:10443/service_component_all/holmes-engine-mgmt', 'CONFIG_BINDING_SERVICE': 'config-binding-service', 'DCAE_CA_CERTPATH': '/opt/dcae/cacert/cacert.pem', u'URL_JDBC': u'dcae-pg-primary.onap', u'JDBC_USERNAME': u'holmes_admin', u'JDBC_PASSWORD': u'ccc99650fe57399036ec9bdfe34d86a717eee76f3800169dc30ad09aa96c89d6'}, kwargs: {'readiness': {}, 'liveness': {}, 'tls_info': {}, 'envs': {u'MSB_ADDR': u'msb-iag.onap', u'URL_JDBC': u'dcae-pg-primary.onap', u'JDBC_USERNAME': u'holmes_admin', u'JDBC_PASSWORD': u'ccc99650fe57399036ec9bdfe34d86a717eee76f3800169dc30ad09aa96c89d6'}, 'labels': {'cfydeployment': u'holmes_engine', 'cfynodeinstance': u'holmesengine_ptsuiq', 'cfynode': u'holmesengine'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'use_external_tls': False}, 'resource_config': {u'requests': {u'cpu': u'500m', u'memory': u'256Mi'}, u'limits': {u'cpu': u'500m', u'memory': u'1024Mi'}}, 'volumes': [], 'log_info': {}, 'ports': [u'9102:0'], 'k8s_location': u'central'}
2021-04-02 02:12:31.902 LOG [holmesengine_ptsuiq.start] INFO: Passing k8sconfig: {'filebeat': {u'config_map': u'onap-dcae-filebeat-configmap', u'config_path': u'/usr/share/filebeat/filebeat.yml', u'log_path': u'/var/log/onap', u'image': u'docker.elastic.co/beats/filebeat:5.5.0', u'data_path': u'/usr/share/filebeat/data', u'config_subpath': u'filebeat.yml'}, 'truststore_merger': {u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-post-processor:2.1.1'}, 'cbs': {'base_url': 'https://config-binding-service:10443/service_component_all'}, 'external_cert': {u'country': u'US', u'truststore_password': u'secret', u'cert_secret_name': u'oom-cert-service-client-tls-secret', u'state': u'California', u'organizational_unit': u'ONAP', u'location': u'San-Francisco', u'timeout': u'30000', u'keystore_password': u'secret', u'organization': u'Linux-Foundation', u'request_url': u'https://oom-cert-service:8443/v1/certificate/', u'image_tag': u'nexus3.onap.org:10001/onap/org.onap.oom.platform.cert-service.oom-certservice-client:2.1.1'}, 'default_k8s_location': u'central', 'tls': {u'component_cert_dir': u'/opt/dcae/cacert', u'cert_path': u'/opt/app/osaaf', u'image': u'nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0', u'ca_cert_configmap': u'onap-dcae-bootstrap-dcae-cacert', u'component_ca_cert_path': u'/opt/dcae/cacert/cacert.pem'}, 'consul_host': 'consul-server:8500', 'consul_dns_name': u'consul-server.onap', 'max_wait': 1800, 'image_pull_secrets': [u'onap-docker-registry-key'], 'namespace': u'onap'}
2021-04-02 02:12:31.917 LOG [holmesengine_ptsuiq.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-02 02:12:32.058 LOG [holmesengine_ptsuiq.start] INFO: k8s deployment initiated successfully for holmes-engine-mgmt: {'services': ['holmes-engine-mgmt'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-holmes-engine-mgmt'}
2021-04-02 02:12:32.059 LOG [holmesengine_ptsuiq.start] INFO: Waiting up to 1800 secs for holmes-engine-mgmt to become ready
2021-04-02 02:13:45.573 LOG [holmesengine_ptsuiq.start] INFO: k8s deployment is ready for: holmes-engine-mgmt
2021-04-02 02:13:45.574 LOG