Bug 1546374 - 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.9.0
Assignee: John Sanda
QA Contact: Junqi Zhao
URL:
Whiteboard:
Depends On: 1531790 1531795 1595317
Blocks: 1531794
TreeView+ depends on / blocked
 
Reported: 2018-02-16 21:58 UTC by John Sanda
Modified: 2021-03-11 17:12 UTC (History)
3 users (show)

Fixed In Version:
Doc Type: If docs needed, set a value
Doc Text:
Clone Of: 1531795
Environment:
Last Closed: 2018-03-28 14:29:21 UTC
Target Upstream Version:
Embargoed:


Attachments (Terms of Use)


Links
System ID Private Priority Status Summary Last Updated
Github https://github.com/openshift openshift-ansible issues 6632 0 None None None 2018-02-16 21:58:08 UTC
Red Hat Product Errata RHBA-2018:0489 0 None None None 2018-03-28 14:29:53 UTC

Description John Sanda 2018-02-16 21:58:08 UTC
+++ This bug was initially created as a clone of Bug #1531795 +++

+++ 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-05 02:01:32 UTC
Indentation for terminationGracePeriodSeconds is 1800 in hawkular-cassandra pod, not 30

# oc get po hawkular-cassandra-1-gbp8k -o yaml | grep -i terminationGracePeriodSeconds
  terminationGracePeriodSeconds: 1800

env:
# rpm -qa | grep openshift-ansible
openshift-ansible-playbooks-3.9.2-1.git.0.1a855b3.el7.noarch
openshift-ansible-roles-3.9.2-1.git.0.1a855b3.el7.noarch
openshift-ansible-3.9.2-1.git.0.1a855b3.el7.noarch
openshift-ansible-docs-3.9.2-1.git.0.1a855b3.el7.noarch

# openshift version
openshift v3.9.2
kubernetes v1.9.1+a0ce1bc657
etcd 3.2.16

Comment 5 errata-xmlrpc 2018-03-28 14:29:21 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:0489


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