Join this episode for more Stories from the EUC Road as Sean Donahue (Nutanix) and Al Solorzano (E360) tackle this all too familiar question. But does it have to an \u201cOR\u201d statement? Can you have an \u201cAND\u201d statement instead? Tune in to learn more about performance in EUC, happy employees and how you might sleep better at night in the age of Malware and Ransomware.<\/p><\/oembed>

Resources<\/p>

解决了

NCC健康检查SAR命令无法执行

  • 2016年3月3日
  • 4个答复
  • 1783年的观点

徽章 +3
大家好,



我在两个群集上执行了NCC健康检查run_all,并收到以下消息(在Run_all脚本的末尾):



SAR_STATS_THRESHOLD_CHECK的详细信息:ERR:执行由异常终止('List index of range of Range',):Trackback(最新呼叫最后一个):文件“ /HOME/HUDSONB/WORKSPACE/WORKSPACE/WORKSPACE/NCC-2.0.2-STABLE_RELEASE/builds/build-ncc-2.0.2稳定释放/ncc-python-tree/bdist.linux-x86_64/egg/ncc/ncc/ncc/ncc_utils/plugin_utils.py”,第128行,in handle_exceptions inthand_exceptions = fn()主页/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/build build-ncc-2.0.2 stable-release/ncc-python-tree/bdist.linux-x86_64/egg/egg/ncc/ncc/base_plugin。py”,第740行,in结果= putils.handle_exceptions(lambda:check(*check_args),cls.canvas)文件“/home/hudsonb/workspace/workspace/workspace/ncc-2.0.2-st-stable_release/builds/builds/build-ncc--ncc--ncc--ncc--ncc--ncc--ncc--ncc--ncc--ncc--ncc--ncc--cc--------------------------,2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 358, in check_thresholds sar_data = SARStatsThresholdCheckPlugin.parse_sar_output(output, tbl_name) File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 305, in parse_sar_output line = lines[line_index]IndexError: list index out of rangeERR : Execution terminated by exception IndexError('list index out of range',):Traceback (most recent call last): File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/ncc_utils/plugin_utils.py", line 128, in handle_exceptions result = fn() File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/base_plugin.py", line 740, in result = putils.handle_exceptions(lambda : check(*check_args), cls.canvas) File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 358, in check_thresholds sar_data = SARStatsThresholdCheckPlugin.parse_sar_output(output, tbl_name) File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 305, in parse_sar_output line = lines[line_index]IndexError: list index out of rangeERR : Execution terminated by exception IndexError('list index out of range',):Traceback (most recent call last): File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/ncc_utils/plugin_utils.py", line 128, in handle_exceptions result = fn() File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/base_plugin.py", line 740, in result = putils.handle_exceptions(lambda : check(*check_args), cls.canvas) File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 358, in check_thresholds sar_data = SARStatsThresholdCheckPlugin.parse_sar_output(output, tbl_name) File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 305, in parse_sar_output line = lines[line_index]IndexError: list index out of rangeERR : Execution terminated by exception IndexError('list index out of range',):Traceback (most recent call last): File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/ncc_utils/plugin_utils.py", line 128, in handle_exceptions result = fn() File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/base_plugin.py", line 740, in result = putils.handle_exceptions(lambda : check(*check_args), cls.canvas) File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 358, in check_thresholds sar_data = SARStatsThresholdCheckPlugin.parse_sar_output(output, tbl_name) File "/home/hudsonb/workspace/workspace/ncc-2.0.2-stable_release/builds/build-ncc-2.0.2-stable-release/ncc-python-tree/bdist.linux-x86_64/egg/ncc/plugins/health_checks/sar_checks.py", line 305, in parse_sar_output line = lines[line_index]IndexError: list index out of rangeDetailed information for hdd_latency_threshold_check:Node 10.149.112.183:ERR : Sar command failed to executeNode 10.149.112.187:ERR : Sar command failed to executeNode 10.149.112.185:ERR : Sar command failed to execute



群集运行顺利,没有出现错误,但是我想知道引发这些消息的问题是什么样的。



谢谢!
图标

最好的答案乔恩2016年3月7日,17:24

\n
\nIf you do that, and are still having problems, please open a support ticket so we can track","className":"post__content__best_answer"}">
查看原件

该主题已关闭以供评论

4个答复

UserLevel 6
徽章 +29
嘿 - 感谢您伸出援手。



首先,我建议打开一张支持票,因此最坏的情况,他们可以将其作为错误跟踪。



就是说,

该集群运行哪个版本的NOS?



如果超过4.1.3,则可以将NCC升级到以后的版本,而无需升级NOS。



如果您可以从群集访问Internet,则应该可以从1Click升级软件中执行此操作。



NCC 2.2最近发布了NOS 4.6的发行版,但是您可以在4.1.3及以上的簇上安装回去。



我猜这只是一个愚蠢的错误,但是如果它仍然在较新版本的NCC上发生,那么如果您还没有的话,一定会打开支持票。
徽章 +3
嗨,乔恩,



该集群目前正在运行NOS 4.1.5和NCC 2.0.2。



因此,我认为这可能是NCC / Nutanix先前版本中的错误。如果我们在下一个Nutanix安装期间遇到同一问题,我将注意。



谢谢,

安德烈亚斯
UserLevel 6
徽章 +29
您可以从GUI上升级到最新版本(2.2)。



如果您这样做并且仍然有问题,请打开一张支持票,以便我们可以跟踪
徽章 +3
更好的稍后再也不会。



我是Nutanix一侧确认的错误,并且已经使用2.2 / 2.5版本修复了
Learn more about our cookies.<\/a>","cookiepolicy.button":"Accept cookies","cookiepolicy.button.deny":"Deny all","cookiepolicy.link":"Cookie settings","cookiepolicy.modal.title":"Cookie settings","cookiepolicy.modal.content":"We use 3 different kinds of cookies. You can choose which cookies you want to accept. We need basic cookies to make this site work, therefore these are the minimum you can select. Learn more about our cookies.<\/a>","cookiepolicy.modal.level1":"Basic
Functional","cookiepolicy.modal.level2":"Normal
Functional + analytics","cookiepolicy.modal.level3":"Complete
Functional + analytics + social media + embedded videos"}}}">
Baidu