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

From NovaOrdis Knowledge Base
Jump to navigation Jump to search
(Created page with "=Internal= * OpenShift Troubleshooting =Overview= The integrated CI/CD (Gogs/Nexus/etc.) deployment fails because Gogs deployment fails....")
 
No edit summary
Line 2: Line 2:


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


=Overview=
=Overview=

Revision as of 21:58, 5 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.