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.67.173...
* Connected to consul-server (10.233.67.173) 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: Wed, 14 Apr 2021 02:23:04 GMT
< Content-Length: 4
<
{ [data not shown]
100 124 100 4 100 120 4 139 0:00:01 --:--:-- 0:00:01 139
100 124 100 4 100 120 4 139 0:00:01 --:--:-- 0:00:01 139
* 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.67.173...
* Connected to consul-server (10.233.67.173) 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: Wed, 14 Apr 2021 02:23:04 GMT
< Content-Length: 4
<
{ [data not shown]
100 1518 100 4 100 1514 68 26033 --:--:-- --:--:-- --:--:-- 26103
* 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-14 02:23:11.242 CFY Starting 'create_deployment_environment' workflow execution
2021-04-14 02:23:11.248 CFY Installing deployment and workflow plugins
2021-04-14 02:23:11.347 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:11.362 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:12.466 LOG INFO: Installing plugin: pgaas
2021-04-14 02:23:13.136 LOG INFO: Using existing installation of managed plugin: 2f578644-0107-46ac-a063-1e3a08ba7bb4 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:13.136 LOG INFO: Installing plugin: ssh_keyshare
2021-04-14 02:23:13.803 LOG INFO: Using existing installation of managed plugin: 8218b23a-564f-470b-b361-409dbcf10d33 [package_name: sshkeyshare, package_version: 1.2.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:13.804 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:13.918 CFY Creating deployment work directory
2021-04-14 02:23:14.146 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-14 02:23:20.084 CFY Starting 'install' workflow execution
2021-04-14 02:23:20.598 CFY [sharedsshkey_pgrs_z3duy4] Validating node instance before creation: nothing to do
2021-04-14 02:23:20.716 CFY [sharedsshkey_pgrs_z3duy4] Precreating node instance: nothing to do
2021-04-14 02:23:20.960 CFY [sharedsshkey_pgrs_z3duy4] Creating node instance
2021-04-14 02:23:21.166 CFY [sharedsshkey_pgrs_z3duy4.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-04-14 02:23:25.615 CFY [sharedsshkey_pgrs_z3duy4.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-04-14 02:23:25.635 CFY [sharedsshkey_pgrs_z3duy4] Node instance created
2021-04-14 02:23:25.828 CFY [sharedsshkey_pgrs_z3duy4] Configuring node instance: nothing to do
2021-04-14 02:23:25.935 CFY [sharedsshkey_pgrs_z3duy4] Starting node instance: nothing to do
2021-04-14 02:23:26.045 CFY [sharedsshkey_pgrs_z3duy4] Poststarting node instance: nothing to do
2021-04-14 02:23:26.290 CFY [sharedsshkey_pgrs_z3duy4] Node instance started
2021-04-14 02:23:26.937 CFY [pgaas_cluster_0fotxk] Validating node instance before creation: nothing to do
2021-04-14 02:23:27.051 CFY [pgaas_cluster_0fotxk] Precreating node instance: nothing to do
2021-04-14 02:23:27.266 CFY [pgaas_cluster_0fotxk] Creating node instance
2021-04-14 02:23:27.387 CFY [pgaas_cluster_0fotxk.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-14 02:23:31.038 LOG [pgaas_cluster_0fotxk.create] WARNING: add_pgaas_cluster() invoked
2021-04-14 02:23:31.261 LOG [pgaas_cluster_0fotxk.create] WARNING: All done
2021-04-14 02:23:32.212 CFY [pgaas_cluster_0fotxk.create] Task succeeded 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-14 02:23:32.314 CFY [pgaas_cluster_0fotxk] Node instance created
2021-04-14 02:23:32.486 CFY [pgaas_cluster_0fotxk] Configuring node instance: nothing to do
2021-04-14 02:23:32.588 CFY [pgaas_cluster_0fotxk] Starting node instance: nothing to do
2021-04-14 02:23:32.696 CFY [pgaas_cluster_0fotxk] Poststarting node instance: nothing to do
2021-04-14 02:23:32.947 CFY [pgaas_cluster_0fotxk] Node instance started
2021-04-14 02:23:33.189 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment pgaas_initdb
* Run 'cfy events list 8ce4165b-632f-4297-82ef-ed06958528a3' to retrieve the execution's events/logs
+ deploy tcagen2 k8s-tcagen2.yaml k8s-tcagen2-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?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/blueprints?id=tcagen2&_include=id'
+ 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
+ cm_hasany 'blueprints?id=prh'
+ deploy hv-ves k8s-hv-ves.yaml k8s-hv_ves-inputs.yaml
+ deploy holmes_rules k8s-holmes-rules.yaml k8s-holmes_rules-inputs.yaml
+ set +e
+ set +e
+ cm_hasany 'blueprints?id=hv-ves'
+ cm_hasany 'blueprints?id=holmes_rules'
++ 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'
++ 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'
++ /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'
++ /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'
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b prh /blueprints/k8s-prh.yaml
+ 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 holmes_rules /blueprints/k8s-holmes-rules.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 hv-ves /blueprints/k8s-hv-ves.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-prh.yaml...
k8s-prh.yaml |#######################---------------------------------| 41.44%
k8s-prh.yaml |##############################################----------| 82.87%
k8s-prh.yaml |########################################################| 100.0%Uploading blueprint /blueprints/k8s-holmes-rules.yaml...
Uploading blueprint /blueprints/k8s-tcagen2.yaml...
k8s-holmes-rules.... |####################----------------------------| 41.41%
k8s-holmes-rules.... |########################################--------| 82.83%
k8s-holmes-rules.... |################################################| 100.0%Uploading blueprint /blueprints/k8s-ves.yaml...
k8s-tcagen2.yaml |######################------------------------------| 41.42%
k8s-tcagen2.yaml |###########################################---------| 82.85%
k8s-tcagen2.yaml |####################################################| 100.0%
k8s-ves.yaml |#######################---------------------------------| 41.44%
k8s-ves.yaml |##############################################----------| 82.88%
k8s-ves.yaml |########################################################| 100.0%Uploading blueprint /blueprints/k8s-hv-ves.yaml...
k8s-hv-ves.yaml |######################-------------------------------| 41.43%
k8s-hv-ves.yaml |############################################---------| 82.85%
k8s-hv-ves.yaml |#####################################################| 100.0%
Blueprint uploaded. The blueprint's id is hv-ves
Blueprint uploaded. The blueprint's id is tcagen2
Blueprint uploaded. The blueprint's id is ves-tls
+ 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
+ cm_hasany 'deployments?id=tcagen2'
++ 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=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
Blueprint uploaded. The blueprint's id is holmes_rules
++ /bin/jq .metadata.pagination.total
+ 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=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
+ 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-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-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
+ 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
+ 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
/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
Creating new deployment from blueprint hv-ves...
Creating new deployment from blueprint tcagen2...
Creating new deployment from blueprint ves-tls...
Creating new deployment from blueprint prh...
Creating new deployment from blueprint holmes_rules...
Deployment created. The deployment's id is ves-tls
+ 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
Deployment created. The deployment's id is hv-ves
+ 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
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d ves-tls install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d hv-ves install
Deployment created. The deployment's id is tcagen2
Deployment created. The deployment's id is holmes_rules
Deployment created. The deployment's id is prh
+ 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
+ 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
+ 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
/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=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_rules install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d tcagen2 install
Executing workflow `install` on deployment `ves-tls` [timeout=900 seconds]
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d prh install
Executing workflow `install` on deployment `hv-ves` [timeout=900 seconds]
Deployment environment creation is pending...
/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
Deployment environment creation is pending...
Executing workflow `install` on deployment `tcagen2` [timeout=900 seconds]
Executing workflow `install` on deployment `holmes_rules` [timeout=900 seconds]
Executing workflow `install` on deployment `prh` [timeout=900 seconds]
Deployment environment creation is pending...
Deployment environment creation is pending...
Deployment environment creation is pending...
2021-04-14 02:23:49.652 CFY Starting 'create_deployment_environment' workflow execution
2021-04-14 02:23:49.657 CFY Installing deployment and workflow plugins
2021-04-14 02:23:49.759 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:50.727 CFY Starting 'create_deployment_environment' workflow execution
2021-04-14 02:23:51.153 CFY Starting 'create_deployment_environment' workflow execution
2021-04-14 02:23:51.158 CFY Installing deployment and workflow plugins
2021-04-14 02:23:50.665 CFY Starting 'create_deployment_environment' workflow execution
2021-04-14 02:23:50.671 CFY Installing deployment and workflow plugins
2021-04-14 02:23:50.557 CFY Starting 'create_deployment_environment' workflow execution
2021-04-14 02:23:50.563 CFY Installing deployment and workflow plugins
2021-04-14 02:23:49.771 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:52.733 LOG INFO: Installing plugin: k8s
2021-04-14 02:23:50.733 CFY Installing deployment and workflow plugins
2021-04-14 02:23:50.832 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:50.848 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:54.256 LOG INFO: Installing plugin: k8s
2021-04-14 02:23:50.770 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:50.785 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:54.423 LOG INFO: Installing plugin: k8s
2021-04-14 02:23:50.661 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:50.677 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:54.247 LOG INFO: Installing plugin: k8s
2021-04-14 02:23:51.257 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:51.281 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:54.835 LOG INFO: Installing plugin: pgaas
2021-04-14 02:23:54.948 LOG INFO: Using existing installation of managed plugin: f897e6f3-5ea4-4f98-97c9-4ed4a3e4fc5f [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:54.950 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:55.064 CFY Creating deployment work directory
2021-04-14 02:23:56.456 LOG INFO: Using existing installation of managed plugin: f897e6f3-5ea4-4f98-97c9-4ed4a3e4fc5f [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:56.422 LOG INFO: Using existing installation of managed plugin: f897e6f3-5ea4-4f98-97c9-4ed4a3e4fc5f [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:56.424 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:56.432 CFY Creating deployment work directory
2021-04-14 02:23:56.444 LOG INFO: Using existing installation of managed plugin: f897e6f3-5ea4-4f98-97c9-4ed4a3e4fc5f [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:56.445 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:56.452 CFY Creating deployment work directory
2021-04-14 02:23:56.936 LOG INFO: Using existing installation of managed plugin: 2f578644-0107-46ac-a063-1e3a08ba7bb4 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:56.937 LOG INFO: Installing plugin: k8s
2021-04-14 02:23:55.627 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-14 02:23:56.457 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:56.623 CFY Creating deployment work directory
2021-04-14 02:23:56.962 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-14 02:23:56.930 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-14 02:23:56.932 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-14 02:23:57.624 LOG INFO: Using existing installation of managed plugin: f897e6f3-5ea4-4f98-97c9-4ed4a3e4fc5f [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:23:57.625 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-14 02:23:57.657 CFY Creating deployment work directory
2021-04-14 02:23:57.960 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-14 02:24:05.826 CFY Starting 'install' workflow execution
2021-04-14 02:24:07.364 CFY [ves_y98n8m] Validating node instance before creation: nothing to do
2021-04-14 02:24:07.542 CFY [ves_y98n8m] Precreating node instance: nothing to do
2021-04-14 02:24:08.254 CFY [ves_y98n8m] Creating node instance
2021-04-14 02:24:08.672 CFY [ves_y98n8m.create] Sending task 'k8splugin.create_for_components'
2021-04-14 02:24:07.137 CFY Starting 'install' workflow execution
2021-04-14 02:24:08.248 CFY [hv-ves_i5r70d] Validating node instance before creation: nothing to do
2021-04-14 02:24:08.450 CFY [hv-ves_i5r70d] Precreating node instance: nothing to do
2021-04-14 02:24:09.031 CFY [hv-ves_i5r70d] Creating node instance
2021-04-14 02:24:09.264 CFY [hv-ves_i5r70d.create] Sending task 'k8splugin.create_for_components'
2021-04-14 02:24:09.226 CFY Starting 'install' workflow execution
2021-04-14 02:24:10.241 CFY [prh_phkbcx] Validating node instance before creation: nothing to do
2021-04-14 02:24:10.341 CFY [prh_phkbcx] Precreating node instance: nothing to do
2021-04-14 02:24:10.556 CFY [prh_phkbcx] Creating node instance
2021-04-14 02:24:11.159 CFY [prh_phkbcx.create] Sending task 'k8splugin.create_for_components'
2021-04-14 02:24:09.370 CFY Starting 'install' workflow execution
2021-04-14 02:24:10.474 CFY [docker.tca_h7g4dr] Validating node instance before creation: nothing to do
2021-04-14 02:24:10.722 CFY [docker.tca_h7g4dr] Precreating node instance: nothing to do
2021-04-14 02:24:11.245 CFY [docker.tca_h7g4dr] Creating node instance
2021-04-14 02:24:09.349 CFY Starting 'install' workflow execution
2021-04-14 02:24:10.772 CFY [pgaasvm_n10fgn] Validating node instance before creation: nothing to do
2021-04-14 02:24:11.053 CFY [pgaasvm_n10fgn] Precreating node instance: nothing to do
2021-04-14 02:24:11.621 CFY [docker.tca_h7g4dr.create] Sending task 'k8splugin.create_for_components'
2021-04-14 02:24:11.634 CFY [pgaasvm_n10fgn] Creating node instance
2021-04-14 02:24:11.953 CFY [pgaasvm_n10fgn.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-14 02:24:16.739 LOG [pgaasvm_n10fgn.create] WARNING: create_database(holmes)
2021-04-14 02:24:19.952 LOG [pgaasvm_n10fgn.create] WARNING: All done
2021-04-14 02:24:21.141 CFY [pgaasvm_n10fgn.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-14 02:24:21.200 CFY [pgaasvm_n10fgn] Node instance created
2021-04-14 02:24:21.654 CFY [pgaasvm_n10fgn] Configuring node instance: nothing to do
2021-04-14 02:24:23.323 LOG [ves_y98n8m.create] INFO: Added config for dcae-ves-collector
2021-04-14 02:24:23.324 LOG [prh_phkbcx.create] INFO: Added config for dcae-prh
2021-04-14 02:24:23.324 LOG [prh_phkbcx.create] INFO: Done setting up: dcae-prh
2021-04-14 02:24:24.377 CFY [prh_phkbcx.create] Task succeeded 'k8splugin.create_for_components'
2021-04-14 02:24:24.454 CFY [prh_phkbcx] Node instance created
2021-04-14 02:24:22.626 LOG [docker.tca_h7g4dr.create] INFO: Added config for dcae-tcagen2
2021-04-14 02:24:22.627 LOG [docker.tca_h7g4dr.create] INFO: Done setting up: dcae-tcagen2
2021-04-14 02:24:23.624 CFY [docker.tca_h7g4dr.create] Task succeeded 'k8splugin.create_for_components'
2021-04-14 02:24:23.671 CFY [docker.tca_h7g4dr] Node instance created
2021-04-14 02:24:24.249 CFY [docker.tca_h7g4dr] Configuring node instance: nothing to do
2021-04-14 02:24:21.758 CFY [pgaasvm_n10fgn] Starting node instance: nothing to do
2021-04-14 02:24:21.976 CFY [pgaasvm_n10fgn] Poststarting node instance: nothing to do
2021-04-14 02:24:22.170 CFY [pgaasvm_n10fgn] Node instance started
2021-04-14 02:24:23.101 CFY [holmesrules_4y82z6] Validating node instance before creation: nothing to do
2021-04-14 02:24:23.159 CFY [holmesrules_4y82z6] Precreating node instance: nothing to do
2021-04-14 02:24:23.264 CFY [holmesrules_4y82z6] Creating node instance
2021-04-14 02:24:23.323 LOG [hv-ves_i5r70d.create] INFO: Added config for dcae-hv-ves-collector
2021-04-14 02:24:23.324 LOG [hv-ves_i5r70d.create] INFO: Done setting up: dcae-hv-ves-collector
2021-04-14 02:24:24.383 CFY [hv-ves_i5r70d.create] Task succeeded 'k8splugin.create_for_components'
2021-04-14 02:24:24.661 CFY [hv-ves_i5r70d] Node instance created
2021-04-14 02:24:24.955 CFY [hv-ves_i5r70d] Configuring node instance: nothing to do
2021-04-14 02:24:25.262 CFY [hv-ves_i5r70d] Starting node instance
2021-04-14 02:24:25.395 CFY [hv-ves_i5r70d.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:24:23.324 LOG [ves_y98n8m.create] INFO: Done setting up: dcae-ves-collector
2021-04-14 02:24:24.034 CFY [ves_y98n8m.create] Task succeeded 'k8splugin.create_for_components'
2021-04-14 02:24:24.291 CFY [ves_y98n8m] Node instance created
2021-04-14 02:24:24.445 CFY [ves_y98n8m] Configuring node instance: nothing to do
2021-04-14 02:24:24.649 CFY [ves_y98n8m] Starting node instance
2021-04-14 02:24:25.090 CFY [ves_y98n8m.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:24:24.949 CFY [prh_phkbcx] Configuring node instance: nothing to do
2021-04-14 02:24:25.235 CFY [prh_phkbcx] Starting node instance
2021-04-14 02:24:25.391 CFY [prh_phkbcx.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:24:24.530 CFY [docker.tca_h7g4dr] Starting node instance
2021-04-14 02:24:24.748 CFY [docker.tca_h7g4dr.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:24:23.769 CFY [holmesrules_4y82z6.create] Sending task 'k8splugin.create_for_components'
2021-04-14 02:24:31.567 LOG [docker.tca_h7g4dr.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_h7g4dr', 'cfynode': u'docker.tca'}, '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': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/logs/dcae-analytics-tca'}, 'ports': [u'9091:0'], 'k8s_location': u'central'}
2021-04-14 02:24:31.568 LOG [docker.tca_h7g4dr.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-14 02:24:33.425 LOG [hv-ves_i5r70d.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_i5r70d', 'cfynode': u'hv-ves'}, 'external_cert': {u'ca_name': u'RA', 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'external_cert_directory': u'/etc/ves-hv/ssl', 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-14 02:24:32.737 LOG [ves_y98n8m.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_y98n8m', 'cfynode': u'ves'}, 'external_cert': {u'use_external_tls': False, 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'ca_name': u'RA'}, '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-14 02:24:32.737 LOG [ves_y98n8m.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-14 02:24:32.752 LOG [ves_y98n8m.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-14 02:24:32.951 LOG [ves_y98n8m.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-14 02:24:32.951 LOG [ves_y98n8m.start] INFO: Waiting up to 1800 secs for dcae-ves-collector to become ready
2021-04-14 02:24:33.346 LOG [prh_phkbcx.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_phkbcx', '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-14 02:24:33.346 LOG [prh_phkbcx.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-14 02:24:33.357 LOG [prh_phkbcx.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-14 02:24:33.487 LOG [prh_phkbcx.start] INFO: k8s deployment initiated successfully for dcae-prh: {'services': ['dcae-prh'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-prh'}
2021-04-14 02:24:33.488 LOG [prh_phkbcx.start] INFO: Waiting up to 1800 secs for dcae-prh to become ready
2021-04-14 02:24:31.653 LOG [docker.tca_h7g4dr.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-14 02:24:32.052 LOG [docker.tca_h7g4dr.start] INFO: k8s deployment initiated successfully for dcae-tcagen2: {'services': ['dcae-tcagen2'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-tcagen2'}
2021-04-14 02:24:32.052 LOG [docker.tca_h7g4dr.start] INFO: Waiting up to 1800 secs for dcae-tcagen2 to become ready
2021-04-14 02:24:32.853 LOG [holmesrules_4y82z6.create] INFO: Added config for holmes-rule-mgmt
2021-04-14 02:24:32.854 LOG [holmesrules_4y82z6.create] INFO: Done setting up: holmes-rule-mgmt
2021-04-14 02:24:34.031 CFY [holmesrules_4y82z6.create] Task succeeded 'k8splugin.create_for_components'
2021-04-14 02:24:34.194 CFY [holmesrules_4y82z6] Node instance created
2021-04-14 02:24:34.357 CFY [holmesrules_4y82z6] Configuring node instance: nothing to do
2021-04-14 02:24:34.466 CFY [holmesrules_4y82z6] Starting node instance
2021-04-14 02:24:34.809 CFY [holmesrules_4y82z6.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:24:33.425 LOG [hv-ves_i5r70d.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-14 02:24:33.436 LOG [hv-ves_i5r70d.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-14 02:24:33.581 LOG [hv-ves_i5r70d.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-14 02:24:33.582 LOG [hv-ves_i5r70d.start] INFO: Waiting up to 1800 secs for dcae-hv-ves-collector to become ready
2021-04-14 02:24:38.506 LOG [holmesrules_4y82z6.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'8cfc7dd49d53735b36cbc9e8c8444477435720e5263efdab6cc01339f3d1318c'}, 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'8cfc7dd49d53735b36cbc9e8c8444477435720e5263efdab6cc01339f3d1318c'}, 'labels': {'cfydeployment': u'holmes_rules', 'cfynodeinstance': u'holmesrules_4y82z6', '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-14 02:24:38.507 LOG [holmesrules_4y82z6.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-14 02:24:38.519 LOG [holmesrules_4y82z6.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-14 02:24:38.603 LOG [holmesrules_4y82z6.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-14 02:24:38.604 LOG [holmesrules_4y82z6.start] INFO: Waiting up to 1800 secs for holmes-rule-mgmt to become ready
2021-04-14 02:25:50.972 LOG [hv-ves_i5r70d.start] INFO: k8s deployment is ready for: dcae-hv-ves-collector
2021-04-14 02:25:50.973 LOG [hv-ves_i5r70d.start] INFO: Done starting: dcae-hv-ves-collector
2021-04-14 02:25:51.486 CFY [hv-ves_i5r70d.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:25:51.602 CFY [hv-ves_i5r70d] Poststarting node instance: nothing to do
2021-04-14 02:25:51.817 CFY [hv-ves_i5r70d] Node instance started
2021-04-14 02:25:52.017 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment hv-ves
* Run 'cfy events list 7198b364-b904-4722-8792-d1d16d3f825f' to retrieve the execution's events/logs
2021-04-14 02:26:25.733 LOG [docker.tca_h7g4dr.start] INFO: k8s deployment is ready for: dcae-tcagen2
2021-04-14 02:26:25.734 LOG [docker.tca_h7g4dr.start] INFO: Done starting: dcae-tcagen2
2021-04-14 02:26:26.651 CFY [docker.tca_h7g4dr.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:26:26.684 CFY [docker.tca_h7g4dr] Poststarting node instance: nothing to do
2021-04-14 02:26:26.936 CFY [docker.tca_h7g4dr] Node instance started
2021-04-14 02:26:27.302 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment tcagen2
* Run 'cfy events list 6df44d47-c6cc-4f43-9fe6-b7c8a48ebc0a' to retrieve the execution's events/logs
2021-04-14 02:26:35.397 LOG [prh_phkbcx.start] INFO: k8s deployment is ready for: dcae-prh
2021-04-14 02:26:35.397 LOG [prh_phkbcx.start] INFO: Done starting: dcae-prh
2021-04-14 02:26:36.479 CFY [prh_phkbcx.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:26:36.573 CFY [prh_phkbcx] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-14 02:26:36.680 CFY [prh_phkbcx] Node instance started
2021-04-14 02:26:37.233 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment prh
* Run 'cfy events list 060bd006-1c69-4f1e-aa31-5ef71c32dfed' to retrieve the execution's events/logs
2021-04-14 02:26:40.007 LOG [ves_y98n8m.start] INFO: k8s deployment is ready for: dcae-ves-collector
2021-04-14 02:26:40.008 LOG [ves_y98n8m.start] INFO: Done starting: dcae-ves-collector
2021-04-14 02:26:41.130 CFY [ves_y98n8m.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:26:41.220 CFY [ves_y98n8m] Poststarting node instance: nothing to do
2021-04-14 02:26:41.326 CFY [ves_y98n8m] Node instance started
Execution ended, waiting 3 seconds for additional log messages
2021-04-14 02:26:41.867 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment ves-tls
* Run 'cfy events list 05d42c49-a9af-460b-9728-ef2e46111f08' to retrieve the execution's events/logs
2021-04-14 02:27:25.656 LOG [holmesrules_4y82z6.start] INFO: k8s deployment is ready for: holmes-rule-mgmt
2021-04-14 02:27:25.657 LOG [holmesrules_4y82z6.start] INFO: Done starting: holmes-rule-mgmt
2021-04-14 02:27:26.316 CFY [holmesrules_4y82z6.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:27:26.413 CFY [holmesrules_4y82z6] Poststarting node instance: nothing to do
2021-04-14 02:27:26.658 CFY [holmesrules_4y82z6] Node instance started
2021-04-14 02:27:26.839 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment holmes_rules
* Run 'cfy events list da1ef859-0de4-48bf-920e-aebb53b488f9' 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'
++ /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/node-instances?deployment_id=holmes_engine&state=uninitialized&state=deleted&_include=id'
+ 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 in progress...
2021-04-14 02:27:35.732 CFY Starting 'create_deployment_environment' workflow execution
2021-04-14 02:27:35.739 CFY Installing deployment and workflow plugins
2021-04-14 02:27:35.838 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-14 02:27:35.853 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-14 02:27:36.890 LOG INFO: Installing plugin: pgaas
2021-04-14 02:27:37.625 LOG INFO: Using existing installation of managed plugin: 2f578644-0107-46ac-a063-1e3a08ba7bb4 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:27:37.625 LOG INFO: Installing plugin: k8s
2021-04-14 02:27:38.326 LOG INFO: Using existing installation of managed plugin: f897e6f3-5ea4-4f98-97c9-4ed4a3e4fc5f [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-14 02:27:38.327 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-14 02:27:38.391 CFY Creating deployment work directory
2021-04-14 02:27:38.641 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-14 02:27:44.754 CFY Starting 'install' workflow execution
2021-04-14 02:27:45.411 CFY [pgaasvm_vshe1s] Validating node instance before creation: nothing to do
2021-04-14 02:27:45.477 CFY [pgaasvm_vshe1s] Precreating node instance: nothing to do
2021-04-14 02:27:45.714 CFY [pgaasvm_vshe1s] Creating node instance
2021-04-14 02:27:45.843 CFY [pgaasvm_vshe1s.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-14 02:27:48.740 LOG [pgaasvm_vshe1s.create] WARNING: create_database(holmes)
2021-04-14 02:27:49.906 CFY [pgaasvm_vshe1s.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-14 02:27:50.113 CFY [pgaasvm_vshe1s] Node instance created
2021-04-14 02:27:50.276 CFY [pgaasvm_vshe1s] Configuring node instance: nothing to do
2021-04-14 02:27:50.386 CFY [pgaasvm_vshe1s] Starting node instance: nothing to do
2021-04-14 02:27:50.461 CFY [pgaasvm_vshe1s] Poststarting node instance: nothing to do
2021-04-14 02:27:50.702 CFY [pgaasvm_vshe1s] Node instance started
2021-04-14 02:27:51.072 CFY [holmesengine_uzdqa5] Validating node instance before creation: nothing to do
2021-04-14 02:27:51.179 CFY [holmesengine_uzdqa5] Precreating node instance: nothing to do
2021-04-14 02:27:51.388 CFY [holmesengine_uzdqa5] Creating node instance
2021-04-14 02:27:51.521 CFY [holmesengine_uzdqa5.create] Sending task 'k8splugin.create_for_components'
2021-04-14 02:27:57.623 LOG [holmesengine_uzdqa5.create] INFO: Added config for holmes-engine-mgmt
2021-04-14 02:27:57.623 LOG [holmesengine_uzdqa5.create] INFO: Done setting up: holmes-engine-mgmt
2021-04-14 02:27:58.514 CFY [holmesengine_uzdqa5.create] Task succeeded 'k8splugin.create_for_components'
2021-04-14 02:27:58.552 CFY [holmesengine_uzdqa5] Node instance created
2021-04-14 02:27:58.843 CFY [holmesengine_uzdqa5] Configuring node instance: nothing to do
2021-04-14 02:27:59.109 CFY [holmesengine_uzdqa5] Starting node instance
2021-04-14 02:27:59.292 CFY [holmesengine_uzdqa5.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-14 02:28:03.523 LOG [holmesengine_uzdqa5.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'8cfc7dd49d53735b36cbc9e8c8444477435720e5263efdab6cc01339f3d1318c'}, 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'8cfc7dd49d53735b36cbc9e8c8444477435720e5263efdab6cc01339f3d1318c'}, 'labels': {'cfydeployment': u'holmes_engine', 'cfynodeinstance': u'holmesengine_uzdqa5', 'cfynode': u'holmesengine'}, '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'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-14 02:28:03.524 LOG [holmesengine_uzdqa5.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-14 02:28:03.535 LOG [holmesengine_uzdqa5.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-14 02:28:03.671 LOG [holmesengine_uzdqa5.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-14 02:28:03.672 LOG [holmesengine_uzdqa5.start] INFO: Waiting up to 1800 secs for holmes-engine-mgmt to become ready
2021-04-14 02:29:41.683 LOG [holmesengine_uzdqa5.start] INFO: k8s deployment is ready for: holmes-engine-mgmt
2021-04-14 02:29:41.684 LOG