-
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-1385] Satellite package backup failure fix #1182
Conversation
9679585
to
84d8719
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## main #1182 +/- ##
==========================================
+ Coverage 95.53% 95.55% +0.01%
==========================================
Files 53 53
Lines 4660 4656 -4
Branches 818 816 -2
==========================================
- Hits 4452 4449 -3
Misses 130 130
+ Partials 78 77 -1
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
/packit test --labels tier0 |
9d8093f
to
0b773bc
Compare
Unit tests failing @pr-watson |
Working on the fixes now |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me. Only a couple of comments regarding the message we want to inform to the user.
601a020
to
7149a08
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good!
/packit build |
/packit test --labels tier0 |
Just tested the build with a Satellite registration and the backup works fine. |
@danmyway merge whenever |
/packit test --labels tier0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Found a minor bug breaking the backup on some systems @pr-watson
THe should_subscribe call was missing a `()` to execute the function.
Co-authored-by: Rodolfo Olivieri <rodolfo.olivieri3@gmail.com>
7149a08
to
6f9b687
Compare
/packit test --labels tier0 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks good to me, thanks!
@pr-watson I'm merging this |
@danmyway thank you! |
This PR changes our backups to now backup the redhat.repo file when running with satellite. The reason backups were failing on satellite was due to the redhat.repo file being excluded from backups which in turn causes the .repo files not to be backed up. This change also removes the requirement for internet access to backup using hardcoded repository files and defaults to always using the the hardcoded repository files.
A similiar failure with backing up repo files has been reported for offline conversions with satellite - RHELC-1040, however this PR does not fix the issue
Jira Issues:
Checklist
[RHELC-]
is part of the PR titleRelease Pending
if relevant