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

Upgrade ocp13 (registry) to Ubuntu 24.04 LTS #494

Open
1 task
jpmckinney opened this issue May 2, 2024 · 4 comments · May be fixed by #518
Open
1 task

Upgrade ocp13 (registry) to Ubuntu 24.04 LTS #494

jpmckinney opened this issue May 2, 2024 · 4 comments · May be fixed by #518
Labels
S: crm S: registry Relating to the Registry service/server
Milestone

Comments

@jpmckinney
Copy link
Member

jpmckinney commented May 2, 2024

https://ubuntu.com/blog/canonical-releases-ubuntu-24-04-noble-numbat

These are running Ubuntu 20.04, which is EOL Apr 2025, with extended security maintenance ending another 5 years later.

ocp13 will require more care, as it's an important publicly available service. We can review the server specs as it might be over-compensating. We can also restore the SSH port to the default.

  • ocp13: Need to replace gateway6: with e.g.

                  - to: default
                    via: fe80::1
    
@jpmckinney jpmckinney added this to the Medium priority milestone May 2, 2024
@jpmckinney
Copy link
Member Author

jpmckinney commented May 3, 2024

This will be the first time we move the registry.

We should start the move when all jobs are complete, and after stopping all workers.

We need to move:

  • /data/storage/exporter_dumps/, but it's 453G, so we should check that we're only moving active jobs. Not sure if some jobs aren't getting deleted (follow-up Clean up temporary data from data registry #312). Maybe take the opportunity to rename to exporter.

We don't need to move:

  • /data/storage/kingfisher-collect/

Not sure if we need to move: (Edit: might as well move, as has been useful for debugging UK recently)

  • /home/collect/scrapyd/logs (15GB). It's useful for debugging, but we could also just restart a crawl. Noting that log files are not deleted by the Collect TaskManager (probably for that reason and because they don't take up much space).

@RobHooper
Copy link
Contributor

It is advisable to hold off on upgrading until Ubuntu 24.04.1 (the point release that marks this as production ready).
According to the release schedule, the .1 release date is: 15 Aug 2024.
This also gives third parties time to better support (and find bugs in) the new stack.

@jpmckinney jpmckinney modified the milestones: Medium priority, Priority May 7, 2024
@jpmckinney jpmckinney changed the title Upgrade ocp13, 14, 16 (registry, redash, redmine) to Ubuntu 24.04 LTS Upgrade ocp13, 16 (registry, redmine) to Ubuntu 24.04 LTS Jun 7, 2024
@jpmckinney jpmckinney changed the title Upgrade ocp13, 16 (registry, redmine) to Ubuntu 24.04 LTS Upgrade ocp13 (registry) to Ubuntu 24.04 LTS Jun 7, 2024
@RobHooper
Copy link
Contributor

ocp13 is a CPU intensive server, this needs considering when speccing the new hardware.

@RobHooper
Copy link
Contributor

Alongside this work, we can remove state ntp disabling the NTP service. This was only required for older systems (Ubuntu 20.04).
https://github.com/open-contracting/deploy/blob/main/salt/core/systemd/ntp.sls#L31-L34

@RobHooper RobHooper linked a pull request Aug 21, 2024 that will close this issue
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S: crm S: registry Relating to the Registry service/server
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants