ceph: increase gateway liveness timeout #4482
Closed
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Description of your changes:
Increase the default timeout from 1s to 10s of the gateways liveness check.
Which issue is resolved by this Pull Request:
Resolves below issue:
Running a Load test, distcp from hadoop to S3 of 45To with 200 mappers running in //, on our Ceph/S3 platform based on rook 1.1.7 I observed lots of restart of the gateway components.
A first issue was due to a bug in ceph v14.2.4 corrected in v14.2.5 (ceph/ceph#29559).
But most of the restart are due to the liveness probe timeout which is based on the default setting of 1s.
In case of big loads the health checks takes more than a second to be treated and leads to the gateway beeing restarted even if it still responds to queries.
Since I've increased the timeout to 10s this issue doesn't happen anymore and the service is stable.
Checklist:
make codegen
) has been run to update object specifications, if necessary.[test ceph]