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-244] Rename unavailable kmod inhibitor envar #745

Merged
merged 1 commit into from
Feb 21, 2023

Conversation

bocekm
Copy link
Member

@bocekm bocekm commented Feb 21, 2023

Before we do an upstream release we can still change the CONVERT2RHEL_ALLOW_UNCHECKED_KMODS environment variable used for overriding the check that inhibits the conversion when kernel modules not available in RHEL are loaded. This variable was introduced recently under #613.

It is not clear what we mean by UNCHECKED in the envar. CONVERT2RHEL_ALLOW_UNAVAILABLE_KMODS is more self-explanatory.

Also, this PR rewords the use of "first-party kernel modules" as it's also quite unclear what we mean by that.

The #735 that introduces an integration check for the new environment variable needs to be updated accordingly.

Jira Issue: RHELC-244

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-] 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

@codecov
Copy link

codecov bot commented Feb 21, 2023

Codecov Report

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

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

Additional details and impacted files
@@           Coverage Diff           @@
##             main     #745   +/-   ##
=======================================
  Coverage   92.71%   92.71%           
=======================================
  Files          24       24           
  Lines        3282     3282           
  Branches      576      576           
=======================================
  Hits         3043     3043           
  Misses        172      172           
  Partials       67       67           
Flag Coverage Δ
centos-linux-7 87.99% <100.00%> (ø)
centos-linux-8 89.00% <100.00%> (ø)

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

Impacted Files Coverage Δ
convert2rhel/checks.py 90.99% <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.

@bocekm bocekm force-pushed the rename-kmod-inhibitor-envvar branch from 83e07b4 to 5b45ab1 Compare February 21, 2023 14:00
@bocekm bocekm changed the title [RHELC-244] Rename unavailable kmod inhibitor envvar [RHELC-244] Rename unavailable kmod inhibitor envar Feb 21, 2023
Copy link
Member

@abadger abadger left a comment

Choose a reason for hiding this comment

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

Your wording and the rename of the variable seem clearer. Approved.

convert2rhel/checks.py Outdated Show resolved Hide resolved
Before we do an upstream release we can still change the
CONVERT2RHEL_ALLOW_UNCHECKED_KMODS environment variable used for
overriding the check that inhibits the conversion when kernel modules
not available in RHEL are loaded.

It is not clear what we mean by the word UNCHECKED. The word UNAVAILABLE
is more understandable.

Also, the use of "first-party" kernel modules is makes it unclear what
we mean by that.
@bocekm bocekm force-pushed the rename-kmod-inhibitor-envvar branch from 5b45ab1 to fd81fe1 Compare February 21, 2023 14:44
@bocekm
Copy link
Member Author

bocekm commented Feb 21, 2023

@abadger, after talking to @SpyTec I've reworded the message a bit.

@Venefilyn Venefilyn merged commit 185cd56 into oamg:main Feb 21, 2023
@Venefilyn Venefilyn added the kind/feature New feature or request label Feb 22, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
kind/feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants