-
Notifications
You must be signed in to change notification settings - Fork 27
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
Sometimes script dies on AssertationError #4
Comments
Thanks for the report! I'm not sure why this happens, but I guess it's because you have racks (and i haven't tested the script in an environment where there's more than hosts). |
Here you are, as requested:
Also I tried to add debug code
Not sure if it helps |
I think the assertion triggers because the crush map itself fails to validate. Meanwhile I've created support for collecting the cluster state which you can send me then. See #5 :) |
Thanks for info, I am currently unable to replicate this issue with latest version of script. I tried to generate more PG moves and it didn't crush either. Are you okay if I close this issue and reopen it later if error reoccurs? |
sure thing :) maybe i did fix something meanwhile |
We have 5-node cluster in 5 racks with only replicated rules. Sometimes script dies with following AssertationError:
I will be honest I didn't really tried to dive into code and algorithms, but based on error message I have no idea what did I do wrong. Is it even supposed to work on such small cluster as I have?
Btw I can fix it by limiting number of moves with
--max-pg-moves
so I can avoid it.I will be happy to give you any debug info, just tell me what I can do.
The text was updated successfully, but these errors were encountered: