Open wpoosanguansit opened 5 years ago
Hi,
Thank you for your code. I was able to run the code following the doc until I ran:
ansible-playbook -i hosts kubernetes.yml
I have got the following errors:
TASK [kubernetes : iptables | Add FORWARD ACCEPT for cni0 (in)] **** fatal: [192.168.7.247]: FAILED! => {"changed": true, "cmd": ["/sbin/iptables", "-A", "FORWARD", "-i", "cni0", "-j", "ACCEPT", "-m", "comment", "--comment", "CNI-Forward-Fix"], "delta": "0:00:00.009288", "end": "2019-02-21 20:58:39.514717", "msg": "non-zero return code", "rc": 1, "start": "2019-02-21 20:58:39.505429", "stderr": "iptables: No chain/target/match by that name.", "stderr_lines": ["iptables: No chain/target/match by that name."], "stdout": "", "stdout_lines": []} to retry, use: --limit @/Volumes/Fifth/Backup/Softwares/Raspberry Pi/k8s-pi/kubernetes.retry
PLAY RECAP ***** 192.168.7.247 : ok=12 changed=1 unreachable=0 failed=1
Thank you for your help.
Hi,
Thank you for your code. I was able to run the code following the doc until I ran:
ansible-playbook -i hosts kubernetes.yml
I have got the following errors:
TASK [kubernetes : iptables | Add FORWARD ACCEPT for cni0 (in)] **** fatal: [192.168.7.247]: FAILED! => {"changed": true, "cmd": ["/sbin/iptables", "-A", "FORWARD", "-i", "cni0", "-j", "ACCEPT", "-m", "comment", "--comment", "CNI-Forward-Fix"], "delta": "0:00:00.009288", "end": "2019-02-21 20:58:39.514717", "msg": "non-zero return code", "rc": 1, "start": "2019-02-21 20:58:39.505429", "stderr": "iptables: No chain/target/match by that name.", "stderr_lines": ["iptables: No chain/target/match by that name."], "stdout": "", "stdout_lines": []} to retry, use: --limit @/Volumes/Fifth/Backup/Softwares/Raspberry Pi/k8s-pi/kubernetes.retry
PLAY RECAP ***** 192.168.7.247 : ok=12 changed=1 unreachable=0 failed=1
Thank you for your help.