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

[Bug]: event bus nats helm upgrade fails #195

Open
1 task done
uptownhr opened this issue Jan 7, 2025 · 1 comment
Open
1 task done

[Bug]: event bus nats helm upgrade fails #195

uptownhr opened this issue Jan 7, 2025 · 1 comment
Assignees
Labels
bug Something isn't working triage Needs to be triaged

Comments

@uptownhr
Copy link
Collaborator

uptownhr commented Jan 7, 2025

Prior Search

  • I have already searched this project's issues to determine if a bug report has already been made.

What happened?

When attempting to upgrade NATS as part of upgrading from 12-13 to 12-19, the helm upgrade for NATS failed. I do believe this also occurred on prior releases as well and it's not specific to upgrading to 12-19 from 12-13.

Steps to Reproduce

attempt to apply event bus as part of upgrading from 12-13 to 12-19

Relevant log output

* Failed to execute "tofu apply -lock-timeout=30m -input=false" in ../../../../.terragrunt-cache/U_HXbd1f5oYCQMqFNnURNhrsBE0/RE1w9txZER26mCKaCkolRROOlwI/cicd
  ╷
  │ Error: cannot patch "nats-beb1" with kind StatefulSet: StatefulSet.apps "nats-beb1" is invalid: spec: Forbidden: updates to statefulset spec for fields other than 'replicas', 'ordinals', 'template', 'updateStrategy', 'persistentVolumeClaimRetentionPolicy' and 'minReadySeconds' are forbidden
  │ 
  │   with module.event_bus.module.nats.helm_release.nats,
  │   on .terraform/modules/event_bus/kube_nats/main.tf line 90, in resource "helm_release" "nats":
  │   90: resource "helm_release" "nats" {
  │ 
  ╵
  
  exit status 1
@uptownhr uptownhr added bug Something isn't working triage Needs to be triaged labels Jan 7, 2025
@uptownhr
Copy link
Collaborator Author

uptownhr commented Jan 7, 2025

fyi: worked around the issue by deleting the nats statefulset

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working triage Needs to be triaged
Projects
None yet
Development

No branches or pull requests

2 participants