-
-
Notifications
You must be signed in to change notification settings - Fork 112
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
Upgrade Ubuntu #157
Comments
I will try to run current playbook in container running bionic, i think it may just work. |
We need to check the priority of this and the current situation of all the instances that are gradually adopting |
Ping @pacodelaluna |
In Katuma we will soon migrate our old and small production server and will do it with 18.04. I'll keep you posted. |
AFAIK every managed instance is running on Ubuntu 18, closing |
@sigmundpetersen UK and FR at least are on 16. |
Yes I was confusing 18 compatibility with actual implementation on the servers. Sorry |
Current status:
|
Servers still running on Ubuntu 16:
Normal updates are over now. Extended security updates will last till 2026. |
EstimateI actually did the last upgrade of the French server. I logged 6h40m for that task. We probably need a similar time for the first server upgrade because there are always little issues coming up. But then we are in a position to just execute scripts for each server.
We have 11 prod servers and 3 staging servers. The full estimate is |
Github action has started throwing deprecation warning :
From the github post :
Node upgrade is currently blocked by the server upgrade, see openfoodfoundation/openfoodnetwork#10846 (review) One more reason to get moving on this. |
Current status:
Priority is updating Ubuntu 16 servers:
|
Note that during server upgrades, we will not need to install and configure collectd on any servers for Wormly monitoring. We plan to retire it in favour of New Relic. |
Just trying out Ubuntu 20.24 and it has Python 3.12 which doesn't seem compatible with our current version of Ansible. We use a very old version of Ansible which may need updating first. I'm questioning again if Ansible is the right tool for us... |
what would you use instead of Ansible ? |
Maybe just a bash script? At Ceres Fair Food we use a Git post-receive hook for deployments and it's only 40 lines of code. Provisioning is a little bit more complicated in our current setup and maybe Ansible is a better fit for that. Ansible is good at recognising state and skipping tasks that are already done. But that also means that we go through a lot of code just to skip it and it slows things down. You can select to run only a certain tag but I would find it easier just to run a certain bash script. One upside of Ansible is that lots of roles work with many different operating systems or distributions. But we are locked to Ubuntu anyway and don't use that feature. |
We decided to de-scope and upgrade only the oldest servers, to the most recent version of Ubuntu supported by ofn-install, which is Ubuntu 20 (which runs out of support next April) We'll proceed in this order:
(IE and BE are last because we haven't confirmed yet if they have funded the work). |
@dacook it's confirmed that we can upgrade IE and BE 💪 |
I've updated the order above. AU staging had a blocker, so I will proceed with updating CA (ready to go) and UK (they are keen to change hosting providers anyway). After that I will check if the hosting arrangements for each remaining server allow for Ubuntu 20, and if not, discuss with the team about next steps. |
New servers should have a supported OS for as long as possible.
The just released Ubuntu 18.04 will probably be supported till 2023.Update: It's 2023 now and we should go straight to Ubuntu 22.Update: Our Ansible stack doesn't support past Ubuntu 20. So for now, we will upgrade the oldest servers from v16 to 20.
The text was updated successfully, but these errors were encountered: