-
Notifications
You must be signed in to change notification settings - Fork 84
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
[RHELC-1226] Host metering integration #1060
Conversation
Picking up the work from Petr Vobornik. This is draft mode as I'm reading all the material to figure out what needs to be done to complete the PR. |
Codecov ReportAttention:
Additional details and impacted files@@ Coverage Diff @@
## main #1060 +/- ##
==========================================
- Coverage 94.92% 94.86% -0.07%
==========================================
Files 50 51 +1
Lines 4593 4671 +78
Branches 816 829 +13
==========================================
+ Hits 4360 4431 +71
- Misses 157 161 +4
- Partials 76 79 +3
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
tests/integration/tier1/destructive/host-metering/run_conversion.py
Outdated
Show resolved
Hide resolved
tests/integration/tier1/destructive/host-metering/run_conversion.py
Outdated
Show resolved
Hide resolved
279657b
to
33b7b59
Compare
cd8a413
to
c65d696
Compare
c65d696
to
a80329a
Compare
a80329a
to
85c3ae5
Compare
We still have some occurrences of the word
|
85c3ae5
to
ac4e0b9
Compare
/packit test |
32f7286
to
770bad4
Compare
/packit build |
/packit test |
2 similar comments
/packit test |
/packit test |
/packit build |
/packit test |
770bad4
to
9e35f57
Compare
/packit build |
/packit test |
1 similar comment
/packit test |
Add integration tests that and verifies that host-metering service was einabled and started. It forces the behavior to be able to test it in various environments (and not only hyperscaller). https://issues.redhat.com/browse/RHELC-1226 Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
When running on hyperscaller and converted to RHEL7: - install host-metering rpm and its deps (host-metering-selinux) - enable host-metering service - start host-metering service The behavior can be changed via CONVERT2RHEL_CONFIGURE_HOST_METERING env var. - "no": disables the functionality - "force": forces the functionality (e.g. for testing) https://issues.redhat.com/browse/RHELC-1226 Signed-off-by: Petr Vobornik <pvoborni@redhat.com>
Co-authored-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
* add a new check validating no traceback appears in a log file * modify the test and plan metadata to a new format * append the pytest.ini Signed-off-by: Daniel Diblik <ddiblik@redhat.com>
* add a new check validating no traceback appears in a log file * modify the test and plan metadata to a new format * append the pytest.ini Signed-off-by: Daniel Diblik <ddiblik@redhat.com>
9e35f57
to
bbc080c
Compare
/packit test --labels tier1 |
* [RHELC-1226] Add host-metering integration test Add integration tests that and verifies that host-metering service was einabled and started. It forces the behavior to be able to test it in various environments (and not only hyperscaller). https://issues.redhat.com/browse/RHELC-1226 Signed-off-by: Petr Vobornik <pvoborni@redhat.com> * [RHELC-1226] Configure host-metering on hyperscallers on RHEL7 When running on hyperscaller and converted to RHEL7: - install host-metering rpm and its deps (host-metering-selinux) - enable host-metering service - start host-metering service The behavior can be changed via CONVERT2RHEL_CONFIGURE_HOST_METERING env var. - "no": disables the functionality - "force": forces the functionality (e.g. for testing) https://issues.redhat.com/browse/RHELC-1226 Signed-off-by: Petr Vobornik <pvoborni@redhat.com> * WIP Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> * [RHELC-1226] Update CONVERT2RHEL_CONFIGURE_HOST_METERING env var behavior * Apply suggestions from code review Co-authored-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com> * Update doc string * Fix test_get_rhsm_facts * Fix the integration tests * add a new check validating no traceback appears in a log file * modify the test and plan metadata to a new format * append the pytest.ini Signed-off-by: Daniel Diblik <ddiblik@redhat.com> * Fix the integration tests * add a new check validating no traceback appears in a log file * modify the test and plan metadata to a new format * append the pytest.ini Signed-off-by: Daniel Diblik <ddiblik@redhat.com> --------- Signed-off-by: Petr Vobornik <pvoborni@redhat.com> Signed-off-by: Rodolfo Olivieri <rolivier@redhat.com> Signed-off-by: Daniel Diblik <ddiblik@redhat.com> Co-authored-by: Petr Vobornik <pvoborni@redhat.com> Co-authored-by: Preston Watson <prwatson@redhat.com> Co-authored-by: Daniel Diblik <ddiblik@redhat.com>
Jira Issues: RHELC-1226
Checklist
[RHELC-]
is part of the PR titleRelease Pending
if relevant