Bug #20969
closedInstaller doesn't seem to restart nginx when a new bring-your-own cert is deployed
Updated by Peter Amstutz over 2 years ago
- Target version changed from Development 2023-09-27 sprint to Development 2023-10-11 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from Development 2023-10-11 sprint to Development 2023-10-25 sprint
Updated by Peter Amstutz over 2 years ago
- Target version changed from Development 2023-10-25 sprint to Development 2023-11-08 sprint
Updated by Lucas Di Pentima over 2 years ago
- Status changed from New to In Progress
Updated by Lucas Di Pentima over 2 years ago
Updates at 1d068f13d0 - branch 20969-installer-nginx-reload-fix
Debian11 provision test: test-provision-debian11: #523
Refactors the custom_certs state so that it reloads nginx only when both *.key & *.pem files are updated and correspond to each other. An initial attempt to just have a cmd.run state monitoring both files failed because it was executed on each file change, failing to reload the service on the first file copy.
Manually tested changing certs and confirming that the new ones were being used after running installer.sh deploy.
Updated by Peter Amstutz over 2 years ago
- Target version changed from Development 2023-11-08 sprint to Development 2023-10-25 sprint
Updated by Peter Amstutz over 2 years ago
Lucas Di Pentima wrote in #note-6:
Updates at 1d068f13d0 - branch
20969-installer-nginx-reload-fix
Debian11 provision test: test-provision-debian11: #523Refactors the
custom_certsstate so that it reloadsnginxonly when both*.key&*.pemfiles are updated and correspond to each other. An initial attempt to just have acmd.runstate monitoring both files failed because it was executed on each file change, failing to reload the service on the first file copy.Manually tested changing certs and confirming that the new ones were being used after running
installer.sh deploy.
This LGTM, thanks!
Updated by Lucas Di Pentima over 2 years ago
- Status changed from In Progress to Resolved
Applied in changeset arvados|5f2c5c47d88f8225c63e3cc060cf6f55faad257c.