I'm currently automating the deployment of iRODS servers on our infrastructure. For this I use the --json_configuration_file parameter of the setup_irods.py script. This works perfectly until I tried to activate SSL.
I'm expecting to have an up and running iRODS server with SSL enabled.
Observed behavior (including steps to reproduce, if applicable)
sudo python3 /var/lib/irods/scripts/setup_irods.py --json_configuration_file irods_unattended_installation.json
Error encountered running setup_irods:
Traceback (most recent call last):
File "/var/lib/irods/scripts/setup_irods.py", line 523, in main
setup_server(irods_config,
File "/var/lib/irods/scripts/setup_irods.py", line 148, in setup_server
test_put(irods_config)
File "/var/lib/irods/scripts/setup_irods.py", line 180, in test_put
raise IrodsError('Post-install test failed. Please check your configuration.')
irods.exceptions.IrodsError: Post-install test failed. Please check your configuration.
Looking closer, the script does not update the SSL setting in the /etc/irods/core.re file, although it does for the default resource for example.
For information currently as a workaround I directly patch the /var/lib/irods/packaging/core.re.template file before calling setup_irods.py, but I feel it would be cleaner if it could work without this hack.
Bug Report
iRODS Version, OS and Version
iRODS v4.3.1 on Debian 12
What did you try to do?
I'm currently automating the deployment of iRODS servers on our infrastructure. For this I use the --json_configuration_file parameter of the setup_irods.py script. This works perfectly until I tried to activate SSL.
Expected behavior
I'm expecting to have an up and running iRODS server with SSL enabled.
Observed behavior (including steps to reproduce, if applicable)
Looking closer, the script does not update the SSL setting in the /etc/irods/core.re file, although it does for the default resource for example.
For information currently as a workaround I directly patch the /var/lib/irods/packaging/core.re.template file before calling setup_irods.py, but I feel it would be cleaner if it could work without this hack.