Skip to content

Concourse web binaries don't run the migration commands #2163

Closed

Description

@jwntrs

The ATC has a couple utility migration commands. Currently these aren't available in the concourse web binary. They probably should be.

Activity

  1. stewartlord commented on Apr 17, 2018

    @stewartlord

    Yes please 👍

  2. added a commit that references this issue on Apr 18, 2018
    465c12c
  3. added a commit that references this issue on Apr 19, 2018
    e28fe2e
  4. vito commented on Apr 25, 2018

    @vito
    Contributor

    This is still super janky because it requires additional flags and starts the TSA on the side:

    ~/w/c/s/g/c/bin (master) $ concourse web --current-db-version 
    the required flags `--tsa-authorized-keys' and `--tsa-host-key' were not specified
    ~/w/c/s/g/c/bin (master) $ concourse web --current-db-version --tsa-authorized-keys ~/.ssh/id_rsa_vito.pub --tsa-host-key  ~/.ssh/id_rsa_vito
    {"timestamp":"1524667865.287822962","source":"tsa","message":"tsa.listening","log_level":1,"data":{}}
    Exit trace for group:
    atc exited with error: pq: password authentication failed for user "alex"
    tsa exited with nil
    

    We should figure out how to arrange this properly so that the migration stuff is its own command or something instead. Gonna accept anyway since at least it can run now.

  5. added this to the v3.12.0 milestone on Apr 25, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions