redis query connection down after cassandra goesdown and comes up

Bug #1560263 reported by Vinod Nair
14
This bug affects 2 people
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R3.0
Fix Committed
High
Sundaresan Rajangam
Trunk
Fix Committed
High
Sundaresan Rajangam

Bug Description

In a cluster with 1 analytic s/database node, after Cassandra is bought online after going down, redis connection does not auto recover.

Logs are attached

Tags: analytics
Revision history for this message
Vinod Nair (vinodnair) wrote :

Analytic s logs attached

Revision history for this message
Vinod Nair (vinodnair) wrote :

analytics-node status

summary: - contrail-analytics-api doesnot comeup after cassandra goesdown and comes
- up
+ redis query connection down after cassandra goesdown and comes up
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] master

Review in progress for https://review.opencontrail.org/18704
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/18705
Submitter: Sundaresan Rajangam (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/18704
Committed: http://github.org/Juniper/contrail-controller/commit/c55e3b5d701d238065cdb5f17904bb5994080cfc
Submitter: Zuul
Branch: master

commit c55e3b5d701d238065cdb5f17904bb5994080cfc
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Mar 23 14:00:42 2016 -0700

Removed Redis-Query connection from process_status for analytics-api

There is no need for a separate Redis-Query connection as analytics-node
uses the same redis instance for Redis-UVE and Redis-Query. Even if
analytics-api were to report the status of Redis-Query connection, the
status gets updated only on receiving a query from the client, which is
not correct. Since Redis-UVE connection captures the status of the
redis-server, removed the Redis-Query connection from the
process_status.

Change-Id: Ifb917a49642e53412cea4b551da7cc6bd9894449
Closes-Bug: #1560263

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

Reviewed: https://review.opencontrail.org/18705
Committed: http://github.org/Juniper/contrail-controller/commit/597367641b6c83c30582dc403b0b95e20aaf41a5
Submitter: Zuul
Branch: R3.0

commit 597367641b6c83c30582dc403b0b95e20aaf41a5
Author: Sundaresan Rajangam <email address hidden>
Date: Wed Mar 23 14:00:42 2016 -0700

Removed Redis-Query connection from process_status for analytics-api

There is no need for a separate Redis-Query connection as analytics-node
uses the same redis instance for Redis-UVE and Redis-Query. Even if
analytics-api were to report the status of Redis-Query connection, the
status gets updated only on receiving a query from the client, which is
not correct. Since Redis-UVE connection captures the status of the
redis-server, removed the Redis-Query connection from the
process_status.

Change-Id: Ifb917a49642e53412cea4b551da7cc6bd9894449
Closes-Bug: #1560263
(cherry picked from commit c55e3b5d701d238065cdb5f17904bb5994080cfc)

Vinod Nair (vinodnair)
description: updated
information type: Proprietary → Public
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Duplicates of this bug

Other bug subscribers

Remote bug watches

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