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

K8s HA installation failing in some cases on task "Get token from master" #1068

Closed
przemyslavic opened this issue Mar 26, 2020 · 3 comments
Closed

Comments

@przemyslavic
Copy link
Collaborator

przemyslavic commented Mar 26, 2020

Describe the bug
K8s HA installation failing in some cases on Ansible task:

  • "Get token from master"

To Reproduce
Steps to reproduce the behavior:

  • Fresh deployment of epi v0.6.0

Expected behavior
HA installation went through well

Config files

---
kind: configuration/kubernetes-master
name: default
provider: azure
specification:
  advanced:
    networking:
      plugin: canal

OS (please complete the following information):

  • OS: RHEL

Cloud Environment (please complete the following information):

  • Cloud Provider: Azure

Additional context

2020-03-25T18:03:25.5814698Z 18:03:25 INFO cli.engine.ansible.AnsibleCommand - TASK [kubernetes_master : Get token from master] *******************************
2020-03-25T18:03:34.6037763Z 18:03:34 INFO cli.engine.ansible.AnsibleCommand - fatal: [ci-haazurrhelcanal-kubernetes-master-vm-2 -> 51.136.78.216]: FAILED! => {"changed": false, "cmd": "kubeadm token list | grep -w authentication | grep -vwi invalid | awk '{print $1}' | head -1\n", "delta": "0:00:07.185579", "end": "2020-03-25 18:03:34.398996", "failed_when_result": true, "rc": 0, "start": "2020-03-25 18:03:27.213417", "stderr": "failed to list bootstrap tokens: etcdserver: request timed out\nTo see the stack trace of this error execute with --v=5 or higher", "stderr_lines": ["failed to list bootstrap tokens: etcdserver: request timed out", "To see the stack trace of this error execute with --v=5 or higher"], "stdout": "", "stdout_lines": []}
@mkyc
Copy link
Contributor

mkyc commented Jul 2, 2020

@przemyslavic can you review if that bug is still valid?

@rafzei
Copy link
Contributor

rafzei commented Jul 3, 2020

@przemyslavic or @sk4zuzu please provide fallowing informations:

  • os related
  • cloud related
  • epicli version related

@przemyslavic
Copy link
Collaborator Author

I am not able to reproduce with the latest epicli version. If the error occurs again, a new issue will be created.

@mkyc mkyc closed this as completed Oct 19, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants