By type
+ trap keep_running ERR
+ set -e
+ cfy profiles use -u admin -t default_tenant -p UmH7vbj6 --rest-certificate /certs/cacert.pem --ssl dcae-cloudify-manager
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Initializing local profile ...
Initialization completed successfully
Attempting to connect to dcae-cloudify-manager through port 443, using https (SSL mode: True)...
Initializing profile dcae-cloudify-manager...
Initialization completed successfully
Using manager dcae-cloudify-manager with port 443
+ cfy status
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Retrieving manager services status... [ip=dcae-cloudify-manager]
Services:
+--------------------------------+--------+
| service | status |
+--------------------------------+--------+
| Cloudify Console | Active |
| PostgreSQL | Active |
| AMQP-Postgres | Active |
| Manager Rest-Service | Active |
| RabbitMQ | Active |
| Webserver | Active |
| Management Worker | Active |
+--------------------------------+--------+
+ cfy secret create -s UmH7vbj6 cmpass
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Secret `cmpass` created
+ for config in '/dcae-configs/*.json'
++ basename /dcae-configs/dmaap-plugin.json .json
+ key=dmaap-plugin
+ egrep -v '^#|^$' /dcae-configs/dmaap-plugin.json
+ curl -v -X PUT -H 'Content-Type: application/json' --data-binary @/tmp/dcae-upload consul-server:8500/v1/kv/dmaap-plugin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to consul-server port 8500 (#0)
* Trying 10.233.67.197...
* Connected to consul-server (10.233.67.197) 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, 10 Apr 2021 03:30:33 GMT
< Content-Length: 4
<
{ [data not shown]
100 124 100 4 100 120 174 5244 --:--:-- --:--:-- --:--:-- 5454
* Connection #0 to host consul-server left intact
+ for config in '/dcae-configs/*.json'
++ basename /dcae-configs/k8s-plugin.json .json
+ key=k8s-plugin
+ egrep -v '^#|^$' /dcae-configs/k8s-plugin.json
+ curl -v -X PUT -H 'Content-Type: application/json' --data-binary @/tmp/dcae-upload consul-server:8500/v1/kv/k8s-plugin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to consul-server port 8500 (#0)
* Trying 10.233.67.197...
* Connected to consul-server (10.233.67.197) 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, 10 Apr 2021 03:30:33 GMT
< Content-Length: 4
<
{ [data not shown]
100 1518 100 4 100 1514 58 21983 --:--:-- --:--:-- --:--:-- 22264
* 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 in progress...
2021-04-10 03:30:40.164 CFY Starting 'create_deployment_environment' workflow execution
2021-04-10 03:30:40.170 CFY Installing deployment and workflow plugins
2021-04-10 03:30:40.268 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-10 03:30:40.284 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-10 03:30:41.397 LOG INFO: Installing plugin: pgaas
2021-04-10 03:30:42.036 LOG INFO: Using existing installation of managed plugin: 3c57220e-5d5b-49e2-95e0-46e5bffed371 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:30:42.037 LOG INFO: Installing plugin: ssh_keyshare
2021-04-10 03:30:42.717 LOG INFO: Using existing installation of managed plugin: 075e42f3-1edf-4165-b971-ca2fdc368cfc [package_name: sshkeyshare, package_version: 1.2.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:30:42.718 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-10 03:30:42.832 CFY Creating deployment work directory
2021-04-10 03:30:43.101 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-10 03:30:45.981 CFY Starting 'install' workflow execution
2021-04-10 03:30:46.567 CFY [sharedsshkey_pgrs_8khc2j] Validating node instance before creation: nothing to do
2021-04-10 03:30:46.682 CFY [sharedsshkey_pgrs_8khc2j] Precreating node instance: nothing to do
2021-04-10 03:30:46.755 CFY [sharedsshkey_pgrs_8khc2j] Creating node instance
2021-04-10 03:30:47.017 CFY [sharedsshkey_pgrs_8khc2j.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-04-10 03:30:50.589 CFY [sharedsshkey_pgrs_8khc2j.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-04-10 03:30:50.655 CFY [sharedsshkey_pgrs_8khc2j] Node instance created
2021-04-10 03:30:50.879 CFY [sharedsshkey_pgrs_8khc2j] Configuring node instance: nothing to do
2021-04-10 03:30:50.982 CFY [sharedsshkey_pgrs_8khc2j] Starting node instance: nothing to do
2021-04-10 03:30:51.067 CFY [sharedsshkey_pgrs_8khc2j] Poststarting node instance: nothing to do
2021-04-10 03:30:51.168 CFY [sharedsshkey_pgrs_8khc2j] Node instance started
2021-04-10 03:30:51.795 CFY [pgaas_cluster_3km9id] Validating node instance before creation: nothing to do
2021-04-10 03:30:51.973 CFY [pgaas_cluster_3km9id] Precreating node instance: nothing to do
2021-04-10 03:30:52.227 CFY [pgaas_cluster_3km9id] Creating node instance
2021-04-10 03:30:52.425 CFY [pgaas_cluster_3km9id.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-10 03:30:55.819 LOG [pgaas_cluster_3km9id.create] WARNING: add_pgaas_cluster() invoked
2021-04-10 03:30:56.083 LOG [pgaas_cluster_3km9id.create] WARNING: All done
2021-04-10 03:30:57.198 CFY [pgaas_cluster_3km9id.create] Task succeeded 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-10 03:30:57.412 CFY [pgaas_cluster_3km9id] Node instance created
2021-04-10 03:30:57.528 CFY [pgaas_cluster_3km9id] Configuring node instance: nothing to do
2021-04-10 03:30:57.620 CFY [pgaas_cluster_3km9id] Starting node instance: nothing to do
2021-04-10 03:30:57.732 CFY [pgaas_cluster_3km9id] Poststarting node instance: nothing to do
2021-04-10 03:30:57.944 CFY [pgaas_cluster_3km9id] Node instance started
2021-04-10 03:30:58.217 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment pgaas_initdb
* Run 'cfy events list e5bb7c04-a74d-4a70-8cce-9ce100ccd35c' 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
+ deploy prh k8s-prh.yaml k8s-prh-inputs.yaml
+ cm_hasany 'blueprints?id=ves-tls'
+ set +e
+ cm_hasany 'blueprints?id=prh'
+ 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=tcagen2&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=holmes_rules&_include=id'
++ /bin/jq .metadata.pagination.total
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=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=hv-ves&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=prh&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b prh /blueprints/k8s-prh.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b tcagen2 /blueprints/k8s-tcagen2.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b hv-ves /blueprints/k8s-hv-ves.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b holmes_rules /blueprints/k8s-holmes-rules.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b ves-tls /blueprints/k8s-ves.yaml
/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-holmes-rules.yaml...
Uploading blueprint /blueprints/k8s-prh.yaml...
Uploading blueprint /blueprints/k8s-hv-ves.yaml...
Uploading blueprint /blueprints/k8s-ves.yaml...
Uploading blueprint /blueprints/k8s-tcagen2.yaml...
k8s-holmes-rules.... |####################----------------------------| 41.41%
k8s-prh.yaml |#######################---------------------------------| 41.44%
k8s-holmes-rules.... |########################################--------| 82.83%
k8s-holmes-rules.... |################################################| 100.0%
k8s-prh.yaml |##############################################----------| 82.87%
k8s-prh.yaml |########################################################| 100.0%
k8s-hv-ves.yaml |######################-------------------------------| 41.43%
k8s-hv-ves.yaml |############################################---------| 82.85%
k8s-hv-ves.yaml |#####################################################| 100.0%
k8s-tcagen2.yaml |######################------------------------------| 41.42%
k8s-tcagen2.yaml |###########################################---------| 82.85%
k8s-tcagen2.yaml |####################################################| 100.0%
k8s-ves.yaml |#######################---------------------------------| 41.44%
k8s-ves.yaml |##############################################----------| 82.88%
k8s-ves.yaml |########################################################| 100.0%
Blueprint uploaded. The blueprint's id is tcagen2
+ 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 hv-ves
Blueprint uploaded. The blueprint's id is prh
+ 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
+ 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
+ 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
Blueprint uploaded. The blueprint's id is holmes_rules
Blueprint uploaded. The blueprint's id is 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-prh-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-prh-inputs.yaml
+ cfy deployments create -b prh -i/inputs/k8s-prh-inputs.yaml prh
+ cm_hasany 'deployments?id=ves-tls'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=ves-tls&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-holmes_rules-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-holmes_rules-inputs.yaml
+ cfy deployments create -b holmes_rules -i/inputs/k8s-holmes_rules-inputs.yaml holmes_rules
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-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
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Creating new deployment from blueprint hv-ves...
Creating new deployment from blueprint ves-tls...
Creating new deployment from blueprint holmes_rules...
Creating new deployment from blueprint prh...
Creating new deployment from blueprint tcagen2...
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 tcagen2
Deployment created. The deployment's id is prh
Deployment created. The deployment's id is ves-tls
Deployment created. The deployment's id is holmes_rules
+ 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
+ cm_hasany 'node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ cm_hasany 'node-instances?deployment_id=prh&state=uninitialized&state=deleted'
+ 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=prh&state=uninitialized&state=deleted&_include=id'
++ 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
++ /bin/jq .metadata.pagination.total
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d hv-ves install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d tcagen2 install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d prh install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d ves-tls install
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_rules 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
/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
Executing workflow `install` on deployment `hv-ves` [timeout=900 seconds]
Executing workflow `install` on deployment `tcagen2` [timeout=900 seconds]
Executing workflow `install` on deployment `prh` [timeout=900 seconds]
Deployment environment creation is pending...
Executing workflow `install` on deployment `ves-tls` [timeout=900 seconds]
Executing workflow `install` on deployment `holmes_rules` [timeout=900 seconds]
Deployment environment creation is pending...
Deployment environment creation is pending...
Deployment environment creation is pending...
Deployment environment creation is pending...
2021-04-10 03:31:17.280 CFY Starting 'create_deployment_environment' workflow execution
2021-04-10 03:31:17.365 CFY Installing deployment and workflow plugins
2021-04-10 03:31:17.463 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:17.482 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:18.674 CFY Starting 'create_deployment_environment' workflow execution
2021-04-10 03:31:18.679 CFY Installing deployment and workflow plugins
2021-04-10 03:31:18.778 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:18.777 CFY Starting 'create_deployment_environment' workflow execution
2021-04-10 03:31:18.784 CFY Installing deployment and workflow plugins
2021-04-10 03:31:18.882 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:18.910 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:18.860 CFY Starting 'create_deployment_environment' workflow execution
2021-04-10 03:31:18.865 CFY Installing deployment and workflow plugins
2021-04-10 03:31:18.964 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:18.980 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:18.373 CFY Starting 'create_deployment_environment' workflow execution
2021-04-10 03:31:18.379 CFY Installing deployment and workflow plugins
2021-04-10 03:31:18.478 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:18.494 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:20.569 LOG INFO: Installing plugin: k8s
2021-04-10 03:31:22.894 LOG INFO: Using existing installation of managed plugin: 3c6c1e5b-5fbe-42c8-be72-64487566134d [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:31:22.896 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:23.010 CFY Creating deployment work directory
2021-04-10 03:31:23.377 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-10 03:31:18.792 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:22.379 LOG INFO: Installing plugin: k8s
2021-04-10 03:31:22.377 LOG INFO: Installing plugin: k8s
2021-04-10 03:31:22.363 LOG INFO: Installing plugin: pgaas
2021-04-10 03:31:21.991 LOG INFO: Installing plugin: k8s
2021-04-10 03:31:23.673 LOG INFO: Using existing installation of managed plugin: 3c6c1e5b-5fbe-42c8-be72-64487566134d [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:31:23.674 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:23.789 CFY Creating deployment work directory
2021-04-10 03:31:24.272 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-10 03:31:24.483 LOG INFO: Using existing installation of managed plugin: 3c6c1e5b-5fbe-42c8-be72-64487566134d [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:31:24.485 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:24.581 CFY Creating deployment work directory
2021-04-10 03:31:24.673 LOG INFO: Using existing installation of managed plugin: 3c6c1e5b-5fbe-42c8-be72-64487566134d [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:31:24.674 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:24.682 CFY Creating deployment work directory
2021-04-10 03:31:24.577 LOG INFO: Using existing installation of managed plugin: 3c57220e-5d5b-49e2-95e0-46e5bffed371 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:31:24.578 LOG INFO: Installing plugin: k8s
2021-04-10 03:31:27.576 CFY Starting 'install' workflow execution
2021-04-10 03:31:28.069 CFY [hv-ves_favrco] Validating node instance before creation: nothing to do
2021-04-10 03:31:28.173 CFY [hv-ves_favrco] Precreating node instance: nothing to do
2021-04-10 03:31:27.884 CFY Starting 'install' workflow execution
2021-04-10 03:31:28.676 CFY [ves_8erex3] Validating node instance before creation: nothing to do
2021-04-10 03:31:28.778 CFY [ves_8erex3] Precreating node instance: nothing to do
2021-04-10 03:31:28.879 CFY [ves_8erex3] Creating node instance
2021-04-10 03:31:25.170 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-10 03:31:25.176 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-10 03:31:25.879 LOG INFO: Using existing installation of managed plugin: 3c6c1e5b-5fbe-42c8-be72-64487566134d [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:31:25.881 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-10 03:31:25.996 CFY Creating deployment work directory
2021-04-10 03:31:26.385 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-10 03:31:28.592 CFY [hv-ves_favrco] Creating node instance
2021-04-10 03:31:28.835 CFY [hv-ves_favrco.create] Sending task 'k8splugin.create_for_components'
2021-04-10 03:31:29.240 CFY [ves_8erex3.create] Sending task 'k8splugin.create_for_components'
2021-04-10 03:31:35.699 CFY Starting 'install' workflow execution
2021-04-10 03:31:35.815 CFY Starting 'install' workflow execution
2021-04-10 03:31:36.376 CFY Starting 'install' workflow execution
2021-04-10 03:31:36.967 CFY [prh_esnniq] Validating node instance before creation: nothing to do
2021-04-10 03:31:37.281 CFY [prh_esnniq] Precreating node instance: nothing to do
2021-04-10 03:31:37.483 CFY [prh_esnniq] Creating node instance
2021-04-10 03:31:37.932 CFY [prh_esnniq.create] Sending task 'k8splugin.create_for_components'
2021-04-10 03:31:37.194 CFY [docker.tca_55bqdg] Validating node instance before creation: nothing to do
2021-04-10 03:31:37.409 CFY [docker.tca_55bqdg] Precreating node instance: nothing to do
2021-04-10 03:31:37.490 CFY [docker.tca_55bqdg] Creating node instance
2021-04-10 03:31:38.006 CFY [docker.tca_55bqdg.create] Sending task 'k8splugin.create_for_components'
2021-04-10 03:31:37.635 CFY [pgaasvm_ocysgc] Validating node instance before creation: nothing to do
2021-04-10 03:31:37.829 CFY [pgaasvm_ocysgc] Precreating node instance: nothing to do
2021-04-10 03:31:37.916 CFY [pgaasvm_ocysgc] Creating node instance
2021-04-10 03:31:38.278 CFY [pgaasvm_ocysgc.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-10 03:31:44.186 LOG [pgaasvm_ocysgc.create] WARNING: create_database(holmes)
2021-04-10 03:31:45.481 LOG [hv-ves_favrco.create] INFO: Added config for dcae-hv-ves-collector
2021-04-10 03:31:45.472 LOG [ves_8erex3.create] INFO: Added config for dcae-ves-collector
2021-04-10 03:31:45.472 LOG [ves_8erex3.create] INFO: Done setting up: dcae-ves-collector
2021-04-10 03:31:46.474 CFY [ves_8erex3.create] Task succeeded 'k8splugin.create_for_components'
2021-04-10 03:31:45.481 LOG [hv-ves_favrco.create] INFO: Done setting up: dcae-hv-ves-collector
2021-04-10 03:31:46.676 CFY [hv-ves_favrco.create] Task succeeded 'k8splugin.create_for_components'
2021-04-10 03:31:46.777 CFY [hv-ves_favrco] Node instance created
2021-04-10 03:31:46.977 CFY [hv-ves_favrco] Configuring node instance: nothing to do
2021-04-10 03:31:47.853 LOG [prh_esnniq.create] INFO: Added config for dcae-prh
2021-04-10 03:31:47.853 LOG [prh_esnniq.create] INFO: Done setting up: dcae-prh
2021-04-10 03:31:47.457 LOG [docker.tca_55bqdg.create] INFO: Added config for dcae-tcagen2
2021-04-10 03:31:47.457 LOG [docker.tca_55bqdg.create] INFO: Done setting up: dcae-tcagen2
2021-04-10 03:31:49.146 CFY [docker.tca_55bqdg.create] Task succeeded 'k8splugin.create_for_components'
2021-04-10 03:31:49.358 CFY [docker.tca_55bqdg] Node instance created
2021-04-10 03:31:46.636 CFY [ves_8erex3] Node instance created
2021-04-10 03:31:46.692 CFY [ves_8erex3] Configuring node instance: nothing to do
2021-04-10 03:31:46.931 CFY [ves_8erex3] Starting node instance
2021-04-10 03:31:47.152 CFY [ves_8erex3.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:31:47.219 CFY [hv-ves_favrco] Starting node instance
2021-04-10 03:31:47.342 CFY [hv-ves_favrco.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:31:49.534 CFY [prh_esnniq.create] Task succeeded 'k8splugin.create_for_components'
2021-04-10 03:31:49.776 CFY [prh_esnniq] Node instance created
2021-04-10 03:31:49.939 CFY [prh_esnniq] Configuring node instance: nothing to do
2021-04-10 03:31:50.375 CFY [prh_esnniq] Starting node instance
2021-04-10 03:31:50.660 CFY [prh_esnniq.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:31:49.515 CFY [docker.tca_55bqdg] Configuring node instance: nothing to do
2021-04-10 03:31:49.733 CFY [docker.tca_55bqdg] Starting node instance
2021-04-10 03:31:49.912 CFY [docker.tca_55bqdg.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:31:52.684 LOG [ves_8erex3.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_8erex3', 'cfynode': u'ves'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'dcae-ves-collector', u'sans': u'dcae-ves-collector:ves-collector:ves'}, u'cert_type': u'JKS', u'external_cert_directory': u'/opt/app/dcae-certificate/', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/app/VESCollector/logs'}, 'ports': [u'8080:0', u'8443:30417'], 'k8s_location': u'central'}
2021-04-10 03:31:52.684 LOG [ves_8erex3.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-10 03:31:52.799 LOG [ves_8erex3.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-10 03:31:53.260 LOG [ves_8erex3.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-10 03:31:53.261 LOG [ves_8erex3.start] INFO: Waiting up to 1800 secs for dcae-ves-collector to become ready
2021-04-10 03:31:52.886 LOG [hv-ves_favrco.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_favrco', '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'external_cert_directory': u'/etc/ves-hv/ssl', u'ca_name': u'RA'}, '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-10 03:31:52.886 LOG [hv-ves_favrco.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-10 03:31:52.963 LOG [hv-ves_favrco.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-10 03:31:53.258 LOG [hv-ves_favrco.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-10 03:31:53.259 LOG [hv-ves_favrco.start] INFO: Waiting up to 1800 secs for dcae-hv-ves-collector to become ready
2021-04-10 03:31:55.387 LOG [docker.tca_55bqdg.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_55bqdg', '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-10 03:31:55.387 LOG [docker.tca_55bqdg.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-10 03:31:46.976 LOG [pgaasvm_ocysgc.create] WARNING: All done
2021-04-10 03:31:55.577 CFY [pgaasvm_ocysgc.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-10 03:31:55.808 CFY [pgaasvm_ocysgc] Node instance created
2021-04-10 03:31:55.628 LOG [prh_esnniq.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_esnniq', '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-10 03:31:55.628 LOG [prh_esnniq.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-10 03:31:55.642 LOG [prh_esnniq.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-10 03:31:55.734 LOG [prh_esnniq.start] INFO: k8s deployment initiated successfully for dcae-prh: {'services': ['dcae-prh'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-prh'}
2021-04-10 03:31:55.400 LOG [docker.tca_55bqdg.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-10 03:31:55.498 LOG [docker.tca_55bqdg.start] INFO: k8s deployment initiated successfully for dcae-tcagen2: {'services': ['dcae-tcagen2'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-tcagen2'}
2021-04-10 03:31:55.498 LOG [docker.tca_55bqdg.start] INFO: Waiting up to 1800 secs for dcae-tcagen2 to become ready
2021-04-10 03:31:55.883 CFY [pgaasvm_ocysgc] Configuring node instance: nothing to do
2021-04-10 03:31:55.999 CFY [pgaasvm_ocysgc] Starting node instance: nothing to do
2021-04-10 03:31:56.074 CFY [pgaasvm_ocysgc] Poststarting node instance: nothing to do
2021-04-10 03:31:56.184 CFY [pgaasvm_ocysgc] Node instance started
2021-04-10 03:31:56.899 CFY [holmesrules_qt0yho] Validating node instance before creation: nothing to do
2021-04-10 03:31:55.734 LOG [prh_esnniq.start] INFO: Waiting up to 1800 secs for dcae-prh to become ready
2021-04-10 03:31:56.975 CFY [holmesrules_qt0yho] Precreating node instance: nothing to do
2021-04-10 03:31:57.084 CFY [holmesrules_qt0yho] Creating node instance
2021-04-10 03:31:57.437 CFY [holmesrules_qt0yho.create] Sending task 'k8splugin.create_for_components'
2021-04-10 03:32:02.208 LOG [holmesrules_qt0yho.create] INFO: Added config for holmes-rule-mgmt
2021-04-10 03:32:02.208 LOG [holmesrules_qt0yho.create] INFO: Done setting up: holmes-rule-mgmt
2021-04-10 03:32:03.245 CFY [holmesrules_qt0yho.create] Task succeeded 'k8splugin.create_for_components'
2021-04-10 03:32:03.486 CFY [holmesrules_qt0yho] Node instance created
2021-04-10 03:32:03.537 CFY [holmesrules_qt0yho] Configuring node instance: nothing to do
2021-04-10 03:32:03.785 CFY [holmesrules_qt0yho] Starting node instance
2021-04-10 03:32:03.900 CFY [holmesrules_qt0yho.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:32:07.736 LOG [holmesrules_qt0yho.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'8c64f69fec9ff60ae1bcd0a153ef86415dc30781e704ba11d94ffac844795785'}, 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'8c64f69fec9ff60ae1bcd0a153ef86415dc30781e704ba11d94ffac844795785'}, 'labels': {'cfydeployment': u'holmes_rules', 'cfynodeinstance': u'holmesrules_qt0yho', '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-10 03:32:07.737 LOG [holmesrules_qt0yho.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-10 03:32:07.747 LOG [holmesrules_qt0yho.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-10 03:32:07.828 LOG [holmesrules_qt0yho.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-10 03:32:07.829 LOG [holmesrules_qt0yho.start] INFO: Waiting up to 1800 secs for holmes-rule-mgmt to become ready
2021-04-10 03:33:10.673 LOG [hv-ves_favrco.start] INFO: k8s deployment is ready for: dcae-hv-ves-collector
2021-04-10 03:33:10.679 LOG [hv-ves_favrco.start] INFO: Done starting: dcae-hv-ves-collector
2021-04-10 03:33:11.656 CFY [hv-ves_favrco.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:33:11.743 CFY [hv-ves_favrco] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-10 03:33:11.826 CFY [hv-ves_favrco] Node instance started
2021-04-10 03:33:12.385 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment hv-ves
* Run 'cfy events list d5473147-aaf6-4349-af6b-a53e541443cf' to retrieve the execution's events/logs
2021-04-10 03:33:22.181 LOG [docker.tca_55bqdg.start] INFO: k8s deployment is ready for: dcae-tcagen2
2021-04-10 03:33:22.182 LOG [docker.tca_55bqdg.start] INFO: Done starting: dcae-tcagen2
2021-04-10 03:33:22.975 CFY [docker.tca_55bqdg.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:33:23.027 CFY [docker.tca_55bqdg] Poststarting node instance: nothing to do
2021-04-10 03:33:23.110 CFY [docker.tca_55bqdg] Node instance started
2021-04-10 03:33:23.636 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment tcagen2
* Run 'cfy events list 7b131257-7516-41ee-a99e-7bdeea6a76d3' to retrieve the execution's events/logs
2021-04-10 03:33:36.401 LOG [ves_8erex3.start] INFO: k8s deployment is ready for: dcae-ves-collector
2021-04-10 03:33:36.402 LOG [ves_8erex3.start] INFO: Done starting: dcae-ves-collector
2021-04-10 03:33:37.175 CFY [ves_8erex3.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:33:37.282 CFY [ves_8erex3] Poststarting node instance: nothing to do
2021-04-10 03:33:37.504 CFY [ves_8erex3] Node instance started
2021-04-10 03:33:37.774 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment ves-tls
* Run 'cfy events list 442986c0-5d20-4084-8b8a-f8e2176d4e2b' to retrieve the execution's events/logs
2021-04-10 03:34:04.379 LOG [holmesrules_qt0yho.start] INFO: k8s deployment is ready for: holmes-rule-mgmt
2021-04-10 03:34:04.379 LOG [holmesrules_qt0yho.start] INFO: Done starting: holmes-rule-mgmt
2021-04-10 03:34:04.531 LOG [prh_esnniq.start] INFO: k8s deployment is ready for: dcae-prh
2021-04-10 03:34:04.532 LOG [prh_esnniq.start] INFO: Done starting: dcae-prh
2021-04-10 03:34:06.058 CFY [prh_esnniq.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:34:06.111 CFY [prh_esnniq] Poststarting node instance: nothing to do
2021-04-10 03:34:06.190 CFY [prh_esnniq] Node instance started
2021-04-10 03:34:06.722 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment prh
* Run 'cfy events list 5bcd0470-5585-40ff-a9e5-693cd38fc207' to retrieve the execution's events/logs
2021-04-10 03:34:05.606 CFY [holmesrules_qt0yho.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:34:05.689 CFY [holmesrules_qt0yho] Poststarting node instance: nothing to do
2021-04-10 03:34:05.958 CFY [holmesrules_qt0yho] Node instance started
2021-04-10 03:34:06.186 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment holmes_rules
* Run 'cfy events list 570b7aa4-0f26-49c2-8b3c-7d143d9635ef' 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 in progress...
2021-04-10 03:34:15.180 CFY Starting 'create_deployment_environment' workflow execution
2021-04-10 03:34:15.186 CFY Installing deployment and workflow plugins
2021-04-10 03:34:15.285 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-10 03:34:15.300 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-10 03:34:16.214 LOG INFO: Installing plugin: pgaas
2021-04-10 03:34:16.830 LOG INFO: Using existing installation of managed plugin: 3c57220e-5d5b-49e2-95e0-46e5bffed371 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:34:16.830 LOG INFO: Installing plugin: k8s
2021-04-10 03:34:17.514 LOG INFO: Using existing installation of managed plugin: 3c6c1e5b-5fbe-42c8-be72-64487566134d [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-10 03:34:17.515 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-10 03:34:17.630 CFY Creating deployment work directory
2021-04-10 03:34:17.879 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-10 03:34:24.253 CFY Starting 'install' workflow execution
2021-04-10 03:34:24.872 CFY [pgaasvm_bdlv2k] Validating node instance before creation: nothing to do
2021-04-10 03:34:25.046 CFY [pgaasvm_bdlv2k] Precreating node instance: nothing to do
2021-04-10 03:34:25.261 CFY [pgaasvm_bdlv2k] Creating node instance
2021-04-10 03:34:25.420 CFY [pgaasvm_bdlv2k.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-10 03:34:27.926 LOG [pgaasvm_bdlv2k.create] WARNING: create_database(holmes)
2021-04-10 03:34:30.357 CFY [pgaasvm_bdlv2k.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-10 03:34:30.597 CFY [pgaasvm_bdlv2k] Node instance created
2021-04-10 03:34:30.754 CFY [pgaasvm_bdlv2k] Configuring node instance: nothing to do
2021-04-10 03:34:30.847 CFY [pgaasvm_bdlv2k] Starting node instance: nothing to do
2021-04-10 03:34:30.957 CFY [pgaasvm_bdlv2k] Poststarting node instance: nothing to do
2021-04-10 03:34:31.178 CFY [pgaasvm_bdlv2k] Node instance started
2021-04-10 03:34:31.630 CFY [holmesengine_fey3mg] Validating node instance before creation: nothing to do
2021-04-10 03:34:31.744 CFY [holmesengine_fey3mg] Precreating node instance: nothing to do
2021-04-10 03:34:32.004 CFY [holmesengine_fey3mg] Creating node instance
2021-04-10 03:34:32.194 CFY [holmesengine_fey3mg.create] Sending task 'k8splugin.create_for_components'
2021-04-10 03:34:38.767 LOG [holmesengine_fey3mg.create] INFO: Added config for holmes-engine-mgmt
2021-04-10 03:34:38.768 LOG [holmesengine_fey3mg.create] INFO: Done setting up: holmes-engine-mgmt
2021-04-10 03:34:39.505 CFY [holmesengine_fey3mg.create] Task succeeded 'k8splugin.create_for_components'
2021-04-10 03:34:39.761 CFY [holmesengine_fey3mg] Node instance created
2021-04-10 03:34:39.914 CFY [holmesengine_fey3mg] Configuring node instance: nothing to do
2021-04-10 03:34:39.984 CFY [holmesengine_fey3mg] Starting node instance
2021-04-10 03:34:40.242 CFY [holmesengine_fey3mg.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-10 03:34:45.228 LOG [holmesengine_fey3mg.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'8c64f69fec9ff60ae1bcd0a153ef86415dc30781e704ba11d94ffac844795785'}, 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'8c64f69fec9ff60ae1bcd0a153ef86415dc30781e704ba11d94ffac844795785'}, 'labels': {'cfydeployment': u'holmes_engine', 'cfynodeinstance': u'holmesengine_fey3mg', '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-10 03:34:45.228 LOG [holmesengine_fey3mg.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-10 03:34:45.242 LOG [holmesengine_fey3mg.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-10 03:34:45.369 LOG [holmesengine_fey3mg.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-10 03:34:45.370 LOG [holmesengine_fey3mg.start] INFO: Waiting up to 1800 secs for holmes-engine-mgmt to become ready
2021-04-10 03:35:49.322 LOG [holmesengine_fey3mg.start] INFO: k8s deployment is ready for: holmes-engine-mgmt
2021-04-10 03:35:49.323 LOG