Table of Contents

,

Atlassian apps AWS testing troubleshooting

Error: timed out waiting for the condition

module.confluence[0].helm_release.confluence: Still modifying... [id=confluence, 34m58s elapsed]
module.confluence[0].helm_release.confluence: Still modifying... [id=confluence, 35m8s elapsed]
module.confluence[0].helm_release.confluence: Still modifying... [id=confluence, 35m18s elapsed]

Error: timed out waiting for the condition

  with module.confluence[0].helm_release.confluence,
  on modules/products/confluence/helm.tf line 4, in resource "helm_release" "confluence":
   4: resource "helm_release" "confluence" {

Raise the limits for ec2 instance

Error: context deadline exceeded

Full error:

Warning: Helm release "confluence" was created but has a failed status. Use the `helm` command to investigate the error, correct it, then run Terraform again.

  with module.confluence[0].helm_release.confluence,
  on modules/products/confluence/helm.tf line 4, in resource "helm_release" "confluence":
   4: resource "helm_release" "confluence" {


Error: context deadline exceeded

  with module.confluence[0].helm_release.confluence,
  on modules/products/confluence/helm.tf line 4, in resource "helm_release" "confluence":
   4: resource "helm_release" "confluence" {

Releasing state lock. This may take a few moments...

The above happened while trying to deploy 4-node confluence cluster. Try these solutions:

  1. Try rerunning install.sh but setting the confluence_replica_count back to 1 or 2, then deploy, then set replica count to 3, deploy and then do it for 4 replicas
  2. Try removing the .kube config folder from your home directory
  3. Make sure the max capacity is not low in “Autoscaling Group” in AWS console, maybe set it to 5 just in case

Tested on

Kustomize Version: v4.5.7 Server Version: version.Info{Major:“1”, Minor:“25+”, GitVersion:“v1.25.11-eks-a5565ad”, GitCommit:“df109513ba589adaee235b4e658476275d1fde31”, GitTreeState:“clean”, BuildDate:“2023-06-16T17:35:00Z”, GoVersion:“go1.19.10”, Compiler:“gc”, Platform:“linux/amd64”}

See also

References