ceph / ceph-helm

Curated applications for Kubernetes
Apache License 2.0
108 stars 36 forks source link

Secret not found for ceph helm #83

Open Jimmol-Singh opened 4 years ago

Jimmol-Singh commented 4 years ago

Describe the bug A clear and concise description of what the bug is.

Secret not found

Version of Helm and Kubernetes: k8s: v1.15.7 Helm: v2.16.1

Which chart: helm-ceph

What happened: Secret is missing

What you expected to happen I expected the outcome to look like below but, nothing is running except the rbd pod.

$ kubectl -n ceph get pods NAME READY STATUS RESTARTS AGE ceph-mds-3804776627-976z9 0/1 Pending 0 1m ceph-mgr-3367933990-b368c 1/1 Running 0 1m ceph-mon-check-1818208419-0vkb7 1/1 Running 0 1m ceph-mon-cppdk 3/3 Running 0 1m ceph-mon-t4stn 3/3 Running 0 1m ceph-mon-vqzl0 3/3 Running 0 1m ceph-osd-dev-sdd-6dphp 1/1 Running 0 1m ceph-osd-dev-sdd-6w7ng 1/1 Running 0 1m ceph-osd-dev-sdd-l80vv 1/1 Running 0 1m ceph-osd-dev-sde-6dq6w 1/1 Running 0 1m ceph-osd-dev-sde-kqt0r 1/1 Running 0 1m ceph-osd-dev-sde-lp2pf 1/1 Running 0 1m ceph-rbd-provisioner-2099367036-4prvt 1/1 Running 0 1m ceph-rbd-provisioner-2099367036-h9kw7 1/1 Running 0 1m ceph-rgw-3375847861-4wr74 0/1 Pending 0 1m

How to reproduce it (as minimally and precisely as possible): cd /tmp curl https://raw.githubusercontent.com/kubernetes/helm/master/scripts/get > install-helm.sh bash install-helm.sh helm init helm serve helm repo add local http://localhost:8879/charts git clone https://github.com/ceph/ceph-helm cd ceph-helm/ceph sudo apt install -y make make

sudo nano ceph-overrides.yaml network: public: 172.16.0.0/16 cluster: 172.16.0.0/16

osd_devices:

kubectl create namespace ceph kubectl create -f /home/vagrant/ceph-helm/ceph/rbac.yaml kubectl label node node-1 ceph-mon=enabled ceph-mgr=enabled kubectl label node node-1 ceph-osd=enabled ceph-osd-device-dev-sdb=enabled kubectl label node node-2 ceph-osd=enabled ceph-osd-device-dev-sdb=enabled kubectl label node node-3 ceph-osd=enabled ceph-osd-device-dev-sdb=enabled

helm install --name=ceph /home/vagrant/ceph-helm/ceph/ceph --namespace=ceph -f /home/vagrant/ceph-helm/ceph/ceph-overrides.yaml

Anything else we need to know: I followed the steps on https://docs.ceph.com/docs/mimic/start/kube-helm/

Jimmol-Singh commented 4 years ago

anyone?