Starting environment clean up...
Starting cluster clean up...
Cluster space clean up has been completed
Starting context clean up...
Deleting cluster1 context...
deleted context cluster1 from /Users/bryan/.kube/config
Deleting cluster2 context...
deleted context cluster2 from /Users/bryan/.kube/config
Deleting kind-kubeflex context...
deleted context kind-kubeflex from /Users/bryan/.kube/config
Context space clean up completed
Starting the process to install KubeStellar core: kind-kubeflex...
Creating cluster cluster1...
Creating cluster cluster2...
cluster1 creation and context setup complete
cluster2 creation and context setup complete
Creating KubeFlex cluster with SSL Passthrough
Creating "kubeflex" kind cluster with SSL passthrougn and 9443 port mapping...
ERROR: failed to list clusters: command "docker ps -a --filter label=io.x-k8s.kind.cluster --format '{{.Label "io.x-k8s.kind.cluster"}}'" failed with error: exit status 1
Command Output: Cannot connect to the Docker daemon at unix:///Users/bryan/.docker/run/docker.sock. Is the docker daemon running?
ERROR: failed to create cluster: failed to list nodes: command "docker ps -a --filter label=io.x-k8s.kind.cluster=kubeflex --format '{{.Names}}'" failed with error: exit status 1
Command Output: Cannot connect to the Docker daemon at unix:///Users/bryan/.docker/run/docker.sock. Is the docker daemon running?
Installing an nginx ingress...
error: error validating "https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml": error validating data: failed to download openapi: Get "https://its1.localtest.me:9443/openapi/v2?timeout=32s": dial tcp [::1]:9443: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false
Pathcing nginx ingress to enable SSL passthrough...
E1029 21:18:35.261759 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused"
E1029 21:18:35.264111 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused"
E1029 21:18:35.266298 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused"
E1029 21:18:35.268440 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused"
E1029 21:18:35.270549 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused"
The connection to the server its1.localtest.me:9443 was refused - did you specify the right host or port?
Waiting for nginx ingress with SSL passthrough to be ready...
Expected Behavior
It just stays waiting for nginx to respond until docker app is open.
Describe the bug
Running the getting started script, found that if docker was not open the script would not run.
Steps To Reproduce
bryan@Bryans-MacBook-Pro ~ % bash <(curl -s https://raw.githubusercontent.com/clubanderson/kubestellar/refs/heads/main/scripts/create-kubestellar-demo-env.sh) KubeStellar Version: 0.25.0-rc.1 Checking that pre-req softwares are installed... Checking pre-requisites for KubeStellar: ✔ KubeFlex version: Kubeflex version: v0.7.1.25d62b6 2024-10-24T02:52:51Z path: /opt/homebrew/bin/kflex ✔ OCM CLI version: client version :v0.9.0-0-g56e1fc8 path: /usr/local/bin/clusteradm ✔ Helm version: version.BuildInfo{Version:"v3.16.1", GitCommit:"5a5449dc42be07001fd5771d56429132984ab3ab", GitTreeState:"dirty", GoVersion:"go1.23.1"} path: /opt/homebrew/bin/helm ✔ kubectl version: path: /opt/homebrew/bin/kubectl ✔ Docker version: Docker version 27.2.0, build 3ab4256958 path: /opt/homebrew/bin/docker ✔ Kind version: kind v0.24.0 go1.22.6 darwin/arm64 path: /opt/homebrew/bin/kind
Starting environment clean up... Starting cluster clean up... Cluster space clean up has been completed
Starting context clean up... Deleting cluster1 context... deleted context cluster1 from /Users/bryan/.kube/config Deleting cluster2 context... deleted context cluster2 from /Users/bryan/.kube/config Deleting kind-kubeflex context... deleted context kind-kubeflex from /Users/bryan/.kube/config Context space clean up completed
Starting the process to install KubeStellar core: kind-kubeflex... Creating cluster cluster1... Creating cluster cluster2... cluster1 creation and context setup complete cluster2 creation and context setup complete Creating KubeFlex cluster with SSL Passthrough Creating "kubeflex" kind cluster with SSL passthrougn and 9443 port mapping... ERROR: failed to list clusters: command "docker ps -a --filter label=io.x-k8s.kind.cluster --format '{{.Label "io.x-k8s.kind.cluster"}}'" failed with error: exit status 1 Command Output: Cannot connect to the Docker daemon at unix:///Users/bryan/.docker/run/docker.sock. Is the docker daemon running? ERROR: failed to create cluster: failed to list nodes: command "docker ps -a --filter label=io.x-k8s.kind.cluster=kubeflex --format '{{.Names}}'" failed with error: exit status 1 Command Output: Cannot connect to the Docker daemon at unix:///Users/bryan/.docker/run/docker.sock. Is the docker daemon running? Installing an nginx ingress... error: error validating "https://raw.githubusercontent.com/kubernetes/ingress-nginx/main/deploy/static/provider/kind/deploy.yaml": error validating data: failed to download openapi: Get "https://its1.localtest.me:9443/openapi/v2?timeout=32s": dial tcp [::1]:9443: connect: connection refused; if you choose to ignore these errors, turn validation off with --validate=false Pathcing nginx ingress to enable SSL passthrough... E1029 21:18:35.261759 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused" E1029 21:18:35.264111 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused" E1029 21:18:35.266298 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused" E1029 21:18:35.268440 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused" E1029 21:18:35.270549 12426 memcache.go:265] "Unhandled Error" err="couldn't get current server API group list: Get \"https://its1.localtest.me:9443/api?timeout=32s\": dial tcp [::1]:9443: connect: connection refused" The connection to the server its1.localtest.me:9443 was refused - did you specify the right host or port? Waiting for nginx ingress with SSL passthrough to be ready...
Expected Behavior
It just stays waiting for nginx to respond until docker app is open.
Additional Context
No response