-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
Merge cli flags into config after hot reload #8352
base: main
Are you sure you want to change the base?
Conversation
Hi @LenkaSeg. Thanks for your PR. I'm waiting for a cri-o member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. |
/ok-to-test |
@LenkaSeg: The following tests failed, say
Full PR test history. Your PR dashboard. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
b8b1273
to
03bfd3f
Compare
93f9953
to
ee3318d
Compare
Still working on this. |
ee3318d
to
e771df0
Compare
e771df0
to
b51abc7
Compare
b51abc7
to
8a57622
Compare
e7f27c3
to
b33339e
Compare
To confirm that the changes in this PR are merging the CLI flags into config:
From a different terminal:
Output:
Let's do the hot reload:
Check the log level again:
Output (is still debug):
|
@LenkaSeg very nice! How did you set the log level here? Was CLI using a different level, and |
Ah, sorry, the log level was passed as a cli argument. The first command was supposed to be:
I copied the wrong line :) |
The conf had log_level set to "warn":
|
@LenkaSeg, looks good so far! Thank you for persevering with this. We might have to update some tests. Also, if you could rebase your branch to get some of the latest updates, then it would have with some other test failures we have here. |
986198a
to
82c192b
Compare
Considering the "debug" option here: Line 222 in d622521
Would it be ok to disable those failing tests? |
@LenkaSeg, we seem to have some behaviour change now, which probably makes sense since the previous (old) behaviour was a bit buggy, so to speak. So now we need to figure out why we have these failing tests and how to update them so that these would pass. If we delete a test, we can lose some signal unless we are sure that the test is no longer valid or feasible. What do you think? That said, I didn't have a look, yet, what the issues are. 🙇 |
82c192b
to
cabc86a
Compare
192effd
to
3a9aae5
Compare
3a9aae5
to
df1d3e6
Compare
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: LenkaSeg The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
Signed-off-by: Lenka Segura <lsegura@redhat.com>
Signed-off-by: Lenka Segura <lsegura@redhat.com>
df1d3e6
to
d46f199
Compare
d46f199
to
74e4c21
Compare
ad7ccc4
to
d42a612
Compare
Signed-off-by: Lenka Segura <lsegura@redhat.com>
d42a612
to
01deb37
Compare
What type of PR is this?
/kind bug
What this PR does / why we need it:
Merges cli flags into config on hot reload.
Which issue(s) this PR fixes:
Should fix the Issue #7586
Special notes for your reviewer:
Still work in progress. While solving this issue I ran into some circular imports, so it needed refactoring. Not sure if this is preferred way of the code refactor.
Does this PR introduce a user-facing change?
Yes