-
Notifications
You must be signed in to change notification settings - Fork 7
Improve LinstorSR.py to handle thick SR creation #85
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
Improve LinstorSR.py to handle thick SR creation #85
Conversation
697676c
to
2b681af
Compare
I changed the base branch to 3.2.12-8.3, can you rebase on it? Thanks! :) |
…In some drivers e.g. Linstor, we need to ensure that hosts are enabeld before performing operations, hence this function is needed. Signed-off-by: Rushikesh Jadhav <[email protected]>
…as the metrics could take time. Thus, changed the mechanism to `get_enabled_hosts`. Signed-off-by: Rushikesh Jadhav <[email protected]>
2b681af
to
2395ddb
Compare
@rushikeshjadhav Have you tested this code in real condition already? |
Yes, it's being referred and tested in xcp-ng/xcp-ng-tests#282. It's in Draft and will convert once done. |
I won't have time to review this one. |
@stormi kindly check if its suitable to merge or hold till we enable "thick" back? Ref xcp-ng/xcp-ng-tests#305 |
@rushikeshjadhav I prefer to let the storage team merge PRs on this repository. CC @Nambrok |
Avoiding extra step and variable. Co-authored-by: Ronan Abhamon <[email protected]> Signed-off-by: Rushikesh Jadhav <[email protected]>
thick
SR creation
In some cases
thick
SR creation may fail due toget_online_hosts
as the metrics could take time. Thus, changed the mechanism toget_enabled_hosts
.