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
glusterfs: 3.10.2 -> 3.12.0 #29062
glusterfs: 3.10.2 -> 3.12.0 #29062
Conversation
I would also like to have this change in 17.09, please let me know if I need to open a separate PR for that. |
@nh2 can this be merged now? |
@joachifm I need to rebase (I think some patches will have conflicts) and re-test first, but I hope to manage it before end of the month for the 17.09 release. |
…get. This introduces dependency cycles. A network file system to be running is not required for a network connection to be available. NixOS@19759cf#commitcomment-22044519
Prevents glustereventsd failing at startup in case it starts before glusterd has started (whose `preStart` would also create the needed directory).
This is a better default for NixOS because it ensures that config changes happen fully when NixOS users expect it.
Changes: * The patch `glusterfs-fix-unsubstituted-autoconf-macros` was deleted because the issue was fixed upstream: https://bugzilla.redhat.com/show_bug.cgi?id=1450588 * The `glusterd-ganesha.c` part of `glusterfs-use-PATH-instead-of-hardcodes` was detleted because `glusterd-ganesha.c` was removed upstream without replacement that has the relevant hardcoded paths.
Quick summary: Please merge #29868 first and afterwards merge this. I have rebased this PR on top of #29868. This PR should wait until #29868 is merged (so that the number of commits is reduced back to 1). I have tested the 3.10.2 -> 3.12.1 upgrade with my example nixops deployment at https://github.com/nh2/nixops-gluster-example that anybody should be able to reproduce. Specifically, when cherry-picking the commit in this PR on top of the nixpkgs I link in the README, I could perform the upgrade. The results suggested that a simple The only thing that didn't advance automatically to the new version was the geo-replication session.
and this is also how I would recommend other NixOS glusterfs-geo-replication users to upgrade their georep sessions (though I doubt that there are any apart from me currently). |
This PR didn't apply cleanly so I just dropped everything except the last commit, assuming the changes in the other PR take precedence. |
Changes: * The patch `glusterfs-fix-unsubstituted-autoconf-macros` was deleted because the issue was fixed upstream: https://bugzilla.redhat.com/show_bug.cgi?id=1450588 * The `glusterd-ganesha.c` part of `glusterfs-use-PATH-instead-of-hardcodes` was detleted because `glusterd-ganesha.c` was removed upstream without replacement that has the relevant hardcoded paths. Closes NixOS#29062 (cherry picked from commit 8f40840)
Changes: * The patch `glusterfs-fix-unsubstituted-autoconf-macros` was deleted because the issue was fixed upstream: https://bugzilla.redhat.com/show_bug.cgi?id=1450588 * The `glusterd-ganesha.c` part of `glusterfs-use-PATH-instead-of-hardcodes` was detleted because `glusterd-ganesha.c` was removed upstream without replacement that has the relevant hardcoded paths. Closes #29062 (cherry picked from commit 8f40840)
Glusterfs 3.12 is the latest stable release.
Changes to the nix files:
glusterfs-fix-unsubstituted-autoconf-macros
was deletedbecause the issue was fixed upstream:
https://bugzilla.redhat.com/show_bug.cgi?id=1450588
glusterd-ganesha.c
part ofglusterfs-use-PATH-instead-of-hardcodes
was detleted because
glusterd-ganesha.c
was removed upstreamwithout replacement that has the relevant hardcoded paths.
Things done
build-use-sandbox
innix.conf
on non-NixOS)nix-shell -p nox --run "nox-review wip"
./result/bin/
)I have also tested this upgrade with my own glusterfs-on-nixos cluster setup, an open-source equivalent of which is available at https://github.com/nh2/nixops-gluster-example/.
Normal 3-cluster replicated operation and geo-replication seem to work as expected and as in 3.10.2.
CC @bachp @7c6f434c @fduraffourg @Mic92 @FRidh @wkennington @proger (other committers to glusterfs on nix)