Repository: ambari
Updated Branches:
  refs/heads/trunk 961c33dcd -> 96d76f5c2


AMBARI-15416. Grafana password is required field after upgrade from 2.2.0 to 
2.2.2. Fix for install issue. (swagle)


Project: http://git-wip-us.apache.org/repos/asf/ambari/repo
Commit: http://git-wip-us.apache.org/repos/asf/ambari/commit/96d76f5c
Tree: http://git-wip-us.apache.org/repos/asf/ambari/tree/96d76f5c
Diff: http://git-wip-us.apache.org/repos/asf/ambari/diff/96d76f5c

Branch: refs/heads/trunk
Commit: 96d76f5c26914d8380f8b2045135189bc513b063
Parents: 961c33d
Author: Siddharth Wagle <swa...@hortonworks.com>
Authored: Thu Mar 17 11:41:09 2016 -0700
Committer: Siddharth Wagle <swa...@hortonworks.com>
Committed: Thu Mar 17 11:41:09 2016 -0700

----------------------------------------------------------------------
 .../src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py  | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ambari/blob/96d76f5c/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
----------------------------------------------------------------------
diff --git 
a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py 
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
index 54d6d6e..425ff76 100644
--- 
a/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
+++ 
b/ambari-server/src/main/resources/stacks/HDP/2.0.6/services/stack_advisor.py
@@ -674,7 +674,7 @@ class HDP206StackAdvisor(DefaultStackAdvisor):
     putAmsSiteProperty("timeline.metrics.cluster.aggregate.splitpoints", 
','.join(aggregate_splits))
 
     component_grafana_exists = False
-    for service in services:
+    for service in services['services']:
       if 'components' in service:
         for component in service['components']:
           if 'StackServiceComponents' in component:

Reply via email to