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

Create a separate RPM repository for CentOS 7 #9448

Closed
webvictim opened this issue Dec 16, 2021 · 9 comments
Closed

Create a separate RPM repository for CentOS 7 #9448

webvictim opened this issue Dec 16, 2021 · 9 comments
Assignees
Labels
c-ar Internal Customer Reference c-nx Internal Customer Reference feature-request Used for new features in Teleport, improvements to current should be #enhancements

Comments

@webvictim
Copy link
Contributor

webvictim commented Dec 16, 2021

What

As of Teleport 8, the RPM repository (https://rpm.releases.teleport.dev/) as detailed in the installation guide (https://goteleport.com/docs/installation/) does not provide RPMs which are compatible with CentOS 7. This means that if a CentOS 7 user was on a previous version of Teleport and they run yum update, their Teleport installation will be broken due to the required glibc version in Teleport 8 being too high for CentOS 7 machines.

This glibc issue is being tracked in #9247 which will address the issue of broken upgrades. However, Teleport should also provide a repository suitable for CentOS 7 which provides Teleport 8 binaries compiled against a lower glibc version. These CentOS 7 binaries are currently available to the public (such as https://get.gravitational.com/teleport-v8.0.6-linux-amd64-centos7-bin.tar.gz) but there is no RPM or repository available at present.

How

Add a separate RPM repository for CentOS 7. This could potentially be done using the $releasever variable on the current repo, or we could add a separate rpm-centos7.releases.teleport.dev repo.

Why

CentOS 7 is not end of life until June 2024 and many customers are still using it.

Workaround

Current workaround is to uninstall the Teleport RPM (either manually or using yum/dnf) and then manually install the binary tarball distribution from the URL above.

Related issues:
#9028
#9247

gz#3949

@webvictim webvictim added feature-request Used for new features in Teleport, improvements to current should be #enhancements repository-management labels Dec 16, 2021
@amalikn
Copy link

amalikn commented Dec 19, 2021

+1

2 similar comments
@evrynet1
Copy link

+1

@Stanislasss
Copy link

+1

@pschisa pschisa added the c-nx Internal Customer Reference label Dec 20, 2021
@Stanislasss
Copy link

+1

@webvictim
Copy link
Contributor Author

As an FYI to everyone +1ing this post, since Teleport 8.0.7 the Teleport RPM repo now distributes RPMs which are built on CentOS 7 and will work with that distro.

@yorokobi
Copy link

Why are there no RHEL/CentOS 7 RPMs in the goteleport.com/download or Gravitational dashboard for the Enterprise and Enterprise FIPS builds of recent releases? Instead, only a .tar.gz?

@webvictim
Copy link
Contributor Author

@russjones Can you comment on this? I believe we only override the RPMs to the CentOS 7 ones when publishing to the repo, and don't do it yet for those published to the dashboard?

@russjones
Copy link
Contributor

Correct. The CentOS 7 RPMs are in our repo and no longer rely on libatomic. However, we have not published to our dashboard yet.

@programmerq programmerq added the c-ar Internal Customer Reference label Feb 3, 2022
@r0mant
Copy link
Collaborator

r0mant commented Aug 11, 2022

Starting from Teleport 10 all our artifacts are built on CentOS 7 so RPMs should be compatible also. Closing this.

@r0mant r0mant closed this as completed Aug 11, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c-ar Internal Customer Reference c-nx Internal Customer Reference feature-request Used for new features in Teleport, improvements to current should be #enhancements
Projects
None yet
Development

No branches or pull requests

9 participants