After upgrading the ESXi hosts to the vSphere version 7.0, the 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 hosts to the vSphere version 7.0, the 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

After upgrading the ESXi host(s) to 7.0, the following symptoms appear:

  • Logging into the VCSA using the vSphere Web Client, in the vCenter Events window, the following entries appear every 30 seconds:
Description:
yyyy-mm-dd 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.
  • ESXi - /var/run/log/syslog.log
yyyy-mm-dd  root: vusb:
yyyy-mm-dd  root: VIRTUAL NIC:****NO VUSB0 AVAILABLE
yyyy-mm-dd  root: Call wait loop
yyyy-mm-dd  root: Virtual NIC:  in wait loop
  • ESXi - /var/run/log/hostd.log
yyyy-mm-dd  info hostd[2101028] [Originator@6876 sub=Vimsvc.TaskManager opID=esxcli-39-7234 user=root] Task Created : haTask--vim.EsxCLI.network.nic.list-1269523045
yyyy-mm-dd  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 being generated by a script called vnicen.sh located in /etc/init.d/ and is installed when using a customized image of VMware ESXi.
 

Resolution

Engage with the associated hardware vendor for a resolution.

Workaround

  • Run this command in the ESXi host command line to stop the vnicen service.

    /etc/init.d/vnicen.sh stop 
  • Ensure that the vnicen script does not start upon reboot.

    chkconfig vnicen.sh off
  • To confirm this setting, run the below command:

    chkconfig --list | grep vnicen
    vnicen.sh               off