cassandra gc_grace_seconds change and repair

Bug #1484297 reported by Megh Bhatt
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Juniper Openstack
Status tracked in Trunk
R2.20
Fix Committed
Critical
Megh Bhatt
R2.21.x
Fix Committed
Critical
Megh Bhatt
Trunk
Fix Committed
Critical
Megh Bhatt

Bug Description

cassandra gc_grace_seconds need to be changed for keyspaces that do deletes to the default value of 10 days to handle node being down scenarios and to prevent deleted data from showing up since the tombstones are stored for only gc_grace_seconds. Also periodic nodetool repair needs to be run on the cassandra nodes to prevent these issues

Megh Bhatt (meghb)
Changed in juniperopenstack:
milestone: none → r2.21
no longer affects: juniperopenstack/r2.30
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.20

Review in progress for https://review.opencontrail.org/13010
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13010
Committed: http://github.org/Juniper/contrail-controller/commit/06ac304bf66daeb63f8539c77e68444038397f36
Submitter: Zuul
Branch: R2.20

commit 06ac304bf66daeb63f8539c77e68444038397f36
Author: Megh Bhatt <email address hidden>
Date: Wed Aug 12 16:16:46 2015 -0700

1. Change the gc_grace_seconds for config daemon keyspaces to the
default of 10 days
2. Run periodic nodetool repair -pr on the config daemon keyspaces
from database nodemgr, default is once every 24 hours. This can
be controlled via DEFAULT.cassandra_repair_interval config in
/etc/contrail/contrail-database-nodemgr.conf
Partial-Bug: #1484297

Change-Id: Ief1f010d0ee3f35fc0f5ff8e1e4eac752c5267e2

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

Review in progress for https://review.opencontrail.org/13079
Submitter: Megh Bhatt (<email address hidden>)

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

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

commit cbff99d64ae06be552724605aaaca9e11a930e8a
Author: Megh Bhatt <email address hidden>
Date: Wed Aug 12 16:16:46 2015 -0700

1. Change the gc_grace_seconds for config daemon keyspaces to the
default of 10 days
2. Run periodic nodetool repair -pr on the config daemon keyspaces
from database nodemgr, default is once every 24 hours. This can
be controlled via DEFAULT.cassandra_repair_interval config in
/etc/contrail/contrail-database-nodemgr.conf
Partial-Bug: #1484297

Conflicts:
 src/config/common/vnc_cassandra.py
 src/config/schema-transformer/to_bgp.py
 src/config/svc-monitor/svc_monitor/db.py

Change-Id: Ief1f010d0ee3f35fc0f5ff8e1e4eac752c5267e2
(cherry picked from commit 06ac304bf66daeb63f8539c77e68444038397f36)

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

Review in progress for https://review.opencontrail.org/13107
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13107
Committed: http://github.org/Juniper/contrail-controller/commit/abf1fa38d845c0037752c0dfaef2bf33a8d5ef7c
Submitter: Zuul
Branch: R2.22-dev

commit abf1fa38d845c0037752c0dfaef2bf33a8d5ef7c
Author: Megh Bhatt <email address hidden>
Date: Wed Aug 12 16:16:46 2015 -0700

1. Change the gc_grace_seconds for config daemon keyspaces to the
default of 10 days
2. Run periodic nodetool repair -pr on the config daemon keyspaces
from database nodemgr, default is once every 24 hours. This can
be controlled via DEFAULT.cassandra_repair_interval config in
/etc/contrail/contrail-database-nodemgr.conf
Partial-Bug: #1484297

Conflicts:
 src/config/common/vnc_cassandra.py
 src/config/schema-transformer/to_bgp.py
 src/config/svc-monitor/svc_monitor/db.py

Change-Id: Ief1f010d0ee3f35fc0f5ff8e1e4eac752c5267e2
(cherry picked from commit 06ac304bf66daeb63f8539c77e68444038397f36)
(cherry picked from commit cbff99d64ae06be552724605aaaca9e11a930e8a)

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

Review in progress for https://review.opencontrail.org/13387
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13387
Committed: http://github.org/Juniper/contrail-controller/commit/53e25a958fa4f7de3c5465eb9ce5da11de6bfca1
Submitter: Zuul
Branch: R2.22-dev

commit 53e25a958fa4f7de3c5465eb9ce5da11de6bfca1
Author: Megh Bhatt <email address hidden>
Date: Thu Aug 27 11:49:56 2015 -0700

1. Add contrail-cassandra-status script to check nodetool status
and determine whether the database node is up or down.
2. Add contrail-cassandra-repair script to run nodetool repair on
the config keyspaces.
3. Modify contrail-status to handle services only started via init.d
Partial-Bug: #1484297

Change-Id: I48f49c17caacd31717642398588c933cb73ec18a

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

Review in progress for https://review.opencontrail.org/13417
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13417
Committed: http://github.org/Juniper/contrail-packages/commit/328e503033ac1aaf5ef9cd4025884e836e8dfe27
Submitter: Zuul
Branch: R2.22-dev

commit 328e503033ac1aaf5ef9cd4025884e836e8dfe27
Author: Megh Bhatt <email address hidden>
Date: Fri Aug 28 23:05:55 2015 -0700

Package contrail-cassandra-repair and contrail-cassandra-status
scripts as part of contrail-utils package for RPM and deb
Partial-Bug: #1484297

Change-Id: I41c7335a9dd09861f0c93538cbd7fd69b15dec1a

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

Review in progress for https://review.opencontrail.org/13441
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13442
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13443
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13453
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13443
Committed: http://github.org/Juniper/contrail-controller/commit/addd9fb2eaf6132dbd1f23ab069a30eefc0da511
Submitter: Zuul
Branch: R2.22-dev

commit addd9fb2eaf6132dbd1f23ab069a30eefc0da511
Author: Megh Bhatt <email address hidden>
Date: Mon Aug 31 12:18:53 2015 -0700

Call contrail-cassandra-status periodically every minute from
database nodemgr to record and update cassandra status. Replace
calls to nodetool repair directly from database nodemgr with
contrail-cassandra-repair.
Partial-Bug: #1484297

Change-Id: I471817e5fa7a5280c771198a3fdfe4797dc8dca5

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

Review in progress for https://review.opencontrail.org/13528
Submitter: Megh Bhatt (<email address hidden>)

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

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

commit cbdec513d3253ce8117de6ec6be4fb2ce756841c
Author: Megh Bhatt <email address hidden>
Date: Thu Aug 27 11:49:56 2015 -0700

1. Add contrail-cassandra-status script to check nodetool status
and determine whether the database node is up or down.
2. Add contrail-cassandra-repair script to run nodetool repair on
the config keyspaces.
3. Modify contrail-status to handle services only started via init.d
Partial-Bug: #1484297

Change-Id: I48f49c17caacd31717642398588c933cb73ec18a
(cherry picked from commit 53e25a958fa4f7de3c5465eb9ce5da11de6bfca1)

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

Reviewed: https://review.opencontrail.org/13528
Committed: http://github.org/Juniper/contrail-provisioning/commit/01d8a29fb437312ed3bdff82ea7d6ca2b2ac15e6
Submitter: Zuul
Branch: R2.22-dev

commit 01d8a29fb437312ed3bdff82ea7d6ca2b2ac15e6
Author: Megh Bhatt <email address hidden>
Date: Wed Sep 2 11:40:36 2015 -0700

Change ownership of cassandra data directories - /var/lib/cassandra/data
to cassandra user in preparation of packaging change to move
cassandra out of supervisord and running as cassandra user.
Partial-Bug: #1484297

Change-Id: I792f9519a4df5cee21bf287163b9cea16ccd1851

Revision history for this message
Megh Bhatt (meghb) wrote :

Attached file that contains cassandra-cli commands to update gc_grace_seconds for config column families, can be run using cassandra-cli -h <HOST-IP> -f cass-cli-cmd-update-config-gc-grace

Hampapur Ajay (hajay)
information type: Proprietary → Public
Revision history for this message
OpenContrail Admin (ci-admin-f) wrote : [Review update] R2.22-dev

Review in progress for https://review.opencontrail.org/13727
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13453
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13749
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13727
Committed: http://github.org/Juniper/contrail-provisioning/commit/8f463f0b444c765df284f329cd62cbab4ace6978
Submitter: Zuul
Branch: R2.22-dev

commit 8f463f0b444c765df284f329cd62cbab4ace6978
Author: Megh Bhatt <email address hidden>
Date: Wed Sep 9 18:23:22 2015 -0700

Start contrail-database as part of database-server-setup.sh so
that verify database fabric task does not fail
Partial-Bug: #1484297

Change-Id: Id64440c199fc3d9135173199e4e26a6172323e8c

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

Reviewed: https://review.opencontrail.org/13749
Committed: http://github.org/Juniper/contrail-puppet/commit/891ba46c5b7d98c282123c6fd992be2b75bc1820
Submitter: Zuul
Branch: R2.22-dev

commit 891ba46c5b7d98c282123c6fd992be2b75bc1820
Author: Megh Bhatt <email address hidden>
Date: Thu Sep 10 14:53:33 2015 -0700

Change ownership of /var/lib/cassandra/data to cassandra:cassandra
in preparation for moving cassandra out of supervisord and running
as cassandra user.
Partial-Bug: #1484297

Change-Id: I97193998f8e69c3a0f94c0f90421b68ba84a2c19

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

Reviewed: https://review.opencontrail.org/13442
Committed: http://github.org/Juniper/contrail-packages/commit/3cb6973efbcc0774060509ccfaed4924a9af76c6
Submitter: Zuul
Branch: master

commit 3cb6973efbcc0774060509ccfaed4924a9af76c6
Author: Megh Bhatt <email address hidden>
Date: Fri Aug 28 23:05:55 2015 -0700

Package contrail-cassandra-repair and contrail-cassandra-status
scripts as part of contrail-utils package for RPM and deb
Partial-Bug: #1484297

Change-Id: I41c7335a9dd09861f0c93538cbd7fd69b15dec1a
(cherry picked from commit 328e503033ac1aaf5ef9cd4025884e836e8dfe27)

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

Review in progress for https://review.opencontrail.org/13841
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13842
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13843
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13844
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13843
Committed: http://github.org/Juniper/contrail-provisioning/commit/0d11bde7db529357f4154216f29af6f3d68c8cc1
Submitter: Zuul
Branch: master

commit 0d11bde7db529357f4154216f29af6f3d68c8cc1
Author: Megh Bhatt <email address hidden>
Date: Wed Sep 9 18:23:22 2015 -0700

Start contrail-database as part of database-server-setup.sh so
that verify database fabric task does not fail
Partial-Bug: #1484297

Change-Id: Id64440c199fc3d9135173199e4e26a6172323e8c
(cherry picked from commit 8f463f0b444c765df284f329cd62cbab4ace6978)

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

Reviewed: https://review.opencontrail.org/13842
Committed: http://github.org/Juniper/contrail-provisioning/commit/ec657569eb134d46bb3061c122396c262e1511d2
Submitter: Zuul
Branch: master

commit ec657569eb134d46bb3061c122396c262e1511d2
Author: Megh Bhatt <email address hidden>
Date: Wed Sep 2 11:40:36 2015 -0700

Change ownership of cassandra data directories - /var/lib/cassandra/data
to cassandra user in preparation of packaging change to move
cassandra out of supervisord and running as cassandra user.
Partial-Bug: #1484297

Change-Id: I792f9519a4df5cee21bf287163b9cea16ccd1851
(cherry picked from commit 01d8a29fb437312ed3bdff82ea7d6ca2b2ac15e6)

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

Reviewed: https://review.opencontrail.org/13844
Committed: http://github.org/Juniper/contrail-puppet/commit/c43b3710a854998433c0cce70956d3d9b96be6af
Submitter: Zuul
Branch: master

commit c43b3710a854998433c0cce70956d3d9b96be6af
Author: Megh Bhatt <email address hidden>
Date: Thu Sep 10 14:53:33 2015 -0700

Change ownership of /var/lib/cassandra/data to cassandra:cassandra
in preparation for moving cassandra out of supervisord and running
as cassandra user.
Partial-Bug: #1484297

Change-Id: I97193998f8e69c3a0f94c0f90421b68ba84a2c19
(cherry picked from commit 891ba46c5b7d98c282123c6fd992be2b75bc1820)

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

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

commit 6cc9810ba1636c1ca91ed15ffdfa9b5fdf1e1c86
Author: Megh Bhatt <email address hidden>
Date: Mon Aug 31 12:18:53 2015 -0700

Call contrail-cassandra-status periodically every minute from
database nodemgr to record and update cassandra status. Replace
calls to nodetool repair directly from database nodemgr with
contrail-cassandra-repair.
Partial-Bug: #1484297

Change-Id: I471817e5fa7a5280c771198a3fdfe4797dc8dca5
(cherry picked from commit addd9fb2eaf6132dbd1f23ab069a30eefc0da511)

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

Review in progress for https://review.opencontrail.org/13453
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13878
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13878
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/a037f303d82f3003bccb6072a0c8a8890f0acc41
Submitter: Zuul
Branch: R2.22-dev

commit a037f303d82f3003bccb6072a0c8a8890f0acc41
Author: Megh Bhatt <email address hidden>
Date: Wed Sep 16 18:59:00 2015 -0700

On centos71, service status command for cassandra does not return
'running' in output after moving cassandra out of supervisord and
hence the verify_database task fails during setup_all.
Add option to instead check whether the command succeeded
or failed to determine whether the service is running or not.
Partial-Bug: #1484297

Change-Id: I0b204142da04fb50d3c106da5701e5d8eb866903

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

Review in progress for https://review.opencontrail.org/13891
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13453
Committed: http://github.org/Juniper/contrail-packaging/commit/bbaf90fb3230d11fa7d8c04ca48b288c3413ac47
Submitter: Zuul
Branch: R2.22-dev

commit bbaf90fb3230d11fa7d8c04ca48b288c3413ac47
Author: Megh Bhatt <email address hidden>
Date: Mon Aug 31 16:02:12 2015 -0700

Packaging changes to faciliate monitoring of cassandra:
1. Addition of a wrapper init.d script - contrail-database that controls
when cassandra can be started based on the time since last started
2. Move cassandra out of supervisord
Partial-Bug: #1484297

Change-Id: Ie3b550fb0e3d9ba966aeaac9727bfd01581443f7

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

Reviewed: https://review.opencontrail.org/13891
Committed: http://github.org/Juniper/contrail-fabric-utils/commit/aa718f55c568979b0755df99e51a8e9f45b22568
Submitter: Zuul
Branch: master

commit aa718f55c568979b0755df99e51a8e9f45b22568
Author: Megh Bhatt <email address hidden>
Date: Wed Sep 16 18:59:00 2015 -0700

On centos71, service status command for cassandra does not return
'running' in output after moving cassandra out of supervisord and
hence the verify_database task fails during setup_all.
Add option to instead check whether the command succeeded
or failed to determine whether the service is running or not.
Partial-Bug: #1484297

Change-Id: I0b204142da04fb50d3c106da5701e5d8eb866903
(cherry picked from commit a037f303d82f3003bccb6072a0c8a8890f0acc41)

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

Review in progress for https://review.opencontrail.org/13927
Submitter: Vinay Vithal Mahuli (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13985
Submitter: Megh Bhatt (<email address hidden>)

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

Review in progress for https://review.opencontrail.org/13995
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/13995
Committed: http://github.org/Juniper/contrail-controller/commit/6ad6eeb44cc454d1ed6a07dd38ea4adc2148adcb
Submitter: Zuul
Branch: R2.22-dev

commit 6ad6eeb44cc454d1ed6a07dd38ea4adc2148adcb
Author: Megh Bhatt <email address hidden>
Date: Tue Sep 22 16:57:27 2015 -0700

Add contrail-database to contrail-status, use initd service for
contrail-database since it has moved out of supervisor.
Closes-Bug: #1484297

Change-Id: I4cbcfe32cfeb070032e2b50671a054b4e7e31341

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

Reviewed: https://review.opencontrail.org/13985
Committed: http://github.org/Juniper/contrail-packaging/commit/e46317b8965099ded353d0c5dbb8b2522885446c
Submitter: Zuul
Branch: master

commit e46317b8965099ded353d0c5dbb8b2522885446c
Author: Megh Bhatt <email address hidden>
Date: Mon Aug 31 16:02:12 2015 -0700

Packaging changes to faciliate monitoring of cassandra:
1. Addition of a wrapper init.d script - contrail-database that controls
when cassandra can be started based on the time since last started
2. Move cassandra out of supervisord
Partial-Bug: #1484297

Conflicts:
 common/control_files/supervisord_database.conf

Change-Id: Ie3b550fb0e3d9ba966aeaac9727bfd01581443f7
(cherry picked from commit bbaf90fb3230d11fa7d8c04ca48b288c3413ac47)

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

Review in progress for https://review.opencontrail.org/14024
Submitter: Megh Bhatt (<email address hidden>)

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

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

commit 131a9f37bc4492753935a8a41654dc9f6a5101e8
Author: Megh Bhatt <email address hidden>
Date: Tue Sep 22 16:57:27 2015 -0700

Add contrail-database to contrail-status, use initd service for
contrail-database since it has moved out of supervisor.
Closes-Bug: #1484297

Change-Id: I4cbcfe32cfeb070032e2b50671a054b4e7e31341
(cherry picked from commit 6ad6eeb44cc454d1ed6a07dd38ea4adc2148adcb)

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

Review in progress for https://review.opencontrail.org/14204
Submitter: Hampapur Ajay (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14204
Committed: http://github.org/Juniper/contrail-controller/commit/c5237875a7e2ed40702d3c20941ee22a834c0383
Submitter: Zuul
Branch: R2.20.x

commit c5237875a7e2ed40702d3c20941ee22a834c0383
Author: Megh Bhatt <email address hidden>
Date: Wed Aug 12 16:16:46 2015 -0700

1. Change the gc_grace_seconds for config daemon keyspaces to the
default of 10 days
2. Run periodic nodetool repair -pr on the config daemon keyspaces
from database nodemgr, default is once every 24 hours. This can
be controlled via DEFAULT.cassandra_repair_interval config in
/etc/contrail/contrail-database-nodemgr.conf
Partial-Bug: #1484297

Change-Id: Ief1f010d0ee3f35fc0f5ff8e1e4eac752c5267e2
(cherry picked from commit 06ac304bf66daeb63f8539c77e68444038397f36)

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

Review in progress for https://review.opencontrail.org/14913
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14913
Committed: http://github.org/Juniper/contrail-controller/commit/a5293fd28ec5a16f0a15db24ebcd2d5a61784cdb
Submitter: Zuul
Branch: R2.20

commit a5293fd28ec5a16f0a15db24ebcd2d5a61784cdb
Author: Megh Bhatt <email address hidden>
Date: Thu Nov 5 15:26:33 2015 -0800

Add contrail-cassandra-repair script that will call repair on the
keyspaces that need repair and make sure that previous repair is not
yet running. Backported from changes made for Bug #1484297.
Related-Bug: #1484297
Partial-Bug: #1513658

Change-Id: If735a64bb46bd6b1a188a8880014c5683b85c276

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

Review in progress for https://review.opencontrail.org/14943
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/14943
Committed: http://github.org/Juniper/contrail-packages/commit/4d249c55740af37826649b9808378bb72cd006a4
Submitter: Zuul
Branch: R2.20

commit 4d249c55740af37826649b9808378bb72cd006a4
Author: Megh Bhatt <email address hidden>
Date: Fri Nov 6 11:06:29 2015 -0800

Packages contrail-cassandra-repair script as part of contrail-utils
package for RPM and deb
Partial-Bug: #1513658
Related-Bug: #1484297

Change-Id: Ifaa98bab305551038c39658601ff70c278c5bc8d

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

Review in progress for https://review.opencontrail.org/17057
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17057
Committed: http://github.org/Juniper/contrail-controller/commit/c0d0116cf26866ccda381316cca56d19fdfb9f7d
Submitter: Zuul
Branch: R2.21.x

commit c0d0116cf26866ccda381316cca56d19fdfb9f7d
Author: Megh Bhatt <email address hidden>
Date: Thu Nov 5 15:26:33 2015 -0800

Add contrail-cassandra-repair script that will call repair on the
keyspaces that need repair and make sure that previous repair is not
yet running. Backported from changes made for Bug #1484297.
Related-Bug: #1484297
Partial-Bug: #1513658

Change-Id: If735a64bb46bd6b1a188a8880014c5683b85c276
(cherry picked from commit a5293fd28ec5a16f0a15db24ebcd2d5a61784cdb)

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

Review in progress for https://review.opencontrail.org/17200
Submitter: Megh Bhatt (<email address hidden>)

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

Reviewed: https://review.opencontrail.org/17200
Committed: http://github.org/Juniper/contrail-packages/commit/fce4581cebe7680b159db48845b185bdaf894aa1
Submitter: Zuul
Branch: R2.21.x

commit fce4581cebe7680b159db48845b185bdaf894aa1
Author: Megh Bhatt <email address hidden>
Date: Fri Nov 6 11:06:29 2015 -0800

Packages contrail-cassandra-repair script as part of contrail-utils
package for RPM and deb
Partial-Bug: #1513658
Related-Bug: #1484297

Change-Id: Ifaa98bab305551038c39658601ff70c278c5bc8d
(cherry picked from commit 4d249c55740af37826649b9808378bb72cd006a4)

Revision history for this message
Megh Bhatt (meghb) wrote :

Closed in R2.21.x via:

Reviewed: https://review.opencontrail.org/17297
Committed: http://github.org/Juniper/contrail-controller/commit/7af84d73212aab9161a7d99558b2555698102bab
Submitter: Zuul
Branch: R2.21.x

commit 7af84d73212aab9161a7d99558b2555698102bab
Author: Megh Bhatt <email address hidden>
Date: Mon Nov 9 13:48:57 2015 -0800

Replace calls to nodetool repair directly from database nodemgr with
contrail-cassandra-repair since it handles preventing multiple instances
of nodetool repair per keyspace running concurrently.
Closes-Bug: #1513658

Change-Id: I63c4a4123489eea2bf0597f8cc2c7dbc1ec4cb58
(cherry picked from commit 38c8f77bbd8328e0bc8f78d72241267120af9f27)

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

Other bug subscribers

Remote bug watches

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