puppet issueshttps://git.ligo.org/groups/dasc/puppet/-/issues2024-01-05T07:34:16Zhttps://git.ligo.org/dasc/puppet/conda/-/issues/7Missing user environment lists raise an uncaught exception2024-01-05T07:34:16ZErik von ReisMissing user environment lists raise an uncaught exceptionFile not found exception is not handled when running an update. The rest of the update isn't done. The whole script should be reviewed for better error handling and recovery. The policy should be to perform as much of the update as po...File not found exception is not handled when running an update. The rest of the update isn't done. The whole script should be reviewed for better error handling and recovery. The policy should be to perform as much of the update as possible.https://git.ligo.org/dasc/puppet/conda/-/issues/2Conda install service can fail on update2024-01-05T07:32:37ZErik von ReisConda install service can fail on updateThe update_conda script calls conda update on specified environments. This can fail due to package conflicts, even if the environment installs cleanly. Messages are printed to journalctl but the process does not return an error code.The update_conda script calls conda update on specified environments. This can fail due to package conflicts, even if the environment installs cleanly. Messages are printed to journalctl but the process does not return an error code.https://git.ligo.org/dasc/puppet/conda/-/issues/6Run cleanup after environment installs2023-05-04T16:26:29ZMichael ThomasRun cleanup after environment installsConda environments are removed using a simple `shutil.rmtree(env_path)` on the environment directory. But conda uses hardlinks to link packages into environments as a space saving measure, so this removal only removes a hardlink to the ...Conda environments are removed using a simple `shutil.rmtree(env_path)` on the environment directory. But conda uses hardlinks to link packages into environments as a space saving measure, so this removal only removes a hardlink to the package in `$conda_base/base/pkgs`. This leaves a lot of orphan files behind that are no longer used, eventually filling up the partition that holds the conda installs.
After removing environments, the `update_conda.py` script should run `conda clean -p -t` to remove any unreferenced packages.