Pivotal Knowledge Base


Installation of Pivotal HD 3.0.1 with Ambari fails while installing the Ambari Metrics Collector


Product Version
Pivotal HD (PHD) 3.0.1


Installation of PHD 3.0.1 via Ambari may fail while installing the component, Ambari Metrics Collector. An error message is seen as shown below. 

Error Message

The error details in the Ambari and /var/log/ambari-server/ambari-server.log will be shown as follows:  

  File "/usr/lib/python2.6/site-packages/resource_management/core/shell.py", line 291, in _call
raise Fail(err_msg)
resource_management.core.exceptions.Fail: Execution of '/usr/bin/yum -d 0 -e 0 -y install ambari-metrics-monitor' returned 1. Error: Package: ambari-metrics-monitor- (AMBARI-
Requires: python-devel
You could try using --skip-broken to work around the problem
You could try running: rpm -Va --nofiles --nodigest


The reason for this issue is that the python-devel package has not been installed on at least one of the nodes in the cluster.


  1. Confirm which of the nodes is missing the python-devel package:
    rpm -qa | grep python-devel
  2. Install python-devel on the nodes where it is missing. Depending on the OS, this can be doneviazypper, RPM, or with yum using a command such as the one shown here:
    yum install python-devel




Powered by Zendesk