You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Mar 31, 2023. It is now read-only.
When attempting to create a cluster on Centos 7 hosts that were previously created; the installation fails on this URL: ERRO[2022-11-03T15:23:21-07:00] Failed resource="install:cni" Get "https://cloud.weave.works/k8s/net?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjE1IiwgR2l0Q29tbWl0OiI3M2RkNWM4NDA2NjJiYjA2NmExNDZkMDg3MTIxNjMzMzE4MWY0YjY0IiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMS0wMS0xM1QxMzoyMjo0MVoiLCBHb1ZlcnNpb246ImdvMS4xMy4xNSIsIENvbXBpbGVyOiJnYyIsIFBsYXRmb3JtOiJsaW51eC9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4xNSIsIEdpdENvbW1pdDoiNzNkZDVjODQwNjYyYmIwNjZhMTQ2ZDA4NzEyMTYzMzMxODFmNGI2NCIsIEdpdFRyZWVTdGF0ZToiY2xlYW4iLCBCdWlsZERhdGU6IjIwMjEtMDEtMTNUMTM6MTQ6MDVaIiwgR29WZXJzaW9uOiJnbzEuMTMuMTUiLCBDb21waWxlcjoiZ2MiLCBQbGF0Zm9ybToibGludXgvYW1kNjQifQo=&env.IPALLOC_RANGE=192.168.0.0/16": dial tcp: lookup cloud.weave.works on 10.109.180.1:53: no such host
This is using
wksctl version
0.10.2
It seems to be trying to reach out to check to validate the internal IP range of the cluster. The internal range of the cluster
came from the default values in the example files that were used as a basis for building the cluster.
I had to disable the gpg_repo_check to get things to move past the base component installation.
When attempting to create a cluster on Centos 7 hosts that were previously created; the installation fails on this URL:
ERRO[2022-11-03T15:23:21-07:00] Failed resource="install:cni" Get "https://cloud.weave.works/k8s/net?k8s-version=Q2xpZW50IFZlcnNpb246IHZlcnNpb24uSW5mb3tNYWpvcjoiMSIsIE1pbm9yOiIxOCIsIEdpdFZlcnNpb246InYxLjE4LjE1IiwgR2l0Q29tbWl0OiI3M2RkNWM4NDA2NjJiYjA2NmExNDZkMDg3MTIxNjMzMzE4MWY0YjY0IiwgR2l0VHJlZVN0YXRlOiJjbGVhbiIsIEJ1aWxkRGF0ZToiMjAyMS0wMS0xM1QxMzoyMjo0MVoiLCBHb1ZlcnNpb246ImdvMS4xMy4xNSIsIENvbXBpbGVyOiJnYyIsIFBsYXRmb3JtOiJsaW51eC9hbWQ2NCJ9ClNlcnZlciBWZXJzaW9uOiB2ZXJzaW9uLkluZm97TWFqb3I6IjEiLCBNaW5vcjoiMTgiLCBHaXRWZXJzaW9uOiJ2MS4xOC4xNSIsIEdpdENvbW1pdDoiNzNkZDVjODQwNjYyYmIwNjZhMTQ2ZDA4NzEyMTYzMzMxODFmNGI2NCIsIEdpdFRyZWVTdGF0ZToiY2xlYW4iLCBCdWlsZERhdGU6IjIwMjEtMDEtMTNUMTM6MTQ6MDVaIiwgR29WZXJzaW9uOiJnbzEuMTMuMTUiLCBDb21waWxlcjoiZ2MiLCBQbGF0Zm9ybToibGludXgvYW1kNjQifQo=&env.IPALLOC_RANGE=192.168.0.0/16": dial tcp: lookup cloud.weave.works on 10.109.180.1:53: no such host
This is using
wksctl version
0.10.2
It seems to be trying to reach out to check to validate the internal IP range of the cluster. The internal range of the cluster
came from the default values in the example files that were used as a basis for building the cluster.
I had to disable the gpg_repo_check to get things to move past the base component installation.
`cluster.yaml
kind: Cluster
metadata:
name: example
spec:
clusterNetwork:
pods:
cidrBlocks:
- 192.168.0.0/16
services:
cidrBlocks:
- 10.96.0.0/12
infrastructureRef:
apiVersion: cluster.weave.works/v1alpha3
kind: ExistingInfraCluster
name: example
apiVersion: cluster.weave.works/v1alpha3
kind: ExistingInfraCluster
metadata:
name: example-provider
spec:
user: mdc
controlPlaneMachineCount: "1"
workerMachineCount: "1"
cri:
kind: docker
package: docker-ce
version: 20.10.11
kubernetesVersion: 1.18.15
os:
files:
- destination: /etc/yum.repos.d/kubernetes.repo
source:
configmap: repo
contents: |
[kubernetes]
name=Kubernetes
baseurl=https://packages.cloud.google.com/yum/repos/kubernetes-el7-x86_64
enabled=1
gpgcheck=1
repo_gpgcheck=0
gpgkey=https://packages.cloud.google.com/yum/doc/yum-key.gpg https://packages.cloud.google.com/yum/doc/rpm-package-key.gpg
exclude=kube*
key: kubernetes.repo
- destination: /etc/yum.repos.d/docker-ce.repo
source:
configmap: repo
contents: |
[docker-ce-stable]
name=Docker CE Stable - $basearch
baseurl=https://download.docker.com/linux/centos/7/\$basearch/stable
enabled=1
gpgcheck=1
gpgkey=https://download.docker.com/linux/centos/gpg
`
machines.yaml:
`apiVersion: cluster.x-k8s.io/v1alpha3
kind: Machine
metadata:
labels:
set: master
name: master-1
spec:
clusterName: example
bootstrap: {}
version: 1.18.15
infrastructureRef:
apiVersion: cluster.weave.works/v1alpha3
kind: ExistingInfraMachine
name: master-1
apiVersion: cluster.weave.works/v1alpha3
kind: ExistingInfraMachine
metadata:
name: master-1
spec:
private:
address: 10.109.181.185
port: 22
public:
address: 10.109.181.185
port: 22
apiVersion: cluster.x-k8s.io/v1alpha3
kind: Machine
metadata:
labels:
set: worker
name: worker-1
spec:
clusterName: example
bootstrap: {}
version: 1.18.15
infrastructureRef:
apiVersion: cluster.weave.works/v1alpha3
kind: ExistingInfraMachine
name: worker-1
apiVersion: cluster.weave.works/v1alpha3
kind: ExistingInfraMachine
metadata:
name: worker-1
spec:
private:
address: 10.109.181.169
port: 22
public:
address: 10.109.181.169
port: 22
`
The text was updated successfully, but these errors were encountered: