Github user amandamoran commented on a diff in the pull request:
https://github.com/apache/incubator-trafodion/pull/217#discussion_r47133790
--- Diff: install/installer/traf_add_user ---
@@ -208,15 +208,26 @@ fi
#=================================================
# Cycle through all nodes to create known_hosts file, even if only one node
echo "***INFO: Creating known_hosts file for all nodes"
+NODES_SHORT=""
for node in $NODE_LIST
-do
- sudo su $TRAF_USER --command "ssh -q -oStrictHostKeyChecking=no $node
hostname"
- if [ $? -ne 0 ]; then
- echo "***ERROR: Unable to ssh to node $node"
- exit -1
- fi
+do
+ newNode=$(ssh -q -n $node hostname -s)
--- End diff --
Yes, the user needs to set up passwordless ssh and there is a check for
that earlier in traf_config_check
---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---