Bug 1546374

Summary: Termination grace period set incorrectly for Cassandra pod
Product: OpenShift Container Platform Reporter: John Sanda <jsanda>
Component: HawkularAssignee: John Sanda <jsanda>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.7.0CC: aos-bugs, jcantril, juzhao
Target Milestone: ---   
Target Release: 3.9.0   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1531795 Environment:
Last Closed: 2018-03-28 14:29:21 UTC Type: Bug
Regression: --- Mount Type: ---
Documentation: --- CRM:
Verified Versions: Category: ---
oVirt Team: --- RHEL 7.3 requirements from Atomic Host:
Cloudforms Team: --- Target Upstream Version:
Embargoed:
Bug Depends On: 1531790, 1531795, 1595317    
Bug Blocks: 1531794    

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