presto install server ends in Underlying exception: EOF during negotiation

Presto
N/A

presto install server ends in Underlying exception: EOF during negotiation

Hi im trying to install latest presto Version on my cluster.

/home/USER/.prestoadmin/config.json ist there.

ssh USER@NODENAME works fine without pw.

But when i start ./prestoadmin server install latest

i receive:

Underlying exception:
EOF during negotiation

 

see logs below

 

2017-05-30 13:24:54,647|60838|140352240322368|paramiko.transport|DEBUG|[chan 1] Max packet in: 32768 bytes
2017-05-30 13:24:54,651|60838|140351995836160|paramiko.transport|DEBUG|[chan 1] Max packet out: 32768 bytes
2017-05-30 13:24:54,652|60838|140351995836160|paramiko.transport|DEBUG|Secsh channel 1 opened.
2017-05-30 13:24:54,655|60838|140351995836160|paramiko.transport|DEBUG|[chan 1] EOF sent (1)
2017-05-30 13:24:54,657|60838|140352240322368|prestoadmin.fabric_patches|ERROR|Traceback (most recent call last):
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/prestoadmin/fabric_patches.py", line 138, in inner
submit(task.run(*args, **kwargs))
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/fabric/tasks.py", line 174, in run
return self.wrapped(*args, **kwargs)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/prestoadmin/server.py", line 386, in deploy_install_configure
package.deploy_install(local_path)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/prestoadmin/package.py", line 64, in deploy_install
deploy_action(local_path, rpm_install)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/prestoadmin/package.py", line 72, in deploy_action
deploy(local_path)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/prestoadmin/package.py", line 83, in deploy
ret_list = put(local_path, constants.REMOTE_PACKAGES_PATH, use_sudo=True)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/fabric/network.py", line 647, in host_prompting_wrapper
return func(*args, **kwargs)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/fabric/operations.py", line 346, in put
ftp = SFTP(env.host_string)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/fabric/sftp.py", line 30, in __init__
self.ftp = connections[host_string].open_sftp()
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/paramiko/client.py", line 379, in open_sftp
return self._transport.open_sftp_client()
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/paramiko/transport.py", line 821, in open_sftp_client
return SFTPClient.from_transport(self)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/paramiko/sftp_client.py", line 131, in from_transport
chan.invoke_subsystem('sftp')
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/paramiko/channel.py", line 60, in _check
return func(self, *args, **kwds)
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/paramiko/channel.py", line 254, in invoke_subsystem
self._wait_for_event()
File "/opt/presto/prestoadmin/presto-admin-install/lib/python2.7/site-packages/paramiko/channel.py", line 1086, in _wait_for_event
raise e
SSHException: Channel closed.

5 REPLIES
Teradata Employee

Re: presto install server ends in Underlying exception: EOF during negotiation

What version of presto-admin are you using?

 

Make sure the user with which you're invoking ./presto-admin server install latest is the same one for which passwordless SSH is enabled.

 

It seems like presto-admin is failing when deploying the RPM to the nodes in the cluster. During the transfer of the RPM for some reason the SSH connection is closed. Can you download the RPM file manually from www.teradata.com/presto on your machine and try to scp it to one of the slave nodes? If this works then it's probably not a problem with your SSH setup. You can also try the following command ./presto-admin server install <path-to-rpm> now that you've downloaded the RPM locally. If the previous command fails, does it fail instantly or after a couple of seconds?

N/A

Re: presto install server ends in Underlying exception: EOF during negotiation

hello 

 

im using the presto-admin 2.2 online  from the tar.gz server package i downloaded from the teradata page.

update: testet the el7prestoadmin-offline (running centOS7)too but nothing changed, still same error.

the ./presto-admin is called with the same user i tested the "ssh NODEHOSTNAME" successfully to all nodes without password.

When running the install command with the rpm locally it ends with the same error in the same time...

 

thanks for your help!

Teradata Employee

Re: presto install server ends in Underlying exception: EOF during negotiation

Can you send us the contents of your config.json? Note that this forum is public so please do not post sensitive IPs/passwords and other such data or simply redact it. Does the SSH port specified in config.json correspond to the port where SSH is currently running?

 

Did you try to scp the RPM manually to another node? How quickly does ./presto-admin server install <local-path> fail? Immediately or after a coupel of seconds?

N/A

Re: presto install server ends in Underlying exception: EOF during negotiation

{
    "username":"presto",
    "coordinator":"COORD-HOST-FQDN",
"workers":[
        "WORKER-HOST-FQDN"],

    "port":22
}

here is the config.json . yes its the same ssh port (22). And yes as written i did the test with the local rpm with no change in time or error

Teradata Employee

Re: presto install server ends in Underlying exception: EOF during negotiation

It looks like this is failing while opening an sftp connection.  Can you try running sftp directly to confirm that there are no misconfigurations with sftp?

sftp user@hostname