conda service failes with relative links
The latest conda service fails when setting up the symlinks due to a relative path:
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu systemd[1]: Starting Install or update conda environments...
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: {'home': '/opt/conda', 'forge_url': 'http://puppet1/conda/environments/linux-64', 'remove_missing': False, 'environs': {'cds': {'target': 'cds-py39-2022082401'}, 'cds-py39-20220316': {'ensure': 'absent'}, 'cds-py39-20220607': {'ensure': 'absent'}, 'cds-py39-20220610': None, 'cds-py39-2022072101': {'ensure': 'absent'}, 'cds-py39-2022082401': None}, 'user_configs': []}
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: conda_home=/opt/conda
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: Mamba already installed. Skipping installation.
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: *** Error: target for cds must be an absolute path, but relative path given: cds-py39-2022082401
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: *** Error: requested target for cds => cds-py39-2022082401 does not exist.
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: Traceback (most recent call last):
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: File "/usr/bin/update_conda", line 441, in <module>
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: run(args.config_path, args.noop)
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: File "/usr/bin/update_conda", line 395, in run
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: check_links(links_list)
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: File "/usr/bin/update_conda", line 320, in check_links
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: raise Exception("One or more errors were found in requested links for environments")
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu update_conda[22740]: Exception: One or more errors were found in requested links for environments
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu systemd[1]: conda.service: main process exited, code=exited, status=1/FAILURE
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu systemd[1]: Failed to start Install or update conda environments.
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu systemd[1]: Unit conda.service entered failed state.
Sep 19 10:07:32 cr15.cds.ligo-la.caltech.edu systemd[1]: conda.service failed.
The update_conda
script shouldn't require fully qualified paths for the linked environments in the config file.