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.68.195...
* Connected to consul-server (10.233.68.195) 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, 07 Apr 2021 02:15:53 GMT
< Content-Length: 4
<
{ [data not shown]
100 124 100 4 100 120 18 540 --:--:-- --:--:-- --:--:-- 540
* 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.68.195...
* Connected to consul-server (10.233.68.195) 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, 07 Apr 2021 02:15:53 GMT
< Content-Length: 4
<
{ [data not shown]
100 1518 100 4 100 1514 37 14052 --:--:-- --:--:-- --:--:-- 14149
* 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-07 02:16:00.010 CFY Starting 'create_deployment_environment' workflow execution
2021-04-07 02:16:00.018 CFY Installing deployment and workflow plugins
2021-04-07 02:16:00.117 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:00.133 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:01.096 LOG INFO: Installing plugin: pgaas
2021-04-07 02:16:01.804 LOG INFO: Using existing installation of managed plugin: 2ae0357b-2c42-4995-a6a0-76360984e3cf [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:01.805 LOG INFO: Installing plugin: ssh_keyshare
2021-04-07 02:16:02.502 LOG INFO: Using existing installation of managed plugin: 0fe188d9-9090-4576-a18d-33a8ec05f7ee [package_name: sshkeyshare, package_version: 1.2.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:02.503 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:02.543 CFY Creating deployment work directory
2021-04-07 02:16:02.816 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-07 02:16:08.711 CFY Starting 'install' workflow execution
2021-04-07 02:16:09.412 CFY [sharedsshkey_pgrs_1ydk3n] Validating node instance before creation: nothing to do
2021-04-07 02:16:09.540 CFY [sharedsshkey_pgrs_1ydk3n] Precreating node instance: nothing to do
2021-04-07 02:16:09.791 CFY [sharedsshkey_pgrs_1ydk3n] Creating node instance
2021-04-07 02:16:09.976 CFY [sharedsshkey_pgrs_1ydk3n.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-04-07 02:16:13.982 CFY [sharedsshkey_pgrs_1ydk3n.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-04-07 02:16:14.009 CFY [sharedsshkey_pgrs_1ydk3n] Node instance created
2021-04-07 02:16:14.294 CFY [sharedsshkey_pgrs_1ydk3n] Configuring node instance: nothing to do
2021-04-07 02:16:14.406 CFY [sharedsshkey_pgrs_1ydk3n] Starting node instance: nothing to do
2021-04-07 02:16:14.519 CFY [sharedsshkey_pgrs_1ydk3n] Poststarting node instance: nothing to do
2021-04-07 02:16:14.603 CFY [sharedsshkey_pgrs_1ydk3n] Node instance started
2021-04-07 02:16:15.409 CFY [pgaas_cluster_sqbmsj] Validating node instance before creation: nothing to do
2021-04-07 02:16:15.525 CFY [pgaas_cluster_sqbmsj] Precreating node instance: nothing to do
2021-04-07 02:16:15.760 CFY [pgaas_cluster_sqbmsj] Creating node instance
2021-04-07 02:16:15.971 CFY [pgaas_cluster_sqbmsj.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-07 02:16:19.560 LOG [pgaas_cluster_sqbmsj.create] WARNING: add_pgaas_cluster() invoked
2021-04-07 02:16:19.808 LOG [pgaas_cluster_sqbmsj.create] WARNING: All done
2021-04-07 02:16:20.459 CFY [pgaas_cluster_sqbmsj.create] Task succeeded 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-07 02:16:20.479 CFY [pgaas_cluster_sqbmsj] Node instance created
2021-04-07 02:16:20.770 CFY [pgaas_cluster_sqbmsj] Configuring node instance: nothing to do
2021-04-07 02:16:20.902 CFY [pgaas_cluster_sqbmsj] Starting node instance: nothing to do
2021-04-07 02:16:20.984 CFY [pgaas_cluster_sqbmsj] Poststarting node instance: nothing to do
2021-04-07 02:16:21.095 CFY [pgaas_cluster_sqbmsj] Node instance started
2021-04-07 02:16:21.585 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment pgaas_initdb
* Run 'cfy events list 50eae0fd-921b-4f46-8172-f6d6206b05ff' to retrieve the execution's events/logs
+ deploy tcagen2 k8s-tcagen2.yaml k8s-tcagen2-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=tcagen2'
+ deploy ves-tls k8s-ves.yaml k8s-ves-inputs-tls.yaml
+ set +e
+ cm_hasany 'blueprints?id=ves-tls'
+ deploy prh k8s-prh.yaml k8s-prh-inputs.yaml
+ set +e
+ 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=holmes_rules'
+ cm_hasany 'blueprints?id=hv-ves'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=tcagen2&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=ves-tls&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=prh&_include=id'
++ 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=holmes_rules&_include=id'
++ /bin/jq .metadata.pagination.total
++ /bin/jq .metadata.pagination.total
+ 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 prh /blueprints/k8s-prh.yaml
+ 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
/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-prh.yaml...
k8s-ves.yaml |#######################---------------------------------| 41.44%
k8s-ves.yaml |##############################################----------| 82.88%
k8s-ves.yaml |########################################################| 100.0%
k8s-prh.yaml |#######################---------------------------------| 41.44%
k8s-prh.yaml |##############################################----------| 82.87%
k8s-prh.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%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%
k8s-tcagen2.yaml |######################------------------------------| 41.42%
k8s-tcagen2.yaml |###########################################---------| 82.85%
k8s-tcagen2.yaml |####################################################| 100.0%
Blueprint uploaded. The blueprint's id is prh
Blueprint uploaded. The blueprint's id is ves-tls
+ cm_hasany 'deployments?id=prh'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=prh&_include=id'
++ /bin/jq .metadata.pagination.total
+ cm_hasany 'deployments?id=ves-tls'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=ves-tls&_include=id'
++ /bin/jq .metadata.pagination.total
Blueprint uploaded. The blueprint's id is 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-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 hv-ves
+ 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'
++ /bin/jq .metadata.pagination.total
Blueprint uploaded. The blueprint's id is holmes_rules
+ 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
+ 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-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
/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 ves-tls...
Creating new deployment from blueprint prh...
Creating new deployment from blueprint tcagen2...
Creating new deployment from blueprint holmes_rules...
Creating new deployment from blueprint hv-ves...
Deployment created. The deployment's id is prh
+ cm_hasany 'node-instances?deployment_id=prh&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=prh&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
Deployment created. The deployment's id is ves-tls
+ cm_hasany 'node-instances?deployment_id=ves-tls&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=ves-tls&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d prh install
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 ves-tls install
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
Deployment created. The deployment's id is holmes_rules
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d tcagen2 install
+ 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
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d hv-ves 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
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_rules install
Executing workflow `install` on deployment `prh` [timeout=900 seconds]
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Deployment environment creation is pending...
Executing workflow `install` on deployment `ves-tls` [timeout=900 seconds]
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Executing workflow `install` on deployment `tcagen2` [timeout=900 seconds]
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Deployment environment creation is pending...
Executing workflow `install` on deployment `hv-ves` [timeout=900 seconds]
Deployment environment creation is pending...
Executing workflow `install` on deployment `holmes_rules` [timeout=900 seconds]
Deployment environment creation is pending...
Deployment environment creation is pending...
2021-04-07 02:16:38.990 CFY Starting 'create_deployment_environment' workflow execution
2021-04-07 02:16:38.999 CFY Starting 'create_deployment_environment' workflow execution
2021-04-07 02:16:39.008 CFY Installing deployment and workflow plugins
2021-04-07 02:16:39.597 CFY Starting 'create_deployment_environment' workflow execution
2021-04-07 02:16:39.604 CFY Installing deployment and workflow plugins
2021-04-07 02:16:40.204 CFY Starting 'create_deployment_environment' workflow execution
2021-04-07 02:16:40.213 CFY Installing deployment and workflow plugins
2021-04-07 02:16:40.307 CFY Starting 'create_deployment_environment' workflow execution
2021-04-07 02:16:38.996 CFY Installing deployment and workflow plugins
2021-04-07 02:16:39.094 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:39.111 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:39.107 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:39.119 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:39.703 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:39.788 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:40.310 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:40.328 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:40.394 CFY Installing deployment and workflow plugins
2021-04-07 02:16:40.494 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:40.508 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:43.792 LOG INFO: Installing plugin: k8s
2021-04-07 02:16:43.901 LOG INFO: Installing plugin: k8s
2021-04-07 02:16:46.704 LOG INFO: Using existing installation of managed plugin: e5aec886-8bd7-45ca-8cd7-039932a0c083 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:46.705 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:46.820 CFY Creating deployment work directory
2021-04-07 02:16:44.693 LOG INFO: Installing plugin: k8s
2021-04-07 02:16:47.192 LOG INFO: Using existing installation of managed plugin: e5aec886-8bd7-45ca-8cd7-039932a0c083 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:47.194 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:47.198 CFY Creating deployment work directory
2021-04-07 02:16:44.900 LOG INFO: Installing plugin: k8s
2021-04-07 02:16:47.291 LOG INFO: Using existing installation of managed plugin: e5aec886-8bd7-45ca-8cd7-039932a0c083 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:47.293 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:45.508 LOG INFO: Installing plugin: pgaas
2021-04-07 02:16:47.364 LOG INFO: Using existing installation of managed plugin: 2ae0357b-2c42-4995-a6a0-76360984e3cf [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:47.365 LOG INFO: Installing plugin: k8s
2021-04-07 02:16:48.248 LOG INFO: Using existing installation of managed plugin: e5aec886-8bd7-45ca-8cd7-039932a0c083 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:46.693 LOG INFO: Using existing installation of managed plugin: e5aec886-8bd7-45ca-8cd7-039932a0c083 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:16:46.694 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:46.710 CFY Creating deployment work directory
2021-04-07 02:16:47.191 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-07 02:16:47.234 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-07 02:16:47.537 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-07 02:16:47.325 CFY Creating deployment work directory
2021-04-07 02:16:47.687 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-07 02:16:48.287 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-07 02:16:48.319 CFY Creating deployment work directory
2021-04-07 02:16:48.613 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-07 02:16:55.109 CFY Starting 'install' workflow execution
2021-04-07 02:16:56.612 CFY [prh_6hjm3k] Validating node instance before creation: nothing to do
2021-04-07 02:16:56.810 CFY [prh_6hjm3k] Precreating node instance: nothing to do
2021-04-07 02:16:57.520 CFY [prh_6hjm3k] Creating node instance
2021-04-07 02:16:57.000 CFY Starting 'install' workflow execution
2021-04-07 02:16:57.617 CFY Starting 'install' workflow execution
2021-04-07 02:16:59.027 CFY [docker.tca_fwrjqy] Validating node instance before creation: nothing to do
2021-04-07 02:16:58.019 CFY Starting 'install' workflow execution
2021-04-07 02:16:59.436 CFY [hv-ves_frx58w] Validating node instance before creation: nothing to do
2021-04-07 02:16:59.887 CFY [hv-ves_frx58w] Precreating node instance: nothing to do
2021-04-07 02:16:58.597 CFY Starting 'install' workflow execution
2021-04-07 02:16:58.037 CFY [prh_6hjm3k.create] Sending task 'k8splugin.create_for_components'
2021-04-07 02:16:58.619 CFY [ves_scuwy6] Validating node instance before creation: nothing to do
2021-04-07 02:16:58.915 CFY [ves_scuwy6] Precreating node instance: nothing to do
2021-04-07 02:16:59.604 CFY [ves_scuwy6] Creating node instance
2021-04-07 02:17:00.037 CFY [ves_scuwy6.create] Sending task 'k8splugin.create_for_components'
2021-04-07 02:16:59.194 CFY [docker.tca_fwrjqy] Precreating node instance: nothing to do
2021-04-07 02:16:59.988 CFY [docker.tca_fwrjqy] Creating node instance
2021-04-07 02:17:00.361 CFY [docker.tca_fwrjqy.create] Sending task 'k8splugin.create_for_components'
2021-04-07 02:17:00.508 CFY [hv-ves_frx58w] Creating node instance
2021-04-07 02:17:00.733 CFY [hv-ves_frx58w.create] Sending task 'k8splugin.create_for_components'
2021-04-07 02:17:00.308 CFY [pgaasvm_xlcd7h] Validating node instance before creation: nothing to do
2021-04-07 02:17:00.535 CFY [pgaasvm_xlcd7h] Precreating node instance: nothing to do
2021-04-07 02:17:00.723 CFY [pgaasvm_xlcd7h] Creating node instance
2021-04-07 02:17:01.179 CFY [pgaasvm_xlcd7h.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-07 02:17:06.189 LOG [pgaasvm_xlcd7h.create] WARNING: create_database(holmes)
2021-04-07 02:17:09.918 LOG [pgaasvm_xlcd7h.create] WARNING: All done
2021-04-07 02:17:10.703 CFY [pgaasvm_xlcd7h.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-07 02:17:10.737 CFY [pgaasvm_xlcd7h] Node instance created
2021-04-07 02:17:13.113 LOG [hv-ves_frx58w.create] INFO: Added config for dcae-hv-ves-collector
2021-04-07 02:17:13.113 LOG [hv-ves_frx58w.create] INFO: Done setting up: dcae-hv-ves-collector
2021-04-07 02:17:11.042 CFY [pgaasvm_xlcd7h] Configuring node instance: nothing to do
2021-04-07 02:17:11.437 CFY [pgaasvm_xlcd7h] Starting node instance: nothing to do
2021-04-07 02:17:11.695 CFY [pgaasvm_xlcd7h] Poststarting node instance: nothing to do
2021-04-07 02:17:11.929 CFY [pgaasvm_xlcd7h] Node instance started
2021-04-07 02:17:13.167 CFY [holmesrules_8iuq84] Validating node instance before creation: nothing to do
2021-04-07 02:17:13.277 CFY [holmesrules_8iuq84] Precreating node instance: nothing to do
2021-04-07 02:17:13.369 CFY [holmesrules_8iuq84] Creating node instance
2021-04-07 02:17:14.260 CFY [holmesrules_8iuq84.create] Sending task 'k8splugin.create_for_components'
2021-04-07 02:17:13.325 LOG [prh_6hjm3k.create] INFO: Added config for dcae-prh
2021-04-07 02:17:13.326 LOG [prh_6hjm3k.create] INFO: Done setting up: dcae-prh
2021-04-07 02:17:14.197 CFY [prh_6hjm3k.create] Task succeeded 'k8splugin.create_for_components'
2021-04-07 02:17:14.237 CFY [prh_6hjm3k] Node instance created
2021-04-07 02:17:14.619 CFY [prh_6hjm3k] Configuring node instance: nothing to do
2021-04-07 02:17:14.704 CFY [prh_6hjm3k] Starting node instance
2021-04-07 02:17:13.325 LOG [ves_scuwy6.create] INFO: Added config for dcae-ves-collector
2021-04-07 02:17:13.326 LOG [ves_scuwy6.create] INFO: Done setting up: dcae-ves-collector
2021-04-07 02:17:14.318 CFY [ves_scuwy6.create] Task succeeded 'k8splugin.create_for_components'
2021-04-07 02:17:14.643 CFY [ves_scuwy6] Node instance created
2021-04-07 02:17:14.691 CFY [ves_scuwy6] Configuring node instance: nothing to do
2021-04-07 02:17:14.819 CFY [ves_scuwy6] Starting node instance
2021-04-07 02:17:13.685 LOG [docker.tca_fwrjqy.create] INFO: Added config for dcae-tcagen2
2021-04-07 02:17:13.685 LOG [docker.tca_fwrjqy.create] INFO: Done setting up: dcae-tcagen2
2021-04-07 02:17:14.815 CFY [docker.tca_fwrjqy.create] Task succeeded 'k8splugin.create_for_components'
2021-04-07 02:17:14.987 CFY [docker.tca_fwrjqy] Node instance created
2021-04-07 02:17:15.639 CFY [docker.tca_fwrjqy] Configuring node instance: nothing to do
2021-04-07 02:17:15.902 CFY [docker.tca_fwrjqy] Starting node instance
2021-04-07 02:17:16.249 CFY [docker.tca_fwrjqy.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:17:13.921 CFY [hv-ves_frx58w.create] Task succeeded 'k8splugin.create_for_components'
2021-04-07 02:17:13.988 CFY [hv-ves_frx58w] Node instance created
2021-04-07 02:17:14.536 CFY [hv-ves_frx58w] Configuring node instance: nothing to do
2021-04-07 02:17:14.718 CFY [hv-ves_frx58w] Starting node instance
2021-04-07 02:17:15.208 CFY [hv-ves_frx58w.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:17:15.221 CFY [prh_6hjm3k.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:17:15.560 CFY [ves_scuwy6.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:17:23.621 LOG [hv-ves_frx58w.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_frx58w', 'cfynode': u'hv-ves'}, 'external_cert': {u'use_external_tls': False, 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'external_cert_directory': u'/etc/ves-hv/ssl'}, '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-07 02:17:23.621 LOG [hv-ves_frx58w.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-07 02:17:23.703 LOG [hv-ves_frx58w.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-07 02:17:23.714 LOG [holmesrules_8iuq84.create] INFO: Added config for holmes-rule-mgmt
2021-04-07 02:17:23.714 LOG [holmesrules_8iuq84.create] INFO: Done setting up: holmes-rule-mgmt
2021-04-07 02:17:24.908 CFY [holmesrules_8iuq84.create] Task succeeded 'k8splugin.create_for_components'
2021-04-07 02:17:24.999 CFY [holmesrules_8iuq84] Node instance created
2021-04-07 02:17:24.193 LOG [prh_6hjm3k.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_6hjm3k', 'cfynode': u'prh'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/app/prh/logs'}, 'ports': [u'8100:0'], 'k8s_location': u'central'}
2021-04-07 02:17:24.194 LOG [prh_6hjm3k.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-07 02:17:24.213 LOG [prh_6hjm3k.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-07 02:17:24.608 LOG [prh_6hjm3k.start] INFO: k8s deployment initiated successfully for dcae-prh: {'services': ['dcae-prh'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-prh'}
2021-04-07 02:17:24.609 LOG [prh_6hjm3k.start] INFO: Waiting up to 1800 secs for dcae-prh to become ready
2021-04-07 02:17:24.805 LOG [ves_scuwy6.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_scuwy6', '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-07 02:17:24.805 LOG [ves_scuwy6.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-07 02:17:24.822 LOG [ves_scuwy6.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-07 02:17:25.038 LOG [ves_scuwy6.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-07 02:17:25.039 LOG [ves_scuwy6.start] INFO: Waiting up to 1800 secs for dcae-ves-collector to become ready
2021-04-07 02:17:24.594 LOG [docker.tca_fwrjqy.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_fwrjqy', '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-07 02:17:24.595 LOG [docker.tca_fwrjqy.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-07 02:17:24.609 LOG [docker.tca_fwrjqy.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-07 02:17:24.787 LOG [docker.tca_fwrjqy.start] INFO: k8s deployment initiated successfully for dcae-tcagen2: {'services': ['dcae-tcagen2'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-tcagen2'}
2021-04-07 02:17:24.788 LOG [docker.tca_fwrjqy.start] INFO: Waiting up to 1800 secs for dcae-tcagen2 to become ready
2021-04-07 02:17:24.392 LOG [hv-ves_frx58w.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-07 02:17:24.393 LOG [hv-ves_frx58w.start] INFO: Waiting up to 1800 secs for dcae-hv-ves-collector to become ready
2021-04-07 02:17:25.307 CFY [holmesrules_8iuq84] Configuring node instance: nothing to do
2021-04-07 02:17:25.421 CFY [holmesrules_8iuq84] Starting node instance
2021-04-07 02:17:25.774 CFY [holmesrules_8iuq84.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:17:29.116 LOG [holmesrules_8iuq84.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'd68c6e54c4bd44aa4a1898af2f49fa0271ac0b14dbc8ce29311f4a8648068963'}, 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'd68c6e54c4bd44aa4a1898af2f49fa0271ac0b14dbc8ce29311f4a8648068963'}, 'labels': {'cfydeployment': u'holmes_rules', 'cfynodeinstance': u'holmesrules_8iuq84', 'cfynode': u'holmesrules'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'use_external_tls': False}, 'resource_config': {u'requests': {u'cpu': u'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-07 02:17:29.116 LOG [holmesrules_8iuq84.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-07 02:17:29.129 LOG [holmesrules_8iuq84.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-07 02:17:29.232 LOG [holmesrules_8iuq84.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-07 02:17:29.232 LOG [holmesrules_8iuq84.start] INFO: Waiting up to 1800 secs for holmes-rule-mgmt to become ready
2021-04-07 02:18:13.037 LOG [ves_scuwy6.start] INFO: k8s deployment is ready for: dcae-ves-collector
2021-04-07 02:18:13.038 LOG [ves_scuwy6.start] INFO: Done starting: dcae-ves-collector
2021-04-07 02:18:13.742 CFY [ves_scuwy6.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:18:13.766 CFY [ves_scuwy6] Poststarting node instance: nothing to do
2021-04-07 02:18:14.056 CFY [ves_scuwy6] Node instance started
2021-04-07 02:18:14.428 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment ves-tls
* Run 'cfy events list 8c7fec88-d3e0-4aec-890a-06448d0a2a9f' to retrieve the execution's events/logs
2021-04-07 02:18:24.706 LOG [prh_6hjm3k.start] INFO: k8s deployment is ready for: dcae-prh
2021-04-07 02:18:24.706 LOG [prh_6hjm3k.start] INFO: Done starting: dcae-prh
2021-04-07 02:18:25.798 CFY [prh_6hjm3k.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:18:25.849 CFY [prh_6hjm3k] Poststarting node instance: nothing to do
2021-04-07 02:18:26.211 CFY [prh_6hjm3k] Node instance started
2021-04-07 02:18:26.520 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment prh
* Run 'cfy events list 9cad6e3e-279f-486f-90e9-3b8c7c22fbe6' to retrieve the execution's events/logs
2021-04-07 02:18:29.697 LOG [hv-ves_frx58w.start] INFO: k8s deployment is ready for: dcae-hv-ves-collector
2021-04-07 02:18:29.697 LOG [hv-ves_frx58w.start] INFO: Done starting: dcae-hv-ves-collector
2021-04-07 02:18:30.455 CFY [hv-ves_frx58w.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:18:30.523 CFY [hv-ves_frx58w] Poststarting node instance: nothing to do
2021-04-07 02:18:30.792 CFY [hv-ves_frx58w] Node instance started
2021-04-07 02:18:31.163 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment hv-ves
* Run 'cfy events list 37fc419f-39a9-4bbf-a4f1-778f96eac801' to retrieve the execution's events/logs
2021-04-07 02:19:15.568 LOG [docker.tca_fwrjqy.start] INFO: k8s deployment is ready for: dcae-tcagen2
2021-04-07 02:19:15.569 LOG [docker.tca_fwrjqy.start] INFO: Done starting: dcae-tcagen2
2021-04-07 02:19:16.240 CFY [docker.tca_fwrjqy.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:19:16.280 CFY [docker.tca_fwrjqy] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-07 02:19:16.380 CFY [docker.tca_fwrjqy] Node instance started
2021-04-07 02:19:16.821 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment tcagen2
* Run 'cfy events list 242d3046-b973-411a-a96d-8850cdc86eaf' to retrieve the execution's events/logs
2021-04-07 02:19:23.274 LOG [holmesrules_8iuq84.start] INFO: k8s deployment is ready for: holmes-rule-mgmt
2021-04-07 02:19:23.275 LOG [holmesrules_8iuq84.start] INFO: Done starting: holmes-rule-mgmt
2021-04-07 02:19:24.168 CFY [holmesrules_8iuq84.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:19:24.213 CFY [holmesrules_8iuq84] Poststarting node instance: nothing to do
2021-04-07 02:19:24.280 CFY [holmesrules_8iuq84] Node instance started
Execution ended, waiting 3 seconds for additional log messages
2021-04-07 02:19:24.824 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment holmes_rules
* Run 'cfy events list 2dc5931a-5317-4736-96ef-fe1f78f307de' 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-07 02:19:34.412 CFY Starting 'create_deployment_environment' workflow execution
2021-04-07 02:19:34.420 CFY Installing deployment and workflow plugins
2021-04-07 02:19:34.519 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-07 02:19:34.534 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-07 02:19:35.564 LOG INFO: Installing plugin: pgaas
2021-04-07 02:19:36.290 LOG INFO: Using existing installation of managed plugin: 2ae0357b-2c42-4995-a6a0-76360984e3cf [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:19:36.291 LOG INFO: Installing plugin: k8s
2021-04-07 02:19:36.991 LOG INFO: Using existing installation of managed plugin: e5aec886-8bd7-45ca-8cd7-039932a0c083 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-07 02:19:36.992 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-07 02:19:37.056 CFY Creating deployment work directory
2021-04-07 02:19:37.316 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-07 02:19:42.937 CFY Starting 'install' workflow execution
2021-04-07 02:19:43.527 CFY [pgaasvm_ltlcm3] Validating node instance before creation: nothing to do
2021-04-07 02:19:43.645 CFY [pgaasvm_ltlcm3] Precreating node instance: nothing to do
2021-04-07 02:19:43.728 CFY [pgaasvm_ltlcm3] Creating node instance
2021-04-07 02:19:44.097 CFY [pgaasvm_ltlcm3.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-07 02:19:46.462 LOG [pgaasvm_ltlcm3.create] WARNING: create_database(holmes)
2021-04-07 02:19:47.313 CFY [pgaasvm_ltlcm3.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-07 02:19:47.350 CFY [pgaasvm_ltlcm3] Node instance created
2021-04-07 02:19:47.665 CFY [pgaasvm_ltlcm3] Configuring node instance: nothing to do
2021-04-07 02:19:47.752 CFY [pgaasvm_ltlcm3] Starting node instance: nothing to do
2021-04-07 02:19:47.874 CFY [pgaasvm_ltlcm3] Poststarting node instance: nothing to do
2021-04-07 02:19:48.112 CFY [pgaasvm_ltlcm3] Node instance started
2021-04-07 02:19:48.649 CFY [holmesengine_lb4v4m] Validating node instance before creation: nothing to do
2021-04-07 02:19:48.763 CFY [holmesengine_lb4v4m] Precreating node instance: nothing to do
2021-04-07 02:19:48.849 CFY [holmesengine_lb4v4m] Creating node instance
2021-04-07 02:19:49.213 CFY [holmesengine_lb4v4m.create] Sending task 'k8splugin.create_for_components'
2021-04-07 02:19:55.508 LOG [holmesengine_lb4v4m.create] INFO: Added config for holmes-engine-mgmt
2021-04-07 02:19:55.508 LOG [holmesengine_lb4v4m.create] INFO: Done setting up: holmes-engine-mgmt
2021-04-07 02:19:56.481 CFY [holmesengine_lb4v4m.create] Task succeeded 'k8splugin.create_for_components'
2021-04-07 02:19:56.662 CFY [holmesengine_lb4v4m] Node instance created
2021-04-07 02:19:56.837 CFY [holmesengine_lb4v4m] Configuring node instance: nothing to do
2021-04-07 02:19:57.050 CFY [holmesengine_lb4v4m] Starting node instance
2021-04-07 02:19:57.167 CFY [holmesengine_lb4v4m.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-07 02:20:01.159 LOG [holmesengine_lb4v4m.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'd68c6e54c4bd44aa4a1898af2f49fa0271ac0b14dbc8ce29311f4a8648068963'}, 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'd68c6e54c4bd44aa4a1898af2f49fa0271ac0b14dbc8ce29311f4a8648068963'}, 'labels': {'cfydeployment': u'holmes_engine', 'cfynodeinstance': u'holmesengine_lb4v4m', 'cfynode': u'holmesengine'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'use_external_tls': False}, 'resource_config': {u'requests': {u'cpu': u'500m', u'memory': u'256Mi'}, u'limits': {u'cpu': u'500m', u'memory': u'1024Mi'}}, 'volumes': [], 'log_info': {}, 'ports': [u'9102:0'], 'k8s_location': u'central'}
2021-04-07 02:20:01.159 LOG [holmesengine_lb4v4m.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-07 02:20:01.174 LOG [holmesengine_lb4v4m.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-07 02:20:01.311 LOG [holmesengine_lb4v4m.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-07 02:20:01.312 LOG [holmesengine_lb4v4m.start] INFO: Waiting up to 1800 secs for holmes-engine-mgmt to become ready
2021-04-07 02:21:17.859 LOG [holmesengine_lb4v4m.start] INFO: k8s deployment is ready for: holmes-engine-mgmt
2021-04-07 02:21:17.859 LOG