-
Notifications
You must be signed in to change notification settings - Fork 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
Treemode Exception: 'host01' is not a valid root node #571
Comments
Hello. Could you provide your tree configuration? |
Hi, @degremont, thank you for your attention to our questions. Our topology.conf file content is:
Environment hostname:
Execute cmd:
|
Indeed, the code compare what is in your config file with the local short hostname https://github.com/cea-hpc/clustershell/blob/master/lib/ClusterShell/Task.py#L426 |
Hi @degremont , thank you very much for your reply. However, I found that when not using the
Can the def _getshorthostname():
"""Get short hostname (host name cut at the first dot)"""
return socket.gethostname().split('.')[0] |
I encountered a problem when using clush in tree mode. When my hostname (
host01.a.b
) contains a dot and is used as the root node, clush throws an error:However, I found that when not using tree mode, the following command can be executed successfully. Is this a bug?
The text was updated successfully, but these errors were encountered: