{"action":"closed","issue":{"url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/2799","repository_url":"https://api.github.com/repos/kubernetes-incubator/kubespray","labels_url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/2799/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/2799/comments","events_url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/2799/events","html_url":"https://github.com/kubernetes-incubator/kubespray/issues/2799","id":324412188,"number":2799,"title":"/etc/ssl/etcd/ssl/admin-k8s-m2.me.pem: no such file or directory","user":{"login":"IvanBiv","id":7404103,"avatar_url":"https://avatars0.githubusercontent.com/u/7404103?v=4","gravatar_id":"","url":"https://api.github.com/users/IvanBiv","html_url":"https://github.com/IvanBiv","followers_url":"https://api.github.com/users/IvanBiv/followers","following_url":"https://api.github.com/users/IvanBiv/following{/other_user}","gists_url":"https://api.github.com/users/IvanBiv/gists{/gist_id}","starred_url":"https://api.github.com/users/IvanBiv/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/IvanBiv/subscriptions","organizations_url":"https://api.github.com/users/IvanBiv/orgs","repos_url":"https://api.github.com/users/IvanBiv/repos","events_url":"https://api.github.com/users/IvanBiv/events{/privacy}","received_events_url":"https://api.github.com/users/IvanBiv/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-05-18T13:31:57Z","updated_at":"2018-05-21T08:36:26Z","closed_at":"2018-05-21T08:36:26Z","author_association":"NONE","body":"I see \r\n`\"Error:  open /etc/ssl/etcd/ssl/admin-k8s-m2.me.pem: no such file or directory\"`\r\n\r\ncall playbook\r\n`$ ansible-playbook -i my_inventory/inventory cluster.yml -b -vvv`\r\n\r\nhosts\r\n```\r\nk8s-m1.me ansible_host=192.168.88.11 ansible_become=yes\r\nk8s-m2.me ansible_host=192.168.88.12 ansible_become=yes\r\nk8s-m3.me ansible_host=192.168.88.10 ansible_become=yes #bootstrap_os=linux_mint\r\n\r\n[kube-master]\r\n#k8s-m1.me\r\nk8s-m2.me\r\nk8s-m3.me\r\n\r\n[etcd]\r\n#k8s-m1.me\r\nk8s-m2.me\r\n#k8s-m3.me\r\n\r\n[kube-node]\r\n# k8s-s2.me\r\n\r\n[kube-ingress]\r\n# node2\r\n# node3\r\n\r\n[k8s-cluster:children]\r\nkube-master\r\nkube-node\r\nkube-ingress\r\n```\r\n\r\n```\r\n...\r\nFAILED - RETRYING: Configure | Check if etcd cluster is healthy (1 retries left).Result was: {\r\n    \"attempts\": 4, \r\n    \"changed\": false, \r\n    \"cmd\": \"/usr/local/bin/etcdctl --endpoints=https://192.168.88.12:2379 cluster-health | grep -q 'cluster is healthy'\", \r\n    \"delta\": \"0:00:00.021370\", \r\n    \"end\": \"2018-05-18 16:25:54.211548\", \r\n    \"failed\": true, \r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"_raw_params\": \"/usr/local/bin/etcdctl --endpoints=https://192.168.88.12:2379 cluster-health | grep -q 'cluster is healthy'\", \r\n            \"_uses_shell\": true, \r\n            \"chdir\": null, \r\n            \"creates\": null, \r\n            \"executable\": null, \r\n            \"removes\": null, \r\n            \"stdin\": null, \r\n            \"warn\": true\r\n        }\r\n    }, \r\n    \"msg\": \"non-zero return code\", \r\n    \"rc\": 1, \r\n    \"retries\": 5, \r\n    \"start\": \"2018-05-18 16:25:54.190178\", \r\n    \"stderr\": \"Error:  open /etc/ssl/etcd/ssl/admin-k8s-m2.me.pem: no such file or directory\", \r\n    \"stderr_lines\": [\r\n        \"Error:  open /etc/ssl/etcd/ssl/admin-k8s-m2.me.pem: no such file or directory\"\r\n    ], \r\n    \"stdout\": \"\", \r\n    \"stdout_lines\": []\r\n}\r\nUsing module file /usr/local/lib/python2.7/dist-packages/ansible/modules/commands/command.py\r\n<192.168.88.12> ESTABLISH SSH CONNECTION FOR USER: ansible\r\n<192.168.88.12> SSH: EXEC ssh -o ControlMaster=auto -o ControlPersist=30m -o ConnectionAttempts=100 -o UserKnownHostsFile=/dev/null -o StrictHostKeyChecking=no -o KbdInteractiveAuthentication=no -o PreferredAuthentications=gssapi-with-mic,gssapi-keyex,hostbased,publickey -o PasswordAuthentication=no -o User=ansible -o ConnectTimeout=10 -o ControlPath=/home/ivan/.ansible/cp/cf6ec25280 192.168.88.12 '/bin/sh -c '\"'\"'sudo -H -S -n -u root /bin/sh -c '\"'\"'\"'\"'\"'\"'\"'\"'echo BECOME-SUCCESS-ogribkawlrumojuhxsvuqnfqszlyjgih; ETCDCTL_CERT_FILE=/etc/ssl/etcd/ssl/admin-k8s-m2.me.pem ETCDCTL_KEY_FILE=/etc/ssl/etcd/ssl/admin-k8s-m2.me-key.pem /usr/bin/python'\"'\"'\"'\"'\"'\"'\"'\"' && sleep 0'\"'\"''\r\n<192.168.88.12> (1, '\\n{\"changed\": true, \"end\": \"2018-05-18 16:25:59.382597\", \"stdout\": \"\", \"cmd\": \"/usr/local/bin/etcdctl --endpoints=https://192.168.88.12:2379 cluster-health | grep -q \\'cluster is healthy\\'\", \"failed\": true, \"delta\": \"0:00:00.022423\", \"stderr\": \"Error:  open /etc/ssl/etcd/ssl/admin-k8s-m2.me.pem: no such file or directory\", \"rc\": 1, \"invocation\": {\"module_args\": {\"warn\": true, \"executable\": null, \"_uses_shell\": true, \"_raw_params\": \"/usr/local/bin/etcdctl --endpoints=https://192.168.88.12:2379 cluster-health | grep -q \\'cluster is healthy\\'\", \"removes\": null, \"creates\": null, \"chdir\": null, \"stdin\": null}}, \"start\": \"2018-05-18 16:25:59.360174\", \"msg\": \"non-zero return code\"}\\n', '')\r\nfatal: [k8s-m2.me]: FAILED! => {\r\n    \"attempts\": 4, \r\n    \"changed\": false, \r\n    \"cmd\": \"/usr/local/bin/etcdctl --endpoints=https://192.168.88.12:2379 cluster-health | grep -q 'cluster is healthy'\", \r\n    \"delta\": \"0:00:00.022423\", \r\n    \"end\": \"2018-05-18 16:25:59.382597\", \r\n    \"failed\": true, \r\n    \"invocation\": {\r\n        \"module_args\": {\r\n            \"_raw_params\": \"/usr/local/bin/etcdctl --endpoints=https://192.168.88.12:2379 cluster-health | grep -q 'cluster is healthy'\", \r\n            \"_uses_shell\": true, \r\n            \"chdir\": null, \r\n            \"creates\": null, \r\n            \"executable\": null, \r\n            \"removes\": null, \r\n            \"stdin\": null, \r\n            \"warn\": true\r\n        }\r\n    }, \r\n    \"msg\": \"non-zero return code\", \r\n    \"rc\": 1, \r\n    \"start\": \"2018-05-18 16:25:59.360174\", \r\n    \"stderr\": \"Error:  open /etc/ssl/etcd/ssl/admin-k8s-m2.me.pem: no such file or directory\", \r\n    \"stderr_lines\": [\r\n        \"Error:  open /etc/ssl/etcd/ssl/admin-k8s-m2.me.pem: no such file or directory\"\r\n    ], \r\n    \"stdout\": \"\", \r\n    \"stdout_lines\": []\r\n}\r\n\r\nNO MORE HOSTS LEFT ****************************************************************************************************************************************************************************************************************\r\n\tto retry, use: --limit @/home/ivan/kubespray/cluster.retry\r\n\r\nPLAY RECAP ************************************************************************************************************************************************************************************************************************\r\nk8s-m2.me                  : ok=187  changed=4    unreachable=0    failed=1   \r\nk8s-m3.me                  : ok=151  changed=1    unreachable=0    failed=0   \r\nlocalhost                  : ok=2    changed=0    unreachable=0    failed=0   \r\n\r\n```\r\nk8s-m2.me:\r\n```\r\nroot@k8s-m2:~# sudo ls /etc/ssl/etcd/ssl/\r\nca-key.pem  ca.pem  node-k8s-m1.me-key.pem  node-k8s-m1.me.pem\tnode-k8s-m2.me-key.pem\tnode-k8s-m2.me.pem  node-k8s-m3.me-key.pem  node-k8s-m3.me.pem\r\n```\r\n\r\nk8s-m3.me:\r\n```\r\nivan@k8s-m3 ~/kubespray $ sudo ls /etc/ssl/etcd/ssl/\r\n[sudo] password for ivan: \r\nadmin-k8s-m3.me-key.pem  ca-key.pem  member-k8s-m3.me-key.pem  node-k8s-m1.me-key.pem  node-k8s-m2.me-key.pem  node-k8s-m3.me-key.pem\r\nadmin-k8s-m3.me.pem\t ca.pem      member-k8s-m3.me.pem      node-k8s-m1.me.pem      node-k8s-m2.me.pem      node-k8s-m3.me.pem\r\n```\r\n"}}
{"actor":{"display_login":"IvanBiv"}}