Hi Thamlur, The blueprint looks okay. But as suspected, the required plugins are not loaded into cloudify instance in your setup.
If you are only interested in CL deployment, you can fix this issue by deleting the dcae-bootstrap pod (via kubectl delete pod <podname> -n <namespace) and lets K8s restore it. The bootstrap invokes a script which will re-initialize plugins and other deployments necessary for DCAE (you might see some error due to conflict with existing k8s resource which can be ignored). Other option will be start with clean state of deploying onap. However If you don’t want to redeploy other components, then you can delete all the existing DCAE resources/pods manually in K8S manually (including all platform/service component and cloudify) and deploy dcaecharts alone again (e.g helm install local/dcae -n dev-dcaegen2 --namespace onap or helm deploy dev local/onap --namespace onap -f ~/dcae_overrides.yaml ; where ~/dcae_overrides.yaml enables only dcaegen2 charts). Regards, Vijay From: Thamlur Raju <[email protected]> Sent: Monday, January 07, 2019 2:10 AM To: VENKATESH KUMAR, VIJAY <[email protected]> Cc: [email protected] Subject: Re: [onap-discuss] [clamp] [DCAE] ClossedLoop deployment failure Hi Vijay, Please find attachment of the blue print, 1. In blueprint tca_k8s is hardcoded?, because if i am using any other name it is giving below error, [image.png] 2. The output of plugin and deployment list are given below, [root@dcaegen2-dcae-bootstrap-77bdfc5cf6-4bjcd /]# cfy plugin list Listing all plugins... Plugins: +----+--------------+-----------------+--------------+--------------------+----------------------+-------------+--------------+-------------+------------+ | id | package_name | package_version | distribution | supported_platform | distribution_release | uploaded_at | availability | tenant_name | created_by | +----+--------------+-----------------+--------------+--------------------+----------------------+-------------+--------------+-------------+------------+ +----+--------------+-----------------+--------------+--------------------+----------------------+-------------+--------------+-------------+------------+ [root@dcaegen2-dcae-bootstrap-77bdfc5cf6-4bjcd /]# [root@dcaegen2-dcae-bootstrap-77bdfc5cf6-4bjcd /]# cfy deployment list Listing all deployments... Deployments: +--------------------------------------------------------------+--------------------------------------------------------------+--------------------------+--------------------------+--------------+----------------+------------+ | id | blueprint_id | created_at | updated_at | availability | tenant_name | created_by | +--------------------------------------------------------------+--------------------------------------------------------------+--------------------------+--------------------------+--------------+----------------+------------+ | closedLoop_cbaa5527-2635-4ec3-a8aa-80da27964feb_deploymentId | closedLoop_cbaa5527-2635-4ec3-a8aa-80da27964feb_deploymentId | 2019-01-02 11:32:42.383 | 2019-01-02 11:32:42.383 | tenant | default_tenant | admin | | closedLoop_ce0f0e04-ae85-433d-97eb-a5538e5da85a_deploymentId | closedLoop_ce0f0e04-ae85-433d-97eb-a5538e5da85a_deploymentId | 2019-01-02 11:48:55.627 | 2019-01-02 11:48:55.627 | tenant | default_tenant | admin | | closedLoop_5056e4e7-9c2c-492f-be25-eb672ed516c3_deploymentId | closedLoop_5056e4e7-9c2c-492f-be25-eb672ed516c3_deploymentId | 2019-01-02 12:03:24.937 | 2019-01-02 12:03:24.937 | tenant | default_tenant | admin | | closedLoop_bd333c62-79f2-471a-9394-be9fc13944b1_deploymentId | closedLoop_bd333c62-79f2-471a-9394-be9fc13944b1_deploymentId | 2019-01-02 13:37:00.755 | 2019-01-02 13:37:00.755 | tenant | default_tenant | admin | | closedLoop_17b2962e-46ef-41bf-8fe0-06e847224613_deploymentId | closedLoop_17b2962e-46ef-41bf-8fe0-06e847224613_deploymentId | 2019-01-02 13:57:24.070 | 2019-01-02 13:57:24.070 | tenant | default_tenant | admin | | closedLoop_8310f2ce-5833-4d0f-82b1-0270a70f4214_deploymentId | closedLoop_8310f2ce-5833-4d0f-82b1-0270a70f4214_deploymentId | 2019-01-04 05:54:44.689 | 2019-01-04 05:54:44.689 | tenant | default_tenant | admin | | closedLoop_ee9d78d9-2885-4a82-824e-e4290217ddcb_deploymentId | closedLoop_ee9d78d9-2885-4a82-824e-e4290217ddcb_deploymentId | 2019-01-04 06:39:03.010 | 2019-01-04 06:39:03.010 | tenant | default_tenant | admin | +--------------------------------------------------------------+--------------------------------------------------------------+--------------------------+--------------------------+--------------+----------------+------------+ Thanks & Regards, Thamlur Raju On Sat, Jan 5, 2019 at 1:05 AM VENKATESH KUMAR, VIJAY <[email protected]<mailto:[email protected]>> wrote: Hi Thamlur, The error indicates the plugin specified is not loaded into cloudify. Can you run below command from bootstrap container and share the o/p along with the blueprint you are attempting to deploy? cfy plugin list cfy deployment list Regards, Vijay From: Thamlur Raju <[email protected]<mailto:[email protected]>> Sent: Friday, January 04, 2019 4:18 AM To: [email protected]<mailto:[email protected]>; VENKATESH KUMAR, VIJAY <[email protected]<mailto:[email protected]>> Subject: [onap-discuss] [clamp] [DCAE] ClossedLoop deployment failure Hi DCAE Team, I am not able to deploy the Closed loop Casablanca environment, Looks like issue for Deployment Handler to talk with Cloudify error logs from deployment-handler: 2019-01-04T06:43:34.953Z|fc4f9f5c-58ee-4de7-9a09-3dd44f41327b||PUT /dcae-deployments/closedLoop_ee9d78d9-2885-4a82-824e-e4290217ddcb_deploymentId|10.42.76.40|cloudify-manager||ERROR|502|Cloudify Manager API error|maximum repetitions reached: 10 Error: maximum repetitions reached: 10, 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:162:23, at process._tickCallback (internal/process/next_tick.js:109:7) Please find Attachments for the logs of Clamp and Cloudify. [root@dcaegen2-dcae-cloudify-manager-7588dc4898-wlb6t /]# cfy status Retrieving manager services status... [ip=localhost] Services: +--------------------------------+---------+ | service | status | +--------------------------------+---------+ | InfluxDB | running | | Logstash | running | | AMQP InfluxDB | running | | RabbitMQ | running | | Webserver | running | | Management Worker | running | | PostgreSQL | running | | Cloudify Console | running | | Manager Rest-Service | running | | Riemann | running | +--------------------------------+---------+ Please suggest me something on this issue. Thanks & Regards, Thamlur Raju.,_._ -=-=-=-=-=-=-=-=-=-=-=- Links: You receive all messages sent to this group. View/Reply Online (#14831): https://lists.onap.org/g/onap-discuss/message/14831 Mute This Topic: https://lists.onap.org/mt/28932233/21656 Group Owner: [email protected] Unsubscribe: https://lists.onap.org/g/onap-discuss/unsub [[email protected]] -=-=-=-=-=-=-=-=-=-=-=-
