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

Migrate ol-home to ol-home0 #4060

Closed
14 tasks done
cdrini opened this issue Nov 9, 2020 · 4 comments
Closed
14 tasks done

Migrate ol-home to ol-home0 #4060

cdrini opened this issue Nov 9, 2020 · 4 comments
Assignees
Labels
Lead: @cclauss Issues overseen by Chris (Python3 & Dev-ops lead 2019-2021) [managed] Priority: 2 Important, as time permits. [managed] Type: Epic A feature or refactor that is big enough to require subissues. [managed]

Comments

@cdrini
Copy link
Collaborator

cdrini commented Nov 9, 2020

Sub-tasks

Deployment Scratchpad

@cdrini cdrini added Theme: Upgrade to Python 3 Type: Epic A feature or refactor that is big enough to require subissues. [managed] Lead: @cclauss Issues overseen by Chris (Python3 & Dev-ops lead 2019-2021) [managed] labels Nov 9, 2020
@cdrini cdrini assigned cdrini and unassigned cdrini Nov 9, 2020
@cclauss cclauss self-assigned this Nov 22, 2020
@mekarpeles mekarpeles added this to the Active Sprint milestone Dec 8, 2020
@mekarpeles mekarpeles added the Priority: 2 Important, as time permits. [managed] label Dec 8, 2020
@cclauss
Copy link
Contributor

cclauss commented Dec 10, 2020

Two versions of solrupdater -- We want to put into separate docker service -- Create a new service in parallel to home service - Get starting command from home.

Push local changes into that service.

ol-home is the KEY. (solr-updater, importbot, cron jobs)

  • freeze ol-home
  • fabfile must use build dir vs. deploy dir (do not do the deploy step on ol-home)
  • Confirm that all code is pointing to deploy.

Developers are still using Python 2 --> 3

  • Switch to infogami master -- lose the .yml file
  • Default to PYENV_VERSION to Py3
  • ImportBot to Py3 issue and PRs

Confirm:

  • Remove ol-home from fabfile -- specifically from rsync (i.e. freeze code on ol-home) internetarchive/olsystem#110
  • Confirm that Python scripts on ol-home run from the deploys directory, not from the "build" (/1/...) directory
  • Literally, update git update submodule to point master SHA

@cclauss
Copy link
Contributor

cclauss commented Jan 7, 2021

Questions:

@cdrini cdrini changed the title Move our deployments to Python 3 Migrate ol-home to ol-home0 Jan 8, 2021
@cdrini
Copy link
Collaborator Author

cdrini commented Jan 8, 2021

Is it ok if we revert this back to be about ol-home? I think we were swapping the places of #4060 and #4318. I've organized them as:

@mekarpeles
Copy link
Member

The remaining issues are as follows, which are being moved to a followup issue:

  • Remove infobase ol-home:7000 -> ol-home0:7000 reverse proxy
    • remove ol-home proxypass to ol-home0 for infobase + update config
  • Can we dump stats-solr and move from ol-home to ol-home0?
  • can we reclaim 4gb of RAM from ol-home (until we can decommission)
  • INCOMPLETE; anything else?
  • Remove ol-home

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Lead: @cclauss Issues overseen by Chris (Python3 & Dev-ops lead 2019-2021) [managed] Priority: 2 Important, as time permits. [managed] Type: Epic A feature or refactor that is big enough to require subissues. [managed]
Projects
None yet
Development

No branches or pull requests

3 participants