-
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
TASK [kubernetes/preinstall : Hosts | populate inventory into hosts file] failed with error messasge "The task includes an option with an undefined variable. The error was: 'dict object' has no attribute 'address'" #5217
Comments
Any update on this? I face the same issue when I'm trying to install on CentOS 7.5.1804 running in a VirtualBox VM. |
Duplicate of 4750 I guess... |
So in some cases, ansible_default_ipv4 is present but doesn't contains address, as show by adding a debug
After some testing, it seems ansible look at the source address that the host would use to contact 8.8.8.8
As suggested here
If ansible_default_ipv4 is always present, another fix is (not tested)
|
And just read #5394 that explain just what I wrote ... |
Any update on this? I have the same issue.
|
Issues go stale after 90d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Stale issues rot after 30d of inactivity. If this issue is safe to close now please do so with Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
Rotten issues close after 30d of inactivity. Send feedback to sig-testing, kubernetes/test-infra and/or fejta. |
@fejta-bot: Closing this issue. In response to this:
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. |
Environment:
Cloud provider or hardware configuration:
bare metal
OS (
printf "$(uname -srm)\n$(cat /etc/os-release)\n"
):ansible --version
):Kubespray version (commit) (
git rev-parse --short HEAD
):Network plugin used:
calico
Copy of your inventory file:
Command used to invoke ansible:
Output of ansible run:
Anything else do we need to know:
The text was updated successfully, but these errors were encountered: