Project

General

Profile

Actions

Bug #7000

closed

[Docker] API server starts before PostgreSQL is ready

Added by Brett Smith over 9 years ago. Updated almost 6 years ago.

Status:
Closed
Priority:
Normal
Assigned To:
-
Category:
Docker
Target version:
-
Start date:
08/17/2015
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The API server Docker image runs both the Passenger server and PostgreSQL under supervisord. No relation is declared between them, so Passenger often starts before PostgreSQL is ready, causing the whole container to be non-functional. Prevent this from happening.

Actions #1

Updated by Ward Vandewege over 9 years ago

Adding a test for postgres availability to passenger.sh would probably solve this. Here's an example of such a test:

http://www.postgresql.org/message-id/20070319162324.GB19214@shienar
Actions #2

Updated by Brett Smith over 9 years ago

  • Target version changed from 2015-09-02 sprint to Arvados Future Sprints
Actions #3

Updated by Tom Clegg almost 8 years ago

  • Status changed from New to Closed
Actions #4

Updated by Tom Morris almost 6 years ago

  • Target version deleted (Arvados Future Sprints)
Actions

Also available in: Atom PDF