DomStatWalker Name: VncApiStatsLog Node: api_stats Bad tags

Bug #1721651 reported by Sundaresan Rajangam
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.2
Fix Committed
Medium
Nagendra Prasath
R4.0
Fix Committed
Medium
Nagendra Prasath
R4.1
Fix Committed
Medium
Nagendra Prasath
Trunk
Fix Committed
Medium
Nagendra Prasath

Bug Description

collector log is flooded with the following log message

DomStatWalker Name: VncApiStatsLog Node: api_stats Bad tags .operation_type,.user,.useragent,.remote_ip,.domain_name:.project_name,.object_type,.response_time_in_usec,.response_size,.resp_code

This error message gets logged if any of the tag fields is not present in the sandesh message.

The following VncApiStatsLog message from contrail-api shows that the field "user" was not set.

2017 Oct 06 02:52:58.367457 testbed-1-vm1 [Config:contrail-api:0:__default__][SYS_INFO] : VncApiStatsLog:6125 [VncApiStats: operation_type = GET, useragent = testbed-1-vm1:/usr/bin/contrail-kube-manager, remote_ip = 10.204.217.194, domain_name = default-domain, project_name = default-project, object_type = loadbalancer, response_time_in_usec = 1701, response_size = 2120, resp_code = 200]
2017 Oct 06 02:52:58.428122 testbed-1-vm1 [Config:contrail-api:0:__default__][SYS_INFO] : VncApiStatsLog:6126 [VncApiStats: operation_type = DELETE, useragent = testbed-1-vm1:/usr/bin/contrail-kube-manager, remote_ip = 10.204.217.194, domain_name = default-domain, project_name = default-project, object_type = loadbalancer_member, response_time_in_usec = 51654, response_size = 4, resp_code = 200]

Tags: config
Revision history for this message
Sundaresan Rajangam (srajanga) wrote :
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/36658
Submitter: Nagendra Prasath (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.1

Review in progress for https://review.opencontrail.org/36659
Submitter: Nagendra Prasath (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R4.0

Review in progress for https://review.opencontrail.org/36799
Submitter: Nagendra Prasath (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R3.2

Review in progress for https://review.opencontrail.org/36800
Submitter: Nagendra Prasath (<email address hidden>)

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : A change has been merged

Reviewed: https://review.opencontrail.org/36800
Committed: http://github.com/Juniper/contrail-controller/commit/1d315f46fb4982e9e40bf8466a7177822ec96f02
Submitter: Zuul (<email address hidden>)
Branch: R3.2

commit 1d315f46fb4982e9e40bf8466a7177822ec96f02
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Oct 19 12:09:12 2017 -0700

Defaulting user name as empty string in case the requested user is not found
Closes-Bug: 1721651

Change-Id: I466e7b776a7d3ab0a9ede18a17cf414f26fde6f0

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/36659
Committed: http://github.com/Juniper/contrail-controller/commit/8c6129c84ba3d57b2840ffef6fb6e01b5bb5ae31
Submitter: Zuul (<email address hidden>)
Branch: R4.1

commit 8c6129c84ba3d57b2840ffef6fb6e01b5bb5ae31
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Oct 19 12:09:12 2017 -0700

Defaulting user name as empty string in case the requested user is not found
Closes-Bug: 1721651

Change-Id: I466e7b776a7d3ab0a9ede18a17cf414f26fde6f0

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/36658
Committed: http://github.com/Juniper/contrail-controller/commit/a205e94dd0db29a159d1a09d4a1714cf7c622aa4
Submitter: Zuul (<email address hidden>)
Branch: master

commit a205e94dd0db29a159d1a09d4a1714cf7c622aa4
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Oct 19 12:09:12 2017 -0700

Defaulting user name as empty string in case the requested user is not found
Closes-Bug: 1721651

Change-Id: I466e7b776a7d3ab0a9ede18a17cf414f26fde6f0

Revision history for this message
OpenContrail Admin (ci-admin-f) wrote :

Reviewed: https://review.opencontrail.org/36799
Committed: http://github.com/Juniper/contrail-controller/commit/1a1243809f10079b9c98888795b90c24058d42fe
Submitter: Zuul (<email address hidden>)
Branch: R4.0

commit 1a1243809f10079b9c98888795b90c24058d42fe
Author: Nagendra Maynattamai <email address hidden>
Date: Thu Oct 19 12:09:12 2017 -0700

Defaulting user name as empty string in case the requested user is not found
Closes-Bug: 1721651

Change-Id: I466e7b776a7d3ab0a9ede18a17cf414f26fde6f0

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Bug attachments

Remote bug watches

Bug watches keep track of this bug in other bug trackers.