-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
clustermesh-apiserver: fix cmd-line args processing #18277
Conversation
/test |
@abocim Thanks for the fix. Could you please rebase this PR to the current Cilium master? There is a go import order related change that makes Go-related checks / generate-api test fail, I think. |
My pleasure. Ok, I'm going to rebase it. |
9647f9e
to
2965c88
Compare
/test Job 'Cilium-PR-K8s-1.21-kernel-5.4' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
I can't see any relation with my PR. If I understand it right, the failed test could not start up cilium-agents (they are in CrashLoopBackOff). There is no clustermesh-apiserver used in the test at all. After last rebase my fork is 26 commits behind upstream again, so I can try rebase it once more. @jrajahalme what do you think about that? |
Maybe there was an k8s related problem. I can see coredns container has been still starting within the test:
|
Right, these fails are not related to this change at all. |
@jrajahalme Is there any possibility to run tests myself? |
@abocim Unfortunately our CI has been flaky lately, and Ginkgo test/unit test fixes merged to master need to be picked up by rebasing to current master. Latest fixes were merged one hour ago (#18506), could you rebase once more? Thanks! Most checks should trigger automatically once your 1st PR gets merged, I think. |
…server Commandline arguments accessed through the option.Config object (eg. --identity-allocation-mode, --kvstore-opt) were not processed properly. Function option.Config.Populate() was called too soon (before calling of rootCmd.Execute(), but os.Args are processed just by rootCmd.Execute()). Also there was missing debug log-level setting so debug messages did not work at all. Signed-off-by: adam.bocim <adam.bocim@firma.seznam.cz>
@jrajahalme Rebased :-) |
/test Job 'Cilium-PR-K8s-1.22-kernel-4.19' failed and has not been observed before, so may be related to your PR: Click to show.Test Name
Failure Output
If it is a flake, comment |
This change fixes commandline arguments processing of clustermesh-apiserver.
Commandline arguments accessed through the option.Config object
(eg. --identity-allocation-mode, --kvstore-opt) were not processed properly.
Function option.Config.Populate() was called too soon (before calling of
rootCmd.Execute(), but os.Args are processed just by rootCmd.Execute()).
Also there was missing debug log-level setting so debug messages did not work at all.
Signed-off-by: Adam Bocim adam.bocim@seznam.cz