Bug 1318589 - [GSS] Calamari sends GET requests every 20 seconds [NEEDINFO]
Summary: [GSS] Calamari sends GET requests every 20 seconds
Keywords:
Status: CLOSED INSUFFICIENT_DATA
Alias: None
Product: Red Hat Ceph Storage
Classification: Red Hat
Component: Calamari
Version: 1.3.2
Hardware: x86_64
OS: Linux
medium
medium
Target Milestone: rc
: 1.3.4
Assignee: Christina Meno
QA Contact: ceph-qe-bugs
URL:
Whiteboard:
Depends On:
Blocks:
TreeView+ depends on / blocked
 
Reported: 2016-03-17 10:11 UTC by Vimal Kumar
Modified: 2020-06-11 12:49 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: Bug Fix
Doc Text:
Clone Of:
Environment:
Last Closed: 2017-04-28 15:38:27 UTC
Target Upstream Version:
gmeno: needinfo? (vikumar)


Attachments (Terms of Use)

Description Vimal Kumar 2016-03-17 10:11:32 UTC
1) Description of problem:

Calamri logs at /var/log/calamari/httpd_access.log show GET access calls going at two different time intervals.

The first GET request from graphite happens at every 60 seconds.
~~~
127.0.0.1 - - [10/Mar/2016:08:17:49 +0100] "GET /graphite/render/?format=json-array&from=-1d&target=sumSeries(ceph.cluster.9bae8150-fab6-4a95-8b17-f6e4bbd9eb36.pool.all.num_read,ceph.cluster.9bae8150-fab6-4a95-8b17-f6e4bbd9eb36.pool.all.num_write) HTTP/1.1" 200 3666 
~~~

while the normal GET requests for other stats such as 'osd', 'server', 'pool', 'health', 'health_counters' etc.. is sent every 20 seconds.

~~~
127.0.0.1 - - [10/Mar/2016:08:17:49 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/osd HTTP/1.1" 200 5093
127.0.0.1 - - [10/Mar/2016:08:17:49 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/server HTTP/1.1" 200 599
127.0.0.1 - - [10/Mar/2016:08:17:49 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/pool HTTP/1.1" 200 400
127.0.0.1 - - [10/Mar/2016:08:17:50 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36 HTTP/1.1" 200 143
127.0.0.1 - - [10/Mar/2016:08:17:50 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/health HTTP/1.1" 200 547
127.0.0.1 - - [10/Mar/2016:08:17:51 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/health_counters HTTP/1.1" 200 234
127.0.0.1 - - [10/Mar/2016:08:17:51 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/space HTTP/1.1" 200 105

127.0.0.1 - - [10/Mar/2016:08:18:09 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/osd HTTP/1.1" 200 5093
127.0.0.1 - - [10/Mar/2016:08:18:09 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/server HTTP/1.1" 200 599
127.0.0.1 - - [10/Mar/2016:08:18:09 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/pool HTTP/1.1" 200 400
127.0.0.1 - - [10/Mar/2016:08:18:10 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/health HTTP/1.1" 200 548
127.0.0.1 - - [10/Mar/2016:08:18:11 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/health_counters HTTP/1.1" 200 234
127.0.0.1 - - [10/Mar/2016:08:18:11 +0100] "GET /api/v1/cluster/9bae8150-fab6-4a95-8b17-f6e4bbd9eb36/space HTTP/1.1" 200 
~~~

It seems that the GET requests sent every 20 seconds may cause spurious traffic. Is there a specific reason for the GET requests to be sent every 20 seconds rather than the 60 seconds period?

2) Version-Release number of selected component (if applicable):

RHCS1.3.2

3) How reproducible:

Always

4) Steps to Reproduce:

a) Install a Calamari node.
b) Add the OSD and MON nodes to the Calamari interface
c) Watch the GET traffic going on from the Calamari node using :

# tailf /var/log/calamari/httpd_access.log

Comment 3 Christina Meno 2017-04-24 17:47:11 UTC
This is the configured behavior. If there is not specific concern, I'm going to close this.


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