-
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: Gather facts from reachable hosts only #11006
Conversation
Hi @Rickkwa. Thanks for your PR. I'm waiting for a kubernetes-sigs member to verify that this patch is reasonable to test. If it is, they should reply with Once the patch is verified, the new status will be reflected by the I understand the commands that are listed here. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes/test-infra repository. |
/ok-to-test |
Do you need any more info from me to move this forward? I'm hoping this can get into the 2.25 release, whenever that is. |
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: Rickkwa The full list of commands accepted by this bot can be found here.
Needs approval from an approver in each of these files:
Approvers can indicate their approval by writing |
* upgrade ansible version Needed for with_first_found to work correctly: ansible/ansible#70772 fixed in 2.16 * Remove unused google cloud cloud_playbook * Fix dpkg_selection on non-existing packages Needed since ansible-core>2.16, see: ansible/ansible@f10d11b
Should make it easier to understand what's going on when testing locally and in CI.
…tes-sigs#10997) Signed-off-by: bo.jiang <[email protected]>
…11021) Signed-off-by: KubeKyrie <[email protected]>
* Remove leftover files for Coreos Coreos was replaced by flatcar in 058438a but the file was copied instead of moved. * Remove workarounds for resolved ansible issues * boostrap: Use first_found to include per distro Using directly ID and VARIANT_ID with first_found allow for less manual includes. Distro "families" are simply handled by symlinks. * boostrap: don't set ansible_python_interpreter - Allows users to override the chosen python_interpreter with group_vars easily (group_vars have lesser precedence than facts) - Allows us to use vars at the task scope to use a virtual env Ansible python discovery has improved, so those workarounds should not be necessary anymore. Special workaround for Flatcar, due to upstream ansible not willing to support it.
…ubernetes-sigs#10999) Signed-off-by: Arthur Outhenin-Chalandre <[email protected]>
* Move fedora ansible python install to bootstrap-os * /bin/dir is set in bootstrap-os * Removing ansible_os_family workarounds Support for these distributions was merged in Ansible, no need to override it ourselves now. ansible/ansible#69324 openEuler ansible/ansible#77275 UnionTech OS Server 20 ansible/ansible#78232 Kylin * Don't unconditionnaly set VARIANT_ID=coreos in os-release WTF, this is so wrong. Furthermore, is_fedora_coreos is already handled in boostrap-os * Handle Clearlinux generically Followup of 4eec302 (since we're using package module anyway, let's get rid of the custom task)
Signed-off-by: tico88612 <[email protected]>
Signed-off-by: tu1h <[email protected]>
Signed-off-by: Kay Yan <[email protected]>
Signed-off-by: Kay Yan <[email protected]>
Signed-off-by: bo.jiang <[email protected]>
Signed-off-by: Kay Yan <[email protected]>
Signed-off-by: tu1h <[email protected]>
… start with linux- on Ubuntu (kubernetes-sigs#11296) Signed-off-by: tu1h <[email protected]>
Signed-off-by: serge Hartmann <[email protected]>
kubernetes-sigs#11169) * add the ability to configure extra args to the different cinder-csi-plugin containers * endfor block added to be syntactically correct jinja
) Signed-off-by: tico88612 <[email protected]>
The pull request adding the pre-commit hook config was merged.
f8c42aa
to
499b395
Compare
Keywords which can automatically close issues and at(@) or hashtag(#) mentions are not allowed in commit messages. The list of commits with invalid commit messages:
Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
Gah, I'm bad at rebasing. Let me re-open a new one. |
@Rickkwa: The following test failed, say
Full PR test history. Your PR dashboard. Please help us cut down on flakes by linking to an open issue when you hit one in your PR. Instructions for interacting with me using PR comments are available here. If you have questions or suggestions related to my behavior, please file an issue against the kubernetes-sigs/prow repository. I understand the commands that are listed here. |
What type of PR is this?
/kind bug
What this PR does / why we need it:
When working with a large fleet of nodes, there is inevitably going to be some unreachable nodes. The linked issue describes that when
kubespray-defaults
runs and there exists an unreachable node, then it causes the play to unexpectedly exit early.This is a fix to
fallback_ips.yml
to let it finish the rest of the role when unreachable node(s) exist.Which issue(s) this PR fixes:
Fixes #10993
Special notes for your reviewer:
Local setup (inventory and test playbook):
details
InventoryPlaybook
Showing the original output before applying my PR:
details
After my PR:
details
Also to note, I originally tried making this change to add
ignore_errors: true
:details
But as you can see, while it got past the early exit, it looks like it doesn't save the discovered facts. And so the output is all wrong. That's why I decided to first filter out the unreachable hosts in a separate task before running
setup
.Does this PR introduce a user-facing change?:
None