Bugzilla will be upgraded to version 5.0. The upgrade date is tentatively scheduled for 2 December 2018, pending final testing and feedback.
Bug 1531795 - Termination grace period set incorrectly for Cassandra pod
Termination grace period set incorrectly for Cassandra pod
Status: CLOSED ERRATA
Product: OpenShift Container Platform
Classification: Red Hat
Component: Hawkular (Show other bugs)
3.7.0
Unspecified Unspecified
unspecified Severity high
: ---
: 3.7.z
Assigned To: John Sanda
Junqi Zhao
:
: 1595317 (view as bug list)
Depends On: 1531790 1595317
Blocks: 1404643 1522793 1531794 1546374
  Show dependency treegraph
 
Reported: 2018-01-05 17:37 EST by John Sanda
Modified: 2018-06-26 13:23 EDT (History)
4 users (show)

See Also:
Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1531790
: 1546374 (view as bug list)
Environment:
Last Closed: 2018-04-05 05:34:33 EDT
Type: Bug
Regression: ---
Mount Type: ---
Documentation: ---
CRM:
Verified Versions:
Category: ---
oVirt Team: ---
RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: ---


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


External Trackers
Tracker ID Priority Status Summary Last Updated
Github https://github.com/openshift/openshift-ansible/issues/6632 None None None 2018-01-05 17:37 EST
Red Hat Product Errata RHBA-2018:0636 None None None 2018-04-05 05:35 EDT

  None (edit)
Description John Sanda 2018-01-05 17:37:53 EST
+++ 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 01:01:13 EST
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 01:02 EST
Created attachment 1402230 [details]
hawkular-cassandra rc file
Comment 4 Junqi Zhao 2018-03-01 02:19:15 EST
Value for terminationGracePeriodSeconds in hawkular-cassandra pod is the same with the value in rc
Comment 8 errata-xmlrpc 2018-04-05 05:34:33 EDT
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 13:23:16 EDT
*** 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.