ESXi Host events log flooded with - User nsx-user@127.0.0.1 logged in as pyvmoni Python/3.8.18
search cancel

ESXi Host events log flooded with - User nsx-user@127.0.0.1 logged in as pyvmoni Python/3.8.18

book

Article ID: 393891

calendar_today

Updated On: 06-25-2025

Products

VMware NSX

Issue/Introduction

  • You have upgraded NSX to 4.1. X version. 
  • After the upgrade, the ESXi Host events log was flooded with the following:
    User nsx-user@127.0.0.1 logged in as pyvmoni Python/3.8.18 (VMkernel 8.02, x86_64)
    User nsx-user@127.0.0.1 logged logged out (login time : Friday March 28 2025 6:35:16 PM SGT, number of API invocations 9, user agent pyvmomi Python/3.8.18 (VMkernel; 8.0.2 x86_64)Support information are providing below.
  • /var/run/log/hostd.log similar entries are seen.  
    YYYY-MM-DDThh:mm:ss.292Z In(166) Hostd[2103675]: [Originator@6876 sub=Vimsvc.ha-eventmgr opID=a97c987f sid=520844ef] Event 11904 : User nsx-user@127.0.0.1 logged in as pyvmomi Python/3.8.18 (VMkernel; 8.0.2; x86_64)
    YYYY-MM-DDThh:mm:ss.190Z In(166) Hostd[2103699]: [Originator@6876 sub=Vimsvc.ha-eventmgr reason=Timeout expired] Event 11905 : User nsx-user@127.0.0.1 logged out (login time: Tuesday, DD MM, YYYY hh:mm:ss AM, number of API invocations: 9, user agent: pyvmomi Python/3.8.18 (VMkernel; 8.0.2; x86_64))
    YYYY-MM-DDThh:mm:ss.391Z In(166) Hostd[2103694]: [Originator@6876 sub=Vimsvc.ha-eventmgr opID=a97cbb7a sid=52867047] Event 11906 : User nsx-user@127.0.0.1 logged in as pyvmomi Python/3.8.18 (VMkernel; 8.0.2; x86_64)
    YYYY-MM-DDThh:mm:ss.230Z In(166) Hostd[2103685]: [Originator@6876 sub=Vimsvc.ha-eventmgr reason=Timeout expired] Event 11910 : User nsx-user@127.0.0.1 logged out (login time: Tuesday, DD MM, YYYY hh:mm:ss AM, number of API invocations: 9, user agent: pyvmomi Python/3.8.18 (VMkernel; 8.0.2; x86_64))
    YYYY-MM-DDThh:mm:ss.450Z In(166) Hostd[2103704]: [Originator@6876 sub=Vimsvc.ha-eventmgr opID=a97cde30 sid=521f0052] Event 11911 : User nsx-user@127.0.0.1 logged in as pyvmomi Python/3.8.18 (VMkernel; 8.0.2; x86_64)
    YYYY-MM-DDThh:mm:ss.330Z In(166) Hostd[2103691]: [Originator@6876 sub=Vimsvc.ha-eventmgr reason=Timeout expired] Event 11912 : User nsx-user@127.0.0.1 logged out (login time: Tuesday, DD MM, YYYY hh:mm:ss AM, number of API invocations: 9, user agent: pyvmomi Python/3.8.18 (VMkernel; 8.0.2; x86_64))

Environment

  • VMware NSX
  • VMware vSphere ESXi 

Cause

This is caused by an issue with the nsx-exporter service.

Resolution

This issue is resolved in VMware NSX 4.2, available at Broadcom downloads.
If you are having difficulty finding and downloading software, please review the Download Broadcom products and software KB.

Additional Information

Please refer to the internal node section of the NSX 4.2 Release Notes 

Fixed Issue 3292111: Quick roll over of logs due to frequent login and logout events.
There is no impact on functionality.