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

Bug 1632870

Summary: Add support for only installing and running the schema installer job
Product: OpenShift Container Platform Reporter: John Sanda <jsanda>
Component: HawkularAssignee: Ruben Vargas Palma <rvargasp>
Status: CLOSED ERRATA QA Contact: Junqi Zhao <juzhao>
Severity: high Docs Contact:
Priority: unspecified    
Version: 3.10.0CC: aos-bugs, ggore, juzhao, rvargasp, vrutkovs, wsun
Target Milestone: ---   
Target Release: 3.10.z   
Hardware: Unspecified   
OS: Unspecified   
Whiteboard:
Fixed In Version: Doc Type: If docs needed, set a value
Doc Text:
Story Points: ---
Clone Of: 1632869 Environment:
Last Closed: 2019-01-10 09:27:10 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: 1632869    
Bug Blocks:    

Description John Sanda 2018-09-25 17:53:48 UTC
+++ This bug was initially created as a clone of Bug #1632869 +++

Description of problem:
There is no easy way to rerun a Kubernetes job. As discussed in bug 1632852 there are times when the job terminates with a failure and does not run again. In that sort of scenario the job has to be recreated in order for it to run again. This should be automated through the installer.

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


How reproducible:


Steps to Reproduce:
1.
2.
3.

Actual results:


Expected results:


Additional info:

Comment 1 Vadim Rutkovsky 2018-10-18 09:34:01 UTC
Fix is available in openshift-ansible-3.10.59-1

Comment 2 Junqi Zhao 2018-10-22 09:00:40 UTC
Tested with openshift-ansible-3.10.60-1, issue is fixed.

Steps:
scale down cassandra and hawkular-metrics rc, after a while, scale them up.
There are error in hawkular-metrics pod, "The schema version check failed". Then run the playbooks/openshift-metrics/schema.yml playbook, all pods will be running well.

# oc -n openshift-infra get pod
NAME                            READY     STATUS      RESTARTS   AGE
hawkular-cassandra-1-l4zpg      1/1       Running     0          28m
hawkular-metrics-lzz5g          1/1       Running     3          28m
hawkular-metrics-schema-9qlxd   0/1       Completed   0          5m
heapster-tnq2m                  1/1       Running     2          1h

NOTE: heapster should also be scale down and scale up avoid not showing metrics diagram in web UI.

Comment 3 Ruben Vargas Palma 2018-12-10 18:21:28 UTC
*** Bug 1626908 has been marked as a duplicate of this bug. ***

Comment 5 errata-xmlrpc 2019-01-10 09:27:10 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-2019:0026

Comment 6 Vijay Samanthapuri 2021-04-26 01:15:56 UTC
*** Bug 1626908 has been marked as a duplicate of this bug. ***