Why do I see one "Logged in" event in RHEV-M for each API call even when requesting authenticated (persistent) sessions?
Issue
-
When running a Python script performing multiple API calls one
User <username> logged in.event is created for each API call. -
In scripts that execute a high amount of API calls that results in a vast amount of
User <username> logged in.events created. -
This happens despite requesting authenticated (persistent) sessions to be used as described in section 2.3. Authentication Sessions of the RHEV 3.3 Developer Guide :
api = API(url="https://rhevm.example.com",
username="user@example.com",
password="password",
ca_file="ca.crt",
persistent_auth=True)
Environment
- Red Hat Enterprise Virtualization 3.3 and later.
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase of over 48,000 articles and solutions.
Welcome! Check out the Getting Started with Red Hat page for quick tours and guides for common tasks.
