openshift-ansible icon indicating copy to clipboard operation
openshift-ansible copied to clipboard

Consider api-int for openshift_node_bootstrap_server variable

Open kevydotvinu opened this issue 2 years ago • 3 comments

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"}
...

kevydotvinu avatar Jun 15 '22 22:06 kevydotvinu

[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.

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Jun 15 '22 22:06 openshift-ci[bot]

/retest

jstuever avatar Aug 01 '22 19:08 jstuever

@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.

openshift-ci[bot] avatar Aug 01 '22 21:08 openshift-ci[bot]

/cc @patrickdillon /uncc

jstuever avatar Oct 12 '22 16:10 jstuever

/lgtm

barbacbd avatar Nov 29 '22 14:11 barbacbd

[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

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment Approvers can cancel approval by writing /approve cancel in a comment

openshift-ci[bot] avatar Nov 29 '22 14:11 openshift-ci[bot]

/retest-required

Remaining retests: 0 against base HEAD ea4fd31937a85db589a0e03a2643a1ae1d48fafb and 2 for PR HEAD 2adef5c555ae5a284ab3fd58a8aa58c72c275341 in total

openshift-ci-robot avatar Nov 29 '22 20:11 openshift-ci-robot

@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.

openshift-ci[bot] avatar Nov 29 '22 23:11 openshift-ci[bot]