Note: This bug is displayed in read-only format because the product is no longer active in Red Hat Bugzilla.

Bug 1531790

Summary: Termination grace period set incorrectly for Cassandra pod
Product: OpenShift Container Platform Reporter: John Sanda <jsanda>
Component: HawkularAssignee: John Sanda <jsanda>
Status: CLOSED CURRENTRELEASE QA Contact: Junqi Zhao <juzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.5.0CC: aos-bugs, bleanhar, erjones, jcantril, pdwyer
Target Milestone: ---   
Target Release: 3.5.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of:
: 1531794 1531795 1595317 (view as bug list) Environment:
Last Closed: 2018-06-26 15:42:52 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:    
Bug Blocks: 1404643, 1522793, 1531794, 1531795, 1546374, 1595317    

Description John Sanda 2018-01-05 22:32:32 UTC
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-02 04:19:21 UTC
Indentation for terminationGracePeriodSeconds is right in hawkular_cassandra_rc.j2, value now is 1800 in hawkular-cassandra pod, not 30,

# oc get po hawkular-cassandra-1-6m9vz -o yaml | grep terminationGracePeriodSeconds
  terminationGracePeriodSeconds: 1800

# openshift version
openshift v3.5.5.31.61
kubernetes v1.5.2+43a9be4
etcd 3.1.0


# rpm -qa | grep openshift-ansible
openshift-ansible-lookup-plugins-3.5.159-1.git.0.75201c7.el7.noarch
openshift-ansible-docs-3.5.159-1.git.0.75201c7.el7.noarch
openshift-ansible-callback-plugins-3.5.159-1.git.0.75201c7.el7.noarch
openshift-ansible-playbooks-3.5.159-1.git.0.75201c7.el7.noarch
openshift-ansible-3.5.159-1.git.0.75201c7.el7.noarch
openshift-ansible-filter-plugins-3.5.159-1.git.0.75201c7.el7.noarch
openshift-ansible-roles-3.5.159-1.git.0.75201c7.el7.noarch