Oleg Nechiporenko created AMBARI-9606:
-----------------------------------------

             Summary: Kerberos Wizard: Disable Kerberos button does not work
                 Key: AMBARI-9606
                 URL: https://issues.apache.org/jira/browse/AMBARI-9606
             Project: Ambari
          Issue Type: Bug
          Components: ambari-web
    Affects Versions: 2.0.0
            Reporter: Oleg Nechiporenko
            Assignee: Oleg Nechiporenko
             Fix For: 2.0.0


After enabled Kerberos via the Kerberos Wizard, the _Disable Kerberos_ button 
becomes available.  Upon clicking this button, a confirmation dialog box is 
shown but clicking on the _OK_ button does nothing and the dialog box stay up 
until the _Cancel_ button is clicked.

JavaScript error: *Error: assertion failed: Could not find state for path: 
"disableSecurity"*

To disable Kerberos, the following steps should take place:

Note, there will need to be a multi-step process to disable Kerberos:
# Stop all services
# Remove Kerberos
# Start (and test?) all services

{code:title=API call to disable Kerberos}
PUT /api/v1/clusters/{cluster name}
{
  "Clusters" : {
    "security_type" : "NONE"
  }
}
{code} 

Since this is a multi-step process and the services will be stopped and 
started, we should make sure, on clicking, the confirmation box is clear what 
they are choosing to do:

{code}
Confirmation
You are about to disable Kerberos on the cluster. This will stop all the 
services in your cluster and remove the Kerberos configurations. *Are you sure 
you wish to proceed with disabling Kerberos?* Cancel / OK
{code}




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

Reply via email to