From 308e7d8e9de4278d35b46bcbb3b7db778d740509 Mon Sep 17 00:00:00 2001 From: Adrien Date: Sat, 19 Dec 2020 12:31:22 +0100 Subject: [PATCH] Add log for fix --- fix_ansible.txt | 33 +++++++++++++++++++++++++++++++++ 1 file changed, 33 insertions(+) create mode 100644 fix_ansible.txt diff --git a/fix_ansible.txt b/fix_ansible.txt new file mode 100644 index 0000000..d3e458c --- /dev/null +++ b/fix_ansible.txt @@ -0,0 +1,33 @@ +TASK [kubernetes : Init Kubernetes on Saturne] ********************************************************************************************************************************************************************** +fatal: [Saturne]: FAILED! => changed=true + cmd: + - kubeadm + - init + - --config=/root/kubeadm-config.yaml + delta: '0:00:00.608823' + end: '2020-09-14 00:40:32.622035' + msg: non-zero return code + rc: 1 + start: '2020-09-14 00:40:32.013212' + stderr: |- + W0914 00:40:32.046191 87590 common.go:77] your configuration file uses a deprecated API spec: "kubeadm.k8s.io/v1beta1". Please use 'kubeadm config migrate --old-config old.yaml --new-config new.yaml', which will write the new, similar spec using a newer API version. + W0914 00:40:32.048247 87590 strict.go:54] error unmarshaling configuration schema.GroupVersionKind{Group:"kubelet.config.k8s.io", Version:"v1beta1", Kind:"KubeletConfiguration"}: error unmarshaling JSON: while decoding JSON: json: unknown field "containerRuntime" + W0914 00:40:32.486840 87590 configset.go:348] WARNING: kubeadm cannot validate component configs for API groups [kubelet.config.k8s.io kubeproxy.config.k8s.io] + [WARNING Firewalld]: firewalld is active, please ensure ports [6443 10250] are open or your cluster may not function correctly + [WARNING FileExisting-tc]: tc not found in system path + [WARNING Hostname]: hostname "saturne" could not be reached + [WARNING Hostname]: hostname "saturne": lookup saturne on 213.186.33.99:53: no such host + error execution phase preflight: [preflight] Some fatal errors occurred: + [ERROR DirAvailable--var-lib-etcd]: /var/lib/etcd is not empty + [preflight] If you know what you are doing, you can make a check non-fatal with `--ignore-preflight-errors=...` + To see the stack trace of this error execute with --v=5 or higher + stderr_lines: + stdout: |- + [config] WARNING: Ignored YAML document with GroupVersionKind kubeadm.k8s.io/v1beta2, Kind=JoinConfiguration + [init] Using Kubernetes version: v1.19.1 + [preflight] Running pre-flight checks + stdout_lines: + +PLAY RECAP ********************************************************************************************************************************************************************************************************** +Saturne : ok=85 changed=7 unreachable=0 failed=1 skipped=48 rescued=0 ignored=0 +