ambari-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "bhuvnesh chaudhary (JIRA)" <>
Subject [jira] [Created] (AMBARI-13825) Exchange of keys should be done during start phase (not during install)
Date Wed, 11 Nov 2015 02:03:10 GMT
bhuvnesh chaudhary created AMBARI-13825:

             Summary: Exchange of keys should be done during start phase (not during install)
                 Key: AMBARI-13825
             Project: Ambari
          Issue Type: Bug
          Components: stacks
            Reporter: bhuvnesh chaudhary
            Priority: Minor

ssh-exkeys is setup to be executed as part of installation for the service. There is no install
time dependencies for HAWQ components, so if hawq master install is triggered first, it will
execute ssh keys with slaves but incase if hawq segment install is not invoked by ambari yet,
gpadmin user will not be present and hawq master install may fail during it while exchanging

We need to put exchange keys during start of master service and not install.
/usr/local/hawq/ext/python/lib/python2.6/ GetPassWarning: Can not control echo
on the terminal.
  passwd = fallback_getpass(prompt, stream)
Warning: Password input may be echoed.
  *** Enter password for [STEP 1 of 5] create local ID
and authorize on local host
  ... /home/gpadmin/.ssh/id_rsa file exists ... key generation skipped

[STEP 2 of 5] keyscan all hosts and update known_hosts file

[STEP 3 of 5] authorize current user on remote hosts
  ... send to
  ... send to
  ... send to
  ... send to
Traceback (most recent call last):
  File "/usr/local/hawq/./bin/gpssh-exkeys", line 753, in <module>
    send_local_id = h.sendLocalID(localID, GV.passwd, tempDir if isExistingHost else None)
  File "/usr/local/hawq/./bin/gpssh-exkeys", line 200, in sendLocalID
    pwd = getpass.getpass('  *** Enter password for %s: ' % (self.m_host), sys.stderr)
  File "/usr/local/hawq/ext/python/lib/python2.6/", line 79, in unix_getpass
    passwd = fallback_getpass(prompt, stream)
  File "/usr/local/hawq/ext/python/lib/python2.6/", line 114, in fallback_getpass
    return _raw_input(prompt, stream)
  File "/usr/local/hawq/ext/python/lib/python2.6/", line 130, in _raw_input
    raise EOFError

This message was sent by Atlassian JIRA

View raw message