Closed agrare closed 2 months ago
Backported to radjabov
in commit 2c80e39d9d2b8cd2da2508f32ddbf57b43b3a424.
commit 2c80e39d9d2b8cd2da2508f32ddbf57b43b3a424
Author: Jason Frey <fryguy9@gmail.com>
Date: Fri Aug 30 11:44:21 2024 -0400
Merge pull request #70 from agrare/fix_terraform_runner_available
Fix `Terraform::Runner.available?`
(cherry picked from commit 5021cc4d035e2bced1d701d835f2fed1d4331f06)
The endpoint for opentofu-runner ping is just
/ping
not/api/ping
:With the opentofu-runner running:
Running
Terraform::Runner.available?
:After this change:
We can see from the output that the path is just
/ping
from thejournalctl -u opentofu-runner
output:This was added in https://github.com/ManageIQ/manageiq-providers-embedded_terraform/pull/14 I'm not sure if the opentofu-runner image changed or if it was just always the wrong ping path.