Bug 1832137
| Summary: | Invalid bootstrap APIServer certificates - Azure | ||
|---|---|---|---|
| Product: | OpenShift Container Platform | Reporter: | OpenShift BugZilla Robot <openshift-bugzilla-robot> |
| Component: | Installer | Assignee: | Abhinav Dahiya <adahiya> |
| Installer sub component: | openshift-installer | QA Contact: | Etienne Simard <esimard> |
| Status: | CLOSED ERRATA | Docs Contact: | |
| Severity: | high | ||
| Priority: | unspecified | CC: | jminter, wking |
| Version: | 4.3.z | ||
| Target Milestone: | --- | ||
| Target Release: | 4.4.z | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
| Fixed In Version: | Doc Type: | If docs needed, set a value | |
| Doc Text: | Story Points: | --- | |
| Clone Of: | Environment: | ||
| Last Closed: | 2020-05-26 16:50:55 UTC | Type: | --- |
| Regression: | --- | Mount Type: | --- |
| Documentation: | --- | CRM: | |
| Verified Versions: | Category: | --- | |
| oVirt Team: | --- | RHEL 7.3 requirements from Atomic Host: | |
| Cloudforms Team: | --- | Target Upstream Version: | |
| Embargoed: | |||
| Bug Depends On: | 1831760 | ||
| Bug Blocks: | 1840238 | ||
|
Description
OpenShift BugZilla Robot
2020-05-06 07:29:59 UTC
Verified with:
./openshift-install version
./openshift-install unreleased-master-2655-g15eac3785998a5bc250c9f72101a4a9cb767e494-dirty
built from commit 15eac3785998a5bc250c9f72101a4a9cb767e494
release image registry.svc.ci.openshift.org/origin/release:4.3
I've downloaded the installer source code and changed both azurerm_lb_probe templates (/data/data/azure/vnet/internal-lb.tf and
/data/data/azure/vnet/public-lb.tf)
with the following configurations:
~~~
resource "azurerm_lb_probe" "internal_lb_probe_api_internal" {
name = "api-internal-probe"
resource_group_name = var.resource_group_name
interval_in_seconds = 10
number_of_probes = 3
loadbalancer_id = azurerm_lb.internal.id
port = 6443
protocol = "HTTPS"
request_path = "/readyz"
}
~~~
~~~
resource "azurerm_lb_probe" "public_lb_probe_api_internal" {
count = var.private ? 0 : 1
name = "api-internal-probe"
resource_group_name = var.resource_group_name
interval_in_seconds = 10
number_of_probes = 3
loadbalancer_id = azurerm_lb.public.id
port = 6443
protocol = "HTTPS"
request_path = "/readyz"
}
~~~
I've compiled the `openshift-installer` binary from the release-4.4 branch after those changes with by running `hack/build.sh`
./openshift-install version
./openshift-install unreleased-master-2655-g15eac3785998a5bc250c9f72101a4a9cb767e494-dirty
built from commit 15eac3785998a5bc250c9f72101a4a9cb767e494
release image registry.svc.ci.openshift.org/origin/release:4.3
After exporting the release image override, I was able to install the cluster (with the https health check).
$ export OPENSHIFT_INSTALL_RELEASE_IMAGE_OVERRIDE="registry.svc.ci.openshift.org/ocp/release:4.4"
$ ./openshift-install create cluster --dir test3
? SSH Public Key /home/qe/.ssh/id_rsa.pub
? Platform azure
INFO Credentials loaded from file "/home/qe/.azure/osServicePrincipal.json"
? Region centralus
? Base Domain openshift.com
? Cluster Name qe
? Pull Secret [? for help] *********************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************************WARNING Found override for release image. Please be warned, this is not advised
INFO Creating infrastructure resources...
INFO Waiting up to 20m0s for the Kubernetes API at https://api.qe.openshift.com:6443...
INFO API v1.17.1 up
INFO Waiting up to 40m0s for bootstrapping to complete...
INFO Destroying the bootstrap resources...
INFO Waiting up to 30m0s for the cluster at https://api.qe.openshift.com:6443 to initialize...
INFO Waiting up to 10m0s for the openshift-console route to be created...
INFO Install complete!
INFO To access the cluster as the system:admin user when using 'oc', run 'export KUBECONFIG=/home/qe/openshift/auth/kubeconfig'
INFO Access the OpenShift web-console here: https://console-openshift-console.apps.qe.openshift.com
INFO Login to the console with user: kubeadmin, password:
No issue with basic health checks on the cluster.
Since the problem described in this bug report should be resolved in a recent advisory, it has been closed with a resolution of ERRATA. For information on the advisory, and where to find the updated files, follow the link below. If the solution does not work for you, open a new bug report. https://access.redhat.com/errata/RHBA-2020:2180 |