Skip to content
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

Make bind-mount locations more flexible #356

Merged
merged 10 commits into from
Sep 27, 2023

Conversation

mishaschwartz
Copy link
Collaborator

@mishaschwartz mishaschwartz commented Jul 13, 2023

Overview

Previously, most bind mount locations on the host machine were subdirectories of the folder specified by the DATA_PERSIST_ROOT environment variable (/data by default). This change allows the user to set custom locations for the following additional variables, so that they don't need to be all under the same common directory.

  • LOGROTATE_DATA_DIR (default: ${DATA_PERSIST_ROOT}/logrotate)
  • MONGODB_DATA_DIR (default: ${DATA_PERSIST_ROOT}/mongodb_persist)
  • COWBIRD_MONGODB_DATA_DIR (default: ${DATA_PERSIST_ROOT}/mongodb_cowbird_persist)
  • POSTGRES_DATA_DIR (default ${DATA_PERSIST_ROOT}/frontend_persist)
  • WEAVER_MONGODB_DATA_DIR (default ${DATA_PERSIST_ROOT}/mongodb_weaver_persist)

The following variable is also added which is another location on disk where files that may contain links are placed. Because the links need to be mounted together in order to resolve properly, the subdirectories of this directory are not configurable:

  • DATA_PERSIST_SHARED_ROOT (default: same as DATA_PERSIST_ROOT)

The following variables now create subdirectories under DATA_PERSIST_SHARED_ROOT (previously they were created under DATA_PERSIST_ROOT by default):

  • USER_WORKSPACES (default user_workspaces)
  • WEAVER_WPS_OUTPUTS_DIR (default wps_outputs/weaver)

Changes

Non-breaking changes

  • Adds additional configuration options but all defaults remain the same as before

Breaking changes

None

Related Issue / Discussion

Additional Information

Links to other issues or sources.

  • Things to do...

@github-actions github-actions bot added component/cowbird Related to https://github.com/Ouranosinc/cowbird component/jupyterhub Related to JupyterHub as development frontend with notebooks component/weaver Related to https://github.com/crim-ca/weaver documentation Improvements or additions to documentation feature/WPS Feature or service related to Web Processing Service labels Jul 13, 2023
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1823/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-88.rdext.crim.ca

Infrastructure deployment failed. Instance has not been destroyed. @matprov

CHANGES.md Outdated
- `LOGROTATE_DATA_DIR` (default: `${DATA_PERSIST_ROOT}/logrotate`)
- `MONGODB_DATA_DIR` (default: `${DATA_PERSIST_ROOT}/mongodb_persist`)
- `POSTGRES_DATA_DIR` (default `${DATA_PERSIST_ROOT}/frontend_persist`)
- `USER_WORKSPACES` (default `${DATA_PERSIST_ROOT}/user_workspaces`)
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Suggestion: maybe this can be named USER_WORKSPACES_DIR to be consistent with other *_DIR names?

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this variable is already in use so I kept it this way for backwards compatibility

@mishaschwartz
Copy link
Collaborator Author

@ChaamC do you have time to chat about whether this change will affect your work with cowbird?

@ChaamC
Copy link
Collaborator

ChaamC commented Jul 21, 2023

@mishaschwartz
In my current work on Cowbird (briefly mentioned by @fmigneault on issue#355), we need to be able to create hardlinks between the folder of the wpsoutputs data and the user workspaces folder. They both need to be in a common parent directory so that the parent directory can be mounted as a volume to generate hardlinks correctly.
This is working well if both are in /data (or ${DATA_PERSIST_ROOT}.

I think it would be better not to have those variables (${USER_WORKSPACES} and an eventual ${WPS_OUTPUTS_DIR}) as customizable, to ensure they do not break those new Cowbird functionalities.

Also, using a customizable wps outputs directory could also break weaver.

As for the other variables concerned by this PR, I haven't worked with them, but I don't think they will have an impact on Cowbird right now.

From my point of view, there's just the problem of customizing the USER_WORKSPACES variable which could impact Cowbird.

Copy link
Collaborator

@fmigneault fmigneault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Except the USER_WORKSPACES, all others should be ok to allow overrides.

@@ -36,7 +36,7 @@ services:
- ./components/cowbird/config/cowbird/cowbird.ini:/opt/local/src/cowbird/config/cowbird.ini
# even if not running tasks here, they must be registered to send them off to the right place!
- ./components/cowbird/config/cowbird/celeryconfig.py:/opt/local/src/cowbird/config/celeryconfig.py
- "${DATA_PERSIST_ROOT}/${USER_WORKSPACES}:/${USER_WORKSPACES}"
- "${USER_WORKSPACES}:/user_workspaces"
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

As mentioned by @ChaamC, this could easily break Cowbird.
Something tricky about these volumes is that Cowbird creates dynamic hardlinks between different locations that must resolve properly once mounted. However, even though Cowbird sees the mounted location /user_workspaces inside its docker container, the hardlinks it must create must resolve properly on the host side, such that once this link is mounted elsewhere such as in Jupyter user-specific dockers, the file still resolves correctly with a reduced/nested directory of the specific user-workspace.

@ChaamC and I have had a lot of discussions and did many exploration tests to try to resolve this already complicated problem. I would prefer not to introduce customizable paths here, to avoid Cowbird having to deal with complicated inverse-volume-mapping resolution to create the links correctly.

Something that could be considered is to have some kind of DATA_PERSIST_SHARED_DIR (instead of DATA_PERSIST_ROOT) where stuff like user-workspaces and wps-outputs that must share locations between services are all nested under. However, the ${DATA_PERSIST_SHARED_DIR}/user_workspaces and ${DATA_PERSIST_SHARED_DIR}/wps_outputs would be hardcoded to ensure they work properly.

@@ -96,7 +96,13 @@ export WEAVER_WPS_PROVIDERS_RETRY_COUNT=5
# control interval time between retries (duration in seconds, counts toward maximum timeout)
export WEAVER_WPS_PROVIDERS_RETRY_AFTER=5

export WEAVER_MONGODB_DATA_DIR='${DATA_PERSIST_ROOT}/mongodb_weaver_persist'

export WEAVER_WPS_PRIVATE_DIR='${DATA_PERSIST_ROOT}/wps_private'
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This one might need to be revisited.
Might be deprecated considering the switch to wpsoutputs with nested user-context managed by Cowbird.

Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@fmigneault are you suggesting that this shouldn't be included in this PR or just that this might be deprecated some time in the future?

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes. I think it will be deprecated eventually.

@mishaschwartz
Copy link
Collaborator Author

@ChaamC @fmigneault Thank you both for your explanations of the relevant issue.

This is what I understand from your explanation:

  • Cowbird creates dynamic hardlinks between USER_WORKSPACES and the wps_outputs directory. These hardlinks must resolve properly inside various containers (cowbird, jupyterhub) as well as on the host machine.

As long as that relationship between those directories is maintained, nothing else should be an issue, is that correct?

I propose we create a DATA_PERSIST_SHARED_DIR as @fmigneault recommends. This will allow us to clarify in the documentation why certain directories need to be mounted together and why others can be set independently.

@ChaamC
Copy link
Collaborator

ChaamC commented Jul 24, 2023

@mishaschwartz
I think we can procede with DATA_PERSIST_SHARED_DIR, as it was suggested by @fmigneault.
For Cowbird, I need user_workspaces and wpsoutputs to have a common parent directory for valid hardlinks, so the solution should be compatible with these upcoming changes.

@github-actions github-actions bot added the ci/deployment Related to deployment utilities and scripts label Jul 25, 2023
@mishaschwartz
Copy link
Collaborator Author

@ChaamC I've made the changes suggested (I ended up naming the variable DATA_PERSIST_SHARED_ROOT to be analogous with DATA_PERSIST_ROOT)

Please let me know if the solution is compatible with the cowbird changes or if I've missed anything

@mishaschwartz mishaschwartz marked this pull request as ready for review July 25, 2023 18:26
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1874/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-69.rdext.crim.ca

Infrastructure deployment failed. Instance has not been destroyed. @matprov

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1875/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
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

Infrastructure deployment failed. Instance has not been destroyed. @matprov

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1876/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-90.rdext.crim.ca

Infrastructure deployment failed. Instance has not been destroyed. @matprov

Copy link
Collaborator

@ChaamC ChaamC left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good job!
Minor comments, but looks good on my side. I tried it with my upcoming Cowbird changes and was able to make it work without trouble. FYI, I have just opened a PR with my upcoming changes #360. I will eventually update it with your changes, as I cannot merge it for the moment anyway.

It would be good to get @fmigneault's approval too, especially for the weaver part that he is more familiar with. Unfortunately he is in vacation, I think for 2 weeks.

birdhouse/env.local.example Outdated Show resolved Hide resolved
birdhouse/default.env Outdated Show resolved Hide resolved
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/1879/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-35.rdext.crim.ca

Infrastructure deployment failed. Instance has not been destroyed. @matprov

@mishaschwartz
Copy link
Collaborator Author

Should now include all changes from #360

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2095/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-35.rdext.crim.ca

Infrastructure deployment failed. Instance has not been destroyed. @matprov

Copy link
Collaborator

@fmigneault fmigneault left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I do not recall why, but WEAVER_WPS_OUTPUTS_DIR (which depends on WPS_OUTPUTS_DIR, DATA_PERSIST_ROOT and now the alternative DATA_PERSIST_SHARED_ROOT) is defined as DELAYED_EVAL variable.

Similarly, COWBIRD_MONGODB_DATA_DIR is in DELAYED_EVAL.

Does that mean that all those variable dependencies should also be marked as DELAYED_EVAL?

Since the integration of Cowbird to manage private user workspace vs public ones under a common (shared) data persistence dir, and Weaver using the same approach for WPS outputs using the Magpie hook + X-WPS-Output-Context header, I suggest getting rid of WEAVER_WPS_PRIVATE_DIR altogether.

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2101/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://

Infrastructure deployment failed. Instance has not been destroyed. @matprov

@mishaschwartz
Copy link
Collaborator Author

Does that mean that all those variable dependencies should also be marked as DELAYED_EVAL?

Yes, and they all should be already. If I've missed one let me know.

I suggest getting rid of WEAVER_WPS_PRIVATE_DIR altogether.

Ok, done

@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2102/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://

Infrastructure deployment failed. Instance has not been destroyed. @matprov

@mishaschwartz mishaschwartz mentioned this pull request Sep 25, 2023
1 task
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2103/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-149.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1334/

NOTEBOOK TEST RESULTS
    
[2023-09-25T19:41:29.098Z] ============================= test session starts ==============================
[2023-09-25T19:41:29.098Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-25T19:41:29.098Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-09-25T19:41:29.098Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-25T19:41:29.098Z] collected 237 items
[2023-09-25T19:41:29.098Z] 
[2023-09-25T19:41:36.896Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-25T19:41:45.103Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-25T19:41:54.161Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-25T19:42:01.356Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb .F......       [ 13%]
[2023-09-25T19:49:51.234Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-25T19:49:51.234Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 18%]
[2023-09-25T19:49:51.234Z] ...............                                                          [ 25%]
[2023-09-25T19:49:59.207Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-25T19:50:07.325Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 29%]
[2023-09-25T19:50:26.042Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-25T19:50:27.427Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 32%]
[2023-09-25T19:50:32.672Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 35%]
[2023-09-25T19:50:36.905Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 37%]
[2023-09-25T19:54:16.726Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-25T19:55:29.372Z] .............                                                            [ 49%]
[2023-09-25T19:55:30.849Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-25T19:55:33.182Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 54%]
[2023-09-25T19:55:50.743Z] .................                                                        [ 62%]
[2023-09-25T19:55:58.147Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-25T19:55:59.534Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 64%]
[2023-09-25T19:56:01.151Z] .FFFFFFFF                                                                [ 68%]
[2023-09-25T19:56:12.467Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-25T19:56:21.482Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 75%]
[2023-09-25T19:56:23.391Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-25T19:56:26.461Z] ......                                                                   [ 78%]
[2023-09-25T19:56:36.467Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-25T19:56:51.903Z] .............                                                            [ 84%]
[2023-09-25T19:57:01.905Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-25T19:57:36.311Z] ....s.                                                                   [ 87%]
[2023-09-25T19:57:44.451Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-25T19:57:59.967Z] ...                                                                      [ 89%]
[2023-09-25T19:58:14.892Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 89%]
[2023-09-25T19:58:37.428Z] ......                                                                   [ 92%]
[2023-09-25T19:58:39.729Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-25T20:01:14.206Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-09-25T20:01:14.206Z] 
[2023-09-25T20:01:14.206Z] =================================== FAILURES ===================================
    
  

@github-actions github-actions bot added the ci/operations Continuous Integration components label Sep 27, 2023
@crim-jenkins-bot
Copy link
Collaborator

E2E Test Results

DACCS-iac Pipeline Results

Build URL : http://daccs-jenkins.crim.ca:80/job/DACCS-iac-birdhouse/2107/
Result : failure

BIRDHOUSE_DEPLOY_BRANCH : flexible-bind-mount-locations
DACCS_CONFIGS_BRANCH : master
PAVICS_E2E_WORKFLOW_TESTS_BRANCH : master
PAVICS_SDI_BRANCH : master

DESTROY_INFRA_ON_EXIT : true
PAVICS_HOST : https://host-140-154.rdext.crim.ca

PAVICS-e2e-workflow-tests Pipeline Results

Tests URL : http://daccs-jenkins.crim.ca:80/job/PAVICS-e2e-workflow-tests/job/master/1338/

NOTEBOOK TEST RESULTS
    
[2023-09-27T13:33:56.852Z] ============================= test session starts ==============================
[2023-09-27T13:33:56.852Z] platform linux -- Python 3.9.16, pytest-7.3.1, pluggy-1.0.0
[2023-09-27T13:33:56.852Z] rootdir: /home/jenkins/agent/workspace/PAVICS-e2e-workflow-tests_master
[2023-09-27T13:33:56.852Z] plugins: anyio-3.6.1, dash-2.10.0, nbval-0.9.6, tornasync-0.6.0.post2, xdist-3.3.1
[2023-09-27T13:33:56.852Z] collected 237 items
[2023-09-27T13:33:56.852Z] 
[2023-09-27T13:34:05.041Z] notebooks-auth/test_thredds.ipynb ...........                            [  4%]
[2023-09-27T13:34:14.488Z] pavics-sdi-master/docs/source/notebooks/WCS_example.ipynb .......        [  7%]
[2023-09-27T13:34:24.197Z] pavics-sdi-master/docs/source/notebooks/WFS_example.ipynb ......         [ 10%]
[2023-09-27T13:34:31.954Z] pavics-sdi-master/docs/source/notebooks/WMS_example.ipynb .F......       [ 13%]
[2023-09-27T13:42:26.300Z] pavics-sdi-master/docs/source/notebooks/climex.ipynb ............        [ 18%]
[2023-09-27T13:42:26.300Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-climate-stations.ipynb . [ 18%]
[2023-09-27T13:42:30.870Z] ...............                                                          [ 25%]
[2023-09-27T13:42:40.752Z] pavics-sdi-master/docs/source/notebooks/eccc-geoapi-xclim.ipynb .....    [ 27%]
[2023-09-27T13:42:47.485Z] pavics-sdi-master/docs/source/notebooks/esgf-dap.ipynb ......            [ 29%]
[2023-09-27T13:43:04.290Z] pavics-sdi-master/docs/source/notebooks/forecasts.ipynb ......           [ 32%]
[2023-09-27T13:43:05.680Z] pavics-sdi-master/docs/source/notebooks/jupyter_extensions.ipynb .       [ 32%]
[2023-09-27T13:43:12.207Z] pavics-sdi-master/docs/source/notebooks/opendap.ipynb .......            [ 35%]
[2023-09-27T13:43:16.715Z] pavics-sdi-master/docs/source/notebooks/pavics_thredds.ipynb .....       [ 37%]
[2023-09-27T13:46:59.733Z] pavics-sdi-master/docs/source/notebooks/regridding.ipynb ............... [ 44%]
[2023-09-27T13:48:17.581Z] .............                                                            [ 49%]
[2023-09-27T13:48:19.490Z] pavics-sdi-master/docs/source/notebooks/rendering.ipynb ....             [ 51%]
[2023-09-27T13:48:21.706Z] pavics-sdi-master/docs/source/notebooks/subset-user-input.ipynb ........ [ 54%]
[2023-09-27T13:48:38.514Z] .................                                                        [ 62%]
[2023-09-27T13:48:45.444Z] pavics-sdi-master/docs/source/notebooks/subsetting.ipynb ......          [ 64%]
[2023-09-27T13:48:46.830Z] pavics-sdi-master/docs/source/notebook-components/weaver_example.ipynb . [ 64%]
[2023-09-27T13:49:01.503Z] .........                                                                [ 68%]
[2023-09-27T13:49:11.252Z] finch-master/docs/source/notebooks/dap_subset.ipynb ...........          [ 73%]
[2023-09-27T13:49:20.260Z] finch-master/docs/source/notebooks/finch-usage.ipynb ......              [ 75%]
[2023-09-27T13:49:22.171Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-1DataAccess.ipynb . [ 76%]
[2023-09-27T13:49:24.974Z] ......                                                                   [ 78%]
[2023-09-27T13:49:31.556Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-2Subsetting.ipynb . [ 79%]
[2023-09-27T13:49:48.040Z] .............                                                            [ 84%]
[2023-09-27T13:49:58.058Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-3Climate-Indicators.ipynb . [ 85%]
[2023-09-27T13:50:59.071Z] ....s.                                                                   [ 87%]
[2023-09-27T13:51:09.080Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-4Ensembles.ipynb . [ 88%]
[2023-09-27T13:51:23.209Z] ...                                                                      [ 89%]
[2023-09-27T13:51:35.431Z] PAVICS-landing-master/content/notebooks/climate_indicators/PAVICStutorial_ClimateDataAnalysis-5Visualization.ipynb . [ 89%]
[2023-09-27T13:52:00.690Z] ......                                                                   [ 92%]
[2023-09-27T13:52:01.785Z] notebooks/hummingbird.ipynb ............                                 [ 97%]
[2023-09-27T13:54:36.422Z] notebooks/stress-tests.ipynb ......                                      [100%]
[2023-09-27T13:54:36.422Z] 
[2023-09-27T13:54:36.422Z] =================================== FAILURES ===================================
    
  

@mishaschwartz mishaschwartz merged commit 547cc08 into master Sep 27, 2023
4 of 5 checks passed
@mishaschwartz mishaschwartz deleted the flexible-bind-mount-locations branch September 27, 2023 15:17
Copy link
Collaborator

@tlvu tlvu left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Sorry for the late review, I wasn't tagged as reviewer on this PR initially.

Spotted a wrong volume-mount path.

export DELAYED_EVAL="
$DELAYED_EVAL
WEAVER_WPS_OUTPUTS_DIR
WEAVER_MONGODB_DATA_DIR
WEAVER_WPS_PRIVATE_DATA_DIR
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left-over not deleted WEAVER_WPS_PRIVATE_DATA_DIR ?

@@ -97,7 +96,7 @@ services:
networks:
- weaver-mongodb
volumes:
- ${DATA_PERSIST_ROOT}/mongodb_weaver_persist:/data/db
- ${WEAVER_MONGODB_DATA_DIR}/mongodb_weaver_persist:/data/db
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should this be ${WEAVER_MONGODB_DATA_DIR}:/data/db instead?

@mishaschwartz
Copy link
Collaborator Author

Thanks @tlvu, I don't know why you weren't added initially. Probably an oversight on my part.
I've added the changes here: #385

mishaschwartz added a commit that referenced this pull request Oct 2, 2023
## Overview

Clean up unused variables and correct file paths from the changes made
in 1.33.2

## Changes

**Non-breaking changes**

Minor bug fix and code cleanup

**Breaking changes**

None

## Related Issue / Discussion

From suggested changes:
#356 (review)

## Additional Information

<!--
The test suite can be run using a different DACCS config with
``birdhouse_daccs_configs_branch: branch_name`` in the PR description.
To globally skip the test suite regardless of the commit message use
``birdhouse_skip_ci: true`` in the PR description.
-->

birdhouse_daccs_configs_branch: master
birdhouse_skip_ci: false
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
ci/deployment Related to deployment utilities and scripts ci/operations Continuous Integration components component/cowbird Related to https://github.com/Ouranosinc/cowbird component/jupyterhub Related to JupyterHub as development frontend with notebooks component/weaver Related to https://github.com/crim-ca/weaver documentation Improvements or additions to documentation feature/WPS Feature or service related to Web Processing Service
Projects
None yet
Development

Successfully merging this pull request may close these issues.

💡 [Feature] Make bind-mount locations configurable
6 participants