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

Update the ARAX container to ubuntu 20.04 #1686

Closed
finnagin opened this issue Oct 1, 2021 · 12 comments
Closed

Update the ARAX container to ubuntu 20.04 #1686

finnagin opened this issue Oct 1, 2021 · 12 comments
Assignees

Comments

@finnagin
Copy link
Member

finnagin commented Oct 1, 2021

Pretty self explanatory. Hopefully doing so would make our system more robust to issues like the lets encrypt cert expiration that happened today. Also could be a good excuse to clear out some of the cruft in our current container. We may want to decide what we are going to do in issue #1685 as a part of this as well.

@edeutsch
Copy link
Collaborator

edeutsch commented Oct 1, 2021

Yes, I like the idea of this. Should we also migrate the host OS to Ubuntu 20 while we're at it?

  • Set up a fresh Ubuntu 20 instance and do all updates, install Docker, etc.
  • Set up our system based on what we learned from deploying to ITRB all fresh in a container running U20
  • Copy only the cruft that we want to preserve from the old instance so that we end up pretty clean
  • Then make that the main server and retire the old
  • We'll need to make some Python and Python package version decisions along the way

What is ITRB instance running on? Is that all Ubuntu 20? or?

@finnagin
Copy link
Member Author

finnagin commented Oct 1, 2021

Hmmm I'm not sure. Since we are on a NCATS server wouldn't he have to go through them to reinstall the OS or to stand up a new server if we take that route?

I have no idea what ITRB is running. Their setup is kept pretty opaque from my end.

@edeutsch
Copy link
Collaborator

edeutsch commented Oct 1, 2021

Hmmm I'm not sure. Since we are on a NCATS server wouldn't he have to go through them to reinstall the OS or to stand up a new server if we take that route?

True. Maybe worth the effort?

I have no idea what ITRB is running. Their setup is kept pretty opaque from my end.

Remarkable!

@saramsey saramsey changed the title Update the ARAX contianer to ubuntu 20.04 Update the ARAX container to ubuntu 20.04 Oct 9, 2021
@saramsey
Copy link
Member

saramsey commented Oct 9, 2021

FWIW, the host OS on arax.ncats.io is currently running Ubuntu 18.04:

lsb_release -a
No LSB modules are available.
Distributor ID:	Ubuntu
Description:	Ubuntu 18.04.5 LTS
Release:	18.04
Codename:	bionic

@saramsey
Copy link
Member

saramsey commented Oct 9, 2021

Whatever we do, I think we should have the host OS on arax-backup.rtx.ai and arax.ncats.io be the exact same OS version. Also, it may make sense for us to test out Ubuntu 20.04 on a throwaway AWS instance to make sure we are happy with how Docker, nginx, OpenSSL, and OpenSSH run in it.

@edeutsch
Copy link
Collaborator

edeutsch commented Oct 9, 2021

Although I may have been responsible for the urge to modernize to Ubuntu 20, since learning that ITRB is all on Ubuntu 18. I am now inclined to consolidate to Ubuntu 18 so that our setup is most similar to theirs. So I'm thinking that migrating to a fresh Ubuntu 18 container makes sense, but maybe we should forget about Ubuntu 20 for now.

@saramsey
Copy link
Member

Although I may have been responsible for the urge to modernize to Ubuntu 20, since learning that ITRB is all on Ubuntu 18. I am now inclined to consolidate to Ubuntu 18 so that our setup is most similar to theirs. So I'm thinking that migrating to a fresh Ubuntu 18 container makes sense, but maybe we should forget about Ubuntu 20 for now.

Good point. Absent a clearly defined benefit for moving to 20.04, I wonder if we should go to 18.04, for consistency with ITRB's choice of platform.

@saramsey saramsey removed their assignment Oct 13, 2021
@dkoslicki
Copy link
Member

@finnagin Is this issue still relevant?

@finnagin
Copy link
Member Author

finnagin commented Feb 4, 2022

I think so. We are currently using Ubuntu 20.04 for the ITRB and arax-backup deployments, but are still using Ubuntu 16.04 for the production deployment. We have not changed the production deployment yet as we did not want to disrupt the container before the demo.

One last thing we will still need to do before we can switch is take stock of the endpoints in the container on arax.ncats.io and alter the dockerfile to mimic those. Otherwise I think we could make the switch whenever we want though we should definitely save a copy of an image of the current container and a copy of everything in /translator/data on arax.ncats.io before replacing it with a new container.

When we do decide to make the switch I would propose that we pick a date and time that everyone could be online.

One last complication is if we also want to update the host os. Then I think it might make sense to do that at the same time but that also requires coordinating with NCATS as they own the EC2 instance.

I think maybe we should discuss at the first AHM after the relay next week.

@dkoslicki
Copy link
Member

To discuss on AHM if we want to update prod from 16.04 to 20.04

@dkoslicki
Copy link
Member

From 6/22 AHM: lower priority given other impending deadlines

@saramsey
Copy link
Member

This will happen automatically when we transition to arax2.rtx.ai, which is #2129.

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

No branches or pull requests

7 participants