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

fix path re-mapping here & in imars_puppet #6

Open
7yl4r opened this issue Nov 6, 2018 · 3 comments
Open

fix path re-mapping here & in imars_puppet #6

7yl4r opened this issue Nov 6, 2018 · 3 comments
Labels
enhancement New feature or request

Comments

@7yl4r
Copy link
Member

7yl4r commented Nov 6, 2018

The docker container the ERDDAP server lives inside is configured by imars_puppet. The paths used in this configuration are leftover from me testing things out and should be changed to pass-through the hypervisor unchanged.

For example, /srv/imars-objects/gom/chlor_a_l3_pass on the hypervisor is mapped to /chlor_a_l3_pass in the docker container.
It would be less confusing to just make it /srv/imars-objects/gom/chlor_a_l3_pass inside the docker container also.

This will require modifying a few lines here & a few in imars_puppet, then testing out the updated configuration.

@7yl4r 7yl4r added the enhancement New feature or request label Nov 6, 2018
@sebastiandig
Copy link
Contributor

If I understand correctly, all I would need to do is change the volumes in imars_puppet to match the full file pathway and proceed to update the <fileDir> in the datasets to match the extended version?

ex. current:
volumes : /srv/imars-objects/modis_aqua_fgbnms/MEAN_7D_AQUA/OC:/fgbnms_modis_aqua_oc_7d
fileDir: <fileDir>/fgbnms_modis_aqua_oc_7d/</fileDir>

updated
volumes: /srv/imars-objects/modis_aqua_fgbnms/MEAN_7D_AQUA/OC:/srv/imars-objects/modis_aqua_fgbnms/MEAN_7D_AQUA/OC
fileDir: <fileDir>/srv/imars-objects/modis_aqua_fgbnms/MEAN_7D_AQUA/OC</fileDir>

@7yl4r
Copy link
Member Author

7yl4r commented Dec 17, 2018

Yes I think you get it. 👍

@7yl4r
Copy link
Member Author

7yl4r commented Jan 2, 2019

Everything should be ready in puppet now.
Among the potential complications I mentioned earlier, https://github.com/USF-IMARS/server-status/issues/24 was messing this up and has been fixed (for now).

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants