-
Notifications
You must be signed in to change notification settings - Fork 43
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
Changing charm base
should be replace?
#635
Comments
Triggering a replacement for a base (or series) change is also problematic as is. With a machine charm the application needs to be redeployed to do this. However it's okay with a Kubernetes charm as an upgrade uses a new OCI Image, which can effectively "upgrade" the base with no problems. We can handle both scenarios with the Even with this change, there are potential problems with a clean run depending on how a plan is written and a bug in the provider. The bug is #521. In that case, run Issues based on how the terraform plan is written:
Maybe others. |
…harms This PR adds support to update the base in application charms by requiring a replace in case of a machine charm, and perform the upgrade in case of a k8s charm. re juju#635
…harms This PR adds support to update the base in application charms by requiring a replace in case of a machine charm, and perform the upgrade in case of a k8s charm. re juju#635
…harms This PR adds support to update the base in application charms by requiring a replace in case of a machine charm, and perform the upgrade in case of a k8s charm. re juju#635
Description
When the charm
base
is changed, it triggers achange
which then applies successfully, but isn't actually changed and causes a loop in our Flux CI/CD system constantly trying to apply this change.Changing a charm's
base
should perhaps trigger a replacement instead?Urgency
Casually reporting
Terraform Juju Provider version
0.15.0
Terraform version
v1.9.8-dev
Juju version
3.5.4
Terraform Configuration(s)
Reproduce / Test
Debug/Panic Output
No response
Notes & References
No response
The text was updated successfully, but these errors were encountered: