Closed danielealbano closed 1 year ago
Patch coverage: 83.33
% and project coverage change: +0.06
:tada:
Comparison is base (
82aeaa5
) 78.38% compared to head (20299d3
) 78.44%.:exclamation: Current head 20299d3 differs from pull request most recent head 22c86a6. Consider uploading reports for the commit 22c86a6 to get more accurate results
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Do you have feedback about the report comment? Let us know in this issue.
Currently cachegrand relies on reading the /proc file to check if the ULP TLS is available for kTLS but inside a docker container (or a container in general) this is not possible as often the /proc filesystem is not exposed at all.
To avoid this issue this PR changes the mechanism to check out if kTLS is available and tries to setup and establish a connection on a random port (trying multiple times to find one free).
Now kTLS is correctly detected inside a docker container (or a container in general) correctly if kTLS is enabled in the host machine.
Although unrelated, the PR also changes how the docker image is built to uncomment ca_certificate_chain_path to load the ca certificate as well.