-
Notifications
You must be signed in to change notification settings - Fork 36
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Request timeout during cluster bootstrap #473
Comments
I have the same issue. Hardware: Intel CPU (3Ghz), 8Gb ram Commands:
Log:
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
As part of the MicroCloud test suite we are deploying single node MicroCeph clusters in a lot of situations to simulate already existing MicroCeph clusters on different nodes.
We do this by running
microceph cluster bootstrap
.On possibly slow systems we recently saw that firing requests against the
/1.0/configs
API right aftermicroceph cluster bootstrap
returns might not always succeed and run into a timeout as the context deadline of the respective MicroCeph GetConfig client function expires.MicroCloud is using this endpoint to retrieve information about MicroCeph required for bootstrapping.
We found that in the pipeline blocking until
microceph status
reportsServices: mds, mgr, mon
will fix it but it looksmicroceph cluster bootstrap
could wait a bit longer and return only if the API can respond.I made the following test and hit the
/1.0/configs
endpoint with requests whilst runningmicroceph cluster bootstrap
on another terminal:See the log here microceph_bootstrap_monitor.txt
Something interesting (maybe the actual issue) is around 03:08:26 PM. There you see a window of around 2 seconds in which the request didn't receive a response.
The
microceph cluster bootstrap
command was started around this time.It could be that on slow systems this exceeds the 5s timeout which is set in the
GetConfig
MicroCeph client func.The text was updated successfully, but these errors were encountered: