ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Robert Levas (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (AMBARI-14338) Kerberos: all ambari server host ops are broken
Date Fri, 11 Dec 2015 00:19:11 GMT

     [ https://issues.apache.org/jira/browse/AMBARI-14338?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Robert Levas resolved AMBARI-14338.
-----------------------------------
    Resolution: Duplicate

> Kerberos: all ambari server host ops are broken
> -----------------------------------------------
>
>                 Key: AMBARI-14338
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14338
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-server
>    Affects Versions: 2.2.0
>            Reporter: Robert Levas
>            Assignee: Robert Levas
>            Priority: Blocker
>             Fix For: 2.2.0
>
>
> 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
> {code}
> {
>   "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"
>       }
>     }
>   ]
> }
> {code}
> *Solution*
> On the backend, convert {{null}} host name values to the FQDN of the Ambari server before
returning response.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message