OpenShift Gogs Fails to Create Required Postgresql Database: Difference between revisions

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
No edit summary
No edit summary
 
Line 2: Line 2:


* [[OpenShift_Troubleshooting#Cases|OpenShift Troubleshooting]]
* [[OpenShift_Troubleshooting#Cases|OpenShift Troubleshooting]]
* [[OpenShift_Gogs#Troubleshooting|OpenShift Gogs Troubleshooting]]
* [[OpenShift_Gogs_Installation#Troubleshooting|OpenShift Gogs Troubleshooting]]


=Overview=
=Overview=

Latest revision as of 00:21, 7 December 2017

Internal

Overview

The integrated CI/CD (Gogs/Nexus/etc.) deployment fails because Gogs deployment fails. The Gogs deployment fails because the liveness probe kills the container that is being initialized right when it creates the required database ("gogs"). The next time the container is started, most of the structures are there, so the database creation is not being attempted anymore - thus the readiness probe fails.

Solution

Relax liveness - it takes longer to become live.