Hi Bharath,
Based on the error, possibly one of the dependencies has issue. Can you verify 
the health check for CDAP cluster and CDAP Broker in Consul?

Also deployment for DCAE R2 has changed significantly (under heat and OOM); 
DCAE is using CDAP sdk container to deploy TCA application.

R2 release notes can be found here - 
https://onap.readthedocs.io/en/beijing/submodules/dcaegen2.git/docs/sections/installation.html

Thanks
Vijay

From: Bharath Thiruveedula <bharath.thiruveed...@verizon.com>
Sent: Tuesday, July 10, 2018 6:12 AM
To: onap-discuss <onap-discuss@lists.onap.org>
Cc: VENKATESH KUMAR, VIJAY <vv7...@att.com>
Subject: [DCAE]Installation errors while installing TCA in DCAE

Dear DCAE team,

In my Amsterdam release setup, tca app went down, so I logged into bootstrap 
container and tried to install tca app using the following commands.


cfy uninstall -d tca

cfy install -p ./blueprints/tca/tca.yaml -b tca -d tca -i 
../config/tcainputs.yaml --timeout 1800

But at the time of installation, I am facing the following error:

Uploading blueprint ./blueprints/tca/tca.yaml...
Blueprint uploaded. The blueprint's id is tca
Processing inputs source: ../config/tcainputs.yaml
Creating new deployment from blueprint tca...
Deployment created. The deployment's id is tca
Executing workflow install on deployment tca [timeout=1800 seconds]
Deployment environment creation is in progress...
CFY <tca> Starting 'create_deployment_environment' workflow execution
CFY <tca> Installing deployment plugins
CFY <tca> Sending task 'cloudify_agent.operations.install_plugins'
CFY <tca> Task started 'cloudify_agent.operations.install_plugins'
CFY <tca> Task succeeded 'cloudify_agent.operations.install_plugins'
CFY <tca> Skipping starting deployment policy engine core - no policies defined
CFY <tca> Creating deployment work directory
CFY <tca> 'create_deployment_environment' workflow execution succeeded
CFY <tca> Starting 'install' workflow execution
CFY <tca> [tca_tca_7a433] Creating node
CFY <tca> [tca_tca_7a433.create] Sending task 'cdapcloudify.cdap_plugin.create'
CFY <tca> [tca_tca_7a433.create] Task started 'cdapcloudify.cdap_plugin.create'
CFY <tca> [tca_tca_7a433.create] Task succeeded 
'cdapcloudify.cdap_plugin.create'
CFY <tca> [tca_tca_7a433] Configuring node
CFY <tca> [tca_tca_7a433] Starting node
CFY <tca> [tca_tca_7a433.start] Sending task 
'cdapcloudify.cdap_plugin.deploy_and_start_application'
CFY <tca> [tca_tca_7a433.start] Task started 
'cdapcloudify.cdap_plugin.deploy_and_start_application'
CFY <tca> [tca_tca_7a433.start] Task failed 
'cdapcloudify.cdap_plugin.deploy_and_start_application' -> 400 Client Error: 
Bad Request
CFY <tca> 'install' workflow execution failed: RuntimeError: Workflow failed: 
Task failed 'cdapcloudify.cdap_plugin.deploy_and_start_application' -> 400 
Client Error: Bad Request
Execution of workflow install for deployment tca failed. [error=Traceback (most 
recent call last):
  File "/tmp/pip-build-VSTXzc/cloudify-plugins-common/cloudify/dispatch.py", 
line 472, in _remote_workflow_child_thread
  File "/tmp/pip-build-VSTXzc/cloudify-plugins-common/cloudify/dispatch.py", 
line 504, in _execute_workflow_function
  File 
"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/workflows.py",
 line 27, in install
    node_instances=set(ctx.node_instances))
  File 
"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py",
 line 28, in install_node_instances
    processor.install()
  File 
"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py",
 line 83, in install
    graph_finisher_func=self._finish_install)
  File 
"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py",
 line 103, in _process_node_instances
    self.graph.execute()
  File 
"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py",
 line 133, in execute
    self._handle_terminated_task(task)
  File 
"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py",
 line 207, in _handle_terminated_task
    raise RuntimeError(message)
RuntimeError: Workflow failed: Task failed 
'cdapcloudify.cdap_plugin.deploy_and_start_application' -> 400 Client Error: 
Bad Request

Any help on this?

Best Regards
Bharath T

-=-=-=-=-=-=-=-=-=-=-=-
Links: You receive all messages sent to this group.

View/Reply Online (#11007): https://lists.onap.org/g/onap-discuss/message/11007
Mute This Topic: https://lists.onap.org/mt/23209651/21656
Group Owner: onap-discuss+ow...@lists.onap.org
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[arch...@mail-archive.com]
-=-=-=-=-=-=-=-=-=-=-=-

Reply via email to