/var/run/cloudera-scm-agent/process/334-collect-host-statistics/hostname-4f1a0739-1914-49a3-9087-b6da9e442e1a-IP-host-statistics
ll
-rw-r--r--. 1 root root 22833 Jul 25 00:31 run.log
drwxr-xr-x. 2 root root 5540 Jul 25 00:31 sysstats
tail -n 2000 run.log
2018-07-25 00:30:00,524 machine_stats INFO : Writing files to /run/cloudera-scm-agent/process/334-collect-host-statistics/hostnbame-4f1a0739-1914-49a3-9087-b6da9e442e1a-10.54.108.18-host-statistics
2018-07-25 00:30:00,525 stats INFO : Running ['cat', '/etc/hostname']
2018-07-25 00:30:00,531 stats INFO : Running ['ls', '-la', '/opt/cloudera/parcels']
2018-07-25 00:30:00,540 stats INFO : Running ['vmstat']
2018-07-25 00:30:00,547 stats INFO : Running ['dmesg']
2018-07-25 00:30:00,581 stats INFO : Running ['cat', '/proc/swaps']
2018-07-25 00:30:00,588 stats INFO : Running ['date']
2018-07-25 00:30:00,593 stats INFO : Running ['nslookup', '-query=any', 'hostnbame']
2018-07-25 00:30:00,625 stats INFO : Running ['cat', '/proc/diskstats']
2018-07-25 00:30:00,631 stats INFO : Running ['python', '-c', 'import platform;print platform.dist()']
2018-07-25 00:30:00,657 stats INFO : Running ['ps', 'aux']
2018-07-25 00:30:00,744 stats INFO : Running ['java', '-version']
2018-07-25 00:30:00,808 stats INFO : Running ['cat', '/var/log/kern.log']
2018-07-25 00:30:00,813 stats INFO : Running ['hostname', '--fqdn']
2018-07-25 00:30:00,824 stats INFO : Running ['ls', '/etc/yum.repos.d']
2018-07-25 00:30:00,829 stats INFO : Running ['cat', '/etc/apt/sources.list']
2018-07-25 00:30:00,834 stats INFO : Running ['dig', 'any', 'hostnbame']
2018-07-25 00:30:00,849 stats INFO : Running ['sar', '-A']
2018-07-25 00:30:00,860 stats INFO : Running ['grep', '-r', '.', '/sys/kernel/mm']
2018-07-25 00:30:00,866 stats INFO : Running ['ls', '-la', '/var/lib/sqoop']
2018-07-25 00:30:00,872 stats INFO : Running ['ip', '-s', '-s', 'a']
2018-07-25 00:30:00,887 stats INFO : Running ['rpm', '-qa']
2018-07-25 00:30:01,590 stats INFO : Running ['cat', '/proc/sys/vm/swappiness']
2018-07-25 00:30:01,598 stats INFO : Running ['ethtool', 'eth0']
2018-07-25 00:30:01,631 stats INFO : Running ['cat', '/etc/krb5.conf']
2018-07-25 00:30:01,637 stats INFO : Running ['systemctl', '-l status firewalld.service']
2018-07-25 00:30:01,654 stats INFO : Running ['zypper', 'repos', '-d']
2018-07-25 00:30:01,661 stats ERROR : Error running command zypper repos -d. [Errno 2] No such file or directory
2018-07-25 00:30:01,661 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:30:01,662 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:30:01,662 stats INFO : Running ['bash', '-c', 'PATH=/usr/bin:/usr/sbin:"$PATH"; for x in /etc/alternatives/*; do echo $x; update-alternatives --display $(basename $x); echo -------------; done']
2018-07-25 00:30:02,062 stats INFO : Running ['cat', '/etc/sysconfig/network/ifcfg-eth0']
2018-07-25 00:30:02,068 stats INFO : Running ['cat', '/proc/interrupts']
2018-07-25 00:30:02,083 stats INFO : Running ['cat', '/proc/sys/kernel/random/entropy_avail']
2018-07-25 00:30:02,089 stats INFO : Running ['lsmod']
2018-07-25 00:30:02,104 stats INFO : Running ['blkid']
2018-07-25 00:30:04,067 stats INFO : Running ['pvdisplay']
2018-07-25 00:30:04,620 stats INFO : Running ['bash', '-c', "cd ..; find -maxdepth 1 -mindepth 1 -type d -name '[a-zA-Z0-9_-]*' -printf '%T@ %p\n' | sort -k 1nr | awk '{ print $2 }'"]
2018-07-25 00:30:04,630 stats INFO : Running ['supervisorctl', '-c', '../../supervisor/supervisord.conf', 'status']
2018-07-25 00:30:04,770 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 41-flume-AGENT/exit_code ]] && cat 41-flume-AGENT/exit_code; } || { [[ -f 41-flume-AGENT/__cloudera_metadata__ ]] && grep exit_code 41-flume-AGENT/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,777 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 180-kafka-KAFKA_BROKER/exit_code ]] && cat 180-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 180-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 180-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,783 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 272-GracefulRoleStopRunner/exit_code ]] && cat 272-GracefulRoleStopRunner/exit_code; } || { [[ -f 272-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 272-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,789 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 183-collect-host-statistics/exit_code ]] && cat 183-collect-host-statistics/exit_code; } || { [[ -f 183-collect-host-statistics/__cloudera_metadata__ ]] && grep exit_code 183-collect-host-statistics/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,796 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 191-host-inspector/exit_code ]] && cat 191-host-inspector/exit_code; } || { [[ -f 191-host-inspector/__cloudera_metadata__ ]] && grep exit_code 191-host-inspector/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,803 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 177-kafka-KAFKA_BROKER/exit_code ]] && cat 177-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 177-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 177-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,808 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 170-kafka-KAFKA_BROKER/exit_code ]] && cat 170-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 170-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 170-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,815 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 167-GracefulRoleStopRunner/exit_code ]] && cat 167-GracefulRoleStopRunner/exit_code; } || { [[ -f 167-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 167-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,823 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 103-kafka-KAFKA_BROKER/exit_code ]] && cat 103-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 103-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 103-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,829 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f ccdeploy_etc_6097391424923141499/exit_code ]] && cat ccdeploy_etc_6097391424923141499/exit_code; } || { [[ -f ccdeploy_etc_6097391424923141499/__cloudera_metadata__ ]] && grep exit_code ccdeploy_etc_6097391424923141499/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,835 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 147-collect-host-statistics/exit_code ]] && cat 147-collect-host-statistics/exit_code; } || { [[ -f 147-collect-host-statistics/__cloudera_metadata__ ]] && grep exit_code 147-collect-host-statistics/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,842 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 155-host-inspector/exit_code ]] && cat 155-host-inspector/exit_code; } || { [[ -f 155-host-inspector/__cloudera_metadata__ ]] && grep exit_code 155-host-inspector/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,848 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 100-GracefulRoleStopRunner/exit_code ]] && cat 100-GracefulRoleStopRunner/exit_code; } || { [[ -f 100-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 100-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,855 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 95-kafka-KAFKA_BROKER/exit_code ]] && cat 95-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 95-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 95-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,861 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/exit_code ]] && cat ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/exit_code; } || { [[ -f ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/__cloudera_metadata__ ]] && grep exit_code ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,868 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/exit_code ]] && cat ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/exit_code; } || { [[ -f ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/__cloudera_metadata__ ]] && grep exit_code ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,875 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 18-kafka-KAFKA_BROKER/exit_code ]] && cat 18-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 18-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 18-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,881 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 92-GracefulRoleStopRunner/exit_code ]] && cat 92-GracefulRoleStopRunner/exit_code; } || { [[ -f 92-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 92-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,887 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 70-collect-host-statistics/exit_code ]] && cat 70-collect-host-statistics/exit_code; } || { [[ -f 70-collect-host-statistics/__cloudera_metadata__ ]] && grep exit_code 70-collect-host-statistics/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,894 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 79-host-inspector/exit_code ]] && cat 79-host-inspector/exit_code; } || { [[ -f 79-host-inspector/__cloudera_metadata__ ]] && grep exit_code 79-host-inspector/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,900 stats INFO : Running ['bash', '-c', u"cd ..; echo '41-flume-AGENT 180-kafka-KAFKA_BROKER 272-GracefulRoleStopRunner 183-collect-host-statistics 191-host-inspector 177-kafka-KAFKA_BROKER 170-kafka-KAFKA_BROKER 167-GracefulRoleStopRunner 103-kafka-KAFKA_BROKER 147-collect-host-statistics 155-host-inspector 100-GracefulRoleStopRunner 95-kafka-KAFKA_BROKER 18-kafka-KAFKA_BROKER 92-GracefulRoleStopRunner 70-collect-host-statistics 79-host-inspector' | tr ' ' '\n' | xargs -I XXX tail -c 2048 XXX/logs/stderr.log XXX/logs/stdout.log"]
2018-07-25 00:30:04,928 stats INFO : Running ['cat', '/proc/mdstat']
2018-07-25 00:30:04,933 stats INFO : Running ['top', '-b', '-c', '-n 1']
2018-07-25 00:30:05,169 stats INFO : Running ['cat', '/etc/SuSE-release', '/etc/suse-release']
2018-07-25 00:30:05,175 stats INFO : Running ['lsb_release', '-a']
2018-07-25 00:30:05,200 stats INFO : Running ['cat', '/proc/meminfo']
2018-07-25 00:30:05,206 stats INFO : Running ['bash', '-c', "cd ..; find -maxdepth 2 -mindepth 2 -type d -name logs -printf '%T@ %p\n' | sort -k 1nr | awk '{ print $2 }' | xargs du -sh"]
2018-07-25 00:30:05,220 stats INFO : Running ['ntpq', '-pn']
2018-07-25 00:30:05,238 stats INFO : Running ['uname', '-a']
2018-07-25 00:30:05,244 stats INFO : Running ['lshw']
2018-07-25 00:30:05,249 stats ERROR : Error running command lshw. [Errno 2] No such file or directory
2018-07-25 00:30:05,249 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:30:05,250 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:30:05,250 stats INFO : Running ['supervisorctl', '-c', '../../supervisor/supervisord.conf', 'status']
2018-07-25 00:30:05,387 stats INFO : Running ['uname', '-r']
2018-07-25 00:30:05,392 stats INFO : Running ['lsblk']
2018-07-25 00:30:05,408 stats INFO : Running ['cat', '/proc/cpuinfo']
2018-07-25 00:30:05,422 stats INFO : Running ['lsof', '-n', '-P']
2018-07-25 00:30:54,747 stats INFO : Running ['cat', '/var/log/messages']
2018-07-25 00:30:54,886 stats INFO : Running ['host', '-v', '-t', 'A', 'hostnbame']
2018-07-25 00:30:54,901 stats INFO : Running ['bash', '-c', 'grep -r . /sys/block/*/queue/rotational']
2018-07-25 00:30:54,909 stats INFO : Running ['lvdisplay']
2018-07-25 00:30:54,940 stats INFO : Running ['ntpstat']
2018-07-25 00:30:54,946 stats INFO : Running ['dmidecode']
2018-07-25 00:30:54,957 stats INFO : Running ['journalctl', '--lines=2000']
2018-07-25 00:30:55,009 stats INFO : Running ['cat', '/etc/host.conf']
2018-07-25 00:30:55,014 stats INFO : Running ['dpkg', '-l']
2018-07-25 00:30:55,019 stats ERROR : Error running command dpkg -l. [Errno 2] No such file or directory
2018-07-25 00:30:55,019 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:30:55,020 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:30:55,020 stats INFO : Running ['cat', '/etc/issue']
2018-07-25 00:30:55,025 stats INFO : Running ['df', '-i']
2018-07-25 00:30:55,033 stats INFO : Running ['cat', '/etc/oracle-release']
2018-07-25 00:30:55,037 stats INFO : Running ['cat', '/etc/redhat-release']
2018-07-25 00:30:55,042 stats INFO : Running ['cat', '/etc/sysconfig/network']
2018-07-25 00:30:55,047 stats INFO : Running ['ss', '-a']
2018-07-25 00:30:55,109 stats INFO : Running ['cat', '/etc/security/limits.conf']
2018-07-25 00:30:55,114 stats INFO : Running ['cat', '/var/kerberos/krb5kdc/kadm5.acl']
2018-07-25 00:30:55,119 stats INFO : Running ['cat', '/etc/nsswitch.conf']
2018-07-25 00:30:55,124 stats INFO : Running ['cat', '/var/kerberos/krb5kdc/kdc.conf']
2018-07-25 00:30:55,128 stats INFO : Running ['iostat', '4', '10']
2018-07-25 00:31:31,141 stats INFO : Running ['cat', '/proc/mounts']
2018-07-25 00:31:31,148 stats INFO : Running ['cat', '/etc/hosts']
2018-07-25 00:31:31,154 stats INFO : Running ['cat', '/etc/resolv.conf']
2018-07-25 00:31:31,160 stats INFO : Running ['dmsetup', 'ls', '--tree']
2018-07-25 00:31:31,170 stats INFO : Running ['uptime']
2018-07-25 00:31:31,177 stats INFO : Running ['curl', '-m', '1', '
http://169.254.169.254/2011-01-01/meta-data/instance-type']
2018-07-25 00:31:31,192 stats INFO : Running ['bash', '-c', 'for x in /etc/security/limits.d/*; do echo "file $x:"; cat $x; echo; echo; done']
2018-07-25 00:31:31,200 stats INFO : Running ['cat', '/proc/partitions']
2018-07-25 00:31:31,205 stats INFO : Running ['service', '--status-all']
2018-07-25 00:31:31,455 stats INFO : Running ['lscpu']
2018-07-25 00:31:31,469 stats INFO : Running ['systemctl', 'list-unit-files']
2018-07-25 00:31:31,638 stats INFO : Running ['ethtool', '-S', 'eth0']
2018-07-25 00:31:31,649 stats INFO : Running ['df', '-k']
2018-07-25 00:31:31,656 stats INFO : Running ['iptables', '-L', '-v', '-n']
2018-07-25 00:31:31,671 stats INFO : Running ['numactl', '--hardware']
2018-07-25 00:31:31,676 stats ERROR : Error running command numactl --hardware. [Errno 2] No such file or directory
2018-07-25 00:31:31,676 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:31:31,676 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:31:31,676 stats INFO : Running ['lspci']
2018-07-25 00:31:31,708 stats INFO : Running ['cat', '/proc/vmstat']
2018-07-25 00:31:31,713 stats INFO : Running ['python', '-c', 'import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())']
2018-07-25 00:31:31,743 stats INFO : Running ['cat', '/etc/fstab']
2018-07-25 00:31:31,748 stats INFO : Running ['cat', '/etc/sysconfig/network-scripts/ifcfg-eth0']
2018-07-25 00:31:31,753 stats INFO : Running ['nstat', '-asz']
2018-07-25 00:31:31,760 stats INFO : Running ['vgdisplay']
2018-07-25 00:31:31,784 stats INFO : Running ['sestatus']
2018-07-25 00:31:31,790 stats INFO : Running ['cat', '/etc/mtab']
2018-07-25 00:31:31,796 stats INFO : Running ['cat', '/etc/selinux/config']
2018-07-25 00:31:31,801 stats INFO : Running ['/sbin/sysctl', '-A']
2018-07-25 00:31:31,865 stats INFO : Running ['firewall-cmd', '--list-all-zones']
/var/run/cloudera-scm-agent/process/334-collect-host-statistics/logs
[root@hostname logs]# cat stderr.log
Wed Jul 25 00:30:00 BRT 2018
Wed Jul 25 00:30:00 BRT 2018
+ locate_java_home
+ locate_java_home_no_verify
+ JAVA6_HOME_CANDIDATES=('/usr/lib/j2sdk1.6-sun' '/usr/lib/jvm/java-6-sun' '/usr/lib/jvm/java-1.6.0-sun-1.6.0' '/usr/lib/jvm/j2sdk1.6-oracle' '/usr/lib/jvm/j2sdk1.6-oracle/jre' '/usr/java/jdk1.6' '/usr/java/jre1.6')
+ local JAVA6_HOME_CANDIDATES
+ OPENJAVA6_HOME_CANDIDATES=('/usr/lib/jvm/java-1.6.0-openjdk' '/usr/lib/jvm/jre-1.6.0-openjdk')
+ local OPENJAVA6_HOME_CANDIDATES
+ JAVA7_HOME_CANDIDATES=('/usr/java/jdk1.7' '/usr/java/jre1.7' '/usr/lib/jvm/j2sdk1.7-oracle' '/usr/lib/jvm/j2sdk1.7-oracle/jre' '/usr/lib/jvm/java-7-oracle')
+ local JAVA7_HOME_CANDIDATES
+ OPENJAVA7_HOME_CANDIDATES=('/usr/lib/jvm/java-1.7.0-openjdk' '/usr/lib/jvm/java-7-openjdk')
+ local OPENJAVA7_HOME_CANDIDATES
+ JAVA8_HOME_CANDIDATES=('/usr/java/jdk1.8' '/usr/java/jre1.8' '/usr/lib/jvm/j2sdk1.8-oracle' '/usr/lib/jvm/j2sdk1.8-oracle/jre' '/usr/lib/jvm/java-8-oracle')
+ local JAVA8_HOME_CANDIDATES
+ OPENJAVA8_HOME_CANDIDATES=('/usr/lib/jvm/java-1.8.0-openjdk' '/usr/lib/jvm/java-8-openjdk')
+ local OPENJAVA8_HOME_CANDIDATES
+ MISCJAVA_HOME_CANDIDATES=('/Library/Java/Home' '/usr/java/default' '/usr/lib/jvm/default-java' '/usr/lib/jvm/java-openjdk' '/usr/lib/jvm/jre-openjdk')
+ local MISCJAVA_HOME_CANDIDATES
+ case ${BIGTOP_JAVA_MAJOR} in
+ JAVA_HOME_CANDIDATES=(${JAVA7_HOME_CANDIDATES[@]} ${JAVA8_HOME_CANDIDATES[@]} ${JAVA6_HOME_CANDIDATES[@]} ${MISCJAVA_HOME_CANDIDATES[@]} ${OPENJAVA7_HOME_CANDIDATES[@]} ${OPENJAVA8_HOME_CANDIDATES[@]} ${OPENJAVA6_HOME_CANDIDATES[@]})
+ '[' -z '' ']'
+ for candidate_regex in '${JAVA_HOME_CANDIDATES[@]}'
++ ls -rvd '/usr/java/jdk1.7*'
+ for candidate_regex in '${JAVA_HOME_CANDIDATES[@]}'
++ ls -rvd '/usr/java/jre1.7*'
+ for candidate_regex in '${JAVA_HOME_CANDIDATES[@]}'
++ ls -rvd '/usr/lib/jvm/j2sdk1.7-oracle*'
+ for candidate_regex in '${JAVA_HOME_CANDIDATES[@]}'
++ ls -rvd '/usr/lib/jvm/j2sdk1.7-oracle/jre*'
+ for candidate_regex in '${JAVA_HOME_CANDIDATES[@]}'
++ ls -rvd '/usr/lib/jvm/java-7-oracle*'
+ for candidate_regex in '${JAVA_HOME_CANDIDATES[@]}'
++ ls -rvd /usr/java/jdk1.8.0_131
+ for candidate in '`ls -rvd ${candidate_regex}* 2>/dev/null`'
+ '[' -e /usr/java/jdk1.8.0_131/bin/java ']'
+ export JAVA_HOME=/usr/java/jdk1.8.0_131
+ JAVA_HOME=/usr/java/jdk1.8.0_131
+ break 2
+ verify_java_home
+ '[' -z /usr/java/jdk1.8.0_131 ']'
+ echo JAVA_HOME=/usr/java/jdk1.8.0_131
+ source_parcel_environment
+ '[' '!' -z '' ']'
+++ dirname /usr/lib64/cmf/service/support/collect_host_stats.sh
++ cd /usr/lib64/cmf/service/support/../../agent/build/env/bin
++ pwd
+ export SUPERVISOR_DIR=/usr/lib64/cmf/agent/build/env/bin
+ SUPERVISOR_DIR=/usr/lib64/cmf/agent/build/env/bin
++ dirname /usr/lib64/cmf/service/support/collect_host_stats.sh
+ exec /usr/lib64/cmf/service/support/collect_host_stats.py
[root@brux2118 logs]# pwd
/var/run/cloudera-scm-agent/process/334-collect-host-statistics/logs
[root@brux2118 logs]# cat stdout.log
Wed Jul 25 00:30:00 BRT 2018
Current working directory: /run/cloudera-scm-agent/process/334-collect-host-statistics
Launching one-off process: /usr/lib64/cmf/service/support/collect_host_stats.sh
Wed Jul 25 00:30:00 BRT 2018
JAVA_HOME=/usr/java/jdk1.8.0_131
2018-07-25 00:30:00,524 machine_stats INFO : Writing files to /run/cloudera-scm-agent/process/334-collect-host-statistics/hostnbame-4f1a0739-1914-49a3-9087-b6da9e442e1a-10.54.108.18-host-statistics
2018-07-25 00:30:00,525 stats INFO : Running ['cat', '/etc/hostname']
2018-07-25 00:30:00,531 stats INFO : Running ['ls', '-la', '/opt/cloudera/parcels']
2018-07-25 00:30:00,540 stats INFO : Running ['vmstat']
2018-07-25 00:30:00,547 stats INFO : Running ['dmesg']
2018-07-25 00:30:00,581 stats INFO : Running ['cat', '/proc/swaps']
2018-07-25 00:30:00,588 stats INFO : Running ['date']
2018-07-25 00:30:00,593 stats INFO : Running ['nslookup', '-query=any', 'hostnbame']
2018-07-25 00:30:00,625 stats INFO : Running ['cat', '/proc/diskstats']
2018-07-25 00:30:00,631 stats INFO : Running ['python', '-c', 'import platform;print platform.dist()']
2018-07-25 00:30:00,657 stats INFO : Running ['ps', 'aux']
2018-07-25 00:30:00,744 stats INFO : Running ['java', '-version']
2018-07-25 00:30:00,808 stats INFO : Running ['cat', '/var/log/kern.log']
2018-07-25 00:30:00,813 stats INFO : Running ['hostname', '--fqdn']
2018-07-25 00:30:00,824 stats INFO : Running ['ls', '/etc/yum.repos.d']
2018-07-25 00:30:00,829 stats INFO : Running ['cat', '/etc/apt/sources.list']
2018-07-25 00:30:00,834 stats INFO : Running ['dig', 'any', 'hostnbame']
2018-07-25 00:30:00,849 stats INFO : Running ['sar', '-A']
2018-07-25 00:30:00,860 stats INFO : Running ['grep', '-r', '.', '/sys/kernel/mm']
2018-07-25 00:30:00,866 stats INFO : Running ['ls', '-la', '/var/lib/sqoop']
2018-07-25 00:30:00,872 stats INFO : Running ['ip', '-s', '-s', 'a']
2018-07-25 00:30:00,887 stats INFO : Running ['rpm', '-qa']
2018-07-25 00:30:01,590 stats INFO : Running ['cat', '/proc/sys/vm/swappiness']
2018-07-25 00:30:01,598 stats INFO : Running ['ethtool', 'eth0']
2018-07-25 00:30:01,631 stats INFO : Running ['cat', '/etc/krb5.conf']
2018-07-25 00:30:01,637 stats INFO : Running ['systemctl', '-l status firewalld.service']
2018-07-25 00:30:01,654 stats INFO : Running ['zypper', 'repos', '-d']
2018-07-25 00:30:01,661 stats ERROR : Error running command zypper repos -d. [Errno 2] No such file or directory
2018-07-25 00:30:01,661 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:30:01,662 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:30:01,662 stats INFO : Running ['bash', '-c', 'PATH=/usr/bin:/usr/sbin:"$PATH"; for x in /etc/alternatives/*; do echo $x; update-alternatives --display $(basename $x); echo -------------; done']
2018-07-25 00:30:02,062 stats INFO : Running ['cat', '/etc/sysconfig/network/ifcfg-eth0']
2018-07-25 00:30:02,068 stats INFO : Running ['cat', '/proc/interrupts']
2018-07-25 00:30:02,083 stats INFO : Running ['cat', '/proc/sys/kernel/random/entropy_avail']
2018-07-25 00:30:02,089 stats INFO : Running ['lsmod']
2018-07-25 00:30:02,104 stats INFO : Running ['blkid']
2018-07-25 00:30:04,067 stats INFO : Running ['pvdisplay']
2018-07-25 00:30:04,620 stats INFO : Running ['bash', '-c', "cd ..; find -maxdepth 1 -mindepth 1 -type d -name '[a-zA-Z0-9_-]*' -printf '%T@ %p\n' | sort -k 1nr | awk '{ print $2 }'"]
2018-07-25 00:30:04,630 stats INFO : Running ['supervisorctl', '-c', '../../supervisor/supervisord.conf', 'status']
2018-07-25 00:30:04,770 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 41-flume-AGENT/exit_code ]] && cat 41-flume-AGENT/exit_code; } || { [[ -f 41-flume-AGENT/__cloudera_metadata__ ]] && grep exit_code 41-flume-AGENT/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,777 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 180-kafka-KAFKA_BROKER/exit_code ]] && cat 180-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 180-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 180-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,783 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 272-GracefulRoleStopRunner/exit_code ]] && cat 272-GracefulRoleStopRunner/exit_code; } || { [[ -f 272-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 272-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,789 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 183-collect-host-statistics/exit_code ]] && cat 183-collect-host-statistics/exit_code; } || { [[ -f 183-collect-host-statistics/__cloudera_metadata__ ]] && grep exit_code 183-collect-host-statistics/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,796 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 191-host-inspector/exit_code ]] && cat 191-host-inspector/exit_code; } || { [[ -f 191-host-inspector/__cloudera_metadata__ ]] && grep exit_code 191-host-inspector/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,803 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 177-kafka-KAFKA_BROKER/exit_code ]] && cat 177-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 177-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 177-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,808 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 170-kafka-KAFKA_BROKER/exit_code ]] && cat 170-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 170-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 170-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,815 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 167-GracefulRoleStopRunner/exit_code ]] && cat 167-GracefulRoleStopRunner/exit_code; } || { [[ -f 167-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 167-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,823 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 103-kafka-KAFKA_BROKER/exit_code ]] && cat 103-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 103-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 103-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,829 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f ccdeploy_etc_6097391424923141499/exit_code ]] && cat ccdeploy_etc_6097391424923141499/exit_code; } || { [[ -f ccdeploy_etc_6097391424923141499/__cloudera_metadata__ ]] && grep exit_code ccdeploy_etc_6097391424923141499/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,835 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 147-collect-host-statistics/exit_code ]] && cat 147-collect-host-statistics/exit_code; } || { [[ -f 147-collect-host-statistics/__cloudera_metadata__ ]] && grep exit_code 147-collect-host-statistics/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,842 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 155-host-inspector/exit_code ]] && cat 155-host-inspector/exit_code; } || { [[ -f 155-host-inspector/__cloudera_metadata__ ]] && grep exit_code 155-host-inspector/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,848 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 100-GracefulRoleStopRunner/exit_code ]] && cat 100-GracefulRoleStopRunner/exit_code; } || { [[ -f 100-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 100-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,855 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 95-kafka-KAFKA_BROKER/exit_code ]] && cat 95-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 95-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 95-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,861 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/exit_code ]] && cat ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/exit_code; } || { [[ -f ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/__cloudera_metadata__ ]] && grep exit_code ccdeploy_spark2-conf_etcspark2conf.cloudera.spark2_on_yarn_7244578539820605661/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,868 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/exit_code ]] && cat ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/exit_code; } || { [[ -f ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/__cloudera_metadata__ ]] && grep exit_code ccdeploy_sentry-conf_etcsentryconf.cloudera.sentry_8909915157244182718/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,875 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 18-kafka-KAFKA_BROKER/exit_code ]] && cat 18-kafka-KAFKA_BROKER/exit_code; } || { [[ -f 18-kafka-KAFKA_BROKER/__cloudera_metadata__ ]] && grep exit_code 18-kafka-KAFKA_BROKER/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,881 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 92-GracefulRoleStopRunner/exit_code ]] && cat 92-GracefulRoleStopRunner/exit_code; } || { [[ -f 92-GracefulRoleStopRunner/__cloudera_metadata__ ]] && grep exit_code 92-GracefulRoleStopRunner/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,887 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 70-collect-host-statistics/exit_code ]] && cat 70-collect-host-statistics/exit_code; } || { [[ -f 70-collect-host-statistics/__cloudera_metadata__ ]] && grep exit_code 70-collect-host-statistics/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,894 stats INFO : Running ['bash', '-c', u"cd ..; { [[ -f 79-host-inspector/exit_code ]] && cat 79-host-inspector/exit_code; } || { [[ -f 79-host-inspector/__cloudera_metadata__ ]] && grep exit_code 79-host-inspector/__cloudera_metadata__ | awk '{ print $2 }'; } || echo 0"]
2018-07-25 00:30:04,900 stats INFO : Running ['bash', '-c', u"cd ..; echo '41-flume-AGENT 180-kafka-KAFKA_BROKER 272-GracefulRoleStopRunner 183-collect-host-statistics 191-host-inspector 177-kafka-KAFKA_BROKER 170-kafka-KAFKA_BROKER 167-GracefulRoleStopRunner 103-kafka-KAFKA_BROKER 147-collect-host-statistics 155-host-inspector 100-GracefulRoleStopRunner 95-kafka-KAFKA_BROKER 18-kafka-KAFKA_BROKER 92-GracefulRoleStopRunner 70-collect-host-statistics 79-host-inspector' | tr ' ' '\n' | xargs -I XXX tail -c 2048 XXX/logs/stderr.log XXX/logs/stdout.log"]
2018-07-25 00:30:04,928 stats INFO : Running ['cat', '/proc/mdstat']
2018-07-25 00:30:04,933 stats INFO : Running ['top', '-b', '-c', '-n 1']
2018-07-25 00:30:05,169 stats INFO : Running ['cat', '/etc/SuSE-release', '/etc/suse-release']
2018-07-25 00:30:05,175 stats INFO : Running ['lsb_release', '-a']
2018-07-25 00:30:05,200 stats INFO : Running ['cat', '/proc/meminfo']
2018-07-25 00:30:05,206 stats INFO : Running ['bash', '-c', "cd ..; find -maxdepth 2 -mindepth 2 -type d -name logs -printf '%T@ %p\n' | sort -k 1nr | awk '{ print $2 }' | xargs du -sh"]
2018-07-25 00:30:05,220 stats INFO : Running ['ntpq', '-pn']
2018-07-25 00:30:05,238 stats INFO : Running ['uname', '-a']
2018-07-25 00:30:05,244 stats INFO : Running ['lshw']
2018-07-25 00:30:05,249 stats ERROR : Error running command lshw. [Errno 2] No such file or directory
2018-07-25 00:30:05,249 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:30:05,250 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:30:05,250 stats INFO : Running ['supervisorctl', '-c', '../../supervisor/supervisord.conf', 'status']
2018-07-25 00:30:05,387 stats INFO : Running ['uname', '-r']
2018-07-25 00:30:05,392 stats INFO : Running ['lsblk']
2018-07-25 00:30:05,408 stats INFO : Running ['cat', '/proc/cpuinfo']
2018-07-25 00:30:05,422 stats INFO : Running ['lsof', '-n', '-P']
2018-07-25 00:30:54,747 stats INFO : Running ['cat', '/var/log/messages']
2018-07-25 00:30:54,886 stats INFO : Running ['host', '-v', '-t', 'A', 'hostnbame']
2018-07-25 00:30:54,901 stats INFO : Running ['bash', '-c', 'grep -r . /sys/block/*/queue/rotational']
2018-07-25 00:30:54,909 stats INFO : Running ['lvdisplay']
2018-07-25 00:30:54,940 stats INFO : Running ['ntpstat']
2018-07-25 00:30:54,946 stats INFO : Running ['dmidecode']
2018-07-25 00:30:54,957 stats INFO : Running ['journalctl', '--lines=2000']
2018-07-25 00:30:55,009 stats INFO : Running ['cat', '/etc/host.conf']
2018-07-25 00:30:55,014 stats INFO : Running ['dpkg', '-l']
2018-07-25 00:30:55,019 stats ERROR : Error running command dpkg -l. [Errno 2] No such file or directory
2018-07-25 00:30:55,019 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:30:55,020 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:30:55,020 stats INFO : Running ['cat', '/etc/issue']
2018-07-25 00:30:55,025 stats INFO : Running ['df', '-i']
2018-07-25 00:30:55,033 stats INFO : Running ['cat', '/etc/oracle-release']
2018-07-25 00:30:55,037 stats INFO : Running ['cat', '/etc/redhat-release']
2018-07-25 00:30:55,042 stats INFO : Running ['cat', '/etc/sysconfig/network']
2018-07-25 00:30:55,047 stats INFO : Running ['ss', '-a']
2018-07-25 00:30:55,109 stats INFO : Running ['cat', '/etc/security/limits.conf']
2018-07-25 00:30:55,114 stats INFO : Running ['cat', '/var/kerberos/krb5kdc/kadm5.acl']
2018-07-25 00:30:55,119 stats INFO : Running ['cat', '/etc/nsswitch.conf']
2018-07-25 00:30:55,124 stats INFO : Running ['cat', '/var/kerberos/krb5kdc/kdc.conf']
2018-07-25 00:30:55,128 stats INFO : Running ['iostat', '4', '10']
2018-07-25 00:31:31,141 stats INFO : Running ['cat', '/proc/mounts']
2018-07-25 00:31:31,148 stats INFO : Running ['cat', '/etc/hosts']
2018-07-25 00:31:31,154 stats INFO : Running ['cat', '/etc/resolv.conf']
2018-07-25 00:31:31,160 stats INFO : Running ['dmsetup', 'ls', '--tree']
2018-07-25 00:31:31,170 stats INFO : Running ['uptime']
2018-07-25 00:31:31,177 stats INFO : Running ['curl', '-m', '1', '
http://169.254.169.254/2011-01-01/meta-data/instance-type']
2018-07-25 00:31:31,192 stats INFO : Running ['bash', '-c', 'for x in /etc/security/limits.d/*; do echo "file $x:"; cat $x; echo; echo; done']
2018-07-25 00:31:31,200 stats INFO : Running ['cat', '/proc/partitions']
2018-07-25 00:31:31,205 stats INFO : Running ['service', '--status-all']
2018-07-25 00:31:31,455 stats INFO : Running ['lscpu']
2018-07-25 00:31:31,469 stats INFO : Running ['systemctl', 'list-unit-files']
2018-07-25 00:31:31,638 stats INFO : Running ['ethtool', '-S', 'eth0']
2018-07-25 00:31:31,649 stats INFO : Running ['df', '-k']
2018-07-25 00:31:31,656 stats INFO : Running ['iptables', '-L', '-v', '-n']
2018-07-25 00:31:31,671 stats INFO : Running ['numactl', '--hardware']
2018-07-25 00:31:31,676 stats ERROR : Error running command numactl --hardware. [Errno 2] No such file or directory
2018-07-25 00:31:31,676 stats ERROR : Error collecting stat: [Errno 2] No such file or directory
2018-07-25 00:31:31,676 stats ERROR : Traceback (most recent call last):
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 314, in run
stat_result = stat.collect(context, dependent_results)
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 80, in collect
proc = self.__get_command_proc()
File "/usr/lib64/cmf/agent/build/env/lib/python2.7/site-packages/ClusterStatsClient-v2.0.1_54_gadc386e-py2.7.egg/clusterstats/client/stats.py", line 115, in __get_command_proc
proc = Popen(command_list, stdout=PIPE, stderr=PIPE, stdin=None, env=new_env, close_fds=True)
File "/usr/lib64/python2.7/subprocess.py", line 711, in __init__
errread, errwrite)
File "/usr/lib64/python2.7/subprocess.py", line 1327, in _execute_child
raise child_exception
OSError: [Errno 2] No such file or directory
2018-07-25 00:31:31,676 stats INFO : Running ['lspci']
2018-07-25 00:31:31,708 stats INFO : Running ['cat', '/proc/vmstat']
2018-07-25 00:31:31,713 stats INFO : Running ['python', '-c', 'import socket; print socket.getfqdn(); print socket.gethostbyname(socket.getfqdn())']
2018-07-25 00:31:31,743 stats INFO : Running ['cat', '/etc/fstab']
2018-07-25 00:31:31,748 stats INFO : Running ['cat', '/etc/sysconfig/network-scripts/ifcfg-eth0']
2018-07-25 00:31:31,753 stats INFO : Running ['nstat', '-asz']
2018-07-25 00:31:31,760 stats INFO : Running ['vgdisplay']
2018-07-25 00:31:31,784 stats INFO : Running ['sestatus']
2018-07-25 00:31:31,790 stats INFO : Running ['cat', '/etc/mtab']
2018-07-25 00:31:31,796 stats INFO : Running ['cat', '/etc/selinux/config']
2018-07-25 00:31:31,801 stats INFO : Running ['/sbin/sysctl', '-A']
2018-07-25 00:31:31,865 stats INFO : Running ['firewall-cmd', '--list-all-zones']
Exit code: 0