{"action":"opened","issue":{"url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/3196","repository_url":"https://api.github.com/repos/kubernetes-incubator/kubespray","labels_url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/3196/labels{/name}","comments_url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/3196/comments","events_url":"https://api.github.com/repos/kubernetes-incubator/kubespray/issues/3196/events","html_url":"https://github.com/kubernetes-incubator/kubespray/issues/3196","id":355391284,"node_id":"MDU6SXNzdWUzNTUzOTEyODQ=","number":3196,"title":"Installation with kubeadm fails due to missing SSL certs ","user":{"login":"arush-sal","id":8846519,"node_id":"MDQ6VXNlcjg4NDY1MTk=","avatar_url":"https://avatars2.githubusercontent.com/u/8846519?v=4","gravatar_id":"","url":"https://api.github.com/users/arush-sal","html_url":"https://github.com/arush-sal","followers_url":"https://api.github.com/users/arush-sal/followers","following_url":"https://api.github.com/users/arush-sal/following{/other_user}","gists_url":"https://api.github.com/users/arush-sal/gists{/gist_id}","starred_url":"https://api.github.com/users/arush-sal/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/arush-sal/subscriptions","organizations_url":"https://api.github.com/users/arush-sal/orgs","repos_url":"https://api.github.com/users/arush-sal/repos","events_url":"https://api.github.com/users/arush-sal/events{/privacy}","received_events_url":"https://api.github.com/users/arush-sal/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-08-30T01:38:23Z","updated_at":"2018-08-30T01:38:23Z","closed_at":null,"author_association":"NONE","body":"<!-- Thanks for filing an issue! Before hitting the button, please answer these questions.-->\r\n\r\n**Is this a BUG REPORT or FEATURE REQUEST?** (choose one):\r\nBUG REPORT\r\n<!--\r\nIf this is a BUG REPORT, please:\r\n  - Fill in as much of the template below as you can.  If you leave out\r\n    information, we can't help you as well.\r\n\r\nIf this is a FEATURE REQUEST, please:\r\n  - Describe *in detail* the feature/behavior/change you'd like to see.\r\n\r\nIn both cases, be ready for followup questions, and please respond in a timely\r\nmanner.  If we can't reproduce a bug or think a feature already exists, we\r\nmight close your issue.  If we're wrong, PLEASE feel free to reopen it and\r\nexplain why.\r\n-->\r\n\r\n**Environment**:\r\n- **Cloud provider or hardware configuration:**\r\nAWS Cloud Provider\r\n- **OS (`printf \"$(uname -srm)\\n$(cat /etc/os-release)\\n\"`):**\r\n**Ubuntu:**\r\nLinux 4.4.0-1065-aws x86_64\r\nNAME=\"Ubuntu\" \r\nVERSION=\"16.04.5 LTS (Xenial Xerus)\" \r\nID=ubuntu ID_LIKE=debian \r\nPRETTY_NAME=\"Ubuntu 16.04.5 LTS\" \r\nVERSION_ID=\"16.04\" \r\nHOME_URL=\"http://www.ubuntu.com/\" \r\nSUPPORT_URL=\"http://help.ubuntu.com/\" \r\nBUG_REPORT_URL=\"http://bugs.launchpad.net/ubuntu/\" \r\nVERSION_CODENAME=xenial \r\nUBUNTU_CODENAME=xenial\r\n\r\n    **CentOS:**\r\nLinux 3.10.0-514.21.1.el7.x86_64 x86_64\r\nNAME=\"CentOS Linux\"\r\nVERSION=\"7 (Core)\"\r\nID=\"centos\"\r\nID_LIKE=\"rhel fedora\"\r\nVERSION_ID=\"7\"\r\nPRETTY_NAME=\"CentOS Linux 7 (Core)\"\r\nANSI_COLOR=\"0;31\"\r\nCPE_NAME=\"cpe:/o:centos:centos:7\"\r\nHOME_URL=\"https://www.centos.org/\"\r\nBUG_REPORT_URL=\"https://bugs.centos.org/\"\r\nCENTOS_MANTISBT_PROJECT=\"CentOS-7\"\r\nCENTOS_MANTISBT_PROJECT_VERSION=\"7\"\r\nREDHAT_SUPPORT_PRODUCT=\"centos\"\r\nREDHAT_SUPPORT_PRODUCT_VERSION=\"7\"\r\n\r\n- **Version of Ansible** (`ansible --version`):\r\nansible 2.6.3\r\n\r\n**Kubespray version (commit) (`git rev-parse --short HEAD`):**\r\na247c2c7\r\n\r\n**Network plugin used**:\r\ncalico\r\n\r\n**Copy of your inventory file:**\r\n_Ubuntu inventory file:_\r\n```ini\r\n[all]\r\nkubernetes-fullcollie-master0 ansible_host=10.250.197.250\r\nkubernetes-fullcollie-worker0 ansible_host=10.250.201.66\r\nkubernetes-fullcollie-etcd0 ansible_host=10.250.202.99\r\n\r\n\r\nbastion ansible_host=34.229.198.101\r\nbastion ansible_host=184.73.54.108\r\n\r\n[kube-master]\r\nkubernetes-fullcollie-master0\r\n\r\n\r\n[kube-node]\r\nkubernetes-fullcollie-worker0\r\n\r\n\r\n[etcd]\r\nkubernetes-fullcollie-etcd0\r\n\r\n\r\n[k8s-cluster:children]\r\nkube-node\r\nkube-master\r\n\r\n\r\n[k8s-cluster:vars]\r\napiserver_loadbalancer_domain_name=\"kubernetes-elb-fullcollie-1859228955.us-east-1.elb.amazonaws.com\"\r\n```\r\n\r\n**Command used to invoke ansible**:\r\n`ansible-playbook -i ./inventory/awscluster/hosts ./cluster.yml --timeout=60 -e ansible_user=ubuntu/centos -e bootstrap_os=ubuntu/centos -b --become-user=root --flush-cache`\r\n\r\n**Output of ansible run**:\r\n<!-- We recommend using snippets services like https://gist.github.com/ etc. -->\r\n*Full output:* https://pastebin.com/XX0kGFCE\r\n*Error output:* \r\n```\r\nTASK [kubernetes/master : kubeadm | Copy etcd cakey as k8s cakey] **************\r\nThursday 30 August 2018  01:16:37 +0000 (0:00:00.392)       0:05:38.392 *******\r\nfatal: [kubernetes-fullcollie-master0]: FAILED! => {\"changed\": false, \"cmd\": [\"cp\", \"-T\", \"/etc/ssl/etcd/ssl/ca-key.pem\", \"/etc/kubernetes/ssl/etcd/ca.key\"], \"delta\": \"0:00:00.002571\", \"end\": \"2018-08-30 01:16:37.758604\", \"msg\": \"non-zero return code\", \"rc\": 1, \"start\": \"2018-08-30 01:16:37.756033\", \"stderr\": \"cp: cannot stat ‘/etc/ssl/etcd/ssl/ca-key.pem’: No such file or directory\", \"stderr_lines\": [\"cp: cannot stat ‘/etc/ssl/etcd/ssl/ca-key.pem’: No such file or directory\"], \"stdout\": \"\", \"stdout_lines\": []}\r\n```\r\n**Anything else do we need to know**:\r\n<!-- By running scripts/collect-info.yaml you can get a lot of useful informations.\r\nScript can be started by:\r\nansible-playbook -i <inventory_file_path> -u <ssh_user> -e ansible_ssh_user=<ssh_user> -b --become-user=root -e dir=`pwd` scripts/collect-info.yaml\r\n(If you using CoreOS remember to add '-e ansible_python_interpreter=/opt/bin/python').\r\nAfter running this command you can find logs in `pwd`/logs.tar.gz. You can even upload somewhere entire file and paste link here.-->\r\n\r\nThe infrastructre was created using the [Terraform Contrib](https://github.com/kubernetes-incubator/kubespray/tree/master/contrib/terraform) project on AWS and `kubeadm_enabled: true` was set in `roles/kubespray-defaults/defaults/main.yaml`"}}
{"actor":{"display_login":"arush-sal"}}