sustainable-computing-io / kepler-operator

Kepler Operator
Apache License 2.0
25 stars 26 forks source link

`make cluster-up` fails #260

Open husky-parul opened 1 year ago

husky-parul commented 1 year ago

Steps to reproduce

[ $(uname -m) = x86_64 ] && curl -Lo ./kind https://kind.sigs.k8s.io/dl/v0.20.0/kind-linux-amd64
chmod +x ./kind
sudo mv ./kind /usr/local/bin/kind
kind version
kind v0.20.0 go1.20.4 linux/amd64

make cluster-up output.txt

vprashar2929 commented 1 year ago

Are you using podman or docker?

husky-parul commented 1 year ago

podman

sthaha commented 1 year ago

@husky-parul does kind create cluster work for you?

From the logs, it seems not :(

I0929 11:18:57.279156     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 3 milliseconds
I0929 11:18:57.778875     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 3 milliseconds
I0929 11:18:58.279112     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 3 milliseconds
I0929 11:18:58.787997     168 round_trippers.go:553] GET https://kind-control-plane:6443/api/v1/nodes/kind-worker?timeout=10s 404 Not Found in 11 millisecond

The other anomaly that caught my eye was that, although you mentioned podman, the CTR_CMD is docker

        Configuration
cluster provider   : kind
kubeconfig file    : /home/parsingh/.kube/config

container runtime  : docker
registry port      : 5001

I also feel we should move this to https://github.com/sustainable-computing-io/local-dev-cluster

vprashar2929 commented 1 year ago

Found somewhat similar issue with creating kind cluster using podman

husky-parul commented 1 year ago

@sthaha kind create cluster works. I ended up creating the cluster using these steps

husky-parul commented 1 year ago

Found somewhat similar issue with creating kind cluster using podman

@vprashar2929 @sthaha when I followed the steps in the docs for Local cluster setup it worked with podman

podman ps
CONTAINER ID  IMAGE                                                                                           COMMAND     CREATED     STATUS      PORTS                      NAMES
e2b5b620c0a7  docker.io/kindest/node@sha256:3966ac761ae0136263ffdb6cfd4db23ef8a83cba8a463690e98317add2c9ba72              6 days ago  Up 6 days   127.0.0.1:41873->6443/tcp  kind-control-plane

docker ps
bash: docker: command not found...
Packages providing this file are:
'moby-engine'
'podman-docker'