diff --git a/data/data/openstack/lb/main.tf b/data/data/openstack/lb/main.tf index be2ad425444..88d1b766ea6 100644 --- a/data/data/openstack/lb/main.tf +++ b/data/data/openstack/lb/main.tf @@ -79,14 +79,29 @@ data "ignition_file" "corefile" { log errors reload 10s + + file /etc/coredns/db.${var.cluster_domain} ${var.cluster_name}-api.${var.cluster_domain} { + } + file /etc/coredns/db.${var.cluster_domain} _etcd-server-ssl._tcp.${var.cluster_name}.${var.cluster_domain} { } -${replace(join("\n", formatlist("file /etc/coredns/db.${var.cluster_domain} ${var.cluster_name}-etcd-%s.${var.cluster_domain} {\nupstream /etc/resolv.conf\n}\n", var.master_port_names)), "master-port-", "")} +${replace(join("\n", formatlist(" file /etc/coredns/db.${var.cluster_domain} ${var.cluster_name}-etcd-%s.${var.cluster_domain} {\n upstream /etc/resolv.conf\n }\n", var.master_port_names)), "master-port-", "")} forward . /etc/resolv.conf { } } + +${var.cluster_name}.${var.cluster_domain} { + log + errors + reload 10s + + file /etc/coredns/db.${var.cluster_domain} { + upstream /etc/resolv.conf + } +} + EOF } } @@ -99,7 +114,7 @@ data "ignition_file" "coredb" { content { content = <-api. +10.19.115.117 console-openshift-console.apps.. ``` -If you do expose the cluster, the installer should make it far enough along to -bring up the HA control plane and tear down the bootstrap node. It will then -hang waiting for the console to come up. +If you do expose the cluster, the installer should complete successfully. + +It will print the console URL, username and password and you should be able to go there and log in. ``` -DEBUG Still waiting for the console route: the server is currently unable to -handle the request (get routes.route.openshift.io) -... -FATAL waiting for openshift-console URL: context deadline exceeded +INFO Install complete! +INFO Run 'export KUBECONFIG=/home/thomas/go/src/github.com/openshift/installer/ostest/auth/kubeconfig' to manage the cluster with 'oc', the OpenShift CLI. +INFO The cluster is ready when 'oc login -u kubeadmin -p siDhh-STMU3-hWDPW-jM4co' succeeds (wait a few minutes). +INFO Access the OpenShift web-console here: https://console-openshift-console.apps.ostest.shiftstack.com +INFO Login to the console with user: kubeadmin, password: siDhh-STMU3-hWDPW-jM4co ``` #### Create the openstack-credentials Secret