Project

General

Profile

Actions

Bug #16992

closed

[arvados-api-server] automated installs gets stuck when creating the database

Added by Javier Bértoli about 4 years ago. Updated about 4 years ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
-
Target version:
Story points:
-
Release relationship:
Auto

Description

Working on #16471 and testing the salt install scripts in a freshly created AWS vm (Debian buster), the installation gets stuck on the database creation. A ps awxu shows:

root     32457  1.5  1.0 181216 84500 pts/3    Sl+  12:21   0:02 ruby2.5 /var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/bin/rake db:structure:load db:seed
root     32478  0.0  0.1  21688  9260 pts/3    S+   12:21   0:00 /usr/lib/postgresql/11/bin/psql -q -f /var/www/arvados-api/current/db/structure.sql arvados

and a ps auwxf:

       |   \_ /usr/bin/apt-get -y -o DPkg::Options::=--force-confold -o DPkg::Options::=--force-confdef install arvados-api-server
       |       \_ /usr/bin/dpkg --force-confold --force-confdef --status-fd 26 --configure --pending
       |           \_ /bin/sh /var/lib/dpkg/info/arvados-api-server.postinst configure
       |               \_ ruby2.5 /var/www/arvados-api/shared/vendor_bundle/ruby/2.5.0/bin/rake db:structure:load db:seed
       |                   \_ /usr/lib/postgresql/11/bin/psql -q -f /var/www/arvados-api/current/db/structure.sql arvados
       |                       \_ sh -c pager
       |                           \_ pager

When checking postgres, nothing is being created.

Running the apt-get install arvados-api-server command manually, passes OK.

Also, disabling the psql pager with psql --pset=pager=off fixes the issue.


Files

Actions

Also available in: Atom PDF