-
Notifications
You must be signed in to change notification settings - Fork 6.5k
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
fallback_ips.yml exits early when there is an unreachable host in the inventory #10993
Comments
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
/remove-lifecycle stale |
Is this still relevant after #11598 ? |
I'll take a look next week to see if this is still relevant |
What happened?
This is a continuation of #10313.
When
roles/kubespray-defaults/tasks/fallback_ips.yml
runs on a inventory with an unreachable host, it'll exit the entire play after thesetup
task, withNO MORE HOSTS LEFT
.What did you expect to happen?
I expect the entire
kubespray-defaults
role to finish running, but it exits the play after the single task.How can we reproduce it (as minimally and precisely as possible)?
Minimal inventory
And then this minimal playbook
Execute with
ansible-playbook -i hosts.ini bug.yml
OS
Version of Ansible
Tried both:
and
Version of Python
Python 3.9.18
Version of Kubespray (commit)
66eaba3
Network plugin used
calico
Full inventory with variables
See "How can we reproduce it" section. Just that inventory, no variables.
Command used to invoke ansible
See "How can we reproduce it" section
Output of ansible run
Anything else we need to know
In the PR #10601, it added
ignore_unreachable: true
. That made it so the Play Recap hadignored=1
instead ofunreachable=1
. But ultimately it doesn't solve the issue of the play exiting early.The text was updated successfully, but these errors were encountered: