Skip to content
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

[Release-1.22] etcd-snapshot subcommand does not out debug logs even when --debug flag is provided #4929

Closed
dereknola opened this issue Jan 12, 2022 · 1 comment
Assignees
Milestone

Comments

@dereknola
Copy link
Member

Backport #4920 to release-1.22

@rancher-max
Copy link
Contributor

Validated using commitid 354477adbfbd596828a56ce9882b081629321ed8 from branch release-1.22

  • Multiple debug logs are now passed when passing the --debug flag to the snapshot command. See below snippet of the command and the start of the logs which now contain DEBU for debug outputs.
~$ sudo k3s etcd-snapshot save --debug
WARN[0000] Unknown flag --write-kubeconfig-mode found in config.yaml, skipping 
WARN[0000] Unknown flag --tls-san found in config.yaml, skipping 
WARN[0000] Unknown flag --token found in config.yaml, skipping 
INFO[0000] Managed etcd cluster bootstrap already complete and initialized 
INFO[0000] Applying CRD addons.k3s.cattle.io            
DEBU[0000] DesiredSet - Patch apiextensio

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants