[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: python: prepare for python2->python3, explicit python2 in shebang
>From: ka...@redhat.com has uploaded this change for review. ( https://review.gerrithub.io/407755 Change subject: python: prepare for python2->python3, explicit python2 in shebang .. python: prepare for python2->python3, explicit python2 in shebang Python2 will reach EOL in 2020. Red Hat has announced that the next major version of RHEL (8?) will use python3 by default. We can only guess what python2's status will be. Possibly deprecated, perhaps available but strongly discouraged, maybe even completely unavailable. For Fedora (and RHEL, CentOS, Sci Linux) at least, we're not supposed to use '#!/usr/bin/env python', see https://fedoraproject.org/wiki/Packaging:Guidelines?rd=Packaging/Guidelines#Shebang_lines 2) we're strongly suggested to not use '!/usr/bin/python', see https://fedoraproject.org/wiki/Changes/Avoid_usr_bin_python_in_RPM_Build#Quick_Opt-Out We can use a magic environment variable when building RPMs to delay the inevitable for this. (But I believe many would prefer not to to put it off.) The eventual goal is that eventually everything is made explicitly python3 in the shebangs and in any build and run-time invocations of python. Change-Id: I4f6c529a1dcbb67f99dc57cde199fd13a58a4ea4 Signed-off-by: Kaleb S. KEITHLEY --- M src/scripts/ganeshactl/Ganesha/config_editor.py M src/scripts/ganeshactl/Ganesha/ganesha_mgr_utils.py M src/scripts/ganeshactl/Ganesha/glib_dbus_stats.py M src/scripts/ganeshactl/client_stats_9pOps.py M src/scripts/ganeshactl/export_stats_9pOps.py M src/scripts/ganeshactl/fake_recall.py M src/scripts/ganeshactl/ganesha-admin.py M src/scripts/ganeshactl/ganesha_conf.py M src/scripts/ganeshactl/ganesha_mgr.py M src/scripts/ganeshactl/ganesha_stats.py M src/scripts/ganeshactl/ganeshactl.py M src/scripts/ganeshactl/get_clientids.py M src/scripts/ganeshactl/grace_period.py M src/scripts/ganeshactl/manage_clients.py M src/scripts/ganeshactl/manage_exports.py M src/scripts/ganeshactl/manage_logger.py M src/scripts/gpfs-epoch 17 files changed, 18 insertions(+), 17 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/55/407755/1 -- To view, visit https://review.gerrithub.io/407755 To unsubscribe, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: I4f6c529a1dcbb67f99dc57cde199fd13a58a4ea4 Gerrit-Change-Number: 407755 Gerrit-PatchSet: 1 Gerrit-Owner: ka...@redhat.com -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: nfsd: handle rpcbind registration errors more gracefully
>From Jeff Layton: Jeff Layton has uploaded this change for review. ( https://review.gerrithub.io/407785 Change subject: nfsd: handle rpcbind registration errors more gracefully .. nfsd: handle rpcbind registration errors more gracefully Registering with portmapper/rpcbind is optional for v4 servers. Failure to do so should not be a fatal error. Change the code to return a boolean (false when registration fails), and fix up the caller to ignore v4 registration errors. Note that there is also another behavior change with this patch: do not register mountd ports unless v3 is enabled. We may need to fix this to handle v2-only servers as well, but I'm not sure how to detect that configuration. Change-Id: I2002660b2cfab3659d6d8daa2fe2a13135510706 Signed-off-by: Jeff Layton --- M src/MainNFSD/nfs_rpc_dispatcher_thread.c 1 file changed, 32 insertions(+), 13 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/85/407785/1 -- To view, visit https://review.gerrithub.io/407785 To unsubscribe, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: I2002660b2cfab3659d6d8daa2fe2a13135510706 Gerrit-Change-Number: 407785 Gerrit-PatchSet: 1 Gerrit-Owner: Jeff Layton -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: Fixing an issue in write stats
>From Sriram Patil: Sriram Patil has uploaded this change for review. ( https://review.gerrithub.io/407713 Change subject: Fixing an issue in write stats .. Fixing an issue in write stats When capturing the write statistics, is_write flag was sent as false instead of true. It was showing incorrect output for write stats. Change-Id: I598b5af81c45319bb2b76c7e1ef8b50312db856e Signed-off-by: Sriram Patil --- M src/Protocols/NFS/nfs4_op_write.c 1 file changed, 1 insertion(+), 1 deletion(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/13/407713/1 -- To view, visit https://review.gerrithub.io/407713 To unsubscribe, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: I598b5af81c45319bb2b76c7e1ef8b50312db856e Gerrit-Change-Number: 407713 Gerrit-PatchSet: 1 Gerrit-Owner: Sriram Patil -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel
[Nfs-ganesha-devel] Change in ffilz/nfs-ganesha[next]: fix 'Bind_Addr' config option documentation
>From Ramana Raja: Ramana Raja has uploaded this change for review. ( https://review.gerrithub.io/407718 Change subject: fix 'Bind_Addr' config option documentation .. fix 'Bind_Addr' config option documentation 'Bind_Addr' can be a IPv4 or IPv6 address. Fix doc and doc strings saying so. Change-Id: Ie864281661efa18a71a7e0a53a9ac54ec2a8374d Signed-off-by: Ramana Raja --- M src/config_samples/config.txt M src/doc/man/ganesha-core-config.rst M src/include/gsh_config.h 3 files changed, 3 insertions(+), 6 deletions(-) git pull ssh://review.gerrithub.io:29418/ffilz/nfs-ganesha refs/changes/18/407718/1 -- To view, visit https://review.gerrithub.io/407718 To unsubscribe, visit https://review.gerrithub.io/settings Gerrit-Project: ffilz/nfs-ganesha Gerrit-Branch: next Gerrit-MessageType: newchange Gerrit-Change-Id: Ie864281661efa18a71a7e0a53a9ac54ec2a8374d Gerrit-Change-Number: 407718 Gerrit-PatchSet: 1 Gerrit-Owner: Ramana Raja -- Check out the vibrant tech community on one of the world's most engaging tech sites, Slashdot.org! http://sdm.link/slashdot___ Nfs-ganesha-devel mailing list Nfs-ganesha-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/nfs-ganesha-devel