-
Notifications
You must be signed in to change notification settings - Fork 6.7k
[Issue-12242]-Verify whether main_access_ip is present inside the hostvars dictionary when using the --limit option #12248
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
base: master
Are you sure you want to change the base?
Conversation
[APPROVALNOTIFIER] This PR is NOT APPROVED This pull-request has been approved by: kartsank 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 |
Hi @kartsank. 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-sigs/prow repository. |
/lgtm |
/ok-to-test |
This is not the correct fix, this simply bypass the problem. |
@VannTen Do you have it working with --limit ? I m not. so maybe there are some command / configuration with ansible ? In all cases, it's the only blocking point for using --limit, |
Don't disagree that we need to scrap the whole etc/hosts stuff if we can, but in that case there is no reason to patch it up, better to cleanly remove it than still doing it but with missing stuff.
I haven't tested limit recently, it's the start of the busy period here.
|
Just back from vacation. Thanks for the comments. This is not new fix I just add this if check from previous version of this file. see the file roles/kubernetes/preinstall/tasks/0090-etchosts.yml on line 6 on PR.
Agree if we run facts.yml it will gather the vars or I can use skip tags ( --skip-tags=etchosts) to skip the etchosts update. but if we are running ansible on docker container. I can't keep facts cache on my next execution. |
…ionary
What type of PR is this?
/kind bug
What this PR does / why we need it:
Verify whether main_access_ip is present inside the hostvars dictionary while creating host list from inventory
Which issue(s) this PR fixes:
Fixes #12242
Special notes for your reviewer:
NONE
Does this PR introduce a user-facing change?:
NONE