openshift-ansible
openshift-ansible copied to clipboard
Consider api-int for openshift_node_bootstrap_server variable
Since we can authenticate the cluster using api-int.*
URL, the Ansible task picks the cluster API endpoint in the form of api-int-int
from the kubeconfig
file and throws the below error.
TASK [openshift_node : Fetch bootstrap ignition file locally] **********************************************************************************************************************************
task path: /usr/share/ansible/openshift-ansible/roles/openshift_node/tasks/config.yml:54
...
fatal: [[node.foo.bar.com]: FAILED! => {"attempts": 60, "changed": false, "content": "", "elapsed": 0, "msg": "Status code was -1 and not [200]: Request failed: <urlopen error [Errno -2] Name or service not known>", "path": "/tmp/ansible.LNwxMs/bootstrap.ign", "redirected": false, "status": -1, "url": "https://api-int-int.foo.bar.com:22623/config/worker"}
...
[APPROVALNOTIFIER] This PR is NOT APPROVED
This pull-request has been approved by: kevydotvinu
To complete the pull request process, please assign jstuever after the PR has been reviewed.
You can assign the PR to them by writing /assign @jstuever
in a comment when ready.
The full list of commands accepted by this bot can be found here.
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
/retest
@kevydotvinu: all tests passed!
Full PR test history. Your PR dashboard.
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. I understand the commands that are listed here.
/cc @patrickdillon /uncc
/lgtm
[APPROVALNOTIFIER] This PR is APPROVED
This pull-request has been approved by: barbacbd, kevydotvinu
The full list of commands accepted by this bot can be found here.
The pull request process is described here
- ~~OWNERS~~ [barbacbd]
Approvers can indicate their approval by writing /approve
in a comment
Approvers can cancel approval by writing /approve cancel
in a comment
/retest-required
Remaining retests: 0 against base HEAD ea4fd31937a85db589a0e03a2643a1ae1d48fafb and 2 for PR HEAD 2adef5c555ae5a284ab3fd58a8aa58c72c275341 in total
@kevydotvinu: all tests passed!
Full PR test history. Your PR dashboard.
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. I understand the commands that are listed here.