Conversation
After `docker compose down -v`, the Shibboleth metadata cache is gone. When containers restart, managegui's Shibboleth SP tries to fetch IdP metadata from EngineBlock before init.sh has run migrations, causing a 503 and a 10-minute retry delay that breaks Manage login. This change ensures a managegui restart after the Manage push so Shibboleth re-fetches the metadata while EngineBlock is fully initialized and ready.
Prior to this change the `test` profile was not started by default. This is needed to run the chrome behat suite in EB, so we usually need this. Prior to this change, the `core/stop-dev-env.sh` would not bring down the test profile. This caused orphaned containers, which produced issues related to the docker network not being able to be removed, which prevented a clean startup of the `core` environment. Prior to this change, the docker compose `-v` flag was not able to be passed to the stop scripts, making it difficult to clean the slate.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Restart managegui in init.sh to reload Shibboleth SP metadata
After
docker compose down -v, the Shibboleth metadata cache is gone.When containers restart, managegui's Shibboleth SP tries to fetch IdP metadata from EngineBlock before init.sh has run migrations, causing a 503 and a 10-minute retry delay that breaks Manage login.
This change ensures a managegui restart after the Manage push so Shibboleth re-fetches the metadata while EngineBlock is fully initialized and ready.
Fix docker start & stop scripts
Prior to this change the
testprofile was not started by default. This is needed to run the chrome behat suite in EB, so we usually need this.Prior to this change, the
core/stop-dev-env.shwould not bring down the test profile. This caused orphaned containers, which produced issues related to the docker network not being able to be removed, which prevented a clean startup of thecoreenvironment.Prior to this change, the docker compose
-vflag was not able to be passed to the stop scripts, making it difficult to clean the slate.