Open storagebit opened 4 years ago
Got this one on Centos 7.8
[2020/06/05-08:18:16] [ERROR] [esmon_build.py:296] failed to run command [cd /root/build/LustrePerfMon/build_esmon/2020-06-05-08_14_04/collectd.git && rpmbuild -ba --with write_tsdb --with nfs --without java --without amqp --without gmond --without nut --without pinba --without ping --without varnish --without dpdkstat --without turbostat --without redis --without write_redis --without gps --without lvm --define "_topdir /root/build/LustrePerfMon/build_esmon/2020-06-05-08_14_04/collectd.git" --define="rev $(git rev-parse --short HEAD)" --define="dist .el7" contrib/redhat/collectd.spec] on host [localhost], ret = [1], stdout = [], stderr = [error: Failed build dependencies:
libmodbus-devel is needed by collectd-5.7.3.g9b194de.ddn-8.el7.x86_64
mosquitto-devel is needed by collectd-5.7.3.g9b194de.ddn-8.el7.x86_64
python-devel is needed by collectd-5.7.3.g9b194de.ddn-8.el7.x86_64
riemann-c-client-devel >= 1.6 is needed by collectd-5.7.3.g9b194de.ddn-8.el7.x86_64
ganglia-devel is needed by collectd-5.7.3.g9b194de.ddn-8.el7.x86_64
]
[2020/06/05-08:18:16] [ERROR] [esmon_build.py:403] failed to build Collectd on host [localhost]
[2020/06/05-08:18:16] [ERROR] [esmon_build.py:1187] failed to prepare RPMs of CentOS7 on local host
[2020/06/05-08:18:16] [ERROR] [esmon_build.py:1429] build failed
So I do that
# yum install libmodbus-devel mosquitto-devel python-devel riemann-c-client-devel ganglia-devel
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:766] starting [rm -fr /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/dependent && mv /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/copying/dependent /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/dependent && rm -rf /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/copying] on host [localhost]
[2020/06/05-08:34:18] [DEBUG] [utils.py:200] command [rm -fr /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/dependent && mv /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/copying/dependent /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/dependent && rm -rf /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/copying] finished, ret = [0], stdout = [], stderr = []
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:785] ran [rm -fr /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/dependent && mv /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/copying/dependent /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/dependent && rm -rf /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/copying] on host [localhost], ret = [0], stdout = [], stderr = []
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:766] starting [mkdir -p /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server] on host [localhost]
[2020/06/05-08:34:18] [DEBUG] [utils.py:200] command [mkdir -p /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server] finished, ret = [0], stdout = [], stderr = []
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:785] ran [mkdir -p /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server] on host [localhost], ret = [0], stdout = [], stderr = []
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:766] starting [test -e /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server/grafana-6.0.2-1.x86_64.rpm] on host [localhost]
[2020/06/05-08:34:18] [DEBUG] [utils.py:200] command [test -e /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server/grafana-6.0.2-1.x86_64.rpm] finished, ret = [1], stdout = [], stderr = []
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:785] ran [test -e /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server/grafana-6.0.2-1.x86_64.rpm] on host [localhost], ret = [1], stdout = [], stderr = []
[2020/06/05-08:34:18] [DEBUG] [esmon_build.py:1253] file [/root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server/grafana-6.0.2-1.x86_64.rpm] doesn't exist, downloading it
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:766] starting [cd /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server && wget --no-check-certificate https://dl.grafana.com/oss/release/grafana-6.0.2-1.x86_64.rpm] on host [localhost]
[2020/06/05-08:34:18] [DEBUG] [utils.py:200] command [cd /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server && wget --no-check-certificate https://dl.grafana.com/oss/release/grafana-6.0.2-1.x86_64.rpm] finished, ret = [127], stdout = [], stderr = [/bin/bash: wget: command not found
]
[2020/06/05-08:34:18] [DEBUG] [ssh_host.py:785] ran [cd /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server && wget --no-check-certificate https://dl.grafana.com/oss/release/grafana-6.0.2-1.x86_64.rpm] on host [localhost], ret = [127], stdout = [], stderr = [/bin/bash: wget: command not found
]
[2020/06/05-08:34:18] [ERROR] [esmon_build.py:1264] failed to run command [cd /root/build/LustrePerfMon/../iso_cached_dir/RPMS/rhel7/x86_64/server && wget --no-check-certificate https://dl.grafana.com/oss/release/grafana-6.0.2-1.x86_64.rpm] on host [localhost], ret = [127], stdout = [], stderr = [/bin/bash: wget: command not found
]
[2020/06/05-08:34:18] [ERROR] [esmon_build.py:1429] build failed
[root@localhost LustrePerfMon]#
So look like I need also wget And with that I got my iso
Hi, When building esmon on a new CentOS7.7 server installed with minimal iso, there are few more dependencies than as documented currently.
FMPOV, these additional dependencies should be added to the documentation.