Upgrading Red Hat OpenShift Container Platform fails when using a custom API server port
Issue
-
Upgrading OCP from version 3.9 to 3.10 or 3.10 to 3.11 via the
upgrade_control_plane.ymlplaybook fails with the following error:FAILED - RETRYING: verify api server (120 retries left).Result was: { "attempts": 1, "changed": false, "cmd": [ "curl", "--silent", "--tlsv1.2", "--cacert", "/etc/origin/master/ca-bundle.crt", "https://master.foo.com:8443/healthz/ready" ], "delta": "0:00:00.012866", "end": "2019-04-12 04:33:34.335878", "failed": true, "invocation": { "module_args": { "_raw_params": "curl --silent --tlsv1.2 --cacert /etc/origin/master/ca-bundle.crt https://master.foo.com:8443/healthz/ready", "_uses_shell": false, "chdir": null, "creates": null, "executable": null, "removes": null, "stdin": null, "warn": false } }, "msg": "non-zero return code", "rc": 7, "retries": 121 - I have configured master API for port 443 but it always tries to connect to port 8443
Environment
- Red Hat OpenShift Container Platform (OCP)
- 3.10
- 3.11
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.