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 servers to Ubuntu 22.04 #381

Closed
3 tasks
ghost opened this issue Aug 25, 2022 · 4 comments
Closed
3 tasks

Upgrade servers to Ubuntu 22.04 #381

ghost opened this issue Aug 25, 2022 · 4 comments
Milestone

Comments

@ghost
Copy link

ghost commented Aug 25, 2022

Ubuntu 22.04 is available on Linode.
I am not expecting many changes to our Salt code as it is quite similar to 20.04. We will need to update documentation for the new version.

Currently there are bugs in SaltStack preventing deployments to 22.04 servers, these need resolving before we can move forward with upgrades.
This bug in-particular completely breaks our use of pkgrepo, saltstack/salt#59065

This will supersede the 20.04 server upgrades #145

Change the Ubuntu and Python #346 versions in GitHub Actions workflows:

  • kingfisher-collect
  • kingfisher-process
  • kingfisher-summarize
@jpmckinney
Copy link
Member

jpmckinney commented Dec 3, 2022

There are PRs for our blocking issues:

According to the 3005 release notes (Aug 2022), Ubuntu 22.04 is supported.

Note that Salt is changing to a "one-dir" packaging approach for future releases.

Also, if using macOS, new versions of salt-ssh require Python 3.9 or 3.10. Previously, I couldn't even install new versions of salt-ssh, because of its dependency on pyobjc. This was fixed in 3005.

Note: https://docs.saltproject.io/salt/install-guide/en/latest/topics/upgrade-to-onedir.html

The current onedir packages for 3005.1 do not support ARM64, but ARM64 will be supported in the next major release.

I attempted to install via https://docs.saltproject.io/salt/install-guide/en/latest/topics/install-by-operating-system/macos.html#install-macos but then I figured out how to get the pip installation working.

@jpmckinney
Copy link
Member

Okay, I succeeded in upgrading Salt in requirements.txt so that I can use it locally on Python 3.10, macOS Ventura.

I don't have an Ubuntu 22.04 server to test on. I was able to deploy to 18.04 and 20.04 servers using PPAs and filerefs.

@jpmckinney
Copy link
Member

Noting that I referenced a couple issues in specific applications that will be unblocked by this issue.

@jpmckinney
Copy link
Member

It looks like we already updated relevant documentation.

Since we've been deploying to Ubuntu 22, it seems the above issues are no longer blockers.

I've moved the Ubuntu and Python changes in project workflows to #402.

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

1 participant