Results

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
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
Retrieving manager services status... [ip=dcae-cloudify-manager]

Services:
+--------------------------------+--------+
|            service             | status |
+--------------------------------+--------+
| Webserver                      | Active |
| Cloudify Console               | Active |
| AMQP-Postgres                  | Active |
| Management Worker              | Active |
| Manager Rest-Service           | Active |
| PostgreSQL                     | Active |
| RabbitMQ                       | Active |
| Monitoring Service             | Active |
+--------------------------------+--------+

+ cfy secret create -s UmH7vbj6 cmpass
Secret `cmpass` created
+ 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
Uploading blueprint /blueprints/k8s-pgaas-initdb.yaml...

 k8s-pgaas-initdb.... |###################-----------------------------| 38.88%
 k8s-pgaas-initdb.... |#####################################-----------| 77.76%
 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
Creating new deployment from blueprint pgaas_initdb...
Deployment created. The deployment's id is pgaas_initdb
+ cm_hasany 'node-instances?deployment_id=pgaas_initdb&state=uninitialized&state=deleted'
++ ++ /bin/jq .metadata.pagination.total
curl -Ss -H 'Tenant: default_tenant' --user admin:UmH7vbj6 --cacert /certs/cacert.pem 'https://dcae-cloudify-manager:443/api/v3.1/node-instances?deployment_id=pgaas_initdb&state=uninitialized&state=deleted&_include=id'
+ COUNT=2
+ ((  2 > 0  ))
+ return 0
+ cfy executions start -d pgaas_initdb install
Executing workflow `install` on deployment `pgaas_initdb` [timeout=900 seconds]
Deployment environment creation is pending...
2021-05-26 01:04:06.110  CFY  Starting 'create_deployment_environment' workflow execution
2021-05-26 01:04:06.116  LOG  INFO: Creating deployment work directory
2021-05-26 01:04:06.185  CFY  'create_deployment_environment' workflow execution succeeded
2021-05-26 01:04:11.161  CFY  Starting 'install' workflow execution
2021-05-26 01:04:11.596  CFY  [sharedsshkey_pgrs_p6e1mw] Validating node instance before creation: nothing to do
2021-05-26 01:04:11.599  CFY  [sharedsshkey_pgrs_p6e1mw] Precreating node instance: nothing to do
2021-05-26 01:04:11.603  CFY  [sharedsshkey_pgrs_p6e1mw] Creating node instance
2021-05-26 01:04:11.937  CFY  [sharedsshkey_pgrs_p6e1mw.create] Sending task 'sshkeyshare.keyshare_plugin.generate'
2021-05-26 01:04:12.289  LOG  [sharedsshkey_pgrs_p6e1mw.create] INFO: Installing managed plugin: 33fe72c8-4087-4673-a88a-4d2b6b3ee39f [package_name: sshkeyshare, package_version: 1.2.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]
2021-05-26 01:04:17.758  CFY  [sharedsshkey_pgrs_p6e1mw.create] Task succeeded 'sshkeyshare.keyshare_plugin.generate'
2021-05-26 01:04:17.761  CFY  [sharedsshkey_pgrs_p6e1mw] Node instance created
2021-05-26 01:04:17.849  CFY  [sharedsshkey_pgrs_p6e1mw] Configuring node instance: nothing to do
2021-05-26 01:04:17.853  CFY  [sharedsshkey_pgrs_p6e1mw] Starting node instance: nothing to do
2021-05-26 01:04:17.857  CFY  [sharedsshkey_pgrs_p6e1mw] Poststarting node instance: nothing to do
2021-05-26 01:04:17.861  CFY  [sharedsshkey_pgrs_p6e1mw] Node instance started
2021-05-26 01:04:18.192  CFY  [pgaas_cluster_pxhp28] Validating node instance before creation: nothing to do
2021-05-26 01:04:18.195  CFY  [pgaas_cluster_pxhp28] Precreating node instance: nothing to do
2021-05-26 01:04:18.201  CFY  [pgaas_cluster_pxhp28] Creating node instance
2021-05-26 01:04:18.540  CFY  [pgaas_cluster_pxhp28.create] Sending task 'pgaas.pgaas_plugin.add_pgaas_cluster'
2021-05-26 01:04:18.851  LOG  [pgaas_cluster_pxhp28.create] INFO: Installing managed plugin: 376e37cb-6610-414f-b7a0-45f0ae5ff023 [package_name: pgaas, package_version: 1.3.0, supported_platform: linux_x86_64, distribution: centos, distribution_release: core]