-
Notifications
You must be signed in to change notification settings - Fork 7
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
Docker compose version missing in stac/config/magpie/
compose file
#384
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This one is easy :D
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2084/Result : failure BIRDHOUSE_DEPLOY_BRANCH : fix-compose-version-stac DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-20.rdext.crim.ca PAVICS-e2e-workflow-tests Pipeline ResultsTests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1325/NOTEBOOK TEST RESULTS |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is something I intentionally left out, because as soon as any version mismatches anywhere, combining them fails. So it is somewhat redundant to have it duplicated in each file. We could have it defined only once in https://github.com/bird-house/birdhouse-deploy/blob/master/birdhouse/docker-compose.yml.
Not against adding it explicitly, though. Just wanted to share why it was missing.
I agree the For now, if we do not include the |
Which version of docker compose are you using though? Because older ones (like the version suggested in the vagrant installation scripts) will complain about the mismatch. I'm very very happy to update the docker compose version though instead |
The physical host has the same birdhouse-deploy/birdhouse/vagrant-utils/install-docker.sh Lines 102 to 105 in 2045cc5
The reason to keep all the versions in-sync is documented in the comment above. When there is a mismatch, the containers will re-create themselves all the time, even for a simple
Updating the I was thinking of a solution less disruptive documented here #246 All comments about |
I'm currently running |
I've tested on a older instance using |
E2E Test ResultsDACCS-iac Pipeline ResultsBuild URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2098/Result : failure BIRDHOUSE_DEPLOY_BRANCH : fix-compose-version-stac DACCS_CONFIGS_BRANCH : master PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master PAVICS_SDI_BRANCH : master DESTROY_INFRA_ON_EXIT : true PAVICS_HOST : https://host-140-166.rdext.crim.ca Infrastructure deployment failed. Instance has not been destroyed. @matprov |
Overview
The
version:
key was not set in thestac/config/magpie/docker-compose-extra.yml
file which causeddocker-compose
to report a version mismatch and fail to start.Changes
Non-breaking changes
Breaking changes
None
Related Issue / Discussion
Additional Information
Links to other issues or sources.
birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false