-
Notifications
You must be signed in to change notification settings - Fork 2.7k
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
kubeadm: use 'gce' when dumping logs #11131
Conversation
@@ -277,7 +277,7 @@ func (k *kubernetesAnywhere) DumpClusterLogs(localPath, gcsPath string) error { | |||
// not use log-dump.sh. | |||
providerKey := "KUBERNETES_PROVIDER" | |||
oldValue := os.Getenv(providerKey) | |||
if err := os.Setenv(providerKey, "kubernetes-anywhere"); err != nil { | |||
if err := os.Setenv(providerKey, "gce"); err != nil { |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
ahh this is fine
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
/lgtm
/approve
/pony fine
LGTM label has been added. Git tree hash: 42609142f61ffedc6ca4cadc8daebab201dc41bc
|
In response to this:
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/test-infra repository. |
[APPROVALNOTIFIER] This PR is APPROVED This pull-request has been approved by: BenTheElder, neolit123 The full list of commands accepted by this bot can be found here. The pull request process is described here
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
/pony bespoke |
@krzyzacy: Couldn't find a pony matching that query. In response to this:
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/test-infra repository. |
@neolit123 assume we need a global bump to fix CI as well? |
@krzyzacy yep kubetest needs a bump. |
on it |
didn't work:
i do not know where also logdump started failing after this patch. so using |
@neolit123 maybe instead of relying on k8s bash, we can try our homebrew e2e and dump packages? :-) https://github.com/kubernetes/test-infra/tree/master/kubetest/e2e |
ok, i'm going to try to use these:
as private/pub key for fetching the logs. and try the log dumping as implemented in kops.go: Line 452 in e0cf221
|
o_O
failures:
https://gubernator.k8s.io/build/kubernetes-jenkins/logs/ci-kubernetes-e2e-kubeadm-gce-master/1798
caused by:
kubernetes/kubernetes#73402
/shrug
/assign @krzyzacy @BenTheElder