Uploaded image for project: 'Data Collection, Analytics, and Events'
  1. Data Collection, Analytics, and Events
  2. DCAEGEN2-1640

Improve logging through helm plugin deployment.

XMLWordPrintable

      Sample execution of helm plugin done last time.

       

      [root@dev-dcaegen2-dcae-bootstrap-684b8fc67b-2wh96 blueprints]# cfy deployments create -b helm-blueprint4 helm-blueprint4

      Creating new deployment from blueprint helm-blueprint4...

      Deployment created. The deployment's id is helm-blueprint4

      [root@dev-dcaegen2-dcae-bootstrap-684b8fc67b-2wh96 blueprints]# cfy executions start -d helm-blueprint4 install

      Executing workflow install on deployment helm-blueprint4 [timeout=900 seconds]

      2019-04-03 00:27:30.959  CFY <helm-blueprint4> Starting 'install' workflow execution

      2019-04-03 00:27:31.622  CFY <helm-blueprint4> [onap_env_k1bmjz] Creating node

      2019-04-03 00:27:32.624  CFY <helm-blueprint4> [onap_env_k1bmjz] Configuring node

      2019-04-03 00:27:32.624  CFY <helm-blueprint4> [onap_env_k1bmjz.configure] Sending task 'plugin.tasks.config'

      2019-04-03 00:27:32.624  CFY <helm-blueprint4> [onap_env_k1bmjz.configure] Task started 'plugin.tasks.config'

      2019-04-03 00:27:35.180  CFY <helm-blueprint4> [onap_env_k1bmjz.configure] Task succeeded 'plugin.tasks.config'

      2019-04-03 00:27:35.626  CFY <helm-blueprint4> [onap_env_k1bmjz] Starting node

      2019-04-03 00:27:36.649  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Sending task 'plugin.tasks.start'

      2019-04-03 00:27:36.649  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Task started 'plugin.tasks.start'

      2019-04-03 00:27:49.830  LOG <helm-blueprint4> [onap_env_k1bmjz.start] ERROR: Running `helm install https://nexus.onap.org/content/sites/oom-helm-staging/onap-3.0.0.tgz --name onap4-onap --namespace onap4 -f /opt/manager/resources/helm-blueprint4/onap.yaml --host 10.12.5.8:32620 ` returns error.

      2019-04-03 00:27:49.727  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Task rescheduled 'plugin.tasks.start' -> helm install failed, re-try after 5 second  [retry_after=5]

      2019-04-03 00:27:54.950  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Sending task 'plugin.tasks.start' [retry 1/60]

      2019-04-03 00:27:55.742  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Task started 'plugin.tasks.start' [retry 1/60]

      2019-04-03 00:28:06.758  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Task rescheduled 'plugin.tasks.start' -> helm install failed, re-try after 5 second  [retry_after=5] [retry 1/60]

      2019-04-03 00:28:11.762  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Sending task 'plugin.tasks.start' [retry 2/60]

      2019-04-03 00:28:11.762  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Task started 'plugin.tasks.start' [retry 2/60]

      2019-04-03 00:28:19.780  CFY <helm-blueprint4> [onap_env_k1bmjz.start] Task rescheduled 'plugin.tasks.start' -> helm install failed, re-try after 5 second  [retry_after=5] [retry 2/60]

       

      This deployment failed due to conflicting node-port, however that was not captured in deployment/console logs. I had to run the same helm install command and then debug based on error returned by helm.

            hg4105 hg4105
            vv770d vv770d
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: