Bug 1474683
Summary: | template for postgress has buggy liveness probe | ||
---|---|---|---|
Product: | OpenShift Container Platform | Reporter: | daniel <dmoessne> |
Component: | Templates | Assignee: | Ben Parees <bparees> |
Status: | CLOSED CURRENTRELEASE | QA Contact: | XiuJuan Wang <xiuwang> |
Severity: | medium | Docs Contact: | |
Priority: | medium | ||
Version: | unspecified | CC: | aos-bugs, bparees, erich, jokerman, jorton, kwalker, lzachar, mmccomas, pkubat, praiskup, vlaad, wzheng |
Target Milestone: | --- | ||
Target Release: | 3.10.0 | ||
Hardware: | Unspecified | ||
OS: | Unspecified | ||
Whiteboard: | |||
Fixed In Version: | Doc Type: | Bug Fix | |
Doc Text: |
Cause: Bad liveness probe caused excess output in container logs.
Consequence: Logs contained spurious error messages.
Fix: Change liveness probe to something that does not generate spurious log messages.
Result: Logs no longer contain excessive spurious error messages.
|
Story Points: | --- |
Clone Of: | Environment: | ||
Last Closed: | 2018-08-28 18:31:26 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: |
Description
daniel
2017-07-25 07:19:27 UTC
Tracked upstream: https://github.com/sclorg/postgresql-container/issues/195 This is now fixed upstream: https://github.com/sclorg/postgresql-container/commit/8230ed1221225ed9b9d1706810c1f1f228931856 Moving the bug back to Openshift as the templates are not released by the RHSCL team so it should not be tracked against our components. Petr, the django example template is not fixed yet: https://github.com/sclorg/django-ex/blob/master/openshift/templates/django-postgresql.json#L387-L393 Once it is fixed you can return this bug to me and i'll track when openshift releases the updated templates. Thanks for spotting this. I opened up a PR against django-ex: https://github.com/sclorg/django-ex/pull/119 rails and django templates changes have been merged. should be fixed by https://github.com/openshift/origin/pull/18621 Verified with below version: v3.10.0-0.58.0 sh-4.2$ tail -f /var/lib/pgsql/data/userdata/pg_log/postgresql-Wed.log LOG: database system is ready to accept connections LOG: received fast shutdown request LOG: aborting any active transactions LOG: autovacuum launcher shutting down LOG: shutting down LOG: database system is shut down LOG: database system was shut down at 2018-06-06 05:58:44 UTC LOG: MultiXact member wraparound protections are now enabled LOG: autovacuum launcher started LOG: database system is ready to accept connections |