compliantkubernetes-apps icon indicating copy to clipboard operation
compliantkubernetes-apps copied to clipboard

pipeline - Timeout (12s) waiting for privilege escalation prompt

Open crssnd opened this issue 2 years ago • 2 comments

Describe the bug Pipeline kubespray error:

TASK [kubernetes/kubeadm : Check if kubeadm CA cert is accessible] *************
fatal: [pipeline-sc-master-0]: FAILED! => {"msg": "Timeout (12s) waiting for privilege escalation prompt: "}

Expected behaviour Kubespray step not to fail

Additional context

  • I tried running ansible steps with -vvvvv, but that didn't show the failure reason
  • another suggestion was to disable the cleanup step in the pipeline and re-run this task manually

crssnd avatar Jul 08 '22 07:07 crssnd

It would be great if there is a possibility to try to rerun or increase the timeout for Kubespray, or for the individual steps in Kubespray to reduce these types of failures.

aarnq avatar Oct 18 '22 07:10 aarnq

We also have issues at the terraform step sometimes:

 Error: API error ParamError 431 (ServerAPIException 9999): Internal error. It might be temporary, try again later and/or contact <[email protected]> if it persists.

  on compliantkubernetes-kubespray/kubespray/contrib/terraform/exoscale/modules/kubernetes-cluster/main.tf line 26, in resource "exoscale_network" "private_network":
  26: resource "exoscale_network" "private_network" {

I think we need some retry strategy for this as well.

aarnq avatar Nov 11 '22 12:11 aarnq