Template import fails on CDH 7.1.4
rkharya opened this issue · 0 comments
After commenting out Sentry services, using this existing Ansible play fails on template import for CDHv7.1.4. Ansible log has following error -
"json": {
"active": false,
"canRetry": true,
"children": {
"items": [
{
"active": false,
"endTime": "2020-12-09T19:32:15.333Z",
"id": 52,
"name": "First Run",
"resultMessage": "Failed to perform First Run of services.",
"startTime": "2020-12-09T19:32:09.202Z",
"success": false
},
{
"active": false,
"clusterRef": {
"clusterName": "cdpsol-auto-cluster",
"displayName": "cdpsol-auto-cluster"
},
"endTime": "2020-12-09T19:31:59.777Z",
"id": 41,
"name": "DeployParcels",
"resultMessage": "The Following parcels successfully activated : CDH-7.1.4-1.cdh7.1.4.p0.6300266.",
"startTime": "2020-12-09T19:24:52.679Z",
"success": true
}
]
},
"endTime": "2020-12-09T19:32:15.335Z",
"id": 39,
"name": "ClusterTemplateImport",
"resultMessage": "Failed to import cluster template.",
"startTime": "2020-12-09T19:24:52.535Z",
"success": false
},
"msg": "OK (unknown bytes)",
"pragma": "no-cache",
"redirected": false,
"set_cookie": "SESSION=f5f6ea92-46d8-48a0-bd97-f9b6c5aeabf9;Path=/;HttpOnly",
"status": 200,
"url": "http://cdp-scmnode.cisco.local:7180/api/v42/commands/39",
"x_content_type_options": "nosniff",
"x_frame_options": "DENY",
Command status on the UI shows the error as - Command failed to run because service HUE has invalid configuration. First error : Expected dependency of type HIVE_ON_TEZ/HIVE_LLAP but is HIVE.
SS attached herewith.
If we accept the dialogue to fix this issue via cluster url, it goes through successful deployment of cluster.
Any pointers how to fix this through Ansible play book code, would be highly helpful.