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.75.249...
* Connected to consul-server (10.233.75.249) 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: Sat, 24 Apr 2021 02:47:37 GMT
< Content-Length: 4
<
{ [data not shown]
100 124 100 4 100 120 83 2492 --:--:-- --:--:-- --:--:-- 2500
* 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.75.249...
* Connected to consul-server (10.233.75.249) 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: Sat, 24 Apr 2021 02:47:37 GMT
< Content-Length: 4
<
{ [data not shown]
100 1518 100 4 100 1514 8 3353 --:--:-- --:--:-- --:--:-- 3349
100 1518 100 4 100 1514 8 3352 --:--:-- --:--:-- --:--:-- 3349
* 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'
++ /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=pgaas_initdb&state=uninitialized&state=deleted&_include=id'
+ 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-24 02:47:44.771 CFY Starting 'create_deployment_environment' workflow execution
2021-04-24 02:47:44.778 CFY Installing deployment and workflow plugins
2021-04-24 02:47:44.877 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-24 02:47:44.893 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-24 02:47:46.017 LOG INFO: Installing plugin: pgaas
2021-04-24 02:47:46.820 LOG INFO: Using existing installation of managed plugin: 29caeb13-abb0-4224-b03b-cf158e4e711b [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:47:46.821 LOG INFO: Installing plugin: ssh_keyshare
2021-04-24 02:47:47.576 LOG INFO: Using existing installation of managed plugin: 19c7e1b6-e7d8-455f-a3f2-b01bfae53c02 [package_name: sshkeyshare, package_version: 1.2.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:47:47.586 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-24 02:47:47.701 CFY Creating deployment work directory
2021-04-24 02:47:48.011 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-24 02:47:54.044 CFY Starting 'install' workflow execution
2021-04-24 02:47:54.677 CFY [sharedsshkey_pgrs_7iy5c9] Validating node instance before creation: nothing to do
2021-04-24 02:47:54.749 CFY [sharedsshkey_pgrs_7iy5c9] Precreating node instance: nothing to do
2021-04-24 02:47:55.083 CFY [sharedsshkey_pgrs_7iy5c9] Creating node instance
2021-04-24 02:47:55.218 CFY [sharedsshkey_pgrs_7iy5c9.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-04-24 02:48:00.154 CFY [sharedsshkey_pgrs_7iy5c9.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-04-24 02:48:00.255 CFY [sharedsshkey_pgrs_7iy5c9] Node instance created
2021-04-24 02:48:00.530 CFY [sharedsshkey_pgrs_7iy5c9] Configuring node instance: nothing to do
2021-04-24 02:48:00.660 CFY [sharedsshkey_pgrs_7iy5c9] Starting node instance: nothing to do
2021-04-24 02:48:00.741 CFY [sharedsshkey_pgrs_7iy5c9] Poststarting node instance: nothing to do
2021-04-24 02:48:00.838 CFY [sharedsshkey_pgrs_7iy5c9] Node instance started
2021-04-24 02:48:01.594 CFY [pgaas_cluster_66fag7] Validating node instance before creation: nothing to do
2021-04-24 02:48:01.782 CFY [pgaas_cluster_66fag7] Precreating node instance: nothing to do
2021-04-24 02:48:02.123 CFY [pgaas_cluster_66fag7] Creating node instance
2021-04-24 02:48:02.336 CFY [pgaas_cluster_66fag7.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-24 02:48:07.475 LOG [pgaas_cluster_66fag7.create] WARNING: add_pgaas_cluster() invoked
2021-04-24 02:48:07.687 LOG [pgaas_cluster_66fag7.create] WARNING: All done
2021-04-24 02:48:08.571 CFY [pgaas_cluster_66fag7.create] Task succeeded 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-24 02:48:08.601 CFY [pgaas_cluster_66fag7] Node instance created
2021-04-24 02:48:08.919 CFY [pgaas_cluster_66fag7] Configuring node instance: nothing to do
2021-04-24 02:48:08.999 CFY [pgaas_cluster_66fag7] Starting node instance: nothing to do
2021-04-24 02:48:09.118 CFY [pgaas_cluster_66fag7] Poststarting node instance: nothing to do
2021-04-24 02:48:09.202 CFY [pgaas_cluster_66fag7] Node instance started
2021-04-24 02:48:09.755 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment pgaas_initdb
* Run 'cfy events list cc27406d-7f7b-407a-80e9-45962954040a' 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 holmes_rules k8s-holmes-rules.yaml k8s-holmes_rules-inputs.yaml
+ 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=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=tcagen2&_include=id'
++ /bin/jq .metadata.pagination.total
++ /bin/jq .metadata.pagination.total
+ deploy prh k8s-prh.yaml k8s-prh-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=prh'
++ 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
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b hv-ves /blueprints/k8s-hv-ves.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 prh /blueprints/k8s-prh.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b ves-tls /blueprints/k8s-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-ves.yaml...
Uploading blueprint /blueprints/k8s-hv-ves.yaml...
Uploading blueprint /blueprints/k8s-tcagen2.yaml...
Uploading blueprint /blueprints/k8s-holmes-rules.yaml...
k8s-ves.yaml |#######################---------------------------------| 41.44%
k8s-ves.yaml |##############################################----------| 82.88%
k8s-ves.yaml |########################################################| 100.0%Uploading blueprint /blueprints/k8s-prh.yaml...
k8s-holmes-rules.... |####################----------------------------| 41.41%
k8s-holmes-rules.... |########################################--------| 82.83%
k8s-holmes-rules.... |################################################| 100.0%
k8s-hv-ves.yaml |######################-------------------------------| 41.43%
k8s-hv-ves.yaml |############################################---------| 82.85%
k8s-tcagen2.yaml |######################------------------------------| 41.42%
k8s-hv-ves.yaml |#####################################################| 100.0%
k8s-tcagen2.yaml |###########################################---------| 82.85%
k8s-tcagen2.yaml |####################################################| 100.0%
k8s-prh.yaml |#######################---------------------------------| 41.44%
k8s-prh.yaml |##############################################----------| 82.87%
k8s-prh.yaml |########################################################| 100.0%
Blueprint uploaded. The blueprint's id is prh
Blueprint uploaded. The blueprint's id is tcagen2
+ cm_hasany 'deployments?id=tcagen2'
+ 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=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/deployments?id=prh&_include=id'
++ /bin/jq .metadata.pagination.total
Blueprint uploaded. The blueprint's id is ves-tls
Blueprint uploaded. The blueprint's id is hv-ves
+ 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
+ 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
+ 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-prh-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-prh-inputs.yaml
+ cfy deployments create -b prh -i/inputs/k8s-prh-inputs.yaml prh
Blueprint uploaded. The blueprint's id is holmes_rules
+ 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-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
+ 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-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
/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...
/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 prh...
Creating new deployment from blueprint ves-tls...
Creating new deployment from blueprint holmes_rules...
Deployment created. The deployment's id is tcagen2
+ 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
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d tcagen2 install
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 prh
+ cm_hasany 'node-instances?deployment_id=prh&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=prh&state=uninitialized&state=deleted&_include=id'
Deployment created. The deployment's id is hv-ves
Deployment created. The deployment's id is holmes_rules
+ 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=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
/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]
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_rules install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d hv-ves install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d ves-tls install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d prh install
Deployment environment creation is in progress...
/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
2021-04-24 02:48:26.437 CFY Starting 'create_deployment_environment' workflow execution
2021-04-24 02:48:26.443 CFY Installing deployment and workflow plugins
2021-04-24 02:48:26.541 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:26.628 CFY Task started 'cloudify_agent.operations.install_plugins'
Executing workflow `install` on deployment `holmes_rules` [timeout=900 seconds]
Deployment environment creation is in progress...
/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
Executing workflow `install` on deployment `hv-ves` [timeout=900 seconds]
Executing workflow `install` on deployment `ves-tls` [timeout=900 seconds]
Executing workflow `install` on deployment `prh` [timeout=900 seconds]
Deployment environment creation is in progress...
Deployment environment creation is in progress...
Deployment environment creation is in progress...
2021-04-24 02:48:29.125 CFY Starting 'create_deployment_environment' workflow execution
2021-04-24 02:48:29.131 CFY Installing deployment and workflow plugins
2021-04-24 02:48:29.231 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:29.245 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:30.935 LOG INFO: Installing plugin: k8s
2021-04-24 02:48:27.614 CFY Starting 'create_deployment_environment' workflow execution
2021-04-24 02:48:27.624 CFY Installing deployment and workflow plugins
2021-04-24 02:48:27.722 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:27.748 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:34.016 LOG INFO: Installing plugin: k8s
2021-04-24 02:48:28.737 CFY Starting 'create_deployment_environment' workflow execution
2021-04-24 02:48:28.816 CFY Installing deployment and workflow plugins
2021-04-24 02:48:28.842 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:28.913 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:28.829 CFY Starting 'create_deployment_environment' workflow execution
2021-04-24 02:48:28.836 CFY Installing deployment and workflow plugins
2021-04-24 02:48:28.935 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:28.941 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:34.633 LOG INFO: Installing plugin: pgaas
2021-04-24 02:48:35.319 LOG INFO: Using existing installation of managed plugin: 8e45a22d-1a61-4c59-ae97-23eb2a6580dd [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:48:35.320 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:35.328 CFY Creating deployment work directory
2021-04-24 02:48:35.842 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-24 02:48:36.436 LOG INFO: Using existing installation of managed plugin: 8e45a22d-1a61-4c59-ae97-23eb2a6580dd [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:48:36.437 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:36.553 CFY Creating deployment work directory
2021-04-24 02:48:36.931 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-24 02:48:35.638 LOG INFO: Installing plugin: k8s
2021-04-24 02:48:37.101 LOG INFO: Using existing installation of managed plugin: 8e45a22d-1a61-4c59-ae97-23eb2a6580dd [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:48:34.934 LOG INFO: Installing plugin: k8s
2021-04-24 02:48:36.839 LOG INFO: Using existing installation of managed plugin: 8e45a22d-1a61-4c59-ae97-23eb2a6580dd [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:48:36.840 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:36.817 LOG INFO: Using existing installation of managed plugin: 29caeb13-abb0-4224-b03b-cf158e4e711b [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:48:36.818 LOG INFO: Installing plugin: k8s
2021-04-24 02:48:37.102 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:37.119 CFY Creating deployment work directory
2021-04-24 02:48:37.618 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-24 02:48:36.955 CFY Creating deployment work directory
2021-04-24 02:48:37.258 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-24 02:48:38.226 LOG INFO: Using existing installation of managed plugin: 8e45a22d-1a61-4c59-ae97-23eb2a6580dd [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:48:38.229 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-24 02:48:38.230 CFY Creating deployment work directory
2021-04-24 02:48:38.536 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-24 02:48:41.093 CFY Starting 'install' workflow execution
2021-04-24 02:48:42.076 CFY [ves_8q8xwq] Validating node instance before creation: nothing to do
2021-04-24 02:48:42.167 CFY [ves_8q8xwq] Precreating node instance: nothing to do
2021-04-24 02:48:42.280 CFY [ves_8q8xwq] Creating node instance
2021-04-24 02:48:40.989 CFY Starting 'install' workflow execution
2021-04-24 02:48:42.042 CFY [docker.tca_8xqr6p] Validating node instance before creation: nothing to do
2021-04-24 02:48:42.131 CFY [docker.tca_8xqr6p] Precreating node instance: nothing to do
2021-04-24 02:48:42.825 CFY [docker.tca_8xqr6p] Creating node instance
2021-04-24 02:48:43.513 CFY [docker.tca_8xqr6p.create] Sending task 'k8splugin.create_for_components'
2021-04-24 02:48:43.545 CFY [ves_8q8xwq.create] Sending task 'k8splugin.create_for_components'
2021-04-24 02:48:47.256 CFY Starting 'install' workflow execution
2021-04-24 02:48:48.438 CFY [hv-ves_rn9pnj] Validating node instance before creation: nothing to do
2021-04-24 02:48:48.534 CFY [hv-ves_rn9pnj] Precreating node instance: nothing to do
2021-04-24 02:48:49.136 CFY [hv-ves_rn9pnj] Creating node instance
2021-04-24 02:48:49.451 CFY [hv-ves_rn9pnj.create] Sending task 'k8splugin.create_for_components'
2021-04-24 02:48:47.529 CFY Starting 'install' workflow execution
2021-04-24 02:48:48.528 CFY [prh_7r4ak4] Validating node instance before creation: nothing to do
2021-04-24 02:48:48.748 CFY [prh_7r4ak4] Precreating node instance: nothing to do
2021-04-24 02:48:48.955 CFY [prh_7r4ak4] Creating node instance
2021-04-24 02:48:49.031 CFY Starting 'install' workflow execution
2021-04-24 02:48:50.099 CFY [pgaasvm_j54wuh] Validating node instance before creation: nothing to do
2021-04-24 02:48:50.183 CFY [pgaasvm_j54wuh] Precreating node instance: nothing to do
2021-04-24 02:48:50.580 CFY [pgaasvm_j54wuh] Creating node instance
2021-04-24 02:48:49.489 CFY [prh_7r4ak4.create] Sending task 'k8splugin.create_for_components'
2021-04-24 02:48:50.864 CFY [pgaasvm_j54wuh.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-24 02:48:54.589 LOG [pgaasvm_j54wuh.create] WARNING: create_database(holmes)
2021-04-24 02:48:58.076 LOG [pgaasvm_j54wuh.create] WARNING: All done
2021-04-24 02:48:59.260 CFY [pgaasvm_j54wuh.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-24 02:48:59.376 CFY [pgaasvm_j54wuh] Node instance created
2021-04-24 02:49:00.062 CFY [pgaasvm_j54wuh] Configuring node instance: nothing to do
2021-04-24 02:49:00.463 CFY [pgaasvm_j54wuh] Starting node instance: nothing to do
2021-04-24 02:49:00.863 CFY [pgaasvm_j54wuh] Poststarting node instance: nothing to do
2021-04-24 02:49:01.387 LOG [hv-ves_rn9pnj.create] INFO: Added config for dcae-hv-ves-collector
2021-04-24 02:49:01.388 LOG [hv-ves_rn9pnj.create] INFO: Done setting up: dcae-hv-ves-collector
2021-04-24 02:49:02.649 CFY [hv-ves_rn9pnj.create] Task succeeded 'k8splugin.create_for_components'
2021-04-24 02:49:02.763 CFY [hv-ves_rn9pnj] Node instance created
2021-04-24 02:49:01.405 LOG [prh_7r4ak4.create] INFO: Added config for dcae-prh
2021-04-24 02:49:01.406 LOG [prh_7r4ak4.create] INFO: Done setting up: dcae-prh
2021-04-24 02:49:02.381 CFY [prh_7r4ak4.create] Task succeeded 'k8splugin.create_for_components'
2021-04-24 02:49:02.420 CFY [prh_7r4ak4] Node instance created
2021-04-24 02:49:02.957 CFY [prh_7r4ak4] Configuring node instance: nothing to do
2021-04-24 02:49:01.385 LOG [ves_8q8xwq.create] INFO: Added config for dcae-ves-collector
2021-04-24 02:49:01.386 LOG [ves_8q8xwq.create] INFO: Done setting up: dcae-ves-collector
2021-04-24 02:49:02.318 CFY [ves_8q8xwq.create] Task succeeded 'k8splugin.create_for_components'
2021-04-24 02:49:02.346 CFY [ves_8q8xwq] Node instance created
2021-04-24 02:49:02.730 CFY [ves_8q8xwq] Configuring node instance: nothing to do
2021-04-24 02:49:02.927 CFY [ves_8q8xwq] Starting node instance
2021-04-24 02:49:01.387 LOG [docker.tca_8xqr6p.create] INFO: Added config for dcae-tcagen2
2021-04-24 02:49:01.387 LOG [docker.tca_8xqr6p.create] INFO: Done setting up: dcae-tcagen2
2021-04-24 02:49:02.374 CFY [docker.tca_8xqr6p.create] Task succeeded 'k8splugin.create_for_components'
2021-04-24 02:49:02.855 CFY [docker.tca_8xqr6p] Node instance created
2021-04-24 02:49:03.118 CFY [docker.tca_8xqr6p] Configuring node instance: nothing to do
2021-04-24 02:49:03.358 CFY [docker.tca_8xqr6p] Starting node instance
2021-04-24 02:49:01.741 CFY [pgaasvm_j54wuh] Node instance started
2021-04-24 02:49:02.452 CFY [holmesrules_qekjb1] Validating node instance before creation: nothing to do
2021-04-24 02:49:02.667 CFY [holmesrules_qekjb1] Precreating node instance: nothing to do
2021-04-24 02:49:02.959 CFY [holmesrules_qekjb1] Creating node instance
2021-04-24 02:49:03.764 CFY [holmesrules_qekjb1.create] Sending task 'k8splugin.create_for_components'
2021-04-24 02:49:03.328 CFY [hv-ves_rn9pnj] Configuring node instance: nothing to do
2021-04-24 02:49:03.537 CFY [hv-ves_rn9pnj] Starting node instance
2021-04-24 02:49:04.348 CFY [hv-ves_rn9pnj.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:49:03.545 CFY [prh_7r4ak4] Starting node instance
2021-04-24 02:49:04.063 CFY [prh_7r4ak4.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:49:03.842 CFY [ves_8q8xwq.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:49:04.346 CFY [docker.tca_8xqr6p.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:49:13.950 LOG [hv-ves_rn9pnj.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_rn9pnj', '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-24 02:49:13.950 LOG [hv-ves_rn9pnj.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-24 02:49:14.045 LOG [prh_7r4ak4.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_7r4ak4', 'cfynode': u'prh'}, 'external_cert': {u'use_external_tls': False, 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'ca_name': u'RA'}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/app/prh/logs'}, 'ports': [u'8100:0'], 'k8s_location': u'central'}
2021-04-24 02:49:14.141 LOG [ves_8q8xwq.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_8q8xwq', '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-24 02:49:14.141 LOG [ves_8q8xwq.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-24 02:49:13.948 LOG [docker.tca_8xqr6p.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_8xqr6p', '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'external_cert_directory': u'/opt/app/dcae-certificate/external', u'ca_name': u'RA'}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/logs/dcae-analytics-tca'}, 'ports': [u'9091:0'], 'k8s_location': u'central'}
2021-04-24 02:49:14.013 LOG [docker.tca_8xqr6p.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-24 02:49:14.051 LOG [docker.tca_8xqr6p.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-24 02:49:14.442 LOG [docker.tca_8xqr6p.start] INFO: k8s deployment initiated successfully for dcae-tcagen2: {'services': ['dcae-tcagen2'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-tcagen2'}
2021-04-24 02:49:14.442 LOG [docker.tca_8xqr6p.start] INFO: Waiting up to 1800 secs for dcae-tcagen2 to become ready
2021-04-24 02:49:14.423 LOG [holmesrules_qekjb1.create] INFO: Added config for holmes-rule-mgmt
2021-04-24 02:49:14.424 LOG [holmesrules_qekjb1.create] INFO: Done setting up: holmes-rule-mgmt
2021-04-24 02:49:15.529 CFY [holmesrules_qekjb1.create] Task succeeded 'k8splugin.create_for_components'
2021-04-24 02:49:15.712 CFY [holmesrules_qekjb1] Node instance created
2021-04-24 02:49:15.884 CFY [holmesrules_qekjb1] Configuring node instance: nothing to do
2021-04-24 02:49:14.048 LOG [hv-ves_rn9pnj.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-24 02:49:14.516 LOG [hv-ves_rn9pnj.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-24 02:49:14.516 LOG [hv-ves_rn9pnj.start] INFO: Waiting up to 1800 secs for dcae-hv-ves-collector to become ready
2021-04-24 02:49:14.046 LOG [prh_7r4ak4.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-24 02:49:14.126 LOG [prh_7r4ak4.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-24 02:49:14.487 LOG [prh_7r4ak4.start] INFO: k8s deployment initiated successfully for dcae-prh: {'services': ['dcae-prh'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-prh'}
2021-04-24 02:49:14.487 LOG [prh_7r4ak4.start] INFO: Waiting up to 1800 secs for dcae-prh to become ready
2021-04-24 02:49:14.162 LOG [ves_8q8xwq.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-24 02:49:14.532 LOG [ves_8q8xwq.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-24 02:49:14.532 LOG [ves_8q8xwq.start] INFO: Waiting up to 1800 secs for dcae-ves-collector to become ready
2021-04-24 02:49:16.253 CFY [holmesrules_qekjb1] Starting node instance
2021-04-24 02:49:16.410 CFY [holmesrules_qekjb1.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:49:19.823 LOG [holmesrules_qekjb1.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'e23c22b2cad7e4468b60d9a86ecf9207843c81bcd7cb51f3947c4353942912d7'}, 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'e23c22b2cad7e4468b60d9a86ecf9207843c81bcd7cb51f3947c4353942912d7'}, 'labels': {'cfydeployment': u'holmes_rules', 'cfynodeinstance': u'holmesrules_qekjb1', '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-24 02:49:19.823 LOG [holmesrules_qekjb1.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-24 02:49:19.845 LOG [holmesrules_qekjb1.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-24 02:49:19.956 LOG [holmesrules_qekjb1.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-24 02:49:19.956 LOG [holmesrules_qekjb1.start] INFO: Waiting up to 1800 secs for holmes-rule-mgmt to become ready
2021-04-24 02:50:14.642 LOG [prh_7r4ak4.start] INFO: k8s deployment is ready for: dcae-prh
2021-04-24 02:50:14.643 LOG [prh_7r4ak4.start] INFO: Done starting: dcae-prh
2021-04-24 02:50:15.462 CFY [prh_7r4ak4.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:50:15.549 CFY [prh_7r4ak4] Poststarting node instance: nothing to do
2021-04-24 02:50:15.664 CFY [prh_7r4ak4] Node instance started
Execution ended, waiting 3 seconds for additional log messages
2021-04-24 02:50:16.080 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment prh
* Run 'cfy events list 561d14d1-85d9-4f82-9e2a-eb0aaceaa442' to retrieve the execution's events/logs
2021-04-24 02:50:19.756 LOG [docker.tca_8xqr6p.start] INFO: k8s deployment is ready for: dcae-tcagen2
2021-04-24 02:50:19.756 LOG [docker.tca_8xqr6p.start] INFO: Done starting: dcae-tcagen2
2021-04-24 02:50:20.361 CFY [docker.tca_8xqr6p.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:50:20.470 CFY [docker.tca_8xqr6p] Poststarting node instance: nothing to do
2021-04-24 02:50:20.557 CFY [docker.tca_8xqr6p] Node instance started
2021-04-24 02:50:21.117 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment tcagen2
* Run 'cfy events list 44f90b8c-7d21-4cac-b449-17f6fbd060b5' to retrieve the execution's events/logs
2021-04-24 02:50:29.169 LOG [ves_8q8xwq.start] INFO: k8s deployment is ready for: dcae-ves-collector
2021-04-24 02:50:29.169 LOG [ves_8q8xwq.start] INFO: Done starting: dcae-ves-collector
2021-04-24 02:50:30.010 CFY [ves_8q8xwq.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:50:30.023 CFY [ves_8q8xwq] Poststarting node instance: nothing to do
2021-04-24 02:50:30.287 CFY [ves_8q8xwq] Node instance started
2021-04-24 02:50:30.683 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment ves-tls
* Run 'cfy events list 22ca16e8-68fc-4023-9f2d-3d092c497fdd' to retrieve the execution's events/logs
2021-04-24 02:50:46.712 LOG [hv-ves_rn9pnj.start] INFO: k8s deployment is ready for: dcae-hv-ves-collector
2021-04-24 02:50:46.713 LOG [hv-ves_rn9pnj.start] INFO: Done starting: dcae-hv-ves-collector
2021-04-24 02:50:47.368 CFY [hv-ves_rn9pnj.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:50:47.413 CFY [hv-ves_rn9pnj] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-24 02:50:47.740 CFY [hv-ves_rn9pnj] Node instance started
2021-04-24 02:50:48.026 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment hv-ves
* Run 'cfy events list 27c200a3-aba9-4ee9-a643-8d80b22dde18' to retrieve the execution's events/logs
2021-04-24 02:51:28.489 LOG [holmesrules_qekjb1.start] INFO: k8s deployment is ready for: holmes-rule-mgmt
2021-04-24 02:51:28.489 LOG [holmesrules_qekjb1.start] INFO: Done starting: holmes-rule-mgmt
2021-04-24 02:51:29.212 CFY [holmesrules_qekjb1.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:51:29.319 CFY [holmesrules_qekjb1] Poststarting node instance: nothing to do
2021-04-24 02:51:29.630 CFY [holmesrules_qekjb1] Node instance started
2021-04-24 02:51:30.022 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment holmes_rules
* Run 'cfy events list 546c6d42-dea9-4783-b28c-937fb3e38904' 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-24 02:51:38.189 CFY Starting 'create_deployment_environment' workflow execution
2021-04-24 02:51:38.195 CFY Installing deployment and workflow plugins
2021-04-24 02:51:38.294 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-24 02:51:38.310 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-24 02:51:39.391 LOG INFO: Installing plugin: pgaas
2021-04-24 02:51:40.100 LOG INFO: Using existing installation of managed plugin: 29caeb13-abb0-4224-b03b-cf158e4e711b [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:51:40.101 LOG INFO: Installing plugin: k8s
2021-04-24 02:51:40.789 LOG INFO: Using existing installation of managed plugin: 8e45a22d-1a61-4c59-ae97-23eb2a6580dd [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-24 02:51:40.790 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-24 02:51:40.854 CFY Creating deployment work directory
2021-04-24 02:51:41.112 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-24 02:51:46.751 CFY Starting 'install' workflow execution
2021-04-24 02:51:47.495 CFY [pgaasvm_faqob7] Validating node instance before creation: nothing to do
2021-04-24 02:51:47.583 CFY [pgaasvm_faqob7] Precreating node instance: nothing to do
2021-04-24 02:51:47.701 CFY [pgaasvm_faqob7] Creating node instance
2021-04-24 02:51:48.051 CFY [pgaasvm_faqob7.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-24 02:51:50.704 LOG [pgaasvm_faqob7.create] WARNING: create_database(holmes)
2021-04-24 02:51:51.724 CFY [pgaasvm_faqob7.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-24 02:51:51.844 CFY [pgaasvm_faqob7] Node instance created
2021-04-24 02:51:52.121 CFY [pgaasvm_faqob7] Configuring node instance: nothing to do
2021-04-24 02:51:52.241 CFY [pgaasvm_faqob7] Starting node instance: nothing to do
2021-04-24 02:51:52.315 CFY [pgaasvm_faqob7] Poststarting node instance: nothing to do
2021-04-24 02:51:52.603 CFY [pgaasvm_faqob7] Node instance started
2021-04-24 02:51:53.011 CFY [holmesengine_qt2dro] Validating node instance before creation: nothing to do
2021-04-24 02:51:53.124 CFY [holmesengine_qt2dro] Precreating node instance: nothing to do
2021-04-24 02:51:53.239 CFY [holmesengine_qt2dro] Creating node instance
2021-04-24 02:51:53.579 CFY [holmesengine_qt2dro.create] Sending task 'k8splugin.create_for_components'
2021-04-24 02:52:00.957 LOG [holmesengine_qt2dro.create] INFO: Added config for holmes-engine-mgmt
2021-04-24 02:52:00.957 LOG [holmesengine_qt2dro.create] INFO: Done setting up: holmes-engine-mgmt
2021-04-24 02:52:01.792 CFY [holmesengine_qt2dro.create] Task succeeded 'k8splugin.create_for_components'
2021-04-24 02:52:01.890 CFY [holmesengine_qt2dro] Node instance created
2021-04-24 02:52:02.167 CFY [holmesengine_qt2dro] Configuring node instance: nothing to do
2021-04-24 02:52:02.420 CFY [holmesengine_qt2dro] Starting node instance
2021-04-24 02:52:02.616 CFY [holmesengine_qt2dro.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-24 02:52:07.462 LOG [holmesengine_qt2dro.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'e23c22b2cad7e4468b60d9a86ecf9207843c81bcd7cb51f3947c4353942912d7'}, 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'e23c22b2cad7e4468b60d9a86ecf9207843c81bcd7cb51f3947c4353942912d7'}, 'labels': {'cfydeployment': u'holmes_engine', 'cfynodeinstance': u'holmesengine_qt2dro', '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-24 02:52:07.462 LOG [holmesengine_qt2dro.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-24 02:52:07.482 LOG [holmesengine_qt2dro.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-24 02:52:07.637 LOG [holmesengine_qt2dro.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-24 02:52:07.637 LOG [holmesengine_qt2dro.start] INFO: Waiting up to 1800 secs for holmes-engine-mgmt to become ready
2021-04-24 02:53:07.734 LOG [holmesengine_qt2dro.start] INFO: k8s deployment is ready for: holmes-engine-mgmt
2021-04-24 02:53:07.735 LOG