Hello,

I'm able to repeatably deploy Metron 0.4.0 to EC2 using my Linux environment 
(npm 3.10.10, node 6.11.1, docker 1.12.6, mvn 3.3.9, ansible 2.2.2.0, No 
Vagrant, ClearOS[Distro of CentOS])

However, using the same environment I'm not able to deploy 0.4.1rc2 to EC2.

Given the error below I created new keys, deleted  known_hosts in /.ssh/ and 
updated "./amazon-ec2/conf/defaults.yml" to include the new key "key_file: 
~/.ssh/xxx.pub" and I still get the error.

Error:
fatal: [ec2-xx-yy-zz-ff-us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}

Any idea what changed between 0.4.0 and 0.4.1 rc2 that might cause the error?



Below shows the commandline output of  ./run.sh that leads to the error.
---------------------------------------------------------------------------------
Metron Environment [met-041rc2-080917-3am]:
fatal: Not a git repository (or any of the parent directories): .git
......./metron-apache-metron-0.4.1-rc2/metron-deployment/amazon-ec2/../scripts/platform-info.sh:
 line 52: vagrant: command not found
Using 
........../metron-apache-metron-0.4.1-rc2/metron-deployment/amazon-ec2/ansible.cfg
 as config file
[WARNING]: Host file not found: ec2.py
[WARNING]: provided hosts list is empty, only localhost is available
PLAY [localhost] ***************************************************************
TASK [setup] *******************************************************************
TASK [Verify Ansible Version] **************************************************
TASK [set_fact] ****************************************************************
TASK [Define keypair] **********************************************************
TASK [debug] *******************************************************************
TASK [met-041rc2-080917-3am:  Create virtual private cloud] ********************
TASK [met-041rc2-080917-3am] Created vpc with id=vpc-eaxxxxxxx] ****************
TASK [met-041rc2-080917-3am: Define open inbound security group] ***************
TASK [met-041rc2-080917-3am: Define open outbound security group] **************
TASK [met-041rc2-080917-3am: Instantiate 1 host(s) as 
sensors,ambari_master,ec2,monit] ***
TASK [Add host(s) to a hostgroup] **********************************************
TASK [met-041rc2-080917-3am: Instantiate 4 host(s) as ambari_slave,ec2] ********
TASK [Add host(s) to a hostgroup] **********************************************
TASK [met-041rc2-080917-3am: Instantiate 1 host(s) as pcap_server,monit,ec2] ***
TASK [Add host(s) to a hostgroup] **********************************************
TASK [met-041rc2-080917-3am: Instantiate 1 host(s) as 
ambari_slave,enrichment,metron,ec2,zeppelin] ***
TASK [Add host(s) to a hostgroup] **********************************************
TASK [met-041rc2-080917-3am: Instantiate 2 host(s) as ambari_slave,search,ec2]
TASK [Add host(s) to a hostgroup] **********************************************
TASK [met-041rc2-080917-3am: Instantiate 1 host(s) as ambari_slave,web,ec2] ****
TASK [Add host(s) to a hostgroup] **********************************************
TASK [Wait for connectivity to host(s)] ****************************************
ok
TASK [setup] *******************************************************************
fatal: [ec2-xx-yy-0-130.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-33-219.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-121-175.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-5-197.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-167-93.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-58-227.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-60-236.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-106-8.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-216-132.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}
fatal: [ec2-xx-yy-236-195.us-west-2.compute.amazonaws.com]: UNREACHABLE! => 
{"changed": false, "msg": "Failed to connect to the host via ssh: 
percent_expand: unknown key %C\r\n", "unreachable": true}



-Ahmed

Reply via email to