Hi,

I am trying to deploy the closed loop in clamp, After deploying the CL,
pod is created in the K8S Vm.

1. But in clamp UI, it is showing the status as "*UNKNOWN*" (as shown in
below figure).

[image: image.png]

2. when i am checking the logs of clamp, it is throwing* 500 error *status
and in the deployment handler log, it is throwing error as  *Invalid value:
32022: provided port is already (*in Cloudify pod also i am seeing the same
issue*)*.

3. At policy side the CL name/ID is working fine.

Please find the attachment for the clamp and deployment handler logs.

Please suggest me something to resolve these issue's in the Clamp and
deployment-handler.


Thanks & Regards,
Thamlur Raju.

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

View/Reply Online (#14854): https://lists.onap.org/g/onap-discuss/message/14854
Mute This Topic: https://lists.onap.org/mt/28973546/21656
Group Owner: [email protected]
Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub  
[[email protected]]
-=-=-=-=-=-=-=-=-=-=-=-

2019-01-08T12:37:55.877Z|9aff68f3-882c-46a0-96f4-35b85bb42424||PUT 
/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId|10.42.178.217|cloudify-manager||ERROR|502|Cloudify
 Manager API error|Error deploying deploymentId 
closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId: Status 502 from 
CM API -- error code: UNKNOWN -- message: workflow failed: 
3be06cc4-c811-419f-98f9-e7feec937e3f -- "Traceback (most recent call last):\n  
File \"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py\", 
line 548, in _remote_workflow_child_thread\n    workflow_result = 
self._execute_workflow_function()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py\", line 
577, in _execute_workflow_function\n    result = self.func(*self.args, 
**self.kwargs)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/workflows.py\",
 line 27, in install\n    node_instances=set(ctx.node_instances))\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 28, in install_node_instances\n    processor.install()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 93, in install\n    graph_finisher_func=self._finish_install)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 114, in _process_node_instances\n    self.graph.execute()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py\",
 line 129, in execute\n    self._handle_terminated_task(task)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py\",
 line 203, in _handle_terminated_task\n    raise 
RuntimeError(message)\nRuntimeError: Workflow failed: Task failed 
'k8splugin.create_and_start_container_for_components' -> (422)\nReason: 
Unprocessable Entity\nHTTP response headers: HTTPHeaderDict({'Date': 'Tue, 08 
Jan 2019 12:37:50 GMT', 'Content-Length': '514', 'Content-Type': 
'application/json'})\nHTTP response body: 
{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"Service
 \\\"xsa92998af1f7548a6b248e0e3e8a4c563-dcaegen2-analytics-tca\\\" is invalid: 
spec.ports[0].nodePort: Invalid value: 32022: provided port is already 
allocated\",\"reason\":\"Invalid\",\"details\":{\"name\":\"xsa92998af1f7548a6b248e0e3e8a4c563-dcaegen2-analytics-tca\",\"kind\":\"Service\",\"causes\":[{\"reason\":\"FieldValueInvalid\",\"message\":\"Invalid
 value: 32022: provided port is already 
allocated\",\"field\":\"spec.ports[0].nodePort\"}]},\"code\":422}\n\n\n" Error: 
Status 502 from CM API -- error code: UNKNOWN -- message: workflow failed: 
3be06cc4-c811-419f-98f9-e7feec937e3f -- "Traceback (most recent call last):\n  
File \"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py\", 
line 548, in _remote_workflow_child_thread\n    workflow_result = 
self._execute_workflow_function()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py\", line 
577, in _execute_workflow_function\n    result = self.func(*self.args, 
**self.kwargs)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/workflows.py\",
 line 27, in install\n    node_instances=set(ctx.node_instances))\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 28, in install_node_instances\n    processor.install()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 93, in install\n    graph_finisher_func=self._finish_install)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 114, in _process_node_instances\n    self.graph.execute()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py\",
 line 129, in execute\n    self._handle_terminated_task(task)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py\",
 line 203, in _handle_terminated_task\n    raise 
RuntimeError(message)\nRuntimeError: Workflow failed: Task failed 
'k8splugin.create_and_start_container_for_components' -> (422)\nReason: 
Unprocessable Entity\nHTTP response headers: HTTPHeaderDict({'Date': 'Tue, 08 
Jan 2019 12:37:50 GMT', 'Content-Length': '514', 'Content-Type': 
'application/json'})\nHTTP response body: 
{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"Service
 \\\"xsa92998af1f7548a6b248e0e3e8a4c563-dcaegen2-analytics-tca\\\" is invalid: 
spec.ports[0].nodePort: Invalid value: 32022: provided port is already 
allocated\",\"reason\":\"Invalid\",\"details\":{\"name\":\"xsa92998af1f7548a6b248e0e3e8a4c563-dcaegen2-analytics-tca\",\"kind\":\"Service\",\"causes\":[{\"reason\":\"FieldValueInvalid\",\"message\":\"Invalid
 value: 32022: provided port is already 
allocated\",\"field\":\"spec.ports[0].nodePort\"}]},\"code\":422}\n\n\n"     at 
exports.createDispatcherError (/opt/app/dh/lib/dispatcher-error.js:42:10)     
at normalizeError (/opt/app/dh/lib/deploy.js:90:7)     at 
/opt/app/dh/lib/deploy.js:194:9     at process._tickCallback 
(internal/process/next_tick.js:109:7)
2019-01-08T12:37:01.174Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:01Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, TargetEntity=DCAE, 
TargetServiceName=createNewDeployment, EntryTimestamp=2019-01-08T12:37:01.122Z, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:01Z  Using HTTPS URL to contact 
DCAE:https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId
2019-01-08T12:37:35.389Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:01Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, TargetEntity=DCAE, 
TargetServiceName=createNewDeployment, EntryTimestamp=2019-01-08T12:37:01.122Z, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:01Z  Response Code: 202
2019-01-08T12:37:35.391Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:01Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, TargetEntity=DCAE, 
TargetServiceName=createNewDeployment, EntryTimestamp=2019-01-08T12:37:01.122Z, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:01Z  Response Content: 
{"requestId":"9aff68f3-882c-46a0-96f4-35b85bb42424","links":{"self":"https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId","status":"https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f"}}
2019-01-08T12:37:35.391Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeDispatcherServices       
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:01Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, TargetEntity=DCAE, 
TargetServiceName=createNewDeployment, EntryTimestamp=2019-01-08T12:37:01.122Z, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:01Z  Status URL extracted: 
https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f
2019-01-08T12:37:35.414Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeDispatcherServices       ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=CLDS, TargetServiceName=getUserName, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Create new deployment failed, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z      Trying to get Operation status on DCAE 
for 
url:https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f
2019-01-08T12:37:35.414Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Create new deployment failed, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z       Using HTTPS URL to contact 
DCAE:https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f
2019-01-08T12:37:35.521Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Create new deployment failed, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z       Response Code: 200
2019-01-08T12:37:35.521Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Create new deployment failed, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z       Response Content: 
{"operationType":"install","status":"processing","requestId":"9aff68f3-882c-46a0-96f4-35b85bb42424","links":{"self":"https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId","status":"https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f"}}
2019-01-08T12:37:35.522Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeDispatcherServices       ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Create new deployment failed, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z       Operation Type - install, Status 
processing
2019-01-08T12:37:35.522Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeDispatcherServices       ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=108, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z     Current Status is:processing
2019-01-08T12:37:55.525Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeDispatcherServices       ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=108, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z     Trying to get Operation status on DCAE 
for 
url:https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f
2019-01-08T12:37:55.525Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=108, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z     Using HTTPS URL to contact 
DCAE:https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f
2019-01-08T12:37:55.650Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=108, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z     Response Code: 200
2019-01-08T12:37:55.652Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeHttpConnectionManager    ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=108, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z     Response Content: 
{"operationType":"install","status":"failed","error":"Traceback (most recent 
call last):\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py\", line 
548, in _remote_workflow_child_thread\n    workflow_result = 
self._execute_workflow_function()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py\", line 
577, in _execute_workflow_function\n    result = self.func(*self.args, 
**self.kwargs)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/workflows.py\",
 line 27, in install\n    node_instances=set(ctx.node_instances))\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 28, in install_node_instances\n    processor.install()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 93, in install\n    graph_finisher_func=self._finish_install)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\",
 line 114, in _process_node_instances\n    self.graph.execute()\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py\",
 line 129, in execute\n    self._handle_terminated_task(task)\n  File 
\"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py\",
 line 203, in _handle_terminated_task\n    raise 
RuntimeError(message)\nRuntimeError: Workflow failed: Task failed 
'k8splugin.create_and_start_container_for_components' -> (422)\nReason: 
Unprocessable Entity\nHTTP response headers: HTTPHeaderDict({'Date': 'Tue, 08 
Jan 2019 12:37:50 GMT', 'Content-Length': '514', 'Content-Type': 
'application/json'})\nHTTP response body: 
{\"kind\":\"Status\",\"apiVersion\":\"v1\",\"metadata\":{},\"status\":\"Failure\",\"message\":\"Service
 \\\"xsa92998af1f7548a6b248e0e3e8a4c563-dcaegen2-analytics-tca\\\" is invalid: 
spec.ports[0].nodePort: Invalid value: 32022: provided port is already 
allocated\",\"reason\":\"Invalid\",\"details\":{\"name\":\"xsa92998af1f7548a6b248e0e3e8a4c563-dcaegen2-analytics-tca\",\"kind\":\"Service\",\"causes\":[{\"reason\":\"FieldValueInvalid\",\"message\":\"Invalid
 value: 32022: provided port is already 
allocated\",\"field\":\"spec.ports[0].nodePort\"}]},\"code\":422}\n\n\n","requestId":"9aff68f3-882c-46a0-96f4-35b85bb42424","links":{"self":"https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId","status":"https://deployment-handler.onap:8443/dcae-deployments/closedLoop_5cdde124-e61e-4aab-bb55-3ee5d68bbe15_deploymentId/operation/3be06cc4-c811-419f-98f9-e7feec937e3f"}}
2019-01-08T12:37:55.652Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeDispatcherServices       ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=108, 
EndTimestamp=2019-01-08T12:37:35Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:35Z     Operation Type - install, Status failed
2019-01-08T12:37:55.653Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.client.DcaeDispatcherServices       ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=128, 
EndTimestamp=2019-01-08T12:37:55Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:55Z     Current Status is:failed
2019-01-08T12:37:55.653Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.service.CldsService ResponseCode=0, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=128, 
EndTimestamp=2019-01-08T12:37:55Z, [email protected], 
ClientIPAddress=10.42.52.73, ServerFQDN=10.222.224.5, StatusCode=COMPLETE, 
TargetEntity=DCAE, TargetServiceName=getOperationStatus, 
EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=Get operation status success, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:55Z     DCAE DEPLOY 
(CLAMPtca_v1_0_45308b09-44bd-4acd-bd2c0) failed...Operation Status is - failed
2019-01-08T12:37:55.664Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.service.CldsService ResponseCode=500, 
InstanceUUID=793abdae-9d36-4aeb-a167-9bed2f9ae0f2, 
RequestID=9aff68f3-882c-46a0-96f4-35b85bb42424, ElapsedTime=0, 
EndTimestamp=2019-01-08T12:37:55Z, Severity=INFO, 
[email protected], ClientIPAddress=10.42.52.73, 
ServerFQDN=10.222.224.5, StatusCode=ERROR, TargetEntity=CLDS, 
TargetServiceName=getUserName, EntryTimestamp=2019-01-08T12:37:01.122Z, 
ClassName=org.onap.clamp.clds.client.DcaeDispatcherServices, 
ResponseDescription=DCAE operation(DEPLOY) failed, 
InvocationID=2085e2a7-7bc1-4a2d-b5ba-052d6e599c30, 
BeginTimestamp=2019-01-08T12:37:55Z       EXIT
2019-01-08T12:37:55.665Z        https-jsse-nio-8443-exec-15     ERROR   
org.onap.clamp.clds.service.CldsService         Exception occured during 
deployModel    org.springframework.web.client.HttpClientErrorException: 500 
DCAE DEPLOY (CLAMPtca_v1_0_45308b09-44bd-4acd-bd2c0) failed...Operation Status 
is - failed\n\tat 
org.onap.clamp.clds.service.CldsService.checkDcaeDeploymentStatus(CldsService.java:819)\n\tat
 
org.onap.clamp.clds.service.CldsService.deployModel(CldsService.java:742)\n\tat 
sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)\n\tat 
sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:62)\n\tat
 
sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:43)\n\tat
 java.lang.reflect.Method.invoke(Method.java:498)\n\tat 
org.apache.camel.component.bean.MethodInfo.invoke(MethodInfo.java:481)\n\tat 
org.apache.camel.component.bean.MethodInfo$1.doProceed(MethodInfo.java:300)\n\tat
 
org.apache.camel.component.bean.MethodInfo$1.proceed(MethodInfo.java:273)\n\tat 
org.apache.camel.component.bean.AbstractBeanProcessor.process(AbstractBeanProcessor.java:187)\n\tat
 
org.apache.camel.component.bean.BeanProcessor.process(BeanProcessor.java:53)\n\tat
 
org.apache.camel.component.bean.BeanProducer.process(BeanProducer.java:41)\n\tat
 org.apache.camel.processor.SendProcessor.process(SendProcessor.java:148)\n\tat 
org.apache.camel.processor.RedeliveryErrorHandler.process(RedeliveryErrorHandler.java:548)\n\tat
 
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)\n\tat
 
org.apache.camel.processor.CamelInternalProcessor.process(CamelInternalProcessor.java:201)\n\tat
 
org.apache.camel.processor.DelegateAsyncProcessor.process(DelegateAsyncProcessor.java:97)\n\tat
 
org.apache.camel.http.common.CamelServlet.doService(CamelServlet.java:208)\n\tat
 org.onap.clamp.clds.ClampServlet.doService(ClampServlet.java:117)\n\tat 
org.apache.camel.http.common.CamelServlet.service(CamelServlet.java:78)\n\tat 
javax.servlet.http.HttpServlet.service(HttpServlet.java:742)\n\tat 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:231)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
 org.apache.tomcat.websocket.server.WsFilter.doFilter(WsFilter.java:52)\n\tat 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
 org.onap.aaf.cadi.filter.CadiFilter$1.doFilter(CadiFilter.java:168)\n\tat 
org.onap.aaf.cadi.filter.CadiFilter.doFilter(CadiFilter.java:276)\n\tat 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
 
org.springframework.web.filter.RequestContextFilter.doFilterInternal(RequestContextFilter.java:99)\n\tat
 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
 
org.springframework.web.filter.HttpPutFormContentFilter.doFilterInternal(HttpPutFormContentFilter.java:109)\n\tat
 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
 
org.springframework.web.filter.HiddenHttpMethodFilter.doFilterInternal(HiddenHttpMethodFilter.java:93)\n\tat
 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
 
org.springframework.web.filter.CharacterEncodingFilter.doFilterInternal(CharacterEncodingFilter.java:200)\n\tat
 
org.springframework.web.filter.OncePerRequestFilter.doFilter(OncePerRequestFilter.java:107)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:193)\n\tat
 
org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:166)\n\tat
 
org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:198)\n\tat
 
org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:96)\n\tat
 
org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:610)\n\tat
 
org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:140)\n\tat
 
org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:81)\n\tat
 
org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:87)\n\tat
 
org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:342)\n\tat
 
org.apache.coyote.http11.Http11Processor.service(Http11Processor.java:800)\n\tat
 
org.apache.coyote.AbstractProcessorLight.process(AbstractProcessorLight.java:66)\n\tat
 
org.apache.coyote.AbstractProtocol$ConnectionHandler.process(AbstractProtocol.java:806)\n\tat
 
org.apache.tomcat.util.net.NioEndpoint$SocketProcessor.doRun(NioEndpoint.java:1498)\n\tat
 
org.apache.tomcat.util.net.SocketProcessorBase.run(SocketProcessorBase.java:49)\n\tat
 
java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1149)\n\tat
 
java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:624)\n\tat
 
org.apache.tomcat.util.threads.TaskThread$WrappingRunnable.run(TaskThread.java:61)\n\tat
 java.lang.Thread.run(Thread.java:748)\n
2019-01-08T12:37:55.666Z        https-jsse-nio-8443-exec-15     INFO    
org.onap.clamp.clds.service.CldsService ResponseCode=500, 
ResponseDescription=DeployModel failed, Severity=INFO, StatusCode=ERROR       
EXIT

Reply via email to