After upgrading the ESXi 7.x Host events log flooded with - logged in as pyvmomi Python/3.5.9 (VMkernel; 7.0.1; x86_64)
search cancel

After upgrading the ESXi 7.x Host events log flooded with - logged in as pyvmomi Python/3.5.9 (VMkernel; 7.0.1; x86_64)

book

Article ID: 323605

calendar_today

Updated On:

Products

VMware vSphere ESXi

Issue/Introduction

Symptoms:
After upgrading the ESXi host(s) to 7.x you see these symptoms:

  • If you are able to log in to VCSA using the vSphere Web Client, in the vCenter Events window, you see entries similar to every 30 seconds:
Description:
04/30/2021, 9:09:04 AM User [email protected] logged out (login time: Friday, April 30, 2021 8:09:04 AM UTC, number of API invocations: 7, user agent: pyvmomi Python/3.5.9 (VMkernel; 7.0.1; x86_64))
Related events:
There are no related events.

 
  • /var/run/log/syslog.log similar entries are seen:

2021-04-30T07:58:28Z root: vusb:
2021-04-30T07:58:28Z root: VIRTUAL NIC:****NO VUSB0 AVAILABLE
2021-04-30T07:58:28Z root: Call wait loop
2021-04-30T07:58:28Z root: Virtual NIC:  in wait loop

  • /var/run/log/hostd.log similar entries are seen:

2021-04-30T07:58:28Z info hostd[2101028] [Originator@6876 sub=Vimsvc.TaskManager opID=esxcli-39-7234 user=root] Task Created : haTask--vim.EsxCLI.network.nic.list-1269523045
2021-04-30T07:58:28Z info hostd[2100413] [Originator@6876 sub=Vimsvc.TaskManager opID=esxcli-39-7237 user=root] Task Created : haTask--vim.SessionManager.logout-1269523047


Environment

VMware vSphere ESXi 7.0.x

Cause


 These events are been generated by a script called vnicen.sh located here /etc/init.d/ and gets installed when using a Customized Image of VMware ESXi
 

Resolution



Engage with the Hardware vendor for a resolution.

Workaround:
  • Run this command in ESXi host command line to stop the vnicen service
     /etc/init.d/vnicen.sh stop 
  • Ensure that the vnicen does not start upon reboot:
      chkconfig vnicen.sh off
  •       To confirm this setting:
      chkconfig --list | grep vnicen
       vnicen.sh               off