<div>Using rootwrap solve my problem, can you show some more detail information like sahara config & error logs ?</div><div><includetail><div> </div><div> </div><div style="font:Verdana normal 14px;color:#000;"><div style="FONT-SIZE: 12px;FONT-FAMILY: Arial Narrow;padding:2px 0 2px 0;">------------------ Original ------------------</div><div style="FONT-SIZE: 12px;background:#efefef;padding:8px;"><div id="menu_sender"><b>From: </b> "Jeremy Freudberg"<jfreud@bu.edu>;</div><div><b>Date: </b> Thu, Jul 21, 2016 11:26 PM</div><div><b>To: </b> "fuguangping"<fuguangping@unitedstack.com>; <wbr></div><div><b>Cc: </b> "openstack"<openstack@lists.openstack.org>; <wbr></div><div><b>Subject: </b> Re: [Openstack] [Sahara] Sahara can't SSH into instances - can'treadSSH protocol banner</div></div><div> </div>Hi there, I tried using rootwrap, but I must have configured it<br>wrong... I followed the guide here<br>http://docs.openstack.org/developer/sahara/userdoc/advanced.configuration.guide.html#non-root-users<br>. I still get error. However, when I manually start<br>openstack-sahara-all service as root, I get success. So you are right,<br>it has to do with permissions of Sahara user. Have you successfully<br>used Sahara rootwrap yourself with success? Any help is appreciated.<br><br>Thanks so much,<br>Jeremy Freudberg<br><br>On Wed, Jul 20, 2016 at 9:58 PM, fuguangping<br><fuguangping@unitedstack.com> wrote:<br>> Hi Jeremy,<br>><br>><br>> Did you use rootwrap? If not, you can try<br>> this:https://ask.openstack.org/en/question/87430/sahara-cant-login-to-nodes/<br>> . Remember to reboot sahara-engine after update your configuration.<br>><br>> ------------------ Original ------------------<br>> From:  "Jeremy Freudberg"<jfreud@bu.edu>;<br>> Date:  Thu, Jul 21, 2016 01:55 AM<br>> To:  "Nikita Konovalov"<nkonovalov@mirantis.com>;<br>> Cc:  "openstack"<openstack@lists.openstack.org>;<br>> Subject:  Re: [Openstack] [Sahara] Sahara can't SSH into instances -<br>> can'tread SSH protocol banner<br>><br>> Hi again, Nikita.<br>><br>> Also note that I can SSH between instances as well, in addition to<br>> doing so through ip netns on the Openstack controller node. So it must<br>> not be an issue with SSH itself, or with TCP traffic in between<br>> instances.<br>><br>> Thanks for your help.<br>> Jeremy<br>><br>> On Wed, Jul 20, 2016 at 11:32 AM, Nikita Konovalov<br>> <nkonovalov@mirantis.com> wrote:<br>>> Hi, Jeremy.<br>>><br>>> It looks like there might be a problem in instance to instance<br>>> communication. Could you please check that the tcp traffic between<br>>> instances<br>>> is not blocked. Especially on port 22.<br>>><br>>> Could you also send witch version of Sahara do you have and what versions<br>>> of<br>>> python dependencies are installed in your system.<br>>><br>>> On Wed, Jul 20, 2016 at 6:20 PM, Jeremy Freudberg <jfreud@bu.edu> wrote:<br>>>><br>>>> Hi all, I'm having an issue with Sahara accessing its instances. This<br>>>> is over private IP, not public/floating. I have use_floating_ips =<br>>>> false and use_namespaces = true in sahara.conf. My setup also uses<br>>>> Neutron, so use_neutron = true as well.<br>>>><br>>>> Here is an excerpt from the logs:<br>>>><br>>>> DEBUG sahara.utils.ssh_remote<br>>>> [req-ad9e16b1-176b-4283-92ea-e2032928e3a0 ] [instance:<br>>>> f2145fd1-fa9e-4d45-9d61-653bb6d6dd6d, cluster:<br>>>> 6493dfa9-4875-4844-abd4-d425b3312ee4] Returning neutron info: {'host':<br>>>> u'192.168.201.23', 'tenant': u'jfreud@bu.edu', 'network':<br>>>> u'433d83c0-1f7f-4fb7-b4a1-995b47344ac4'} get_neutron_info<br>>>> /usr/lib/python2.7/site-packages/sahara/utils/ssh_remote.py:581<br>>>><br>>>> DEBUG sahara.service.engine [req-ad9e16b1-176b-4283-92ea-e2032928e3a0<br>>>> ] [instance: f2145fd1-fa9e-4d45-9d61-653bb6d6dd6d, cluster:<br>>>> 6493dfa9-4875-4844-abd4-d425b3312ee4] Can't login to node, IP:<br>>>> 192.168.201.23, reason SSHException: Error reading SSH protocol banner<br>>>><br>>>> We would think this to be a networking issue, right? (Or maybe an SSH<br>>>> issue...) However, when I perform the SSH command manually, I can<br>>>> connect to my instances:<br>>>><br>>>> ip netns exec qdhcp-433d83c0-1f7f-4fb7-b4a1-995b47344ac4 ssh -i<br>>>> /path/to/private/key ubuntu@192.168.201.23<br>>>><br>>>> The above command executes successfully and SSH connects.<br>>>><br>>>> Any help is greatly appreciated.<br>>>><br>>>> Thanks,<br>>>> Jeremy Freudberg<br>>>><br>>>> _______________________________________________<br>>>> Mailing list:<br>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br>>>> Post to     : openstack@lists.openstack.org<br>>>> Unsubscribe :<br>>>> http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br>>><br>>><br>>><br>>><br>>> --<br>>> Best Regards,<br>>> Nikita Konovalov<br>>> Mirantis, Inc<br>><br>> _______________________________________________<br>> Mailing list: http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack<br>> Post to     : openstack@lists.openstack.org<br>> Unsubscribe : http://lists.openstack.org/cgi-bin/mailman/listinfo/openstack</div><!--<![endif]--></includetail></div>