Skip to content
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

nfs sharing problem when node is added after restart or re-added after removed. #519

Open
wants to merge 1 commit into
base: develop
Choose a base branch
from

Conversation

bluehope
Copy link

@bluehope bluehope commented Apr 3, 2015

#518 as case, nfs sharing permission error occur when 1."Restarting cluster" or 2."removing nodes and re adding nodes".

At "on_add_node" method in "clustersetup.py"
"_create_user" before "_setup_nfs" was key to this problem.

@@ -668,7 +668,7 @@ def export_fs_to_nodes(self, nodes, export_paths):
self.stop_exporting_fs_to_nodes(nodes, paths=export_paths)
log.info("Configuring NFS exports path(s):\n%s" %
' '.join(export_paths))
nfs_export_settings = "(async,no_root_squash,no_subtree_check,rw)"
#nfs_export_settings = "(async,no_root_squash,no_subtree_check,rw)"

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why are you commenting this out?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

It's my commit mistake.
I've actually used
nfs_export_settings = "(sync,rw)" #no_root_squash,no_subtree_check
this setting. Anyway not related with #518.

This line should not be commented out.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants