-
Notifications
You must be signed in to change notification settings - Fork 43
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Reset Cluster Fails #23
Comments
@aaronkjones This has been merged. Thanks for catching this. I have not gone through this setup in a while so, hopefully it still works ;) |
Closing this out as this has been merged. |
@aaronkjones I reopened this as I am now seeing this as well. You happen to see this still? - name: Resetting K8s Master
command: kubeadm reset -f
become: true TASK [Resetting K8s Slaves] **********************************************************************************************************************************
Wednesday 20 November 2019 00:09:26 -0500 (0:00:08.429) 0:00:08.555 ****
fatal: [rpi-k8s-2]: FAILED! => {"changed": true, "cmd": ["kubeadm", "reset"], "delta": "0:00:01.118793", "end": "2019-11-20 05:09:28.845215", "msg": "non-zero return code", "rc": 1, "start": "2019-11-20 05:09:27.726422", "stderr": "Aborted reset operation", "stderr_lines": ["Aborted reset operation"], "stdout": "[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.\n[reset] are you sure you want to proceed? [y/N]: ", "stdout_lines": ["[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.", "[reset] are you sure you want to proceed? [y/N]: "]}
fatal: [rpi-k8s-4]: FAILED! => {"changed": true, "cmd": ["kubeadm", "reset"], "delta": "0:00:01.113352", "end": "2019-11-20 05:09:28.892493", "msg": "non-zero return code", "rc": 1, "start": "2019-11-20 05:09:27.779141", "stderr": "Aborted reset operation", "stderr_lines": ["Aborted reset operation"], "stdout": "[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.\n[reset] are you sure you want to proceed? [y/N]: ", "stdout_lines": ["[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.", "[reset] are you sure you want to proceed? [y/N]: "]}
fatal: [rpi-k8s-3]: FAILED! => {"changed": true, "cmd": ["kubeadm", "reset"], "delta": "0:00:01.294705", "end": "2019-11-20 05:09:28.987780", "msg": "non-zero return code", "rc": 1, "start": "2019-11-20 05:09:27.693075", "stderr": "Aborted reset operation", "stderr_lines": ["Aborted reset operation"], "stdout": "[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.\n[reset] are you sure you want to proceed? [y/N]: ", "stdout_lines": ["[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.", "[reset] are you sure you want to proceed? [y/N]: "]}
fatal: [rpi-k8s-5]: FAILED! => {"changed": true, "cmd": ["kubeadm", "reset"], "delta": "0:00:01.154693", "end": "2019-11-20 05:09:28.937262", "msg": "non-zero return code", "rc": 1, "start": "2019-11-20 05:09:27.782569", "stderr": "Aborted reset operation", "stderr_lines": ["Aborted reset operation"], "stdout": "[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.\n[reset] are you sure you want to proceed? [y/N]: ", "stdout_lines": ["[reset] WARNING: changes made to this host by 'kubeadm init' or 'kubeadm join' will be reverted.", "[reset] are you sure you want to proceed? [y/N]: "]} |
I found the issue. The slave nodes did not have |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Description
Reset cluster playbook fails due to prompt
Are you sure you want to proceed? [y/N]
Error
Resolution
Use
kubeadm reset -f
instead ofkubeadm reset
The text was updated successfully, but these errors were encountered: