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

Retire ol-web3 & ol-web4 #3992

Closed
3 tasks done
cdrini opened this issue Oct 30, 2020 · 4 comments
Closed
3 tasks done

Retire ol-web3 & ol-web4 #3992

cdrini opened this issue Oct 30, 2020 · 4 comments
Assignees
Labels
Affects: Configuration Related to the configuration of the dev/staging/prod environments, CI, docker, etc. [managed] Affects: Server Issues with the server (olweb) or its plugins. [managed] Lead: @cclauss Issues overseen by Chris (Python3 & Dev-ops lead 2019-2021) [managed] Needs: Review This issue/PR needs to be reviewed in order to be closed or merged (see comments). [managed] Priority: 2 Important, as time permits. [managed]

Comments

@cdrini
Copy link
Collaborator

cdrini commented Oct 30, 2020

With ol-web1 running python3, we want to connect ol-web1 permanently and remove our old python2 ol-web3/4.

Blocked by: #890, #3333, and #3993.

  • Retire ol-web3
  • Retire ol-web4
  • internetarchive/olsystem#111 Remove refs to ol-web{3,4} from olsystem
@cdrini cdrini added Priority: 2 Important, as time permits. [managed] Affects: Configuration Related to the configuration of the dev/staging/prod environments, CI, docker, etc. [managed] Affects: Server Issues with the server (olweb) or its plugins. [managed] Lead: @cclauss Issues overseen by Chris (Python3 & Dev-ops lead 2019-2021) [managed] labels Oct 30, 2020
@cdrini cdrini added this to the Active Sprint milestone Oct 30, 2020
@cclauss cclauss added the State: Blocked Work has stopped, waiting for something (Info, Dependent fix, etc. See comments). [managed] label Nov 1, 2020
@cclauss
Copy link
Collaborator

cclauss commented Dec 3, 2020

It would be of interest to use one of these servers (ol-web3) as a testing ground for staging.vNext which will be based on k3d and k3s. This would provide a fast self-contained single-node Kubernetes cluster for implementing declarative configuration of our staging environment. Kompose: Translate a Docker Compose File to Kubernetes Resources

This cluster would manage one haproxy container, one memcached container, and two openlibrary_web_1 containers. As changes are made to our test branch the cluster would restart one webnode after the other. No downtime. Doing so would achieve two objectives:

  1. Establish the automation to keep staging running reliably while making it easier for new contributors to test on.
  2. Teach us how to configure openlibrary in a self-healing environment for prod.vNext.

Todos:

  • Agree on the utility of this activity
  • Upgrade os from Ubuntu 14.04 to 20.04
  • Install docker
  • Install k3d
  • Git pull openlibrary, infogami, olsystem, booklending_utils
  • Create k3s cluster config
  • Rework dev-merged logic for the new environment

@cclauss cclauss added Needs: Review This issue/PR needs to be reviewed in order to be closed or merged (see comments). [managed] and removed State: Blocked Work has stopped, waiting for something (Info, Dependent fix, etc. See comments). [managed] labels Dec 6, 2020
@cclauss
Copy link
Collaborator

cclauss commented Dec 16, 2020

ol-web3 is now gone.

@cdrini cdrini modified the milestones: Active Sprint, Next (proposed) Jan 4, 2021
@cdrini
Copy link
Collaborator Author

cdrini commented Jan 4, 2021

@abezella and @mekarpeles Decomissioned ol-web4 as well 🎉

@cclauss cclauss closed this as completed Jan 6, 2021
@cdrini
Copy link
Collaborator Author

cdrini commented Jan 8, 2021

This will be closed by internetarchive/olsystem#111

@cdrini cdrini reopened this Jan 8, 2021
@cdrini cdrini closed this as completed Jan 13, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Affects: Configuration Related to the configuration of the dev/staging/prod environments, CI, docker, etc. [managed] Affects: Server Issues with the server (olweb) or its plugins. [managed] Lead: @cclauss Issues overseen by Chris (Python3 & Dev-ops lead 2019-2021) [managed] Needs: Review This issue/PR needs to be reviewed in order to be closed or merged (see comments). [managed] Priority: 2 Important, as time permits. [managed]
Projects
None yet
Development

No branches or pull requests

3 participants