{"action":"created","issue":{"url":"https://api.github.com/repos/Capgemini/kubeform/issues/138","repository_url":"https://api.github.com/repos/Capgemini/kubeform","labels_url":"https://api.github.com/repos/Capgemini/kubeform/issues/138/labels{/name}","comments_url":"https://api.github.com/repos/Capgemini/kubeform/issues/138/comments","events_url":"https://api.github.com/repos/Capgemini/kubeform/issues/138/events","html_url":"https://github.com/Capgemini/kubeform/issues/138","id":163674332,"number":138,"title":"Ansible gives error on AWS after terraform apply. No such file or directory","user":{"login":"aldarund","id":571159,"avatar_url":"https://avatars.githubusercontent.com/u/571159?v=3","gravatar_id":"","url":"https://api.github.com/users/aldarund","html_url":"https://github.com/aldarund","followers_url":"https://api.github.com/users/aldarund/followers","following_url":"https://api.github.com/users/aldarund/following{/other_user}","gists_url":"https://api.github.com/users/aldarund/gists{/gist_id}","starred_url":"https://api.github.com/users/aldarund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldarund/subscriptions","organizations_url":"https://api.github.com/users/aldarund/orgs","repos_url":"https://api.github.com/users/aldarund/repos","events_url":"https://api.github.com/users/aldarund/events{/privacy}","received_events_url":"https://api.github.com/users/aldarund/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-07-04T13:12:38Z","updated_at":"2016-07-04T14:26:54Z","closed_at":null,"body":"According to docs after terraform apply im running ansible-playbook, but it fails  with no such file or directory.\r\n```\r\n[dm@localhost kubeform]$ ansible-playbook -u core --ssh-common-args=\"-F /tmp/kubeform/terraform/aws/public-cloud/ssh.config -i /tmp/kubeform/terraform/aws/public-cloud/id_rsa -q\" --inventory-file=inventory site.yml -e kube_apiserver_vip=$(cd /tmp/kubeform/terraform/aws/public-cloud && terraform output master_elb_hostname)\r\n[DEPRECATION WARNING]: Instead of sudo/sudo_user, use become/become_user and make sure become_method is 'sudo' (default).\r\nThis feature will be removed in a future release. Deprecation warnings can be disabled by setting deprecation_warnings=False in ansible.cfg.\r\n\r\nPLAY [all:!role=bastion] *******************************************************\r\n\r\nTASK [Wait for ssh port to become available from bastion server.] **************\r\nskipping: [kube-worker-0]\r\nskipping: [kube-edge-router-0]\r\nskipping: [kube-master-0]\r\n\r\nTASK [Wait for port 22 to become available from local server.] *****************\r\nAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 2] No such file or directory\r\nfatal: [kube-master-0 -> localhost]: FAILED! => {\"changed\": false, \"failed\": true, \"module_stderr\": \"Traceback (most recent call last):\\n  File \\\"<stdin>\\\", line 114, in <module>\\n  File \\\"<stdin>\\\", line 28, in invoke_module\\n  File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 711, in __init__\\n    errread, errwrite)\\n  File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 1327, in _execute_child\\n    raise child_exception\\nOSError: [Errno 2] No such file or directory\\n\", \"module_stdout\": \"\", \"msg\": \"MODULE FAILURE\", \"parsed\": false}\r\nAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 2] No such file or directory\r\nfatal: [kube-edge-router-0 -> localhost]: FAILED! => {\"changed\": false, \"failed\": true, \"module_stderr\": \"Traceback (most recent call last):\\n  File \\\"<stdin>\\\", line 114, in <module>\\n  File \\\"<stdin>\\\", line 28, in invoke_module\\n  File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 711, in __init__\\n    errread, errwrite)\\n  File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 1327, in _execute_child\\n    raise child_exception\\nOSError: [Errno 2] No such file or directory\\n\", \"module_stdout\": \"\", \"msg\": \"MODULE FAILURE\", \"parsed\": false}\r\nAn exception occurred during task execution. To see the full traceback, use -vvv. The error was: OSError: [Errno 2] No such file or directory\r\nfatal: [kube-worker-0 -> localhost]: FAILED! => {\"changed\": false, \"failed\": true, \"module_stderr\": \"Traceback (most recent call last):\\n  File \\\"<stdin>\\\", line 114, in <module>\\n  File \\\"<stdin>\\\", line 28, in invoke_module\\n  File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 711, in __init__\\n    errread, errwrite)\\n  File \\\"/usr/lib64/python2.7/subprocess.py\\\", line 1327, in _execute_child\\n    raise child_exception\\nOSError: [Errno 2] No such file or directory\\n\", \"module_stdout\": \"\", \"msg\": \"MODULE FAILURE\", \"parsed\": false}\r\n\r\n```"},"comment":{"url":"https://api.github.com/repos/Capgemini/kubeform/issues/comments/230302474","html_url":"https://github.com/Capgemini/kubeform/issues/138#issuecomment-230302474","issue_url":"https://api.github.com/repos/Capgemini/kubeform/issues/138","id":230302474,"user":{"login":"aldarund","id":571159,"avatar_url":"https://avatars.githubusercontent.com/u/571159?v=3","gravatar_id":"","url":"https://api.github.com/users/aldarund","html_url":"https://github.com/aldarund","followers_url":"https://api.github.com/users/aldarund/followers","following_url":"https://api.github.com/users/aldarund/following{/other_user}","gists_url":"https://api.github.com/users/aldarund/gists{/gist_id}","starred_url":"https://api.github.com/users/aldarund/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aldarund/subscriptions","organizations_url":"https://api.github.com/users/aldarund/orgs","repos_url":"https://api.github.com/users/aldarund/repos","events_url":"https://api.github.com/users/aldarund/events{/privacy}","received_events_url":"https://api.github.com/users/aldarund/received_events","type":"User","site_admin":false},"created_at":"2016-07-04T14:26:54Z","updated_at":"2016-07-04T14:26:54Z","body":"@enxebre tried with 2.0.2.0. Different error now\r\n```\r\nTASK [Wait for port 22 to become available from local server.] *****************\r\nok: [kube-worker-0 -> localhost]\r\nok: [kube-edge-router-0 -> localhost]\r\nok: [kube-master-0 -> localhost]\r\n\r\nPLAY [bootstrap coreos hosts] **************************************************\r\n\r\nTASK [coreos_timezone : include] ***********************************************\r\nincluded: /tmp/kubeform/roles/coreos_timezone/tasks/timezone.yml for kube-worker-0, kube-edge-router-0, kube-master-0\r\n\r\nTASK [coreos_timezone : check if timezone is already set correctly] ************\r\nfatal: [kube-edge-router-0]: UNREACHABLE! => {\"changed\": false, \"msg\": \"SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh\", \"unreachable\": true}\r\nfatal: [kube-master-0]: UNREACHABLE! => {\"changed\": false, \"msg\": \"SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh\", \"unreachable\": true}\r\nfatal: [kube-worker-0]: UNREACHABLE! => {\"changed\": false, \"msg\": \"SSH Error: data could not be sent to the remote host. Make sure this host can be reached over ssh\", \"unreachable\": true}\r\n\r\n```"}}
{"actor":{"display_login":"aldarund"}}