You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ambari.apache.org by "Hadoop QA (JIRA)" <ji...@apache.org> on 2015/12/11 12:18:10 UTC

[jira] [Commented] (AMBARI-14327) Kerberos: all ambari server host ops are broken

    [ https://issues.apache.org/jira/browse/AMBARI-14327?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15052629#comment-15052629 ] 

Hadoop QA commented on AMBARI-14327:
------------------------------------

{color:red}-1 overall{color}.  Here are the results of testing the latest attachment 
  http://issues.apache.org/jira/secure/attachment/12776963/AMBARI-14327_trunk_01.patch
  against trunk revision .

    {color:green}+1 @author{color}.  The patch does not contain any @author tags.

    {color:red}-1 tests included{color}.  The patch doesn't appear to include any new or modified tests.
                        Please justify why no new tests are needed for this patch.
                        Also please list what manual steps were performed to verify this patch.

    {color:green}+1 javac{color}.  The applied patch does not increase the total number of javac compiler warnings.

    {color:green}+1 release audit{color}.  The applied patch does not increase the total number of release audit warnings.

    {color:green}+1 core tests{color}.  The patch passed unit tests in ambari-server.

Test results: https://builds.apache.org/job/Ambari-trunk-test-patch/4569//testReport/
Console output: https://builds.apache.org/job/Ambari-trunk-test-patch/4569//console

This message is automatically generated.

> Kerberos: all ambari server host ops are broken
> -----------------------------------------------
>
>                 Key: AMBARI-14327
>                 URL: https://issues.apache.org/jira/browse/AMBARI-14327
>             Project: Ambari
>          Issue Type: Bug
>          Components: ambari-web
>    Affects Versions: 2.2.0
>            Reporter: Antonenko Alexander
>            Assignee: Robert Levas
>            Priority: Blocker
>             Fix For: 2.2.0
>
>         Attachments: AMBARI-14327_branch-2.2_01.patch, AMBARI-14327_trunk_01.patch
>
>
> 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.
> {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)