-
Notifications
You must be signed in to change notification settings - Fork 1.1k
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
glusterd: add stripe_count in volume info (#3070) #3133
Conversation
* glusterd: add stripe_count in volume info Change-Id: Ib04434b41b7c299cee0ed8d81deb5a68a17b0c0a Fixes: gluster#3066 Signed-off-by: Sheetal Pamecha <spamecha@redhat.com> * Add stipe-count only if version is less than 10 Change-Id: Ibb589df2bb4c00c71850d787c998aff746321a17 Signed-off-by: Sheetal Pamecha <spamecha@redhat.com>
/run regression |
CLANG-FORMAT FAILURE: index c4d75b6aa..52cbc248f 100644
--- a/xlators/mgmt/glusterd/src/glusterd-store.c
+++ b/xlators/mgmt/glusterd/src/glusterd-store.c
@@ -2809,7 +2809,8 @@ glusterd_store_retrieve_bricks(glusterd_volinfo_t *volinfo)
cds_list_add_tail(&ta_brickinfo->brick_list, &volinfo->ta_bricks);
ta_brick_count++;
if (gf_store_iter_destroy(&iter)) {
- gf_msg(this->name, GF_LOG_ERROR, 0, GD_MSG_STORE_ITER_DESTROY_FAIL,
+ gf_msg(this->name, GF_LOG_ERROR, 0,
+ GD_MSG_STORE_ITER_DESTROY_FAIL,
"Failed to destroy store iter");
ret = -1;
goto out; |
1 test(s) failed 0 test(s) generated core 6 test(s) needed retry 3 flaky test(s) marked as success even though they failed |
/run regression |
1 test(s) failed 0 test(s) generated core 4 test(s) needed retry |
/run regression |
1 similar comment
/run regression |
* Add GlusterFS 10.1 release notes Updates: gluster#3099 Signed-off-by: Shwetha K Acharya <sacharya@redhat.com> * Add gluster#3133 to GlusterFS 10.1 release notes * Update 10.1.md * Update 10.1.md * Add gluster#2962 to GlusterFS 10.1 release notes Change-Id: I267ec267a098e6617c84f0869d522170a35e3e04
This broke oVirt, assuming that stripeCount is always available. |
Probably the easiest would be to revert, or ptovide a fake value. |
The code parsing stripeCount is used in 106 lines in current ovirt-engine: So it seems that vdsm need to parse this value and report it to engine, and gluster should continue to report the value for backward compatibility with older clients. |
I think at this point, if it's possible to patch VDSM to just return 1 as the stripe_count - I don't see (but perhaps I'm missing context) why would oVirt need stripe size value at all. Of course, that doesn't solve the issue with previous oVirt versions and 10.x |
Fixed in ovirt 4.5.1, see: Actually, ovirt does not use the stripe count but I see the code with stripe count still exists in ovirt, As of now I just handled this in VDSM will clean up this code as soon as I can |
glusterd: add stripe_count in volume info
Add stipe-count only if version is less than 10
Change-Id: Ibb589df2bb4c00c71850d787c998aff746321a17
Signed-off-by: Sheetal Pamecha spamecha@redhat.com