Hello. Your issue is quite simple. With current build process Ambari and Ambari Metrics are pretty wired so they come in single repository. You install server and agent from custom rpms so you don't have ambari.repo on your hosts. I can suggest adding ambari repository to nodes even if you don't use it for ambari itself or build and install metrics rpms also. -- Regards, Myroslav Papirkovskyy
________________________________________ Від: Scott Creeley [[email protected]] Надіслано: 27 березня 2015 р. 22:59 Кому: [email protected] Тема: ambari-metrics error on install - anyone see this or have an idea what is missing Hi Everyone, I'm experimenting with latest 2.0.0 trunk and added a new stack HDP/2.3.GlusterFS. I've included ambari-metrics as one of the deployed services...all services are installing ok, but ambari-metrics is failing and not sure what is missing, the error is pretty vague. I'm building ambari and deploying the ambari-server and ambari-agents rpms directly to my VMs and installing them. Any thoughts on this error? 2015-03-27 16:41:35,399 - SCOTT compare_versions versions = 2.3.0.0 2.2 2015-03-27 16:41:35,548 - Package['ambari-metrics-collector'] {} 2015-03-27 16:41:35,963 - Installing package ambari-metrics-collector ('/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-collector') 2015-03-27 16:41:39,869 - Error while executing command 'install': Traceback (most recent call last): File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 214, in execute method(env) File "/var/lib/ambari-agent/cache/common-services/AMBARI_METRICS/0.1.0/package/scripts/metrics_collector.py", line 32, in install self.install_packages(env) File "/usr/lib/python2.6/site-packages/resource_management/libraries/script/script.py", line 289, in install_packages Package(name) File "/usr/lib/python2.6/site-packages/resource_management/core/base.py", line 148, in __init__ self.env.run() File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 152, in run self.run_action(resource, action) File "/usr/lib/python2.6/site-packages/resource_management/core/environment.py", line 118, in run_action provider_action() File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/__init__.py", line 43, in action_install self.install_package(package_name, self.resource.use_repos) File "/usr/lib/python2.6/site-packages/resource_management/core/providers/package/yumrpm.py", line 51, in install_package shell.checked_call(cmd, sudo=True, logoutput=self.get_logoutput()) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 69, in inner result = function(command, **kwargs) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 87, in checked_call return _call(command, logoutput, True, cwd, env, preexec_fn, user, wait_for_finish, timeout, path, sudo, on_new_line) File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 205, in _call raise Fail(err_msg) Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-collector' returned 1. Error: Nothing to do 2015-03-27 16:41:39,901 - SCOTT input = 2.3.GlusterFS
