Our Community is getting an upgrade! To get everything ready for the relaunch, we’ll be placing the site in read-only mode starting September 21st.
We really appreciate your understanding while we get things set up behind the scenes. Catch up on all the exciting details about the move here.
Need help or have questions? Drop us a line at [email protected]
Created 03-24-2016 08:58 AM
I'm following the instructions for installing Metron here: https://github.com/apache/incubator-metron/tree/master/deployment/amazon-ec2
In the ansible.log, I'm seeing the following error during the ansible [Setup] task:
2016-03-24 03:46:50,950 p=62171 u=gvetticaden | TASK [setup] *******************************************************************
2016-03-24 03:46:51,893 p=62171 u=gvetticaden | fatal: [ec2-54-191-176-45.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:51,895 p=62171 u=gvetticaden | fatal: [ec2-54-186-187-148.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:51,913 p=62171 u=gvetticaden | fatal: [ec2-54-201-6-61.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:51,915 p=62171 u=gvetticaden | fatal: [ec2-54-191-196-153.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:51,989 p=62171 u=gvetticaden | fatal: [ec2-54-201-176-11.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:52,021 p=62171 u=gvetticaden | fatal: [ec2-54-191-12-47.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:52,173 p=62171 u=gvetticaden | fatal: [ec2-54-201-9-33.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:52,175 p=62171 u=gvetticaden | fatal: [ec2-54-201-175-153.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:52,308 p=62171 u=gvetticaden | fatal: [ec2-54-201-198-3.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
2016-03-24 03:46:52,489 p=62171 u=gvetticaden | fatal: [ec2-54-186-178-244.us-west-2.compute.amazonaws.com]: UNREACHABLE! => {"changed": false, "msg": "SSH encountered an unknown error during the connection. We recommend you re-run the command using -vvvv, which will enable SSH debugging output to help diagnose the issue", "unreachable": true}
How do I resolve this?
Created 03-24-2016 09:00 AM
This is primarly caused because the path to the metron code is too long. You can solve this problem by shortening the path or changing the control_path
from
control_path = %(directory)s/%%h-%%p-%%r
to
control_path = %(directory)s/%%C
Created 03-24-2016 09:00 AM
This is primarly caused because the path to the metron code is too long. You can solve this problem by shortening the path or changing the control_path
from
control_path = %(directory)s/%%h-%%p-%%r
to
control_path = %(directory)s/%%C
Created 03-24-2016 01:07 PM
You may also see those types of errors present as:
SSH Error: unix_listener: "/really/long/path/hostname.tempcharacters" too long for Unix domain socket
Same fix as above, shorten the path to your deployment scripts or modify the control_path in ansible.cfg as @George Vetticaden indicated above. in
Created 04-24-2016 12:00 PM
Also incase anyone else comes across this, the file you need to modify from the root of your metron dir is:
./deployment/amazon-ec2/ansible.cfg