Project

General

Profile

Actions

Feature #20797

closed

Build Rocky Linux / RHEL compatible packages

Added by Peter Amstutz over 1 year ago. Updated about 1 year ago.

Status:
Resolved
Priority:
Normal
Assigned To:
Category:
Deployment
Story points:
-
Release relationship:
Auto

Description

Customer requires RHEL support. They currently use RHEL 8.6.

We can use Rocky linux, which is designed to be binary compatible but open
source.

We should add Rocky 8.6 (and ideally 9) packages to our build pipeline.

Notes about binary compatibility:

https://access.redhat.com/articles/rhel8-abi-compatibility

If we want to support the whole 8 series we might need to build on 8.0.


Subtasks 1 (0 open1 closed)

Task #20803: Review 20797-rhel8-packagesResolvedLucas Di Pentima08/01/2023Actions

Related issues

Related to Arvados - Bug #20878: rocky8 libpam-arvados-go package fails testsResolvedBrett Smith08/17/2023Actions
Related to Arvados - Bug #20934: test-provision-centos7 is failingClosedBrett Smith09/08/2023Actions
Has duplicate Arvados - Feature #17070: [packaging][centos] build packages for centos8DuplicateActions
Actions #1

Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
Actions #2

Updated by Peter Amstutz over 1 year ago

  • Description updated (diff)
Actions #3

Updated by Peter Amstutz over 1 year ago

  • Subject changed from Build Rocky Linux / RHEL packages to Build Rocky Linux / RHEL compatible packages
Actions #4

Updated by Peter Amstutz over 1 year ago

  • Target version changed from Future to Development 2023-08-02 sprint
Actions #5

Updated by Peter Amstutz over 1 year ago

  • Assigned To set to Brett Smith
Actions #6

Updated by Brett Smith over 1 year ago

20797-rhel8-packages @ e0c95f3349e0a78438a379861d97d6a565ee281b - build-packages-multijob: #3658

I'll need to coordinate with Lucas or someone next week about setting up a new Jenkins target and testing the branch, but everything at least builds and passes tests on my laptop.

Peter Amstutz wrote:

If we want to support the whole 8 series we might need to build on 8.0.

The oldest Docker image Rocky currently publishes is 8.6. I went ahead and built on that since it matches the immediate need. I do not see any published policy about how far back they're willing to publish these images.

Actions #7

Updated by Brett Smith over 1 year ago

Brett Smith wrote in #note-6:

20797-rhel8-packages @ e0c95f3349e0a78438a379861d97d6a565ee281b - build-packages-multijob: #3658

After one bugfix (1cefd714aed3090435b6fe471dbdf3a1ba12179a) and some network trouble downloading Node, a successful build of the new packages on Jenkins: build-packages-rocky8: #5

Note this job does not upload packages yet, because we haven't set up a place for them to go. But this is still progress.

Actions #8

Updated by Lucas Di Pentima over 1 year ago

Some comments:

  • At arvados/build/package-testing/common-test-rails-server-package.sh Lines 52, 52: Should we use --assumeyes like we do with the other distos?
  • The package repo documentation splits CentOS 7 vs the new ones CentOS8/AlmaLinux/etc but it provides the same instructions as CentOS7. Would it make sense to just add the new versions comment to the already existing CentOS7 section?
  • PostgreSQL docs for the new distro uses yum, but everywhere else mentions dnf. Not sure which is the more correct, but I think it would be good to maintain consistency.
Actions #9

Updated by Brett Smith over 1 year ago

Lucas Di Pentima wrote in #note-8:

  • At arvados/build/package-testing/common-test-rails-server-package.sh Lines 52, 52: Should we use --assumeyes like we do with the other distos?

There's a whole backstory here, see the commit message for 7c3c271a6616e9795581a27f7e5515b03b43a460 explaining why it wasn't in version 1, and why I've gone ahead and added it now.

  • The package repo documentation splits CentOS 7 vs the new ones CentOS8/AlmaLinux/etc but it provides the same instructions as CentOS7. Would it make sense to just add the new versions comment to the already existing CentOS7 section?

Done in fca484c3a8160e6671f5372c5d19f34864ce1d4c.

  • PostgreSQL docs for the new distro uses yum, but everywhere else mentions dnf. Not sure which is the more correct, but I think it would be good to maintain consistency.

Good catch, fixed in 8ea9c22dd8c5986d1a5eb7a45c223c051a0fc571. Thanks.

Actions #10

Updated by Brett Smith over 1 year ago

  • Status changed from New to In Progress
Actions #11

Updated by Lucas Di Pentima over 1 year ago

This LGTM, thanks!

Actions #12

Updated by Brett Smith over 1 year ago

  • % Done changed from 50 to 100
  • Status changed from In Progress to Resolved
Actions #13

Updated by Brett Smith over 1 year ago

  • Related to Bug #20878: rocky8 libpam-arvados-go package fails tests added
Actions #14

Updated by Peter Amstutz about 1 year ago

  • Release set to 66
Actions #15

Updated by Brett Smith about 1 year ago

  • Related to Bug #20934: test-provision-centos7 is failing added
Actions #16

Updated by Brett Smith 10 months ago

  • Has duplicate Feature #17070: [packaging][centos] build packages for centos8 added
Actions

Also available in: Atom PDF