某局点VMware ESXi主机运行过程中紫屏,紫屏堆栈报openvswitch异常问题经验案例

问题现象


VMware ESXi+S1020V主机Overlay组网环境,Esxi主机运行过程中,突然紫屏。紫屏的堆栈信息发现报错openvswitch异常。见下图:

某局点VMware ESXi主机运行过程中紫屏,紫屏堆栈报openvswitch异常问题经验案例

告警信息


紫屏界面会打印类似如下信息:

Jumpstart dependency error: Initialization barrier "public vds vmkapi v2_0_0_0" is not provided by any plugin but the following plugins require it: "openvswitch"

原因分析


堆叠报错openvswitch的信息与此次紫屏故障无关。

紫屏信息中的报错为/scratch/log/vmkernel.log中的日志。

但紫屏打印的信息并非故障日志,而是S1020V安装卸载时写入vmkernel.log的。如下日志供参考:

l  卸载s1020v

[root@localhost:~] esxcli software vib remove -n s1020v -f

Removal Result

Message: Operation finished successfully.

Reboot Required: false

VIBs Installed:

VIBs Removed: H3C_bootbank_s1020v_1.1-E3111.1.001.60.B01D015

VIBs Skipped:

[root@localhost:~]

后台/scratch/log/vmkernel.log中就会打出ALERT

2017-06-19T09:40:34.112Z cpu4:37118)ALERT: Attempting to install an image profile with validation disabled. This may result in an image with unsatisfied dependencies, file or package conflicts, and potential security violations.

2017-06-19T09:40:39.374Z cpu7:37342)Mod: 5031: Unloading module <vswitch_datapath> ...

l  安装s1020v

[root@localhost:~] esxcli software vib install -d /s1020v_esx6.0.0-3.1.1.15_amd64.zip -f

Installation Result

Message: Operation finished successfully.

Reboot Required: false

VIBs Installed: H3C_bootbank_s1020v_1.1-E3111.1.001.60.B01D015

VIBs Removed:

VIBs Skipped:

此时后台/scratch/log/vmkernel.log中就会打出如下log:

2017-06-19T09:42:28.576Z cpu7:37584)ALERT: Attempting to install an image profile with validation disabled. This may result in an image with unsatisfied dependencies, file or package conflicts, and potential security violations.

2017-06-19T09:42:28.576Z cpu7:37584)ALERT: Attempting to install an image profile bypassing signing and acceptance level verification. This may pose a large security risk.

2017-06-19T09:42:30.635Z cpu4:37744)VisorFSTar: 2037: s1020v.v00 (5286167850094981597) as s1020v.v00 for 22798760 bytes

2017-06-19T09:42:30.686Z cpu5:37746)ALERT: Jumpstart dependency error: Initialization barrier "public vds vmkapi v2_0_0_0" is not provided by any plugin but the following plugins require it: "openvswitch"

2017-06-19T09:42:30.843Z cpu3:37747)Loading module vswitch_datapath ...

解决办法


通过分析紫屏信息,发现该紫屏报错NMI,如下:

某局点VMware ESXi主机运行过程中紫屏,紫屏堆栈报openvswitch异常问题经验案例

查阅VMware官方文档,怀疑该紫屏问题为服务器硬件引起的VMware NMI错误(2077552),与S1020V无关。进而联系VMware侧彻底定位解决。

建议与总结


我司针对VMware  ESXi做过定制,因而S1020V能够安装在Esxi主机上,但由于S1020V非VMware厂商自己的openvswitch,故而在安装卸载S1020V时,会在/scratch/log/vmkernel.log中写入相应提示信息,但安装卸载本身并不会引起任何异常。遇到VMware  ESXi主机紫屏问题时,可以先看一下紫屏最上面的相应报错类型,通过查阅VMware官方文档大部分问题都可以定位。

  • 我的微信
  • 这是我的微信扫一扫
  • weinxin
  • 我的QQ公众号
  • 我的QQ公众号扫一扫
  • weinxin
avatar

发表评论

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen: