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

Closed
jefflill opened this issue May 23, 2022 · 4 comments
Closed

Upgrade to Ubuntu 22.04 #1570

jefflill opened this issue May 23, 2022 · 4 comments
Assignees
Labels
cluster-setup neonKUBE cluster setup neon-kube Related to our Kubernetes distribution

Comments

@jefflill
Copy link
Collaborator

jefflill commented May 23, 2022

Podman installation is messed up right now. The official documentation implies that Ubuntu 20.04 is no longer supported and that Podman is now available for Ubuntu 20.10 or greater:

containers/podman#14302

I tried to to hack around this by forcing an install from Kubic using hardcoded keys (dangerous). This installs an old Podman version v3.0.1. Note that podman-rootless is not available! This is a huge problem.

@jefflill jefflill added neon-kube Related to our Kubernetes distribution cluster-setup neonKUBE cluster setup labels May 23, 2022
@jefflill jefflill changed the title HACK: Recent Podman builds are not available for Ubuntu 20.04 Recent Podman builds are not available for Ubuntu 20.04 May 23, 2022
@jefflill
Copy link
Collaborator Author

jefflill commented May 24, 2022

We may need to upgrade to Ubuntu 22.04, but after some investigation, this gets worse:

  • podman is present in the official Ubuntu 22.04 package releases but podman-rootless is not. I need to investigate whether rootless is a mode now, not a separate binary.

  • cri-o is not present in the Ubuntu 22.04 package releases and the Kubic setup instructions for 22.04 aren't working.

I'd really rather not upgrade to Ubuntu 22.04 right now because I suspect this could really destabilize cluster setup and perhaps cluster operation, beside probably taking a few days to complete the upgrade.

@jefflill jefflill added the investigate Needs further investigation label May 24, 2022
@jefflill
Copy link
Collaborator Author

jefflill commented May 24, 2022

Can figure out a way to install podman-rootless on Ubuntu 22.04?

Observations:

  • It looks like the stock podman binary may also be able top operated in rootless mode. I don't see any confutation setting to control this, but I suspect that just executing podman as a non-root user will start it in rootless mode.
  • Although we've been installing podman-rootless I don't believe we've been actually using this feature:
    • There are several setup prerequisites that we're not configuring rootless prerequsites.
    • All of our current calls to podman are happening as root
    • Kubernetes is calling CRI-O directly, so rootless podman doesn't matter

Can we install CRI-O on Ubuntu 22.04?

Observations:

Conclusion:

It looks like we can install what we need on Ubuntu 22.04.

Although, I would have preferred not to upgrade to Ubuntu 22.04, podman is fully supported there and I'm really tired of fighting with podman and CRI-O and this will get us onto the latest Ubuntu release which will be nice.

Additional potential issues:

  • Image availability:
    • AWS
    • Azure

@jefflill jefflill changed the title Recent Podman builds are not available for Ubuntu 20.04 Upgrade to Ubuntu 22.04 May 24, 2022
@jefflill
Copy link
Collaborator Author

jefflill commented May 24, 2022

Ubuntu 22.04 upgrade:

We'll start out with Hyper-V images because that environment has the fasted turn around.

  • Hyper-V
    • Build base image
    • Build node image
    • Verify install
  • XenServer
    • Build base image
    • Build node image
    • Verify install
  • AWS
    • Build base image
    • Build node image
    • Verify install
  • Azure
    • Build base image
    • Build node image
    • Verify install

@jefflill jefflill removed the investigate Needs further investigation label May 26, 2022
@jefflill
Copy link
Collaborator Author

DONE

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cluster-setup neonKUBE cluster setup neon-kube Related to our Kubernetes distribution
Projects
None yet
Development

No branches or pull requests

2 participants