Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow for Focal prod VM installs using local packages #5668

Closed
zenmonkeykstop opened this issue Dec 14, 2020 · 1 comment · Fixed by #5669
Closed

Allow for Focal prod VM installs using local packages #5668

zenmonkeykstop opened this issue Dec 14, 2020 · 1 comment · Fixed by #5669

Comments

@zenmonkeykstop
Copy link
Contributor

zenmonkeykstop commented Dec 14, 2020

Description

Prod VM environments are currently Xenial-only:

  • the /prod/ Vagrant VMs are based on bento/ubuntu-16.04
  • currently not all securedrop core packages are available in focal flavour on FPF prod or test repos
  • there is no way to use local packages during a fresh install.

It would be helpful for the migration process to be able to provision a Focal-based prod environment (using VMs or hardware) using local packages if required.

User Research Evidence

Dev team members request.

@zenmonkeykstop
Copy link
Contributor Author

zenmonkeykstop commented Dec 14, 2020

So far so good:

  • Modified Vagrantfile to optionally use Focal base box (if env var set) - vagrant up runs without issues
  • as there is no focal dist defined on apt-test, tried using the upgrade scenario's app server with some tweaking as a source of focal packages, which worked but is sub-optimal, an apt server defined and provisioned in same Vagrantfile as the prod VMs would be better
  • not all required packages are available on local apt server (grsec kernels are missing) so the local apt server and and FPF apt are required. Tried setting up both by:
    • adding the local apt server via a custom playbook, after SSH creds are copied but before install playbook runs
    • modifying defaults to use apt-test as per usual (but could have just left this on prod apt now I think of it)

As focal packages aren't available at all on FPF repos, this works without explicitly prioritizing them (this would have to change once they are published tho). Installation completed successfully.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant