Jayush Luniya created AMBARI-17792: -------------------------------------- Summary: EU fails because package conditions not evaluated correctly during install_packages Key: AMBARI-17792 URL: https://issues.apache.org/jira/browse/AMBARI-17792 Project: Ambari Issue Type: Bug Components: ambari-agent Affects Versions: 2.4.0 Reporter: Jayush Luniya Assignee: Jayush Luniya Priority: Blocker Fix For: 2.4.0
*Steps* # Deploy HDP-2.4.2 cluster with Ambari 2.4.0.0 (secure,Ranger enabled, customized service users enabled) # Start EU to 2.5.0.0-1000 Observed error at Restart Ranger Admin {code} Traceback (most recent call last): File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 199, in <module> RangerAdmin().execute() File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 280, in execute method(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 709, in restart self.start(env, upgrade_type=upgrade_type) File "/var/lib/ambari-agent/cache/common-services/RANGER/0.4.0/package/scripts/ranger_admin.py", line 90, in start solr_cloud_util.setup_solr_client(params.config, user = params.solr_user, custom_log4j = params.custom_log4j) File "/usr/lib/python2.6/site-packages/resource_management/libraries/functions/solr_cloud_util.py", line 208, in setup_solr_client content=StaticFile(solrCliFilename) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 155, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 160, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 124, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 123, in action_create content = self._get_content() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/system.py", line 160, in _get_content return content() File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 51, in __call__ return self.get_content() File "/usr/lib/python2.6/site-packages/resource_management/core/source.py", line 75, in get_content raise Fail("{0} Source file {1} is not found".format(repr(self), path)) resource_management.core.exceptions.Fail: StaticFile('/usr/lib/ambari-logsearch-solr-client/solrCloudCli.sh') Source file /usr/lib/ambari-logsearch-solr-client/solrCloudCli.sh is not found {code} -- This message was sent by Atlassian JIRA (v6.3.4#6332)