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.78.233...
* Connected to consul-server (10.233.78.233) 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: Sun, 04 Apr 2021 02:07:21 GMT
< Content-Length: 4
<
{ [data not shown]
100 124 100 4 100 120 14 439 --:--:-- --:--:-- --:--:-- 441
* 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.78.233...
* Connected to consul-server (10.233.78.233) 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: Sun, 04 Apr 2021 02:07:21 GMT
< Content-Length: 4
<
{ [data not shown]
100 1518 100 4 100 1514 13 5068 --:--:-- --:--:-- --:--:-- 5080
* 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-04 02:07:28.361 CFY Starting 'create_deployment_environment' workflow execution
2021-04-04 02:07:28.366 CFY Installing deployment and workflow plugins
2021-04-04 02:07:28.465 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-04 02:07:28.480 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-04 02:07:29.415 LOG INFO: Installing plugin: pgaas
2021-04-04 02:07:30.143 LOG INFO: Using existing installation of managed plugin: 4944b529-5ad4-489c-8c6d-c6460b31b149 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:07:30.144 LOG INFO: Installing plugin: ssh_keyshare
2021-04-04 02:07:30.813 LOG INFO: Using existing installation of managed plugin: c7e43eca-5496-4f78-8511-ee104f4abcfc [package_name: sshkeyshare, package_version: 1.2.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:07:30.815 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-04 02:07:30.929 CFY Creating deployment work directory
2021-04-04 02:07:31.168 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-04 02:07:36.616 CFY Starting 'install' workflow execution
2021-04-04 02:07:37.168 CFY [sharedsshkey_pgrs_uul56b] Validating node instance before creation: nothing to do
2021-04-04 02:07:37.252 CFY [sharedsshkey_pgrs_uul56b] Precreating node instance: nothing to do
2021-04-04 02:07:37.507 CFY [sharedsshkey_pgrs_uul56b] Creating node instance
2021-04-04 02:07:37.709 CFY [sharedsshkey_pgrs_uul56b.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-04-04 02:07:41.112 CFY [sharedsshkey_pgrs_uul56b.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-04-04 02:07:41.357 CFY [sharedsshkey_pgrs_uul56b] Node instance created
2021-04-04 02:07:41.518 CFY [sharedsshkey_pgrs_uul56b] Configuring node instance: nothing to do
2021-04-04 02:07:41.583 CFY [sharedsshkey_pgrs_uul56b] Starting node instance: nothing to do
2021-04-04 02:07:41.694 CFY [sharedsshkey_pgrs_uul56b] Poststarting node instance: nothing to do
2021-04-04 02:07:41.939 CFY [sharedsshkey_pgrs_uul56b] Node instance started
2021-04-04 02:07:42.380 CFY [pgaas_cluster_7wvkf7] Validating node instance before creation: nothing to do
2021-04-04 02:07:42.496 CFY [pgaas_cluster_7wvkf7] Precreating node instance: nothing to do
2021-04-04 02:07:42.747 CFY [pgaas_cluster_7wvkf7] Creating node instance
2021-04-04 02:07:42.946 CFY [pgaas_cluster_7wvkf7.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-04 02:07:47.388 LOG [pgaas_cluster_7wvkf7.create] WARNING: add_pgaas_cluster() invoked
2021-04-04 02:07:47.597 LOG [pgaas_cluster_7wvkf7.create] WARNING: All done
2021-04-04 02:07:48.372 CFY [pgaas_cluster_7wvkf7.create] Task succeeded 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-04 02:07:48.597 CFY [pgaas_cluster_7wvkf7] Node instance created
2021-04-04 02:07:48.759 CFY [pgaas_cluster_7wvkf7] Configuring node instance: nothing to do
2021-04-04 02:07:48.838 CFY [pgaas_cluster_7wvkf7] Starting node instance: nothing to do
2021-04-04 02:07:48.947 CFY [pgaas_cluster_7wvkf7] Poststarting node instance: nothing to do
2021-04-04 02:07:49.058 CFY [pgaas_cluster_7wvkf7] Node instance started
2021-04-04 02:07:49.571 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment pgaas_initdb
* Run 'cfy events list 58a96833-d518-4f88-8075-1e7c55cba665' to retrieve the execution's events/logs
+ deploy tcagen2 k8s-tcagen2.yaml k8s-tcagen2-inputs.yaml
+ deploy ves-tls k8s-ves.yaml k8s-ves-inputs-tls.yaml
+ set +e
+ cm_hasany 'blueprints?id=tcagen2'
+ set +e
+ cm_hasany 'blueprints?id=ves-tls'
+ deploy prh k8s-prh.yaml k8s-prh-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=prh'
+ deploy hv-ves k8s-hv-ves.yaml k8s-hv_ves-inputs.yaml
+ deploy holmes_rules k8s-holmes-rules.yaml k8s-holmes_rules-inputs.yaml
+ set +e
+ set +e
+ cm_hasany 'blueprints?id=hv-ves'
+ cm_hasany 'blueprints?id=holmes_rules'
++ /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=tcagen2&_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
++ /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=holmes_rules&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b hv-ves /blueprints/k8s-hv-ves.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b 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 ves-tls /blueprints/k8s-ves.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-prh.yaml...
Uploading blueprint /blueprints/k8s-hv-ves.yaml...
k8s-prh.yaml |#######################---------------------------------| 41.44%
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%Uploading blueprint /blueprints/k8s-ves.yaml...
Uploading blueprint /blueprints/k8s-tcagen2.yaml...
k8s-ves.yaml |#######################---------------------------------| 41.44%
k8s-ves.yaml |##############################################----------| 82.88%
k8s-ves.yaml |########################################################| 100.0%Uploading blueprint /blueprints/k8s-holmes-rules.yaml...
k8s-tcagen2.yaml |######################------------------------------| 41.42%
k8s-tcagen2.yaml |###########################################---------| 82.85%
k8s-tcagen2.yaml |####################################################| 100.0%
k8s-holmes-rules.... |####################----------------------------| 41.41%
k8s-holmes-rules.... |########################################--------| 82.83%
k8s-holmes-rules.... |################################################| 100.0%
Blueprint uploaded. The blueprint's id is prh
+ 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-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=hv-ves'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=hv-ves&_include=id'
++ /bin/jq .metadata.pagination.total
Blueprint uploaded. The blueprint's id is 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
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-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
Blueprint uploaded. The blueprint's id is ves-tls
+ 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=ves-tls'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=ves-tls&_include=id'
++ /bin/jq .metadata.pagination.total
Blueprint uploaded. The blueprint's id is holmes_rules
+ 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
+ cm_hasany 'deployments?id=holmes_rules'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=holmes_rules&_include=id'
Creating new deployment from blueprint prh...
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ 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
Deployment created. The deployment's id is prh
Creating new deployment from blueprint hv-ves...
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ 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
Creating new deployment from blueprint tcagen2...
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d prh install
Creating new deployment from blueprint ves-tls...
Creating new deployment from blueprint 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
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
Executing workflow `install` on deployment `prh` [timeout=900 seconds]
Deployment created. The deployment's id is tcagen2
+ cm_hasany 'node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted&_include=id'
Deployment environment creation is pending...
+ 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
/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]
Deployment created. The deployment's id is ves-tls
+ cm_hasany 'node-instances?deployment_id=ves-tls&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=ves-tls&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
Deployment environment creation is pending...
Deployment environment creation is pending...
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d ves-tls 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
Deployment created. The deployment's id is holmes_rules
+ cm_hasany 'node-instances?deployment_id=holmes_rules&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=holmes_rules&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
Executing workflow `install` on deployment `ves-tls` [timeout=900 seconds]
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_rules install
Deployment environment creation is pending...
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Executing workflow `install` on deployment `holmes_rules` [timeout=900 seconds]
Deployment environment creation is pending...
2021-04-04 02:08:01.487 CFY Starting 'create_deployment_environment' workflow execution
2021-04-04 02:08:01.565 CFY Installing deployment and workflow plugins
2021-04-04 02:08:01.661 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:01.683 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:04.693 CFY Starting 'create_deployment_environment' workflow execution
2021-04-04 02:08:04.698 CFY Installing deployment and workflow plugins
2021-04-04 02:08:05.280 CFY Starting 'create_deployment_environment' workflow execution
2021-04-04 02:08:05.285 CFY Installing deployment and workflow plugins
2021-04-04 02:08:05.384 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:07.376 CFY Starting 'create_deployment_environment' workflow execution
2021-04-04 02:08:07.382 CFY Installing deployment and workflow plugins
2021-04-04 02:08:05.563 LOG INFO: Installing plugin: k8s
2021-04-04 02:08:07.588 LOG INFO: Using existing installation of managed plugin: c79c3e12-a4b1-4f65-954c-55a1cf463cba [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:08:07.590 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:07.705 CFY Creating deployment work directory
2021-04-04 02:08:08.087 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-04 02:08:04.797 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:04.812 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:07.685 LOG INFO: Installing plugin: k8s
2021-04-04 02:08:05.411 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:08.993 LOG INFO: Installing plugin: k8s
2021-04-04 02:08:07.279 CFY Starting 'create_deployment_environment' workflow execution
2021-04-04 02:08:07.284 CFY Installing deployment and workflow plugins
2021-04-04 02:08:07.384 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:07.392 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:07.481 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:07.504 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:10.793 LOG INFO: Installing plugin: pgaas
2021-04-04 02:08:09.578 LOG INFO: Using existing installation of managed plugin: c79c3e12-a4b1-4f65-954c-55a1cf463cba [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:08:09.579 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:09.692 CFY Creating deployment work directory
2021-04-04 02:08:10.267 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-04 02:08:11.195 LOG INFO: Using existing installation of managed plugin: c79c3e12-a4b1-4f65-954c-55a1cf463cba [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:08:11.196 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:11.285 CFY Creating deployment work directory
2021-04-04 02:08:11.675 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-04 02:08:10.415 LOG INFO: Installing plugin: k8s
2021-04-04 02:08:12.003 LOG INFO: Using existing installation of managed plugin: c79c3e12-a4b1-4f65-954c-55a1cf463cba [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:08:12.004 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:12.069 CFY Creating deployment work directory
2021-04-04 02:08:12.374 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-04 02:08:13.304 CFY Starting 'install' workflow execution
2021-04-04 02:08:12.203 LOG INFO: Using existing installation of managed plugin: 4944b529-5ad4-489c-8c6d-c6460b31b149 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:08:12.204 LOG INFO: Installing plugin: k8s
2021-04-04 02:08:13.186 LOG INFO: Using existing installation of managed plugin: c79c3e12-a4b1-4f65-954c-55a1cf463cba [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:08:13.187 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-04 02:08:13.301 CFY Creating deployment work directory
2021-04-04 02:08:13.601 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-04 02:08:17.495 CFY Starting 'install' workflow execution
2021-04-04 02:08:14.209 CFY [prh_48zu9e] Validating node instance before creation: nothing to do
2021-04-04 02:08:14.560 CFY [prh_48zu9e] Precreating node instance: nothing to do
2021-04-04 02:08:15.184 CFY [prh_48zu9e] Creating node instance
2021-04-04 02:08:15.493 CFY [prh_48zu9e.create] Sending task 'k8splugin.create_for_components'
2021-04-04 02:08:19.310 CFY Starting 'install' workflow execution
2021-04-04 02:08:20.504 CFY [docker.tca_7ziq6n] Validating node instance before creation: nothing to do
2021-04-04 02:08:20.614 CFY [docker.tca_7ziq6n] Precreating node instance: nothing to do
2021-04-04 02:08:19.338 CFY [hv-ves_zm1xoz] Validating node instance before creation: nothing to do
2021-04-04 02:08:19.517 CFY [hv-ves_zm1xoz] Precreating node instance: nothing to do
2021-04-04 02:08:20.101 CFY [hv-ves_zm1xoz] Creating node instance
2021-04-04 02:08:20.478 CFY [hv-ves_zm1xoz.create] Sending task 'k8splugin.create_for_components'
2021-04-04 02:08:21.015 CFY Starting 'install' workflow execution
2021-04-04 02:08:22.580 CFY [ves_ag7fcg] Validating node instance before creation: nothing to do
2021-04-04 02:08:22.809 CFY [ves_ag7fcg] Precreating node instance: nothing to do
2021-04-04 02:08:21.066 CFY Starting 'install' workflow execution
2021-04-04 02:08:22.695 CFY [pgaasvm_fsw864] Validating node instance before creation: nothing to do
2021-04-04 02:08:22.910 CFY [pgaasvm_fsw864] Precreating node instance: nothing to do
2021-04-04 02:08:23.687 CFY [pgaasvm_fsw864] Creating node instance
2021-04-04 02:08:21.004 CFY [docker.tca_7ziq6n] Creating node instance
2021-04-04 02:08:21.361 CFY [docker.tca_7ziq6n.create] Sending task 'k8splugin.create_for_components'
2021-04-04 02:08:23.670 CFY [ves_ag7fcg] Creating node instance
2021-04-04 02:08:24.049 CFY [ves_ag7fcg.create] Sending task 'k8splugin.create_for_components'
2021-04-04 02:08:24.161 CFY [pgaasvm_fsw864.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-04 02:08:28.036 LOG [pgaasvm_fsw864.create] WARNING: create_database(holmes)
2021-04-04 02:08:31.731 LOG [hv-ves_zm1xoz.create] INFO: Added config for dcae-hv-ves-collector
2021-04-04 02:08:31.731 LOG [ves_ag7fcg.create] INFO: Added config for dcae-ves-collector
2021-04-04 02:08:31.761 LOG [ves_ag7fcg.create] INFO: Done setting up: dcae-ves-collector
2021-04-04 02:08:32.673 CFY [ves_ag7fcg.create] Task succeeded 'k8splugin.create_for_components'
2021-04-04 02:08:33.196 CFY [ves_ag7fcg] Node instance created
2021-04-04 02:08:31.607 LOG [pgaasvm_fsw864.create] WARNING: All done
2021-04-04 02:08:32.802 CFY [pgaasvm_fsw864.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-04 02:08:32.869 CFY [pgaasvm_fsw864] Node instance created
2021-04-04 02:08:31.724 LOG [docker.tca_7ziq6n.create] INFO: Added config for dcae-tcagen2
2021-04-04 02:08:31.724 LOG [docker.tca_7ziq6n.create] INFO: Done setting up: dcae-tcagen2
2021-04-04 02:08:32.786 CFY [docker.tca_7ziq6n.create] Task succeeded 'k8splugin.create_for_components'
2021-04-04 02:08:33.386 CFY [docker.tca_7ziq6n] Node instance created
2021-04-04 02:08:33.580 CFY [docker.tca_7ziq6n] Configuring node instance: nothing to do
2021-04-04 02:08:33.910 CFY [docker.tca_7ziq6n] Starting node instance
2021-04-04 02:08:34.655 CFY [docker.tca_7ziq6n.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:08:31.731 LOG [hv-ves_zm1xoz.create] INFO: Done setting up: dcae-hv-ves-collector
2021-04-04 02:08:32.594 CFY [hv-ves_zm1xoz.create] Task succeeded 'k8splugin.create_for_components'
2021-04-04 02:08:32.978 CFY [hv-ves_zm1xoz] Node instance created
2021-04-04 02:08:33.211 CFY [hv-ves_zm1xoz] Configuring node instance: nothing to do
2021-04-04 02:08:34.088 CFY [hv-ves_zm1xoz] Starting node instance
2021-04-04 02:08:34.493 CFY [hv-ves_zm1xoz.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:08:31.762 LOG [prh_48zu9e.create] INFO: Added config for dcae-prh
2021-04-04 02:08:31.762 LOG [prh_48zu9e.create] INFO: Done setting up: dcae-prh
2021-04-04 02:08:32.770 CFY [prh_48zu9e.create] Task succeeded 'k8splugin.create_for_components'
2021-04-04 02:08:32.888 CFY [prh_48zu9e] Node instance created
2021-04-04 02:08:33.893 CFY [prh_48zu9e] Configuring node instance: nothing to do
2021-04-04 02:08:34.514 CFY [prh_48zu9e] Starting node instance
2021-04-04 02:08:34.737 CFY [prh_48zu9e.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:08:33.460 CFY [ves_ag7fcg] Configuring node instance: nothing to do
2021-04-04 02:08:34.080 CFY [ves_ag7fcg] Starting node instance
2021-04-04 02:08:34.381 CFY [ves_ag7fcg.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:08:33.793 CFY [pgaasvm_fsw864] Configuring node instance: nothing to do
2021-04-04 02:08:34.110 CFY [pgaasvm_fsw864] Starting node instance: nothing to do
2021-04-04 02:08:34.377 CFY [pgaasvm_fsw864] Poststarting node instance: nothing to do
2021-04-04 02:08:34.595 CFY [pgaasvm_fsw864] Node instance started
2021-04-04 02:08:35.189 CFY [holmesrules_ylw6de] Validating node instance before creation: nothing to do
2021-04-04 02:08:35.262 CFY [holmesrules_ylw6de] Precreating node instance: nothing to do
2021-04-04 02:08:35.373 CFY [holmesrules_ylw6de] Creating node instance
2021-04-04 02:08:35.731 CFY [holmesrules_ylw6de.create] Sending task 'k8splugin.create_for_components'
2021-04-04 02:08:41.786 LOG [docker.tca_7ziq6n.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_7ziq6n', 'cfynode': u'docker.tca'}, 'external_cert': {u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'ca_name': u'RA', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/logs/dcae-analytics-tca'}, 'ports': [u'9091:0'], 'k8s_location': u'central'}
2021-04-04 02:08:41.787 LOG [docker.tca_7ziq6n.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-04 02:08:41.882 LOG [hv-ves_zm1xoz.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_zm1xoz', 'cfynode': u'hv-ves'}, 'external_cert': {u'ca_name': u'RA', u'external_certificate_parameters': {u'common_name': u'dcae-hv-ves-collector', u'sans': u'dcae-hv-ves-collector:hv-ves-collector:hv-ves'}, u'cert_type': u'JKS', u'external_cert_directory': u'/etc/ves-hv/ssl', u'use_external_tls': False}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/var/log/ONAP/dcae-hv-ves-collector'}, 'ports': [u'6061:30222'], 'k8s_location': u'central'}
2021-04-04 02:08:41.798 LOG [ves_ag7fcg.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_ag7fcg', '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-04 02:08:41.798 LOG [ves_ag7fcg.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-04 02:08:41.878 LOG [ves_ag7fcg.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-04 02:08:42.180 LOG [ves_ag7fcg.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-04 02:08:42.181 LOG [ves_ag7fcg.start] INFO: Waiting up to 1800 secs for dcae-ves-collector to become ready
2021-04-04 02:08:43.662 LOG [holmesrules_ylw6de.create] INFO: Added config for holmes-rule-mgmt
2021-04-04 02:08:43.662 LOG [holmesrules_ylw6de.create] INFO: Done setting up: holmes-rule-mgmt
2021-04-04 02:08:41.864 LOG [docker.tca_7ziq6n.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-04 02:08:42.158 LOG [docker.tca_7ziq6n.start] INFO: k8s deployment initiated successfully for dcae-tcagen2: {'services': ['dcae-tcagen2'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-tcagen2'}
2021-04-04 02:08:42.158 LOG [docker.tca_7ziq6n.start] INFO: Waiting up to 1800 secs for dcae-tcagen2 to become ready
2021-04-04 02:08:41.882 LOG [hv-ves_zm1xoz.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-04 02:08:41.896 LOG [hv-ves_zm1xoz.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-04 02:08:42.210 LOG [hv-ves_zm1xoz.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-04 02:08:42.211 LOG [hv-ves_zm1xoz.start] INFO: Waiting up to 1800 secs for dcae-hv-ves-collector to become ready
2021-04-04 02:08:43.020 LOG [prh_48zu9e.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_48zu9e', '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-04 02:08:43.020 LOG [prh_48zu9e.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-04 02:08:43.393 LOG [prh_48zu9e.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-04 02:08:43.474 LOG [prh_48zu9e.start] INFO: k8s deployment initiated successfully for dcae-prh: {'services': ['dcae-prh'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-prh'}
2021-04-04 02:08:43.474 LOG [prh_48zu9e.start] INFO: Waiting up to 1800 secs for dcae-prh to become ready
2021-04-04 02:08:44.391 CFY [holmesrules_ylw6de.create] Task succeeded 'k8splugin.create_for_components'
2021-04-04 02:08:44.651 CFY [holmesrules_ylw6de] Node instance created
2021-04-04 02:08:44.795 CFY [holmesrules_ylw6de] Configuring node instance: nothing to do
2021-04-04 02:08:45.033 CFY [holmesrules_ylw6de] Starting node instance
2021-04-04 02:08:45.151 CFY [holmesrules_ylw6de.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:08:48.587 LOG [holmesrules_ylw6de.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'f430eda52f3dd030d0d21e2c59c71eb49696795eb3afd941d70c6adaec6b479c'}, 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'f430eda52f3dd030d0d21e2c59c71eb49696795eb3afd941d70c6adaec6b479c'}, 'labels': {'cfydeployment': u'holmes_rules', 'cfynodeinstance': u'holmesrules_ylw6de', 'cfynode': u'holmesrules'}, 'external_cert': {u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'ca_name': u'RA', u'use_external_tls': False}, 'resource_config': {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-04 02:08:48.587 LOG [holmesrules_ylw6de.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-04 02:08:48.598 LOG [holmesrules_ylw6de.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-04 02:08:48.688 LOG [holmesrules_ylw6de.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-04 02:08:48.689 LOG [holmesrules_ylw6de.start] INFO: Waiting up to 1800 secs for holmes-rule-mgmt to become ready
2021-04-04 02:10:12.174 LOG [prh_48zu9e.start] INFO: k8s deployment is ready for: dcae-prh
2021-04-04 02:10:12.175 LOG [prh_48zu9e.start] INFO: Done starting: dcae-prh
2021-04-04 02:10:12.844 CFY [prh_48zu9e.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:10:12.897 CFY [prh_48zu9e] Poststarting node instance: nothing to do
2021-04-04 02:10:13.242 CFY [prh_48zu9e] Node instance started
2021-04-04 02:10:13.591 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment prh
* Run 'cfy events list f7a0be8d-a72a-45e0-b5bd-d5d19986baf3' to retrieve the execution's events/logs
2021-04-04 02:10:27.446 LOG [ves_ag7fcg.start] INFO: k8s deployment is ready for: dcae-ves-collector
2021-04-04 02:10:27.446 LOG [ves_ag7fcg.start] INFO: Done starting: dcae-ves-collector
2021-04-04 02:10:28.153 CFY [ves_ag7fcg.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:10:28.215 CFY [ves_ag7fcg] Poststarting node instance: nothing to do
2021-04-04 02:10:28.460 CFY [ves_ag7fcg] Node instance started
2021-04-04 02:10:28.637 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment ves-tls
* Run 'cfy events list 72cec73e-f29b-4c9e-9062-76bf75d7d1d4' to retrieve the execution's events/logs
2021-04-04 02:10:43.079 LOG [holmesrules_ylw6de.start] INFO: k8s deployment is ready for: holmes-rule-mgmt
2021-04-04 02:10:43.079 LOG [holmesrules_ylw6de.start] INFO: Done starting: holmes-rule-mgmt
2021-04-04 02:10:43.401 CFY [holmesrules_ylw6de.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:10:43.466 CFY [holmesrules_ylw6de] Poststarting node instance: nothing to do
2021-04-04 02:10:43.543 CFY [holmesrules_ylw6de] Node instance started
2021-04-04 02:10:43.970 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment holmes_rules
* Run 'cfy events list fd9882f2-cc39-4449-bb9b-410f484143e1' 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'
++ /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_engine&_include=id'
+ 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-04 02:10:53.142 CFY Starting 'create_deployment_environment' workflow execution
2021-04-04 02:10:53.147 CFY Installing deployment and workflow plugins
2021-04-04 02:10:53.246 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-04 02:10:53.261 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-04 02:10:54.266 LOG INFO: Installing plugin: pgaas
2021-04-04 02:10:55.008 LOG INFO: Using existing installation of managed plugin: 4944b529-5ad4-489c-8c6d-c6460b31b149 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:10:55.008 LOG INFO: Installing plugin: k8s
2021-04-04 02:10:55.670 LOG INFO: Using existing installation of managed plugin: c79c3e12-a4b1-4f65-954c-55a1cf463cba [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-04 02:10:55.672 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-04 02:10:55.786 CFY Creating deployment work directory
2021-04-04 02:10:56.047 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-04 02:11:01.225 CFY Starting 'install' workflow execution
2021-04-04 02:11:01.825 CFY [pgaasvm_c4e4v0] Validating node instance before creation: nothing to do
2021-04-04 02:11:01.883 CFY [pgaasvm_c4e4v0] Precreating node instance: nothing to do
2021-04-04 02:11:02.121 CFY [pgaasvm_c4e4v0] Creating node instance
2021-04-04 02:11:02.248 CFY [pgaasvm_c4e4v0.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-04 02:11:05.005 LOG [pgaasvm_c4e4v0.create] WARNING: create_database(holmes)
2021-04-04 02:11:05.861 CFY [pgaasvm_c4e4v0.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-04 02:11:06.060 CFY [pgaasvm_c4e4v0] Node instance created
2021-04-04 02:11:06.216 CFY [pgaasvm_c4e4v0] Configuring node instance: nothing to do
2021-04-04 02:11:06.300 CFY [pgaasvm_c4e4v0] Starting node instance: nothing to do
2021-04-04 02:11:06.408 CFY [pgaasvm_c4e4v0] Poststarting node instance: nothing to do
2021-04-04 02:11:06.632 CFY [pgaasvm_c4e4v0] Node instance started
2021-04-04 02:11:06.980 CFY [holmesengine_ss59kh] Validating node instance before creation: nothing to do
2021-04-04 02:11:07.091 CFY [holmesengine_ss59kh] Precreating node instance: nothing to do
2021-04-04 02:11:07.199 CFY [holmesengine_ss59kh] Creating node instance
2021-04-04 02:11:07.446 CFY [holmesengine_ss59kh.create] Sending task 'k8splugin.create_for_components'
2021-04-04 02:11:09.787 LOG [hv-ves_zm1xoz.start] INFO: k8s deployment is ready for: dcae-hv-ves-collector
2021-04-04 02:11:09.787 LOG [hv-ves_zm1xoz.start] INFO: Done starting: dcae-hv-ves-collector
2021-04-04 02:11:11.609 LOG [docker.tca_7ziq6n.start] INFO: k8s deployment is ready for: dcae-tcagen2
2021-04-04 02:11:11.610 LOG [docker.tca_7ziq6n.start] INFO: Done starting: dcae-tcagen2
2021-04-04 02:11:12.678 CFY [docker.tca_7ziq6n.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:11:12.761 CFY [docker.tca_7ziq6n] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-04 02:11:10.619 CFY [hv-ves_zm1xoz.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:11:10.632 CFY [hv-ves_zm1xoz] Poststarting node instance: nothing to do
2021-04-04 02:11:10.760 CFY [hv-ves_zm1xoz] Node instance started
2021-04-04 02:11:11.252 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment hv-ves
* Run 'cfy events list 3ac28e60-c4f3-4556-b521-aae537995519' to retrieve the execution's events/logs
2021-04-04 02:11:13.538 LOG [holmesengine_ss59kh.create] INFO: Added config for holmes-engine-mgmt
2021-04-04 02:11:13.538 LOG [holmesengine_ss59kh.create] INFO: Done setting up: holmes-engine-mgmt
2021-04-04 02:11:14.197 CFY [holmesengine_ss59kh.create] Task succeeded 'k8splugin.create_for_components'
2021-04-04 02:11:14.232 CFY [holmesengine_ss59kh] Node instance created
2021-04-04 02:11:14.440 CFY [holmesengine_ss59kh] Configuring node instance: nothing to do
2021-04-04 02:11:14.543 CFY [holmesengine_ss59kh] Starting node instance
2021-04-04 02:11:14.800 CFY [holmesengine_ss59kh.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-04 02:11:13.070 CFY [docker.tca_7ziq6n] Node instance started
2021-04-04 02:11:13.338 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment tcagen2
* Run 'cfy events list f4a7f16d-c49f-4a20-aa06-76ef87fc4a3a' to retrieve the execution's events/logs
2021-04-04 02:11:18.690 LOG [holmesengine_ss59kh.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'f430eda52f3dd030d0d21e2c59c71eb49696795eb3afd941d70c6adaec6b479c'}, 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'f430eda52f3dd030d0d21e2c59c71eb49696795eb3afd941d70c6adaec6b479c'}, 'labels': {'cfydeployment': u'holmes_engine', 'cfynodeinstance': u'holmesengine_ss59kh', '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'external_cert_directory': u'/opt/app/dcae-certificate/external', u'ca_name': u'RA'}, '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-04 02:11:18.691 LOG [holmesengine_ss59kh.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-04 02:11:18.702 LOG [holmesengine_ss59kh.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-04 02:11:18.831 LOG [holmesengine_ss59kh.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-04 02:11:18.831 LOG [holmesengine_ss59kh.start] INFO: Waiting up to 1800 secs for holmes-engine-mgmt to become ready
2021-04-04 02:12:21.665 LOG [holmesengine_ss59kh.start] INFO: k8s deployment is ready for: holmes-engine-mgmt
2021-04-04 02:12:21.665 LOG