Bug 1531795 - Termination grace period set incorrectly for Cassandra pod
Summary: Termination grace period set incorrectly for Cassandra pod
Keywords:
Status: CLOSED ERRATA
Alias: None
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular
Version: 3.7.0
Hardware: Unspecified
OS: Unspecified
unspecified
high
Target Milestone: ---
: 3.7.z
Assignee: John Sanda
QA Contact: Junqi Zhao
URL:
Whiteboard:
: 1595317 (view as bug list)
Depends On: 1531790 1595317
Blocks: 1404643 1522793 1531794 1546374
TreeView+ depends on / blocked
 
Reported: 2018-01-05 22:37 UTC by John Sanda
Modified: 2021-09-09 13:00 UTC (History)
4 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1531790
: 1546374 (view as bug list)
Environment:
Last Closed: 2018-04-05 09:34:33 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)
hawkular-cassandra rc file (7.06 KB, text/plain)
2018-03-01 06:02 UTC, Junqi Zhao
no flags Details


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/openshift openshift-ansible issues 6632 0 None None None 2020-04-06 11:19:31 UTC
Red Hat Product Errata RHBA-2018:0636 0 None None None 2018-04-05 09:35:02 UTC

Description John Sanda 2018-01-05 22:37:53 UTC
+++ This bug was initially created as a clone of Bug #1531790 +++

Description of problem:
The terminationGracePeriod variable in the ansible script is not set correctly due to bad indentation. The grace period should be set to 30 minutes by default but it is instead defaulting to 30 seconds.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 2 Junqi Zhao 2018-03-01 06:01:13 UTC
Indentation for terminationGracePeriodSeconds is right in hawkular_cassandra_rc.j2, value now is 1800 in hawkular-cassandra rc, not 30, details see the attached hawkular-cassandra rc file
**********************snipped*****************************
      terminationGracePeriodSeconds: 1800
      volumes:
**********************snipped*****************************

Sanity testing is passed, set it to VERIFIED

# rpm -qa | grep openshift-ansible
openshift-ansible-playbooks-3.7.35-1.git.0.db4cdcd.el7.noarch
openshift-ansible-roles-3.7.35-1.git.0.db4cdcd.el7.noarch
openshift-ansible-filter-plugins-3.7.35-1.git.0.db4cdcd.el7.noarch
openshift-ansible-lookup-plugins-3.7.35-1.git.0.db4cdcd.el7.noarch
openshift-ansible-callback-plugins-3.7.35-1.git.0.db4cdcd.el7.noarch
openshift-ansible-docs-3.7.35-1.git.0.db4cdcd.el7.noarch
openshift-ansible-3.7.35-1.git.0.db4cdcd.el7.noarch

Comment 3 Junqi Zhao 2018-03-01 06:02:37 UTC
Created attachment 1402230 [details]
hawkular-cassandra rc file

Comment 4 Junqi Zhao 2018-03-01 07:19:15 UTC
Value for terminationGracePeriodSeconds in hawkular-cassandra pod is the same with the value in rc

Comment 8 errata-xmlrpc 2018-04-05 09:34:33 UTC
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.

For information on the advisory, and where to find the updated
files, follow the link below.

If the solution does not work for you, open a new bug report.

https://access.redhat.com/errata/RHBA-2018:0636

Comment 9 Eric Jones 2018-06-26 17:23:16 UTC
*** Bug 1595317 has been marked as a duplicate of this bug. ***


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