By type
+ trap keep_running ERR
+ set -e
+ cfy profiles use -u admin -t default_tenant -p UmH7vbj6 --rest-certificate /certs/cacert.pem --ssl dcae-cloudify-manager
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Initializing local profile ...
Initialization completed successfully
Attempting to connect to dcae-cloudify-manager through port 443, using https (SSL mode: True)...
Initializing profile dcae-cloudify-manager...
Initialization completed successfully
Using manager dcae-cloudify-manager with port 443
+ cfy status
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Retrieving manager services status... [ip=dcae-cloudify-manager]
Services:
+--------------------------------+--------+
| service | status |
+--------------------------------+--------+
| Cloudify Console | Active |
| PostgreSQL | Active |
| AMQP-Postgres | Active |
| Manager Rest-Service | Active |
| RabbitMQ | Active |
| Webserver | Active |
| Management Worker | Active |
+--------------------------------+--------+
+ cfy secret create -s UmH7vbj6 cmpass
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Secret `cmpass` created
+ for config in '/dcae-configs/*.json'
++ basename /dcae-configs/dmaap-plugin.json .json
+ key=dmaap-plugin
+ egrep -v '^#|^$' /dcae-configs/dmaap-plugin.json
+ curl -v -X PUT -H 'Content-Type: application/json' --data-binary @/tmp/dcae-upload consul-server:8500/v1/kv/dmaap-plugin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to consul-server port 8500 (#0)
* Trying 10.233.68.26...
* Connected to consul-server (10.233.68.26) 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: Thu, 22 Apr 2021 02:30:51 GMT
< Content-Length: 4
<
{ [data not shown]
100 124 100 4 100 120 5 158 --:--:-- --:--:-- --:--:-- 158
* Connection #0 to host consul-server left intact
+ for config in '/dcae-configs/*.json'
++ basename /dcae-configs/k8s-plugin.json .json
+ key=k8s-plugin
+ egrep -v '^#|^$' /dcae-configs/k8s-plugin.json
+ curl -v -X PUT -H 'Content-Type: application/json' --data-binary @/tmp/dcae-upload consul-server:8500/v1/kv/k8s-plugin
% Total % Received % Xferd Average Speed Time Time Time Current
Dload Upload Total Spent Left Speed
0 0 0 0 0 0 0 0 --:--:-- --:--:-- --:--:-- 0* About to connect() to consul-server port 8500 (#0)
* Trying 10.233.68.26...
* Connected to consul-server (10.233.68.26) 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]
100 1514 0 0 100 1514 0 1503 0:00:01 0:00:01 --:--:-- 1504< HTTP/1.1 200 OK
< Content-Type: application/json
< Date: Thu, 22 Apr 2021 02:30:53 GMT
< Content-Length: 4
<
{ [data not shown]
100 1518 100 4 100 1514 2 809 0:00:02 0:00:01 0:00:01 809
* 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-22 02:31:00.559 CFY Starting 'create_deployment_environment' workflow execution
2021-04-22 02:31:00.564 CFY Installing deployment and workflow plugins
2021-04-22 02:31:00.663 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:00.679 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:01.707 LOG INFO: Installing plugin: pgaas
2021-04-22 02:31:02.437 LOG INFO: Using existing installation of managed plugin: d9a7671e-b1d2-4f2d-8726-6b41689e2f17 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:31:02.437 LOG INFO: Installing plugin: ssh_keyshare
2021-04-22 02:31:09.711 CFY Starting 'install' workflow execution
2021-04-22 02:31:10.285 CFY [sharedsshkey_pgrs_cjjgcb] Validating node instance before creation: nothing to do
2021-04-22 02:31:10.400 CFY [sharedsshkey_pgrs_cjjgcb] Precreating node instance: nothing to do
2021-04-22 02:31:10.484 CFY [sharedsshkey_pgrs_cjjgcb] Creating node instance
2021-04-22 02:31:10.838 CFY [sharedsshkey_pgrs_cjjgcb.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-04-22 02:31:15.094 CFY [sharedsshkey_pgrs_cjjgcb.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-04-22 02:31:15.331 CFY [sharedsshkey_pgrs_cjjgcb] Node instance created
2021-04-22 02:31:15.491 CFY [sharedsshkey_pgrs_cjjgcb] Configuring node instance: nothing to do
2021-04-22 02:31:15.554 CFY [sharedsshkey_pgrs_cjjgcb] Starting node instance: nothing to do
2021-04-22 02:31:15.660 CFY [sharedsshkey_pgrs_cjjgcb] Poststarting node instance: nothing to do
2021-04-22 02:31:15.911 CFY [sharedsshkey_pgrs_cjjgcb] Node instance started
2021-04-22 02:31:16.290 CFY [pgaas_cluster_3qxlda] Validating node instance before creation: nothing to do
2021-04-22 02:31:16.362 CFY [pgaas_cluster_3qxlda] Precreating node instance: nothing to do
2021-04-22 02:31:16.618 CFY [pgaas_cluster_3qxlda] Creating node instance
2021-04-22 02:31:16.825 CFY [pgaas_cluster_3qxlda.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-22 02:31:20.974 LOG [pgaas_cluster_3qxlda.create] WARNING: add_pgaas_cluster() invoked
2021-04-22 02:31:21.210 LOG [pgaas_cluster_3qxlda.create] WARNING: All done
2021-04-22 02:31:22.007 CFY [pgaas_cluster_3qxlda.create] Task succeeded 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-04-22 02:31:22.199 CFY [pgaas_cluster_3qxlda] Node instance created
2021-04-22 02:31:22.356 CFY [pgaas_cluster_3qxlda] Configuring node instance: nothing to do
2021-04-22 02:31:22.528 CFY [pgaas_cluster_3qxlda] Starting node instance: nothing to do
2021-04-22 02:31:22.617 CFY [pgaas_cluster_3qxlda] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-22 02:31:22.907 CFY [pgaas_cluster_3qxlda] Node instance started
2021-04-22 02:31:23.273 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment pgaas_initdb
* Run 'cfy events list fe40b8f1-51bb-4e02-821b-c4fdf9ed3eb7' to retrieve the execution's events/logs
+ deploy tcagen2 k8s-tcagen2.yaml k8s-tcagen2-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=tcagen2'
+ deploy ves-tls k8s-ves.yaml k8s-ves-inputs-tls.yaml
+ set +e
+ cm_hasany 'blueprints?id=ves-tls'
+ deploy prh k8s-prh.yaml k8s-prh-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=prh'
+ deploy holmes_rules k8s-holmes-rules.yaml k8s-holmes_rules-inputs.yaml
+ set +e
+ deploy hv-ves k8s-hv-ves.yaml k8s-hv_ves-inputs.yaml
+ cm_hasany 'blueprints?id=holmes_rules'
+ set +e
+ cm_hasany 'blueprints?id=hv-ves'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=tcagen2&_include=id'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=ves-tls&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=prh&_include=id'
++ /bin/jq .metadata.pagination.total
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=hv-ves&_include=id'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=holmes_rules&_include=id'
++ /bin/jq .metadata.pagination.total
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b holmes_rules /blueprints/k8s-holmes-rules.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 prh /blueprints/k8s-prh.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b ves-tls /blueprints/k8s-ves.yaml
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b hv-ves /blueprints/k8s-hv-ves.yaml
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Uploading blueprint /blueprints/k8s-prh.yaml...
k8s-prh.yaml |#######################---------------------------------| 41.44%
k8s-prh.yaml |##############################################----------| 82.87%
k8s-prh.yaml |########################################################| 100.0%Uploading blueprint /blueprints/k8s-tcagen2.yaml...
Uploading blueprint /blueprints/k8s-holmes-rules.yaml...
Uploading blueprint /blueprints/k8s-hv-ves.yaml...
Uploading blueprint /blueprints/k8s-ves.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%
k8s-hv-ves.yaml |######################-------------------------------| 41.43%
k8s-hv-ves.yaml |############################################---------| 82.85%
k8s-hv-ves.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 prh
Blueprint uploaded. The blueprint's id is tcagen2
+ cm_hasany 'deployments?id=prh'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=prh&_include=id'
++ /bin/jq .metadata.pagination.total
+ 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 ves-tls
+ cm_hasany 'deployments?id=hv-ves'
++ /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=hv-ves&_include=id'
+ 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
Blueprint uploaded. The blueprint's id is holmes_rules
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-tcagen2-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-tcagen2-inputs.yaml
+ cfy deployments create -b tcagen2 -i/inputs/k8s-tcagen2-inputs.yaml tcagen2
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-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-ves-inputs-tls.yaml ']'
+ INPUTS=-i/inputs/k8s-ves-inputs-tls.yaml
+ cfy deployments create -b ves-tls -i/inputs/k8s-ves-inputs-tls.yaml ves-tls
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-holmes_rules-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-holmes_rules-inputs.yaml
+ cfy deployments create -b holmes_rules -i/inputs/k8s-holmes_rules-inputs.yaml holmes_rules
/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 prh...
Creating new deployment from blueprint tcagen2...
Creating new deployment from blueprint hv-ves...
Creating new deployment from blueprint ves-tls...
Creating new deployment from blueprint holmes_rules...
Deployment created. The deployment's id is prh
+ cm_hasany 'node-instances?deployment_id=prh&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=prh&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d prh 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 `prh` [timeout=900 seconds]
Deployment created. The deployment's id is tcagen2
+ cm_hasany 'node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=tcagen2&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
Deployment environment creation is pending...
Deployment created. The deployment's id is hv-ves
Deployment created. The deployment's id is holmes_rules
Deployment created. The deployment's id is ves-tls
+ cm_hasany 'node-instances?deployment_id=holmes_rules&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=holmes_rules&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ cm_hasany 'node-instances?deployment_id=hv-ves&state=uninitialized&state=deleted'
+ 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=hv-ves&state=uninitialized&state=deleted&_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/node-instances?deployment_id=ves-tls&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d 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
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_rules install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d hv-ves install
+ COUNT=1
+ (( 1 > 0 ))
+ return 0
+ cfy executions start -d ves-tls install
Executing workflow `install` on deployment `tcagen2` [timeout=900 seconds]
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Deployment environment creation is pending...
/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 `holmes_rules` [timeout=900 seconds]
Executing workflow `install` on deployment `ves-tls` [timeout=900 seconds]
Deployment environment creation is pending...
Deployment environment creation is pending...
Deployment environment creation is pending...
2021-04-22 02:31:42.013 CFY Starting 'create_deployment_environment' workflow execution
2021-04-22 02:31:42.019 CFY Installing deployment and workflow plugins
2021-04-22 02:31:42.119 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:42.007 CFY Starting 'create_deployment_environment' workflow execution
2021-04-22 02:31:42.014 CFY Installing deployment and workflow plugins
2021-04-22 02:31:42.113 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:42.128 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:44.828 CFY Starting 'create_deployment_environment' workflow execution
2021-04-22 02:31:44.834 CFY Installing deployment and workflow plugins
2021-04-22 02:31:44.834 CFY Starting 'create_deployment_environment' workflow execution
2021-04-22 02:31:44.902 CFY Installing deployment and workflow plugins
2021-04-22 02:31:44.913 CFY Starting 'create_deployment_environment' workflow execution
2021-04-22 02:31:44.918 CFY Installing deployment and workflow plugins
2021-04-22 02:31:45.019 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:42.146 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:45.606 LOG INFO: Installing plugin: k8s
2021-04-22 02:31:45.424 LOG INFO: Installing plugin: k8s
2021-04-22 02:31:44.933 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:44.948 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:48.332 LOG INFO: Installing plugin: k8s
2021-04-22 02:31:44.999 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:45.002 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:48.435 LOG INFO: Installing plugin: k8s
2021-04-22 02:31:45.048 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:48.412 LOG INFO: Installing plugin: pgaas
2021-04-22 02:31:48.032 LOG INFO: Using existing installation of managed plugin: 02ba3adf-a317-46ae-bbcb-95176a032d56 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:31:48.033 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:47.938 LOG INFO: Using existing installation of managed plugin: 02ba3adf-a317-46ae-bbcb-95176a032d56 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:31:47.939 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:48.004 CFY Creating deployment work directory
2021-04-22 02:31:48.414 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-22 02:31:49.731 LOG INFO: Using existing installation of managed plugin: 02ba3adf-a317-46ae-bbcb-95176a032d56 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:31:49.732 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:49.846 CFY Creating deployment work directory
2021-04-22 02:31:50.318 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-22 02:31:49.803 LOG INFO: Using existing installation of managed plugin: 02ba3adf-a317-46ae-bbcb-95176a032d56 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:31:49.804 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:49.869 CFY Creating deployment work directory
2021-04-22 02:31:50.303 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-22 02:31:49.730 LOG INFO: Using existing installation of managed plugin: d9a7671e-b1d2-4f2d-8726-6b41689e2f17 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:31:49.731 LOG INFO: Installing plugin: k8s
2021-04-22 02:31:50.832 LOG INFO: Using existing installation of managed plugin: 02ba3adf-a317-46ae-bbcb-95176a032d56 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:31:50.833 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-22 02:31:50.947 CFY Creating deployment work directory
2021-04-22 02:31:48.148 CFY Creating deployment work directory
2021-04-22 02:31:48.524 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-22 02:31:56.321 CFY Starting 'install' workflow execution
2021-04-22 02:31:51.209 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-22 02:31:58.026 CFY [docker.tca_ndya4a] Validating node instance before creation: nothing to do
2021-04-22 02:31:58.236 CFY [docker.tca_ndya4a] Precreating node instance: nothing to do
2021-04-22 02:31:59.216 CFY Starting 'install' workflow execution
2021-04-22 02:32:00.546 CFY [hv-ves_s2lgax] Validating node instance before creation: nothing to do
2021-04-22 02:32:00.770 CFY [hv-ves_s2lgax] Precreating node instance: nothing to do
2021-04-22 02:31:59.320 CFY Starting 'install' workflow execution
2021-04-22 02:32:00.833 CFY [ves_t9pip7] Validating node instance before creation: nothing to do
2021-04-22 02:32:01.013 CFY [ves_t9pip7] Precreating node instance: nothing to do
2021-04-22 02:31:59.808 CFY Starting 'install' workflow execution
2021-04-22 02:32:01.053 CFY [prh_hgulrt] Validating node instance before creation: nothing to do
2021-04-22 02:32:01.258 CFY [prh_hgulrt] Precreating node instance: nothing to do
2021-04-22 02:32:02.463 CFY Starting 'install' workflow execution
2021-04-22 02:31:58.925 CFY [docker.tca_ndya4a] Creating node instance
2021-04-22 02:31:59.430 CFY [docker.tca_ndya4a.create] Sending task 'k8splugin.create_for_components'
2021-04-22 02:32:01.535 CFY [ves_t9pip7] Creating node instance
2021-04-22 02:32:01.822 CFY [ves_t9pip7.create] Sending task 'k8splugin.create_for_components'
2021-04-22 02:32:01.253 CFY [hv-ves_s2lgax] Creating node instance
2021-04-22 02:32:01.557 CFY [hv-ves_s2lgax.create] Sending task 'k8splugin.create_for_components'
2021-04-22 02:32:01.820 CFY [prh_hgulrt] Creating node instance
2021-04-22 02:32:02.298 CFY [prh_hgulrt.create] Sending task 'k8splugin.create_for_components'
2021-04-22 02:32:03.300 CFY [pgaasvm_jbyd6w] Validating node instance before creation: nothing to do
2021-04-22 02:32:03.520 CFY [pgaasvm_jbyd6w] Precreating node instance: nothing to do
2021-04-22 02:32:03.633 CFY [pgaasvm_jbyd6w] Creating node instance
2021-04-22 02:32:04.072 CFY [pgaasvm_jbyd6w.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-22 02:32:08.255 LOG [pgaasvm_jbyd6w.create] WARNING: create_database(holmes)
2021-04-22 02:32:11.521 LOG [pgaasvm_jbyd6w.create] WARNING: All done
2021-04-22 02:32:15.237 LOG [ves_t9pip7.create] INFO: Added config for dcae-ves-collector
2021-04-22 02:32:15.225 LOG [hv-ves_s2lgax.create] INFO: Added config for dcae-hv-ves-collector
2021-04-22 02:32:15.226 LOG [hv-ves_s2lgax.create] INFO: Done setting up: dcae-hv-ves-collector
2021-04-22 02:32:15.235 LOG [prh_hgulrt.create] INFO: Added config for dcae-prh
2021-04-22 02:32:15.235 LOG [prh_hgulrt.create] INFO: Done setting up: dcae-prh
2021-04-22 02:32:13.326 CFY [pgaasvm_jbyd6w.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-22 02:32:13.901 CFY [pgaasvm_jbyd6w] Node instance created
2021-04-22 02:32:14.181 CFY [pgaasvm_jbyd6w] Configuring node instance: nothing to do
2021-04-22 02:32:14.336 CFY [pgaasvm_jbyd6w] Starting node instance: nothing to do
2021-04-22 02:32:14.632 CFY [pgaasvm_jbyd6w] Poststarting node instance: nothing to do
2021-04-22 02:32:14.869 CFY [pgaasvm_jbyd6w] Node instance started
2021-04-22 02:32:15.317 CFY [holmesrules_xqdpdt] Validating node instance before creation: nothing to do
2021-04-22 02:32:15.619 CFY [holmesrules_xqdpdt] Precreating node instance: nothing to do
2021-04-22 02:32:15.235 LOG [docker.tca_ndya4a.create] INFO: Added config for dcae-tcagen2
2021-04-22 02:32:15.235 LOG [docker.tca_ndya4a.create] INFO: Done setting up: dcae-tcagen2
2021-04-22 02:32:15.238 LOG [ves_t9pip7.create] INFO: Done setting up: dcae-ves-collector
2021-04-22 02:32:16.131 CFY [ves_t9pip7.create] Task succeeded 'k8splugin.create_for_components'
2021-04-22 02:32:16.249 CFY [ves_t9pip7] Node instance created
2021-04-22 02:32:16.922 CFY [ves_t9pip7] Configuring node instance: nothing to do
2021-04-22 02:32:17.339 CFY [ves_t9pip7] Starting node instance
2021-04-22 02:32:17.570 CFY [ves_t9pip7.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:32:16.109 CFY [hv-ves_s2lgax.create] Task succeeded 'k8splugin.create_for_components'
2021-04-22 02:32:16.526 CFY [hv-ves_s2lgax] Node instance created
2021-04-22 02:32:16.834 CFY [hv-ves_s2lgax] Configuring node instance: nothing to do
2021-04-22 02:32:17.421 CFY [hv-ves_s2lgax] Starting node instance
2021-04-22 02:32:17.780 CFY [hv-ves_s2lgax.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:32:17.007 CFY [prh_hgulrt.create] Task succeeded 'k8splugin.create_for_components'
2021-04-22 02:32:17.441 CFY [prh_hgulrt] Node instance created
2021-04-22 02:32:17.601 CFY [prh_hgulrt] Configuring node instance: nothing to do
2021-04-22 02:32:17.841 CFY [prh_hgulrt] Starting node instance
2021-04-22 02:32:18.168 CFY [prh_hgulrt.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:32:15.700 CFY [holmesrules_xqdpdt] Creating node instance
2021-04-22 02:32:16.349 CFY [holmesrules_xqdpdt.create] Sending task 'k8splugin.create_for_components'
2021-04-22 02:32:16.609 CFY [docker.tca_ndya4a.create] Task succeeded 'k8splugin.create_for_components'
2021-04-22 02:32:16.920 CFY [docker.tca_ndya4a] Node instance created
2021-04-22 02:32:17.044 CFY [docker.tca_ndya4a] Configuring node instance: nothing to do
2021-04-22 02:32:17.212 CFY [docker.tca_ndya4a] Starting node instance
2021-04-22 02:32:17.881 CFY [docker.tca_ndya4a.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:32:28.019 LOG [ves_t9pip7.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_t9pip7', 'cfynode': u'ves'}, 'external_cert': {u'use_external_tls': False, u'external_certificate_parameters': {u'common_name': u'dcae-ves-collector', u'sans': u'dcae-ves-collector:ves-collector:ves'}, u'cert_type': u'JKS', u'external_cert_directory': u'/opt/app/dcae-certificate/', u'ca_name': u'RA'}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/app/VESCollector/logs'}, 'ports': [u'8080:0', u'8443:30417'], 'k8s_location': u'central'}
2021-04-22 02:32:28.020 LOG [ves_t9pip7.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-22 02:32:28.103 LOG [ves_t9pip7.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-22 02:32:28.669 LOG [ves_t9pip7.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-22 02:32:28.670 LOG [ves_t9pip7.start] INFO: Waiting up to 1800 secs for dcae-ves-collector to become ready
2021-04-22 02:32:28.015 LOG [hv-ves_s2lgax.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_s2lgax', 'cfynode': u'hv-ves'}, 'external_cert': {u'use_external_tls': False, u'external_certificate_parameters': {u'common_name': u'dcae-hv-ves-collector', u'sans': u'dcae-hv-ves-collector:hv-ves-collector:hv-ves'}, u'cert_type': u'JKS', u'ca_name': u'RA', u'external_cert_directory': u'/etc/ves-hv/ssl'}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/var/log/ONAP/dcae-hv-ves-collector'}, 'ports': [u'6061:30222'], 'k8s_location': u'central'}
2021-04-22 02:32:28.016 LOG [hv-ves_s2lgax.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-22 02:32:28.101 LOG [hv-ves_s2lgax.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-22 02:32:28.680 LOG [hv-ves_s2lgax.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-22 02:32:28.680 LOG [hv-ves_s2lgax.start] INFO: Waiting up to 1800 secs for dcae-hv-ves-collector to become ready
2021-04-22 02:32:28.407 LOG [prh_hgulrt.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_hgulrt', 'cfynode': u'prh'}, 'external_cert': {u'use_external_tls': False, u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'external_cert_directory': u'/opt/app/dcae-certificate/external', u'ca_name': u'RA'}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/app/prh/logs'}, 'ports': [u'8100:0'], 'k8s_location': u'central'}
2021-04-22 02:32:28.407 LOG [prh_hgulrt.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-22 02:32:28.422 LOG [prh_hgulrt.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-22 02:32:28.618 LOG [prh_hgulrt.start] INFO: k8s deployment initiated successfully for dcae-prh: {'services': ['dcae-prh'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-prh'}
2021-04-22 02:32:28.618 LOG [prh_hgulrt.start] INFO: Waiting up to 1800 secs for dcae-prh to become ready
2021-04-22 02:32:28.601 LOG [holmesrules_xqdpdt.create] INFO: Added config for holmes-rule-mgmt
2021-04-22 02:32:28.601 LOG [holmesrules_xqdpdt.create] INFO: Done setting up: holmes-rule-mgmt
2021-04-22 02:32:29.511 CFY [holmesrules_xqdpdt.create] Task succeeded 'k8splugin.create_for_components'
2021-04-22 02:32:29.615 CFY [holmesrules_xqdpdt] Node instance created
2021-04-22 02:32:29.932 CFY [holmesrules_xqdpdt] Configuring node instance: nothing to do
2021-04-22 02:32:30.015 CFY [holmesrules_xqdpdt] Starting node instance
2021-04-22 02:32:28.510 LOG [docker.tca_ndya4a.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_ndya4a', 'cfynode': u'docker.tca'}, 'external_cert': {u'use_external_tls': False, u'external_certificate_parameters': {u'common_name': u'', u'sans': u''}, u'cert_type': u'P12', u'ca_name': u'RA', u'external_cert_directory': u'/opt/app/dcae-certificate/external'}, 'resource_config': {}, 'volumes': [], 'log_info': {u'log_directory': u'/opt/logs/dcae-analytics-tca'}, 'ports': [u'9091:0'], 'k8s_location': u'central'}
2021-04-22 02:32:28.511 LOG [docker.tca_ndya4a.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-22 02:32:28.523 LOG [docker.tca_ndya4a.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-22 02:32:28.699 LOG [docker.tca_ndya4a.start] INFO: k8s deployment initiated successfully for dcae-tcagen2: {'services': ['dcae-tcagen2'], 'namespace': u'onap', 'location': u'central', 'deployment': 'dep-dcae-tcagen2'}
2021-04-22 02:32:28.700 LOG [docker.tca_ndya4a.start] INFO: Waiting up to 1800 secs for dcae-tcagen2 to become ready
2021-04-22 02:32:30.378 CFY [holmesrules_xqdpdt.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:32:34.457 LOG [holmesrules_xqdpdt.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'5ad1b4aa628316c68cac4378b7afbf50b919459bef49083adb4707fef61dc208'}, 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'5ad1b4aa628316c68cac4378b7afbf50b919459bef49083adb4707fef61dc208'}, 'labels': {'cfydeployment': u'holmes_rules', 'cfynodeinstance': u'holmesrules_xqdpdt', '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'external_cert_directory': u'/opt/app/dcae-certificate/external', u'ca_name': u'RA'}, '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-22 02:32:34.457 LOG [holmesrules_xqdpdt.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-22 02:32:34.480 LOG [holmesrules_xqdpdt.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-22 02:32:34.582 LOG [holmesrules_xqdpdt.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-22 02:32:34.582 LOG [holmesrules_xqdpdt.start] INFO: Waiting up to 1800 secs for holmes-rule-mgmt to become ready
2021-04-22 02:33:52.282 LOG [hv-ves_s2lgax.start] INFO: k8s deployment is ready for: dcae-hv-ves-collector
2021-04-22 02:33:52.282 LOG [hv-ves_s2lgax.start] INFO: Done starting: dcae-hv-ves-collector
2021-04-22 02:33:53.148 CFY [hv-ves_s2lgax.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:33:53.233 CFY [hv-ves_s2lgax] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-22 02:33:53.462 CFY [hv-ves_s2lgax] Node instance started
2021-04-22 02:33:53.821 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment hv-ves
* Run 'cfy events list 6ccd18da-b59b-4824-b97f-7923c4352e63' to retrieve the execution's events/logs
2021-04-22 02:34:00.511 LOG [docker.tca_ndya4a.start] INFO: k8s deployment is ready for: dcae-tcagen2
2021-04-22 02:34:00.511 LOG [docker.tca_ndya4a.start] INFO: Done starting: dcae-tcagen2
2021-04-22 02:34:01.373 CFY [docker.tca_ndya4a.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:34:01.446 CFY [docker.tca_ndya4a] Poststarting node instance: nothing to do
2021-04-22 02:34:01.532 CFY [docker.tca_ndya4a] Node instance started
Execution ended, waiting 3 seconds for additional log messages
2021-04-22 02:34:01.533 LOG [ves_t9pip7.start] INFO: k8s deployment is ready for: dcae-ves-collector
2021-04-22 02:34:01.533 LOG [ves_t9pip7.start] INFO: Done starting: dcae-ves-collector
2021-04-22 02:34:02.260 CFY [ves_t9pip7.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:34:02.338 CFY [ves_t9pip7] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-22 02:34:01.965 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment tcagen2
* Run 'cfy events list 6d132fec-2b0d-442f-93fa-bf0532b8d992' to retrieve the execution's events/logs
2021-04-22 02:34:02.452 CFY [ves_t9pip7] Node instance started
2021-04-22 02:34:02.965 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment ves-tls
* Run 'cfy events list 23166641-375e-463c-8081-6d37df7ec98e' to retrieve the execution's events/logs
2021-04-22 02:34:12.765 LOG [prh_hgulrt.start] INFO: k8s deployment is ready for: dcae-prh
2021-04-22 02:34:12.766 LOG [prh_hgulrt.start] INFO: Done starting: dcae-prh
2021-04-22 02:34:13.736 CFY [prh_hgulrt.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:34:13.796 CFY [prh_hgulrt] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-22 02:34:13.995 CFY [prh_hgulrt] Node instance started
2021-04-22 02:34:14.282 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment prh
* Run 'cfy events list 21edc972-7e27-4d48-802c-1c26b02527b2' to retrieve the execution's events/logs
2021-04-22 02:34:34.176 LOG [holmesrules_xqdpdt.start] INFO: k8s deployment is ready for: holmes-rule-mgmt
2021-04-22 02:34:34.176 LOG [holmesrules_xqdpdt.start] INFO: Done starting: holmes-rule-mgmt
2021-04-22 02:34:35.135 CFY [holmesrules_xqdpdt.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:34:35.219 CFY [holmesrules_xqdpdt] Poststarting node instance: nothing to do
2021-04-22 02:34:35.485 CFY [holmesrules_xqdpdt] Node instance started
2021-04-22 02:34:35.814 CFY 'install' workflow execution succeeded
Finished executing workflow install on deployment holmes_rules
* Run 'cfy events list 5bdf04ed-33e5-441f-94a2-015a34382037' to retrieve the execution's events/logs
+ deploy holmes_engine k8s-holmes-engine.yaml k8s-holmes_engine-inputs.yaml
+ set +e
+ cm_hasany 'blueprints?id=holmes_engine'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/blueprints?id=holmes_engine&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ cfy blueprints upload -b holmes_engine /blueprints/k8s-holmes-engine.yaml
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Uploading blueprint /blueprints/k8s-holmes-engine.yaml...
k8s-holmes-engine... |####################----------------------------| 41.41%
k8s-holmes-engine... |########################################--------| 82.83%
k8s-holmes-engine... |################################################| 100.0%
Blueprint uploaded. The blueprint's id is holmes_engine
+ cm_hasany 'deployments?id=holmes_engine'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/deployments?id=holmes_engine&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=0
+ (( 0 > 0 ))
+ return 1
+ INPUTS=
+ '[' -n k8s-holmes_engine-inputs.yaml ']'
+ INPUTS=-i/inputs/k8s-holmes_engine-inputs.yaml
+ cfy deployments create -b holmes_engine -i/inputs/k8s-holmes_engine-inputs.yaml holmes_engine
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Creating new deployment from blueprint holmes_engine...
Deployment created. The deployment's id is holmes_engine
+ cm_hasany 'node-instances?deployment_id=holmes_engine&state=uninitialized&state=deleted'
++ curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=holmes_engine&state=uninitialized&state=deleted&_include=id'
++ /bin/jq .metadata.pagination.total
+ COUNT=2
+ (( 2 > 0 ))
+ return 0
+ cfy executions start -d holmes_engine install
/usr/lib/python2.7/site-packages/paramiko/transport.py:33: CryptographyDeprecationWarning: Python 2 is no longer supported by the Python core team. Support for it is now deprecated in cryptography, and will be removed in a future release.
from cryptography.hazmat.backends import default_backend
Executing workflow `install` on deployment `holmes_engine` [timeout=900 seconds]
Deployment environment creation is pending...
2021-04-22 02:34:44.333 CFY Starting 'create_deployment_environment' workflow execution
2021-04-22 02:34:44.340 CFY Installing deployment and workflow plugins
2021-04-22 02:34:44.439 CFY Sending task 'cloudify_agent.operations.install_plugins'
2021-04-22 02:34:44.454 CFY Task started 'cloudify_agent.operations.install_plugins'
2021-04-22 02:34:45.560 LOG INFO: Installing plugin: pgaas
2021-04-22 02:34:46.259 LOG INFO: Using existing installation of managed plugin: d9a7671e-b1d2-4f2d-8726-6b41689e2f17 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:34:46.260 LOG INFO: Installing plugin: k8s
2021-04-22 02:34:46.991 LOG INFO: Using existing installation of managed plugin: 02ba3adf-a317-46ae-bbcb-95176a032d56 [package_name: k8splugin, package_version: 3.4.2, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-04-22 02:34:46.992 CFY Task succeeded 'cloudify_agent.operations.install_plugins'
2021-04-22 02:34:47.107 CFY Creating deployment work directory
2021-04-22 02:34:47.355 CFY 'create_deployment_environment' workflow execution succeeded
2021-04-22 02:34:53.304 CFY Starting 'install' workflow execution
2021-04-22 02:34:53.903 CFY [pgaasvm_8mzfet] Validating node instance before creation: nothing to do
2021-04-22 02:34:54.004 CFY [pgaasvm_8mzfet] Precreating node instance: nothing to do
2021-04-22 02:34:54.271 CFY [pgaasvm_8mzfet] Creating node instance
2021-04-22 02:34:54.467 CFY [pgaasvm_8mzfet.create] Sending task 'pgaas.pgaas_plugin.create_database'
2021-04-22 02:34:56.999 LOG [pgaasvm_8mzfet.create] WARNING: create_database(holmes)
2021-04-22 02:34:58.098 CFY [pgaasvm_8mzfet.create] Task succeeded 'pgaas.pgaas_plugin.create_database'
2021-04-22 02:34:58.136 CFY [pgaasvm_8mzfet] Node instance created
2021-04-22 02:34:58.445 CFY [pgaasvm_8mzfet] Configuring node instance: nothing to do
2021-04-22 02:34:58.526 CFY [pgaasvm_8mzfet] Starting node instance: nothing to do
2021-04-22 02:34:58.644 CFY [pgaasvm_8mzfet] Poststarting node instance: nothing to do
2021-04-22 02:34:58.724 CFY [pgaasvm_8mzfet] Node instance started
2021-04-22 02:34:59.448 CFY [holmesengine_849qvn] Validating node instance before creation: nothing to do
2021-04-22 02:34:59.524 CFY [holmesengine_849qvn] Precreating node instance: nothing to do
2021-04-22 02:34:59.781 CFY [holmesengine_849qvn] Creating node instance
2021-04-22 02:34:59.985 CFY [holmesengine_849qvn.create] Sending task 'k8splugin.create_for_components'
2021-04-22 02:35:06.638 LOG [holmesengine_849qvn.create] INFO: Added config for holmes-engine-mgmt
2021-04-22 02:35:06.638 LOG [holmesengine_849qvn.create] INFO: Done setting up: holmes-engine-mgmt
2021-04-22 02:35:07.362 CFY [holmesengine_849qvn.create] Task succeeded 'k8splugin.create_for_components'
2021-04-22 02:35:07.586 CFY [holmesengine_849qvn] Node instance created
2021-04-22 02:35:07.633 CFY [holmesengine_849qvn] Configuring node instance: nothing to do
2021-04-22 02:35:07.886 CFY [holmesengine_849qvn] Starting node instance
2021-04-22 02:35:08.101 CFY [holmesengine_849qvn.start] Sending task 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:35:11.896 LOG [holmesengine_849qvn.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'5ad1b4aa628316c68cac4378b7afbf50b919459bef49083adb4707fef61dc208'}, 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'5ad1b4aa628316c68cac4378b7afbf50b919459bef49083adb4707fef61dc208'}, 'labels': {'cfydeployment': u'holmes_engine', 'cfynodeinstance': u'holmesengine_849qvn', '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-22 02:35:11.896 LOG [holmesengine_849qvn.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-22 02:35:11.915 LOG [holmesengine_849qvn.start] INFO: Creating init container: TLS
* [nexus3.onap.org:10001/onap/org.onap.dcaegen2.deployments.tls-init-container:2.1.0]
2021-04-22 02:35:12.066 LOG [holmesengine_849qvn.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-22 02:35:12.066 LOG [holmesengine_849qvn.start] INFO: Waiting up to 1800 secs for holmes-engine-mgmt to become ready
2021-04-22 02:36:20.073 LOG [holmesengine_849qvn.start] INFO: k8s deployment is ready for: holmes-engine-mgmt
2021-04-22 02:36:20.074 LOG [holmesengine_849qvn.start] INFO: Done starting: holmes-engine-mgmt
2021-04-22 02:36:21.111 CFY [holmesengine_849qvn.start] Task succeeded 'k8splugin.create_and_start_container_for_components'
2021-04-22 02:36:21.220 CFY [holmesengine_849qvn] Poststarting node instance: nothing to do
Execution ended, waiting 3 seconds for additional log messages
2021-04-22 02:36:21.303 CFY [holmesengine_849qvn] Node instance started
2021-04-22 02:36:21.819 CFY