Skip to content
New issue

Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? # to your account

[RHELC-738] Add RHEL 8.6 among the supported EUS minor versions #607

Merged
merged 5 commits into from
Nov 9, 2022

Conversation

bocekm
Copy link
Member

@bocekm bocekm commented Sep 13, 2022

When RHEL 8.7 is released, RHEL 8.6 will transition into the Extended Update Support. Our next release will happen post RHEL 8.7 GA so this is to make sure we then correctly detect 8.6 as EUS.

Some integration may be failing now as:

  • they don't expect 8.6 to be EUS
  • different RHEL repos are being enabled
  • some checks during the conversion are being skipped if converting to EUS, namely loaded kernel currency check and system up-to-date check on Oracle Linux (because Oracle does not make repos of older minor versions available)
  • the convert2rhel will start locking to the minor version through RHSM

Jira Issue: RHELC-738

Checklist

  • PR meets acceptance criteria specified in the Jira issue
  • PR has been tested manually in a VM (either author or reviewer)
  • Jira issue has been made public if possible
  • [RHELC-738] is part of the PR title
  • Code and tests are documented properly
  • The commits are squashed to as few commits as possible (without losing data)
  • When merged: Jira issue has been updated to Release Pending

@github-actions
Copy link

Thank you for contributing to the Convert2RHEL project!

👋 Hello @bocekm, thank you for submitting a PR 🚀!
Please note that every PR needs to comply with the Convert2RHEL Guidelines and must pass all tests in order to be mergable.
If you want to rebuild a package in Fedora Copr, you can use the following command as a comment:

  • /packit copr-build to trigger a copr build using packit

To execute integration tests, members of the oamg organization don't need any extra step. The automation kicks that off for you!

If you're an external collaborator (meaning that you're not part of the oamg organization), wait for somebody from the @oamg/convert2rhel-developers group to add the testing label to the PR to trigger the tests.

Note: In case there are problems with tests not being triggered automatically for a new PR/commit or pending for a long time, ping @oamg/convert2rhel-developers in a PR comment.

@codecov
Copy link

codecov bot commented Sep 13, 2022

Codecov Report

Base: 93.35% // Head: 93.35% // No change to project coverage 👍

Coverage data is based on head (f98536f) compared to base (87fa1f3).
Patch coverage: 100.00% of modified lines in pull request are covered.

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #607   +/-   ##
=======================================
  Coverage   93.35%   93.35%           
=======================================
  Files          22       22           
  Lines        3147     3147           
  Branches      559      559           
=======================================
  Hits         2938     2938           
  Misses        147      147           
  Partials       62       62           
Flag Coverage Δ
centos-linux-6 89.86% <100.00%> (ø)
centos-linux-7 89.33% <100.00%> (ø)
centos-linux-8 89.52% <100.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

Impacted Files Coverage Δ
convert2rhel/systeminfo.py 96.65% <100.00%> (ø)

Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here.

☔ View full report at Codecov.
📢 Do you have feedback about the report comment? Let us know in this issue.

Venefilyn
Venefilyn previously approved these changes Oct 4, 2022
r0x0d
r0x0d previously approved these changes Oct 5, 2022
@bocekm
Copy link
Member Author

bocekm commented Oct 27, 2022

/packit build

@r0x0d
Copy link
Member

r0x0d commented Oct 31, 2022

@bocekm are you expecting this to be present on the next release (1.1) or for the 1.2?

@bocekm
Copy link
Member Author

bocekm commented Oct 31, 2022

@r0x0d, 1.1 as indicated in RHELC-738. Without this change conversions from OL 8.6 to RHEL 8.6 EUS wouldn't be possible.

@r0x0d r0x0d dismissed stale reviews from Venefilyn and themself via faa01fb October 31, 2022 18:35
@r0x0d r0x0d force-pushed the add-8.6-to-supported-eus-releases branch from a76bf29 to faa01fb Compare October 31, 2022 18:35
@r0x0d
Copy link
Member

r0x0d commented Oct 31, 2022

Rebased as some integration tests were failing because of the mismatch in packit between main/pr branch.

@r0x0d r0x0d force-pushed the add-8.6-to-supported-eus-releases branch from faa01fb to c03859f Compare November 4, 2022 16:25
@r0x0d r0x0d requested review from Venefilyn and abadger November 4, 2022 16:32
@@ -29,7 +29,7 @@ def test_backup_os_release_no_envar(shell, convert2rhel):
assert shell("mv /etc/yum.repos.d/* /tmp/s_backup/").returncode == 0

# EUS version use hardoced repos from c2r as well
if "centos-8" in system or "oracle-8.4" in system:
if "centos-8" in system:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oracle Linux doesn't have any hardcoded repos anymore.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is this something you're saying needs to change in the PR? Or just explaining why it's removed

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Just explaining.

@@ -79,7 +79,7 @@ def test_backup_os_release_with_envar(shell, convert2rhel):
# Return repositories to their original location
assert shell("mv /tmp/s_backup/* /etc/yum.repos.d/").returncode == 0

if "centos-8" in system or "oracle-8.4" in system:
if "centos-8" in system:
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oracle Linux doesn't have any hardcoded repos anymore.

Venefilyn
Venefilyn previously approved these changes Nov 7, 2022
@r0x0d
Copy link
Member

r0x0d commented Nov 7, 2022

I'm hand-picking the changes made in #652 so we can see if the pipeline pass.

bocekm and others added 5 commits November 8, 2022 09:07
When RHEL 8.7 is released, RHEL 8.6 will transition into the Extended
Update Support. Our next release will happen post RHEL 8.7 GA so this is
to make sure we then correctly detect 8.6 as EUS.
Updated the test to include a check for EUS repositories when the system
is converted to RHEL 8.6, as we are introducing it as a EUS conversion.

Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Some tests were left behind in my previous commit regarding the
introduction of 8.6 being considered EUS by Convert2RHEL. Now those
tests are properly updated.

Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Enable the rhel8-eus-repos playbook to distribution version 8.6 alongside 8.4.

Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
Changed the satellite dogfood address from
`dogfood.sat.engineering.redhat.com` to
`satellite.sat.engineering.redhat.com`

Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com>
@r0x0d r0x0d force-pushed the add-8.6-to-supported-eus-releases branch from cd96b5c to f98536f Compare November 8, 2022 12:10
Copy link
Member

@Venefilyn Venefilyn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Integration tests passing. Are we OK to merge?

@r0x0d
Copy link
Member

r0x0d commented Nov 9, 2022

Integration tests passing. Are we OK to merge?

Totally. Just waiting for the last integration test to finish.

@Venefilyn Venefilyn merged commit 7b7fda1 into oamg:main Nov 9, 2022
hosekadam pushed a commit to hosekadam/convert2rhel that referenced this pull request Nov 11, 2022
…#607)

Co-authored-by: Rodolfo Olivieri <rolivier@redhat.com>
@Venefilyn Venefilyn mentioned this pull request Nov 30, 2022
abadger pushed a commit to Andrew-ang9/convert2rhel that referenced this pull request Dec 7, 2022
…#607)

Co-authored-by: Rodolfo Olivieri <rolivier@redhat.com>
Venefilyn pushed a commit that referenced this pull request Jun 19, 2023
Co-authored-by: Rodolfo Olivieri <rolivier@redhat.com>
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants