-
Notifications
You must be signed in to change notification settings - Fork 5.5k
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
chore: Print in-cluster svr addr disabled warning during ArgoDB initialization #14539
Conversation
…alization Signed-off-by: Yuan Tang <[email protected]>
Signed-off-by: Yuan Tang <[email protected]>
Signed-off-by: Yuan Tang <[email protected]>
Signed-off-by: Yuan Tang <[email protected]>
Codecov ReportPatch coverage:
Additional details and impacted files@@ Coverage Diff @@
## master #14539 +/- ##
==========================================
+ Coverage 49.79% 49.80% +0.01%
==========================================
Files 261 261
Lines 44751 44773 +22
==========================================
+ Hits 22283 22299 +16
- Misses 20274 20278 +4
- Partials 2194 2196 +2
☔ View full report in Codecov by Sentry. |
@terrytangyuan is this enough of a problem that it should be cherry-picked? |
I think so but I'll leave that to @alexmt to confirm |
Api server liveness probe uses db.NewDB: https://github.com/argoproj/argo-cd/blob/master/server/server.go#L324C9-L324C9 so we still going to see this message a lot . @terrytangyuan can we make new function public and explicitly call it in main method on server start? |
@alexmt any opinion on whether we should cherry-pick this back to patch releases once we've got the final fix? |
…alization (argoproj#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Jimmy Neville <[email protected]>
/cherry-pick release-2.8 |
Cherry-pick failed with |
…alization (argoproj#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]>
…alization (argoproj#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]>
…alization (argoproj#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]>
…alization (argoproj#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]>
…14683) * chore: Update log level to warn when in-cluster svr addr is disabled but internal addr is used (#14520) Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization (#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning when server starts (#14553) * chore: Print in-cluster svr addr disabled warning when server starts Signed-off-by: Yuan Tang <[email protected]> * fix: mock Signed-off-by: Yuan Tang <[email protected]> * no interface change Signed-off-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]>
…14684) * chore: Update log level to warn when in-cluster svr addr is disabled but internal addr is used (#14520) Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization (#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning when server starts (#14553) * chore: Print in-cluster svr addr disabled warning when server starts Signed-off-by: Yuan Tang <[email protected]> * fix: mock Signed-off-by: Yuan Tang <[email protected]> * no interface change Signed-off-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]>
…14685) * chore: Update log level to warn when in-cluster svr addr is disabled but internal addr is used (#14520) Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization (#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning when server starts (#14553) * chore: Print in-cluster svr addr disabled warning when server starts Signed-off-by: Yuan Tang <[email protected]> * fix: mock Signed-off-by: Yuan Tang <[email protected]> * no interface change Signed-off-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]>
…14686) * chore: Update log level to warn when in-cluster svr addr is disabled but internal addr is used (#14520) Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization (#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> * chore: Print in-cluster svr addr disabled warning when server starts (#14553) * chore: Print in-cluster svr addr disabled warning when server starts Signed-off-by: Yuan Tang <[email protected]> * fix: mock Signed-off-by: Yuan Tang <[email protected]> * no interface change Signed-off-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]> Signed-off-by: Michael Crenshaw <[email protected]> Co-authored-by: Michael Crenshaw <[email protected]>
…alization (argoproj#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]>
…alization (argoproj#14539) * chore: Print in-cluster svr addr disabled warning during ArgoDB initialization Signed-off-by: Yuan Tang <[email protected]> * fix: undo a change Signed-off-by: Yuan Tang <[email protected]> * chore: move to a function Signed-off-by: Yuan Tang <[email protected]> * chore: rename Signed-off-by: Yuan Tang <[email protected]> --------- Signed-off-by: Yuan Tang <[email protected]>
See #14520 (comment).