-
Notifications
You must be signed in to change notification settings - Fork 2.3k
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
Redirect error stream to null when checking nm-cloud systemd unit #8815
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
thomasferrandiz
approved these changes
Nov 13, 2023
brandond
requested changes
Nov 14, 2023
manuelbuil
force-pushed
the
removeConfusion
branch
from
November 14, 2023 06:43
969f0bf
to
61e2ca5
Compare
brandond
approved these changes
Nov 14, 2023
manuelbuil
force-pushed
the
removeConfusion
branch
2 times, most recently
from
November 14, 2023 11:48
ac423fa
to
a731529
Compare
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #8815 +/- ##
==========================================
+ Coverage 46.74% 47.16% +0.42%
==========================================
Files 150 147 -3
Lines 15837 12699 -3138
==========================================
- Hits 7403 5990 -1413
+ Misses 7232 5558 -1674
+ Partials 1202 1151 -51
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Sentry. |
brandond
requested changes
Nov 14, 2023
manuelbuil
force-pushed
the
removeConfusion
branch
2 times, most recently
from
November 15, 2023 06:40
a626075
to
1151512
Compare
brandond
approved these changes
Nov 15, 2023
manuelbuil
force-pushed
the
removeConfusion
branch
from
November 17, 2023 08:17
1151512
to
f5dae2e
Compare
brandond
approved these changes
Nov 17, 2023
manuelbuil
force-pushed
the
removeConfusion
branch
from
November 19, 2023 17:33
f5dae2e
to
9b752e6
Compare
Signed-off-by: Manuel Buil <mbuil@suse.com>
manuelbuil
force-pushed
the
removeConfusion
branch
from
November 24, 2023 08:46
9b752e6
to
29f5c54
Compare
Postponed to January release |
This was referenced Jan 3, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Proposed Changes
Redirect error stream to
/dev/null
in the command:/bin/sh -xc '! /usr/bin/systemctl is-enabled --quiet nm-cloud-setup.service'
Types of Changes
Bugfix
Verification
Deploy k3s in an OS which does not include the systemd unit:
nm-cloud-setup.service
. You should see in journalctl the log:Instead of:
i.e. the log
Failed to get unit file state for nm-cloud-setup.service: No such file or directory
doesnto exist anymoreIf the OS includes the systemd unit:
nm-cloud-setup.service
k3s will fail to startTesting
Linked Issues
#8714
User-Facing Change
Further Comments