[
https://issues.apache.org/jira/browse/AMBARI-14929?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Srimanth Gunturi updated AMBARI-14929:
--------------------------------------
Attachment: AMBARI-14929.patch
Attaching patch where an additional check was introduced to check if hosts are
there in the wizard controller. This check will be false for Enable security
wizard and hence continue execution, instead of failing on undefined values.
Reproduced issue and tested on live cluster.
Ambari-web tests pass
{code}
10363 tests complete (10 seconds)
121 tests pending
[INFO]
[INFO] --- apache-rat-plugin:0.11:check (default) @ ambari-web ---
[INFO] 51 implicit excludes (use -debug for more details).
[INFO] Exclude: .idea/**
[INFO] Exclude: package.json
[INFO] Exclude: public/**
[INFO] Exclude: public-static/**
[INFO] Exclude: app/assets/**
[INFO] Exclude: vendor/**
[INFO] Exclude: node_modules/**
[INFO] Exclude: node/**
[INFO] Exclude: npm-debug.log
[INFO] 1275 resources included (use -debug for more details)
[INFO] Rat check: Summary of files. Unapproved: 0 unknown: 0 generated: 0
approved: 1275 licence.
[INFO] ------------------------------------------------------------------------
[INFO] BUILD SUCCESS
[INFO] ------------------------------------------------------------------------
[INFO] Total time: 40.256s
[INFO] Finished at: Thu Feb 04 11:08:49 PST 2016
[INFO] Final Memory: 10M/188M
[INFO] ------------------------------------------------------------------------
{code}
> Enable security wizard hangs
> -----------------------------
>
> Key: AMBARI-14929
> URL: https://issues.apache.org/jira/browse/AMBARI-14929
> Project: Ambari
> Issue Type: Bug
> Components: ambari-web
> Affects Versions: 2.2.1
> Reporter: Srimanth Gunturi
> Assignee: Srimanth Gunturi
> Priority: Blocker
> Fix For: 2.4.0
>
> Attachments: AMBARI-14929.patch, Screen Shot 2016-02-04 at 10.22.58
> AM.png, Screen Shot 2016-02-04 at 10.23.27 AM.png
>
>
> Enabling security wizard hangs in the _Configure Kerberos_ page with below
> error in the Javascript console.
> {noformat}
> Uncaught TypeError: Cannot convert undefined or null to object
> App.WizardStep7Controller.Em.Controller.extend.applyServicesConfigs @
> app.js:38205
> App.KerberosWizardStep2Controller.App.WizardStep7Controller.extend.loadStep @
> app.js:9420
> newFunc @ vendor.js:2627
> (anonymous function) @ app.js:174969
> invoke @ vendor.js:5055
> invokeNextTimers @ vendor.js:5552
> app.js:54881
> App.serviceMetricsMapper execution time: 86.719ms
> {noformat}
> See attached screenshots.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)