Bug #7000

[Docker] API server starts before PostgreSQL is ready

Added by Brett Smith over 1 year ago. Updated 19 days ago.

Status:ClosedStart date:08/17/2015
Priority:NormalDue date:
Assignee:-% Done:


Target version:Arvados Future Sprints
Story points-
Velocity based estimate-


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.


#1 Updated by Ward Vandewege over 1 year ago

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


#2 Updated by Brett Smith over 1 year ago

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

#3 Updated by Tom Clegg 19 days ago

  • Status changed from New to Closed

Also available in: Atom PDF