-
Bug
-
Resolution: Done
-
High
-
Frankfurt Release
-
None
During deployment of Pm Mapper and Data File Collector using:
- deployment API
- CFY console in bootstrap
Following issue is present:
{ "operationType": "install", "status": "failed", "error": "Traceback (most recent call last):\n File \"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/dispatch.py\", line 571, 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 600, 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 30, in install\n node_instances=set(ctx.node_instances))\n File \"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\", line 29, in install_node_instances\n processor.install()\n File \"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/plugins/lifecycle.py\", line 102, in install\n graph.execute()\n File \"/opt/mgmtworker/env/lib/python2.7/site-packages/cloudify/workflows/tasks_graph.py\", line 237, in execute\n raise self._error\nRuntimeError: Workflow failed: Task failed 'dmaapplugin.dr_lifecycle.create_feed' -> HTTPConnectionPool(host='dmaap-bc', port=8080): Max retries exceeded with url: /webapi/feeds?useExisting=true (Caused by NewConnectionError('<urllib3.connection.HTTPConnection object at 0x7f5f7fd16ed0>: Failed to establish a new connection: [Errno 110] Connection timed out',))\n", "requestId": "9c3ba4b4-4655-47ef-8bc6-6ea67e25c77d", "links": { "self": "https://10.183.33.25:30383/dcae-deployments/pm-mapper", "status": "https://10.183.33.25:30383/dcae-deployments/pm-mapper/operation/558fdf3b-9d0c-46c2-9149-2fc54b93bebd" } }
It seems that k8s plugin tries to connect to dmaap-bc on port 8080.
In Frankfurt release dmaap-bc has only 8443 port exposed..
ubuntu@onap-5428-rke-node:~$ kubectl get svc -n onap | grep dmaap-bc dmaap-bc NodePort 10.43.47.89 <none> 8443:30242/TCP
For deployment has been used blueprints bundled in bootstrap container:
org.onap.dcaegen2.deployments.k8s-bootstrap-container:1.12.4