jetstack / tarmak

A toolkit for Kubernetes cluster provisioning and lifecycle management
Apache License 2.0
269 stars 49 forks source link

Investigate and fix premature vault cluster status tunnel access #552

Open JoshVanL opened 5 years ago

JoshVanL commented 5 years ago

/bug

What happened: The connection the the vault cluster health status will sometimes timeout after it's allotted 5mins. This is probably because tarmak is attempting a connection too early.

DEBU[0698] 1 error occurred:                             app=tarmak module=terraform std=err
DEBU[0698]      * module.kubernetes.tarmak_vault_cluster.vault: 1 error occurred:  app=tarmak module=terraform std=err
DEBU[0698]      * tarmak_vault_cluster.vault: call to Tarmak.VaultClusterStatus failed: failed to initialise vault cluster: failed to obtain vault tunnel: failed to find a vault tunnel ready  app=tarmak module=terraform std=err

Investigate and and implement a fix to add a proper dependency/blocker to ensure the connection is tried when appropriate.

/assign

JoshVanL commented 5 years ago

/kind bug