Bug 1520956 - Event log and engine spammed with 'User admin@internal-authz logged in/out' info messages
Summary: Event log and engine spammed with 'User admin@internal-authz logged in/out' i...
Keywords:
Status: CLOSED DUPLICATE of bug 1512490
Alias: None
Product: Red Hat CloudForms Management Engine
Classification: Red Hat
Component: Providers
Version: 5.9.0
Hardware: x86_64
OS: Linux
unspecified
medium
Target Milestone: GA
: 5.10.0
Assignee: Boriso
QA Contact: Ilanit Stein
URL:
Whiteboard:
Depends On: 1512490
Blocks:
TreeView+ depends on / blocked
 
Reported: 2017-12-05 14:17 UTC by Satoe Imaishi
Modified: 2018-10-08 08:05 UTC (History)
12 users (show)

Fixed In Version: 5.9.0.12
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1512490
Environment:
Last Closed: 2018-10-08 08:05:04 UTC
Category: ---
Cloudforms Team: RHEVM
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
oVirt gerrit 80669 0 None None None 2017-12-05 14:17:58 UTC

Comment 2 CFME Bot 2017-12-05 14:25:19 UTC
New commit detected on ManageIQ/manageiq-providers-ovirt/gaprindashvili:
https://github.com/ManageIQ/manageiq-providers-ovirt/commit/73d0ac5992be0919fb2b9fe61d1f99fb41b6c9a8

commit 73d0ac5992be0919fb2b9fe61d1f99fb41b6c9a8
Author:     Moti Asayag <masayag>
AuthorDate: Tue Dec 5 10:06:37 2017 +0200
Commit:     Satoe Imaishi <simaishi>
CommitDate: Tue Dec 5 09:17:09 2017 -0500

    Merge pull request #157 from borod108/bugs/1512490logspam
    
    Reload provider when api_version available
    (cherry picked from commit f017be8afd01b5d26858bdf657ebd3157be555e6)
    
    https://bugzilla.redhat.com/show_bug.cgi?id=1520956

 .../manageiq/providers/redhat/infra_manager/supported_apis_mixin.rb  | 5 +++++
 1 file changed, 5 insertions(+)

Comment 3 Ilanit Stein 2018-01-01 08:13:38 UTC
Juan,

How this BZ, fixed by "Reload provider when api_version available",
should be verified please?

Thanks.

Comment 5 Juan Hernández 2018-01-02 09:21:02 UTC
The way to verify this is to check that there are no multiple login/logout messages from the same client in the audit log. If those messages still appear then please move the bug back to ASSIGNED.

Comment 6 Ilanit Stein 2018-01-02 10:17:36 UTC
Thanks Juan.

Based on Juan's comment 5, and audit log on comment 4, 
moving bug back to ASSIGNED.

Comment 7 Ilanit Stein 2018-01-02 12:41:47 UTC
In the CFME audit.log, at the same time, mentioned on comment 4,
There is only a single message @2018-01-01T04:05:13 :
 

[----] I, [2018-01-01T03:50:00.137287 #48854:3ff9760]  INFO -- Success: MIQ(Base.authenticate) userid: [admin] - Authentication successful for user admin
[----] I, [2018-01-01T04:05:13.026335 #48854:3ff9760]  INFO -- Success: MIQ(EmsCommonAngular.create_ems_button_add) userid: [admin] - [michael] Record created (name:[michael], provider_region:[], hostname:[], azure_tenant_id:[], keystone_v3_domain_id:[], port:[], api_version:[], security_protocol:[], provider_id:[], zone:[default])
[----] I, [2018-01-01T04:35:19.899080 #48854:40fc2ac]  INFO -- Success: MIQ(EmsCommon.block in process_emss) userid: [admin] - [michael] Record delete initiated
[----] I, [2018-01-01T05:16:56.111077 #48854:3ff9418]  INFO -- Success: MIQ(IsoDatastores.iso_datastore_create) userid: [admin] - [] Record created (ems_id:[19])

Juan,

By audit.log, did you mean this CFME audit.log,
or RHV audit.log (events)?

Thanks.

Comment 8 Juan Hernández 2018-01-02 13:45:44 UTC
I mean the RHV audit log.

Comment 9 Ilanit Stein 2018-10-08 08:05:04 UTC
Closing this bug since it is a clone from the 5.10 bug, but it is also targeted for 5.10. So no need for same bug for 5.10 target.

*** This bug has been marked as a duplicate of bug 1512490 ***


Note You need to log in before you can comment on or make changes to this bug.