No error or at least a meaningful error message, with which someone could actually debug things.
What happened?
Trying to setup a cluster via kURL with weave addon:
...
✔ Kubernetes Master Initialized
Kubernetes control plane is running at https://192.168.15.47:6443
CoreDNS is running at https://192.168.15.47:6443/api/v1/namespaces/kube-system/services/kube-dns:dns/proxy
To further debug and diagnose cluster problems, use 'kubectl cluster-info dump'.
namespace/kurl created
✔ Cluster Initialized
service/registry created
customresourcedefinition.apiextensions.k8s.io/installers.cluster.kurl.sh created
installer.cluster.kurl.sh/knime-hub created
installer.cluster.kurl.sh/knime-hub labeled
configmap/kurl-last-config created
configmap/kurl-current-config created
configmap/kurl-current-config patched
configmap/kurl-cluster-uuid created
⚙ Addon weave 2.8.1-20230417
serviceaccount/weave-net created
role.rbac.authorization.k8s.io/weave-net created
clusterrole.rbac.authorization.k8s.io/weave-net created
rolebinding.rbac.authorization.k8s.io/weave-net created
clusterrolebinding.rbac.authorization.k8s.io/weave-net created
secret/weave-passwd created
daemonset.apps/weave-net created
INFO: 2023/05/08 14:43:38.578455 EVENT AddNamespace {"metadata":{"creationTimestamp":"2023-05-08T14:34:04Z","labels":{"kubernetes.io/metadata.name":"kube-system"},"managedFields":[{"apiVersion":"v1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}},"manager":"kube-apiserver","operation":"Update","time":"2023-05-08T14:34:04Z"}],"name":"kube-system","resourceVersion":"20","uid":"7950431a-54ec-47fb-a8db-0485149c8e37"},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}
INFO: 2023/05/08 14:43:38.593842 creating ipset: &npc.selectorSpec{key:"", podSelector:labels.internalSelector{}, namespaceSelector:labels.Selector(nil), policyTypes:[]npc.policyType(nil), ipsetType:"hash:ip", ipsetName:"weave-iuZcey(5DeXbzgRFs8Szo]+@p", nsName:"kube-system"}
INFO: 2023/05/08 14:43:38.605484 EVENT AddNamespace {"metadata":{"creationTimestamp":"2023-05-08T14:34:07Z","labels":{"kubernetes.io/metadata.name":"kube-public"},"managedFields":[{"apiVersion":"v1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}},"manager":"kube-apiserver","operation":"Update","time":"2023-05-08T14:34:07Z"}],"name":"kube-public","resourceVersion":"51","uid":"c888672f-eae7-4cca-87d4-f4e4a8624025"},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}
INFO: 2023/05/08 14:43:38.609694 creating ipset: &npc.selectorSpec{key:"", podSelector:labels.internalSelector{}, namespaceSelector:labels.Selector(nil), policyTypes:[]npc.policyType(nil), ipsetType:"hash:ip", ipsetName:"weave-4vtqMI+kx/2]jD%_c0S%thO%V", nsName:"kube-public"}
INFO: 2023/05/08 14:43:38.615036 EVENT AddNamespace {"metadata":{"creationTimestamp":"2023-05-08T14:34:07Z","labels":{"kubernetes.io/metadata.name":"kube-node-lease"},"managedFields":[{"apiVersion":"v1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}},"manager":"kube-apiserver","operation":"Update","time":"2023-05-08T14:34:07Z"}],"name":"kube-node-lease","resourceVersion":"56","uid":"727d51ac-350b-4308-900e-ff9cce380c9e"},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}
INFO: 2023/05/08 14:43:39.527241 creating ipset: &npc.selectorSpec{key:"", podSelector:labels.internalSelector{}, namespaceSelector:labels.Selector(nil), policyTypes:[]npc.policyType(nil), ipsetType:"hash:ip", ipsetName:"weave-mF}1zpEo4W6iYroE^=:V3{S6W", nsName:"kube-node-lease"}
INFO: 2023/05/08 14:43:39.533780 EVENT AddNamespace {"metadata":{"creationTimestamp":"2023-05-08T14:34:21Z","labels":{"kubernetes.io/metadata.name":"default"},"managedFields":[{"apiVersion":"v1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}},"manager":"kube-apiserver","operation":"Update","time":"2023-05-08T14:34:21Z"}],"name":"default","resourceVersion":"212","uid":"1e4c5266-16ee-4979-b622-ef8a13c62f2e"},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}
INFO: 2023/05/08 14:43:39.538431 creating ipset: &npc.selectorSpec{key:"", podSelector:labels.internalSelector{}, namespaceSelector:labels.Selector(nil), policyTypes:[]npc.policyType(nil), ipsetType:"hash:ip", ipsetName:"weave-k?Z;25^M}|1s7P3|H9i;*;MhG", nsName:"default"}
INFO: 2023/05/08 14:43:39.543818 EVENT AddNamespace {"metadata":{"annotations":{"kubectl.kubernetes.io/last-applied-configuration":"{\"kind\":\"Namespace\",\"apiVersion\":\"v1\",\"metadata\":{\"name\":\"kurl\",\"creationTimestamp\":null},\"spec\":{},\"status\":{}}\n"},"creationTimestamp":"2023-05-08T14:35:16Z","labels":{"kubernetes.io/metadata.name":"kurl"},"managedFields":[{"apiVersion":"v1","fieldsType":"FieldsV1","fieldsV1":{"f:metadata":{"f:annotations":{".":{},"f:kubectl.kubernetes.io/last-applied-configuration":{}},"f:labels":{".":{},"f:kubernetes.io/metadata.name":{}}}},"manager":"kubectl-create","operation":"Update","time":"2023-05-08T14:35:16Z"}],"name":"kurl","resourceVersion":"474","uid":"be33c6ef-9132-48a1-9356-c0fa94db8a26"},"spec":{"finalizers":["kubernetes"]},"status":{"phase":"Active"}}
INFO: 2023/05/08 14:43:39.548911 creating ipset: &npc.selectorSpec{key:"", podSelector:labels.internalSelector{}, namespaceSelector:labels.Selector(nil), policyTypes:[]npc.policyType(nil), ipsetType:"hash:ip", ipsetName:"weave-?.dmx4aCxh(1QhXV[}Q|xXB=q", nsName:"kurl"}
FATA: 2023/05/08 14:42:27.527533 Unable to fetch ConfigMap kube-system/weave-net to infer unique cluster ID
The weave addon failed to deploy successfully.
How to reproduce it?
You would need to use the kURL installer I was given. I cannot make it smaller.
Anything else we need to know?
Installed via kURL
Versions:
$ weave version
Command 'weave' not found, but can be installed with:
sudo apt install texlive-binaries
$ docker version
Command 'docker' not found, but can be installed with:
sudo apt install docker.io # version 20.10.21-0ubuntu1~22.04.3, or
sudo apt install podman-docker # version 3.4.4+ds1-1ubuntu1
$ uname -a
5.15.0-56-generic #62-Ubuntu SMP Tue Nov 22 19:54:14 UTC 2022 x86_64 x86_64 x86_64 GNU/Linux
$ kubectl version
Client Version: version.Info{Major:"1", Minor:"23", GitVersion:"v1.23.17", GitCommit:"953be8927218ec8067e1af2641e540238ffd7576", GitTreeState:"clean", BuildDate:"2023-02-22T13:34:27Z", GoVersion:"go1.19.6", Compiler:"gc", Platform:"linux/amd64"}
What you expected to happen?
No error or at least a meaningful error message, with which someone could actually debug things.
What happened?
Trying to setup a cluster via kURL with weave addon:
How to reproduce it?
You would need to use the kURL installer I was given. I cannot make it smaller.
Anything else we need to know?
Installed via kURL
Versions: