Details
-
Bug
-
Status: Resolved
-
Blocker
-
Resolution: Fixed
-
2.2.0
-
None
Description
1) Test Kerberos Client dialog shows an "n/a" entry and when you click on it, throws a JS error. See attached. The n/a appears to represent the command run on the Ambari Server itself.
2) All Ambari server ops throw JS error. On other places in the wizard, it shows "Ambari Server Host" but that throws JS.
3) same for regen keytabs. basically all over the place
See attached.
{ "Requests" : { "aborted_task_count" : 0, "cluster_name" : "MyCluster", "completed_task_count" : 10, "create_time" : 1449759400223, "end_time" : 1449759448232, "exclusive" : false, "failed_task_count" : 0, "id" : 17, "inputs" : "{}", "operation_level" : "CLUSTER", "progress_percent" : 100.0, "queued_task_count" : 0, "request_context" : "Kerberos Service Check", "request_schedule" : null, "request_status" : "COMPLETED", "resource_filters" : [ { "service_name" : "KERBEROS" } ], "start_time" : 1449759400313, "task_count" : 10, "timed_out_task_count" : 0, "type" : "COMMAND" }, "stages" : [ { }, { }, { }, { }, { }, { }, { }, { }, { }, { } ], "tasks" : [ { "Tasks" : { "command" : "EXECUTE", "command_detail" : "Preparing Operations", "host_name" : null, "id" : 153, "request_id" : 17, "role" : "AMBARI_SERVER_ACTION", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "EXECUTE", "command_detail" : "Create Principals", "host_name" : null, "id" : 154, "request_id" : 17, "role" : "AMBARI_SERVER_ACTION", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "EXECUTE", "command_detail" : "Create Keytabs", "host_name" : null, "id" : 155, "request_id" : 17, "role" : "AMBARI_SERVER_ACTION", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "CUSTOM_COMMAND", "command_detail" : "SET_KEYTAB KERBEROS/KERBEROS_CLIENT", "host_name" : "c6402.ambari.apache.org", "id" : 156, "request_id" : 17, "role" : "KERBEROS_CLIENT", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "EXECUTE", "command_detail" : "Finalize Operations", "host_name" : null, "id" : 157, "request_id" : 17, "role" : "AMBARI_SERVER_ACTION", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "SERVICE_CHECK", "command_detail" : "SERVICE_CHECK KERBEROS", "host_name" : "c6402.ambari.apache.org", "id" : 158, "request_id" : 17, "role" : "KERBEROS_SERVICE_CHECK", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "EXECUTE", "command_detail" : "Preparing Operations", "host_name" : null, "id" : 159, "request_id" : 17, "role" : "AMBARI_SERVER_ACTION", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "EXECUTE", "command_detail" : "Destroy Principals", "host_name" : null, "id" : 160, "request_id" : 17, "role" : "AMBARI_SERVER_ACTION", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "CUSTOM_COMMAND", "command_detail" : "REMOVE_KEYTAB KERBEROS/KERBEROS_CLIENT", "host_name" : "c6402.ambari.apache.org", "id" : 161, "request_id" : 17, "role" : "KERBEROS_CLIENT", "status" : "COMPLETED" } }, { "Tasks" : { "command" : "EXECUTE", "command_detail" : "Finalize Operations", "host_name" : null, "id" : 162, "request_id" : 17, "role" : "AMBARI_SERVER_ACTION", "status" : "COMPLETED" } } ] }
Solution
On the backend, convert null host name values to the FQDN of the Ambari server before returning response.
Attachments
Attachments
Issue Links
- is duplicated by
-
AMBARI-14338 Kerberos: all ambari server host ops are broken
- Resolved
- links to