| Summary: | App loses connectivity after maintenance events | ||
|---|---|---|---|
| Product: | OpenShift Online | Reporter: | bjudson <ben> |
| Component: | Containers | Assignee: | Jhon Honce <jhonce> |
| Status: | CLOSED CURRENTRELEASE | QA Contact: | libra bugs <libra-bugs> |
| Severity: | high | Docs Contact: | |
| Priority: | unspecified | ||
| Version: | 2.x | CC: | ben, bmeng, nduong, stauil |
| Target Milestone: | --- | Keywords: | SupportQuestion |
| Target Release: | --- | ||
| Hardware: | Unspecified | ||
| OS: | Unspecified | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | Bug Fix | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2013-09-19 16:48:07 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: | |
| Bug Depends On: | |||
| Bug Blocks: | 1004521 | ||
|
Description
bjudson
2013-08-25 00:29:11 UTC
Posted by @bjudson on 8/29: This happened again 27 Aug 22:00, and then 29 Aug 00:20 (I'm on US Central time). The first one I restarted almost immediately, the second I had just go to sleep, so the app was down for about 8 hours. Updated the bugs severity to high. Several Questions: #1 Are you using a connection pool to access the database? Or, does your connection configuration have a retry timer for when the database is unavailable? #2 Is this a scalable application? #3 What process do you use to restart the application? *** Bug 1004521 has been marked as a duplicate of this bug. *** I don't know if this matters at this point, but the answers are: 1. I'm using a standard Flask-SQLAlchemy configuration, which if I'm not mistaken uses a connection pool by default. 2. It is not a scalable app. 3. rhc app restart <appname> I can't access the bug you have marked this a duplicate of, but am I correct in assuming the issue is resolved? Fix will go out in next production release. If you experience issues after that, please reopen bug. Sorry for any inconvenience. Commit pushed to master at https://github.com/openshift/origin-server https://github.com/openshift/origin-server/commit/59d0a4b73ab67585d7f69cdf5f37b13bea15d2f1 Bug 1000764 - Enforce cartridge start order * Start secondary cartridges before primary cartridge Test on devenv_3772, with jbosseap + postgresql 8.4 jdbc configured. During app restarting, there is no such error appears in jboss server log. Also can find the start sequence in the output: [jbeap1-bmengdev.dev.rhcloud.com 523009b9c6aa501c16000001]\> gear start Starting gear... Starting Postgres cartridge server starting Postgres started Starting jbosseap cartridge Move bug to verified. |