Story #16258

Move setup steps out of postinst.sh to arvados-server install

Added by Peter Amstutz over 1 year ago. Updated 3 months ago.

Status:
New
Priority:
Normal
Assigned To:
-
Category:
API
Target version:
-
Start date:
Due date:
% Done:

0%

Estimated time:
Story points:
-

Description

The package installation post install script tries to set up the API server by running rake tasks. These fail if the config file hasn't been created or edited yet.

Currently the documentation tells you to write the configuration file first, then install the package. This is counter-intuitive. The previous behavior would create an empty config file but post-install with instructions to edit the config file and reconfigure the package.

Instead, the code to get the API server ready to run should become part of arvados boot, so that the process is:

  1. install package, with minimal/no post-install script, don't run the service unless it is already configured
  2. run arvados-boot which will either tell you what you need to do or can go ahead and do necessary setup to start the service

Related issues

Related to Arvados Epics - Story #15941: arvados-bootIn Progress01/01/202203/31/2022

History

#1 Updated by Peter Amstutz over 1 year ago

#2 Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)

#3 Updated by Nico César 5 months ago

  • Target version set to 2021-04-28 bughunt sprint
  • Assigned To set to Nico César

#4 Updated by Peter Amstutz 5 months ago

  • Target version changed from 2021-04-28 bughunt sprint to 2021-05-12 sprint

#5 Updated by Peter Amstutz 5 months ago

  • Target version deleted (2021-05-12 sprint)

#6 Updated by Peter Amstutz 5 months ago

  • Target version set to 2021-05-26 sprint

#7 Updated by Peter Amstutz 4 months ago

  • Target version changed from 2021-05-26 sprint to 2021-06-09 sprint

#8 Updated by Peter Amstutz 4 months ago

  • Target version changed from 2021-06-09 sprint to 2021-06-23 sprint
  • Assigned To deleted (Nico César)

#9 Updated by Peter Amstutz 3 months ago

  • Target version deleted (2021-06-23 sprint)

Also available in: Atom PDF