After scaling and changing s3-integrator config, "Move restored cluster to another S3 bucket" blocked status won't disappear for non-primary units #612
Implement timelines management. Me, @taurus-forever and @marceloneppel tried to discuss it in the issue referenced above.
@taurus-forever proposed to block user from scaling application in potentially breaking scenarios.
Timelines management will:
allow us not to use Move restored cluster to another S3 bucket logic
allow user to see all the lifespan of cluster (not just separated to different S3 buckets after each restore) and effectively navigate through different timelines of it
Steps to reproduce
juju scale-application postgresql-k8s 2
juju config s3-integrator path=backup-test2
)Expected behavior
All of the units should loose "Move restored cluster to another S3 bucket" blocked status after S3 configuration is changed.
Actual behavior
See step 7. Also, it works for clusters with more than two units:
Versions
Operating system: Ubuntu 24.04 LTS
Juju CLI: 3.5.3-genericlinux-amd64
Juju agent: 3.5.3
Charm revision: 347
microk8s: MicroK8s v1.30.1 revision 6843
Log output
Juju debug log: debug-log
Additional context
Basically, there is three paths to fix it:
Timelines management will: