If the an OS app is demoted from main orchestrator, s3/azure credentials in the demoted orchestrator is removed, but relation between the object storage integrator still persists. Then when it is promoted again to be the main orchestrator while having object storage relation it will not be able to store the credentials because the events where we do that are never triggered.
Steps to reproduce
- Deploy large deployment setup
- Integrate and configure s3-integrator
- Demote Main orchestrator through relation removal
- Promote the previously demoted main orchestrator to be the main orchestrator again
Expected behavior
Credentials are stored and passed to the subclusters
Actual behavior
We get a blocked status on the subclusters and the credentials are not stored

If the an OS app is demoted from main orchestrator, s3/azure credentials in the demoted orchestrator is removed, but relation between the object storage integrator still persists. Then when it is promoted again to be the main orchestrator while having object storage relation it will not be able to store the credentials because the events where we do that are never triggered.
Steps to reproduce
Expected behavior
Credentials are stored and passed to the subclusters
Actual behavior
We get a blocked status on the subclusters and the credentials are not stored