Closed MaxRink closed 5 years ago
/assign
@MaxRink so clusterctl
assumes it can reach the provisioned clusters remotely via the apiserver port (6443). Maybe something in your setup that is locking down access to that port?
This is what i initially assumed, too. But if i shut down the kube-apiserver (which is listening on port 6443) i can just netcat between my boostrapping server/kind running on the server and the created node. So port 6443 is not restricted. Im running on an airgapped infrastructure with an http_proxy as the only way out, so maybe i misconfigured something there.
Edit: was my mishap, bodged the noporxy hosts given to the kind container
Thanks @MaxRink!
/close
@andrewsykim: Closing this issue.
/kind bug
What steps did you take and what happened: Clusterctl fails to boostrap the management cluster with the following error:
Clusterctl output
```text clusterctl` create cluster \ --bootstrap-type kind \ --bootstrap-flags name=management-cluster \ --cluster ./out/management-cluster/cluster.yaml \ --machines ./out/management-cluster/controlplane.yaml \ --provider-components ./out/management-cluster/provider-components.yaml \ --addon-components ./out/management-cluster/addons.yaml \ --kubeconfig-out ./out/management-cluster/kubeconfig -v 6 I0923 14:29:57.606937 13789 createbootstrapcluster.go:27] Preparing bootstrap cluster I0923 14:29:57.606981 13789 kind.go:70] Running: kind [create cluster --name=management-cluster] I0923 14:30:39.855273 13789 kind.go:73] Ran: kind [create cluster --name=management-cluster] Output: Creating cluster "management-cluster" ... âĸ Ensuring node image (kindest/node:v1.15.3) đŧ ... â Ensuring node image (kindest/node:v1.15.3) đŧ âĸ Preparing nodes đĻ ... â Preparing nodes đĻ âĸ Creating kubeadm config đ ... â Creating kubeadm config đ âĸ Starting control-plane đšī¸ ... â Starting control-plane đšī¸ âĸ Installing CNI đ ... â Installing CNI đ âĸ Installing StorageClass đž ... â Installing StorageClass đž Cluster creation complete. You can now use the cluster with: export KUBECONFIG="$(kind get kubeconfig-path --name="management-cluster")" kubectl cluster-info I0923 14:30:39.855702 13789 kind.go:70] Running: kind [get kubeconfig-path --name=management-cluster] I0923 14:30:39.882446 13789 kind.go:73] Ran: kind [get kubeconfig-path --name=management-cluster] Output: /root/.kube/kind-config-management-cluster I0923 14:30:39.883763 13789 loader.go:359] Config loaded from file /tmp/488190914 I0923 14:30:39.893922 13789 round_trippers.go:438] GET https://127.0.0.1:44455/api?timeout=32s 200 OK in 9 milliseconds I0923 14:30:39.894772 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis?timeout=32s 200 OK in 0 milliseconds I0923 14:30:39.900494 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apiregistration.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.900528 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/node.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.900547 13789 round_trippers.go:438] GET https://127.0.0.1:44455/api/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.900558 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apiregistration.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901018 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/networking.k8s.io/v1beta1?timeout=32s 200 OK in 4 milliseconds I0923 14:30:39.901053 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/policy/v1beta1?timeout=32s 200 OK in 4 milliseconds I0923 14:30:39.901065 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authorization.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901082 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apps/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901098 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/events.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901281 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/networking.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901337 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/rbac.authorization.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901353 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authorization.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901432 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authentication.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901437 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apiextensions.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901484 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/extensions/v1beta1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:39.901505 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/batch/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901541 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/scheduling.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901545 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/rbac.authorization.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901585 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/autoscaling/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901599 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apps/v1beta2?timeout=32s 200 OK in 6 milliseconds I0923 14:30:39.901632 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/admissionregistration.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901648 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/batch/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901659 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authentication.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901670 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/autoscaling/v2beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901739 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apps/v1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:39.901745 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/storage.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901752 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/storage.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901811 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/autoscaling/v2beta2?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901819 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/coordination.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901845 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/certificates.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901884 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/coordination.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.901899 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/scheduling.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:39.902567 13789 clusterdeployer.go:83] Applying Cluster API stack to bootstrap cluster I0923 14:30:39.902580 13789 applyclusterapicomponents.go:26] Applying Cluster API Provider Components I0923 14:30:39.902586 13789 clusterclient.go:777] Waiting for kubectl apply... I0923 14:30:40.691472 13789 clusterclient.go:807] Waiting for Cluster resources to be listable... I0923 14:30:40.692529 13789 round_trippers.go:438] GET https://127.0.0.1:44455/api?timeout=32s 200 OK in 0 milliseconds I0923 14:30:40.693185 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis?timeout=32s 200 OK in 0 milliseconds I0923 14:30:40.701168 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/infrastructure.cluster.x-k8s.io/v1alpha2?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701221 13789 round_trippers.go:438] GET https://127.0.0.1:44455/api/v1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701352 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apps/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701462 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/autoscaling/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701480 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apps/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701565 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authorization.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701578 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authorization.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701621 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apps/v1beta2?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701638 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apiregistration.k8s.io/v1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701689 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apiregistration.k8s.io/v1beta1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701705 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/extensions/v1beta1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701738 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/rbac.authorization.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701800 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/rbac.authorization.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701817 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/networking.k8s.io/v1beta1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701860 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/autoscaling/v2beta1?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701468 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/events.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701474 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authentication.k8s.io/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.701899 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/autoscaling/v2beta2?timeout=32s 200 OK in 6 milliseconds I0923 14:30:40.701909 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/authentication.k8s.io/v1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.702707 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/admissionregistration.k8s.io/v1beta1?timeout=32s 200 OK in 1 milliseconds I0923 14:30:40.702978 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/storage.k8s.io/v1?timeout=32s 200 OK in 2 milliseconds I0923 14:30:40.703187 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/node.k8s.io/v1beta1?timeout=32s 200 OK in 2 milliseconds I0923 14:30:40.703434 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/bootstrap.cluster.x-k8s.io/v1alpha2?timeout=32s 200 OK in 2 milliseconds I0923 14:30:40.703650 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/networking.k8s.io/v1?timeout=32s 200 OK in 2 milliseconds I0923 14:30:40.703892 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2?timeout=32s 200 OK in 2 milliseconds I0923 14:30:40.704102 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/policy/v1beta1?timeout=32s 200 OK in 3 milliseconds I0923 14:30:40.704336 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/scheduling.k8s.io/v1?timeout=32s 200 OK in 3 milliseconds I0923 14:30:40.704577 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/coordination.k8s.io/v1?timeout=32s 200 OK in 3 milliseconds I0923 14:30:40.704817 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/storage.k8s.io/v1beta1?timeout=32s 200 OK in 3 milliseconds I0923 14:30:40.705020 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/certificates.k8s.io/v1beta1?timeout=32s 200 OK in 4 milliseconds I0923 14:30:40.705257 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/coordination.k8s.io/v1beta1?timeout=32s 200 OK in 4 milliseconds I0923 14:30:40.705476 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/batch/v1?timeout=32s 200 OK in 4 milliseconds I0923 14:30:40.705713 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/scheduling.k8s.io/v1beta1?timeout=32s 200 OK in 4 milliseconds I0923 14:30:40.705920 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/apiextensions.k8s.io/v1beta1?timeout=32s 200 OK in 4 milliseconds I0923 14:30:40.706232 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/batch/v1beta1?timeout=32s 200 OK in 5 milliseconds I0923 14:30:40.739015 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/clusters 200 OK in 29 milliseconds I0923 14:30:40.740062 13789 clusterdeployer.go:88] Provisioning target cluster via bootstrap cluster I0923 14:30:40.740628 13789 loader.go:359] Config loaded from file /tmp/488190914 I0923 14:30:40.746837 13789 round_trippers.go:438] GET https://127.0.0.1:44455/api/v1/namespaces/default 200 OK in 4 milliseconds I0923 14:30:40.747407 13789 applycluster.go:38] Creating Cluster referenced object "infrastructure.cluster.x-k8s.io/v1alpha2, Kind=VSphereCluster" with name "management-cluster" in namespace "default" I0923 14:30:40.761698 13789 round_trippers.go:438] POST https://127.0.0.1:44455/apis/infrastructure.cluster.x-k8s.io/v1alpha2/namespaces/default/vsphereclusters 201 Created in 14 milliseconds I0923 14:30:40.761811 13789 applycluster.go:44] Creating cluster object management-cluster in namespace "default" I0923 14:30:40.765106 13789 round_trippers.go:438] POST https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/clusters 201 Created in 2 milliseconds I0923 14:30:40.765767 13789 clusterdeployer.go:101] Creating control plane machine "management-cluster-controlplane-0" in namespace "default" I0923 14:30:40.766257 13789 loader.go:359] Config loaded from file /tmp/488190914 I0923 14:30:40.770507 13789 round_trippers.go:438] GET https://127.0.0.1:44455/api/v1/namespaces/default 200 OK in 3 milliseconds I0923 14:30:40.770598 13789 applymachines.go:38] Creating Machine referenced object "infrastructure.cluster.x-k8s.io/v1alpha2, Kind=VSphereMachine" with name "management-cluster-controlplane-0" in namespace "default" I0923 14:30:40.782467 13789 round_trippers.go:438] POST https://127.0.0.1:44455/apis/infrastructure.cluster.x-k8s.io/v1alpha2/namespaces/default/vspheremachines 201 Created in 11 milliseconds I0923 14:30:40.782553 13789 applymachines.go:38] Creating Machine referenced object "bootstrap.cluster.x-k8s.io/v1alpha2, Kind=KubeadmConfig" with name "management-cluster-controlplane-0" in namespace "default" I0923 14:30:40.823488 13789 round_trippers.go:438] POST https://127.0.0.1:44455/apis/bootstrap.cluster.x-k8s.io/v1alpha2/namespaces/default/kubeadmconfigs 201 Created in 40 milliseconds I0923 14:30:40.823689 13789 applymachines.go:44] Creating machines in namespace "default" I0923 14:30:40.876933 13789 round_trippers.go:438] POST https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines 201 Created in 52 milliseconds I0923 14:30:40.878029 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:30:40.880887 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:30:50.881119 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:30:50.882759 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 1 milliseconds I0923 14:31:00.881104 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:31:00.883396 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:31:10.881137 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:31:10.883097 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 1 milliseconds I0923 14:31:20.881104 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:31:20.883022 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 1 milliseconds I0923 14:31:30.881124 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:31:30.882873 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 1 milliseconds I0923 14:31:40.881104 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:31:40.883254 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:31:50.881109 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:31:50.883442 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:32:00.881102 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:32:00.884128 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:32:10.881137 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:32:10.883307 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:32:20.881114 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:32:20.883590 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:32:30.881118 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:32:30.883847 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:32:40.881340 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:32:40.884559 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 3 milliseconds I0923 14:32:50.881114 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:32:50.889281 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 8 milliseconds I0923 14:33:00.881109 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:33:00.883858 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:33:10.881110 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:33:10.883730 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:33:20.881109 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:33:20.884568 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 3 milliseconds I0923 14:33:30.881112 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:33:30.883947 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:33:40.881109 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:33:40.883986 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:33:50.881105 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:33:50.883824 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:34:00.881113 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:34:00.883761 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:34:10.881116 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:34:10.883614 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:34:20.881112 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:34:20.883748 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:34:30.881112 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:34:30.883625 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:34:40.881115 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:34:40.883877 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:34:50.881104 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:34:50.883583 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:35:00.881112 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:35:00.883734 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:35:10.881118 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:35:10.883693 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:35:20.881113 13789 clusterclient.go:828] Waiting for Machine management-cluster-controlplane-0 to become ready... I0923 14:35:20.883751 13789 round_trippers.go:438] GET https://127.0.0.1:44455/apis/cluster.x-k8s.io/v1alpha2/namespaces/default/machines/management-cluster-controlplane-0 200 OK in 2 milliseconds I0923 14:35:20.884355 13789 clusterdeployer.go:110] Creating target cluster I0923 14:35:20.884367 13789 getkubeconfig.go:40] Getting target cluster kubeconfig. I0923 14:35:20.884404 13789 getkubeconfig.go:65] Waiting for kubeconfig from Secret "management-cluster-kubeconfig" in namespace "default" to become available... I0923 14:35:20.885949 13789 round_trippers.go:438] GET https://127.0.0.1:44455/api/v1/namespaces/default/secrets/management-cluster-kubeconfig 200 OK in 1 milliseconds I0923 14:35:20.887713 13789 loader.go:359] Config loaded from file /tmp/851628089 I0923 14:35:52.888301 13789 round_trippers.go:438] GET https://10.92.159.240:6443/api?timeout=32s in 32000 milliseconds I0923 14:35:52.888377 13789 clusterclient.go:237] Waiting to acquire client... I0923 14:35:52.888541 13789 createbootstrapcluster.go:36] Cleaning up bootstrap cluster. I0923 14:35:52.888558 13789 kind.go:70] Running: kind [delete cluster --name=management-cluster] I0923 14:35:53.767089 13789 kind.go:73] Ran: kind [delete cluster --name=management-cluster] Output: Deleting cluster "management-cluster" ... $KUBECONFIG is still set to use /root/.kube/kind-config-management-cluster even though that file has been deleted, remember to unset it F0923 14:35:53.767133 13789 create_cluster.go:59] unable to create target cluster client: failed to acquire new client: Get https://10.92.159.240:6443/api?timeout=32s: net/http: request canceled while waiting for connection (Client.Timeout exceeded while awaiting headers) ```The node created is accessible via ssh after clusterctl failed. If i try to access the API i get this error:
If i ssh onto the node and use the config file located under /etc/kubernetes/admin.conf i can access the api locally and also apply a cni.
The Node is still not accessible from the outside.
The Node and the server used for Bootstrapping are within the same L2-Network and no Firewall on the boostraping server is configured speak to the node What did you expect to happen: Clusterctl suceeds and the API is publically accessible
Further Logs
```text cat /var/log/cloud-init.log 2019-09-23 13:43:17,441 - util.py[DEBUG]: Cloud-init v. 18.3-52-gc5f78957-1~bddeb~18.04.1 running 'init-local' at Mon, 23 Sep 2019 13:43:17 +0000. Up 7.43 seconds. 2019-09-23 13:43:17,441 - main.py[DEBUG]: No kernel command line url found. 2019-09-23 13:43:17,441 - main.py[DEBUG]: Closing stdin. 2019-09-23 13:43:17,443 - util.py[DEBUG]: Writing to /var/log/cloud-init.log - ab: [644] 0 bytes 2019-09-23 13:43:17,444 - util.py[DEBUG]: Changing the ownership of /var/log/cloud-init.log to 102:4 2019-09-23 13:43:17,444 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance/boot-finished 2019-09-23 13:43:17,444 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/data/no-net 2019-09-23 13:43:17,445 - handlers.py[DEBUG]: start: init-local/check-cache: attempting to read from cache [check] 2019-09-23 13:43:17,445 - util.py[DEBUG]: Reading from /var/lib/cloud/instance/obj.pkl (quiet=False) 2019-09-23 13:43:17,445 - stages.py[DEBUG]: no cache found 2019-09-23 13:43:17,445 - handlers.py[DEBUG]: finish: init-local/check-cache: SUCCESS: no cache found 2019-09-23 13:43:17,445 - util.py[DEBUG]: Attempting to remove /var/lib/cloud/instance 2019-09-23 13:43:17,455 - stages.py[DEBUG]: Using distro classAnything else you would like to add:
Environment:
kubectl version
): 1.15.3/etc/os-release
): Ubuntu 18.04 (template provided by CAPV)