Closed gabeale closed 2 years ago
hey you can use the kubectl describe po "podname"
to see what is going wrong. I expect your pv is not properly setup.
here you go:
root@alex-K52F:/home/alex# kubectl describe pod mongodb-6cbb4447b6-lrxhz
Name: mongodb-6cbb4447b6-lrxhz
Namespace: default
Priority: 0
Node:
IPs:
Warning FailedScheduling 2m28s default-scheduler 0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims. Warning FailedScheduling 41m (x87 over 137m) default-scheduler 0/1 nodes are available: 1 pod has unbound immediate PersistentVolumeClaims.
Thx
your pvc is not properly configured. do you have a single node setup? and do you have changed the hostname to the nodes hostname?
I'm not completely sure if I have used the right hostname, this is my config:
can you print out your pvc kubectl describe pvc
you will see what is going wrong.
here you go!
Name: mongodb
Namespace: default
StorageClass: local-storage
Status: Pending
Volume:
Labels: app.kubernetes.io/component=mongodb
app.kubernetes.io/instance=mongodb
app.kubernetes.io/managed-by=Helm
app.kubernetes.io/name=mongodb
helm.sh/chart=mongodb-10.1.3
Annotations: meta.helm.sh/release-name: mongodb
meta.helm.sh/release-namespace: default
Finalizers: [kubernetes.io/pvc-protection]
Capacity:
Access Modes:
VolumeMode: Filesystem
Used By: mongodb-6cbb4447b6-lrxhz
Events:
Type Reason Age From Message
Warning ProvisioningFailed 58m (x402 over 158m) persistentvolume-controller storageclass.storage.k8s.io "local-storage" not found Warning ProvisioningFailed 3m28s (x82 over 23m) persistentvolume-controller storageclass.storage.k8s.io "local-storage" not found
Interesting what is your kubernetes version?
typing kubectl version I get this:
Dear Cedricve, any news so far? Thanks in advance for support you will give.
hey @gabeale, we might need to jump a short video call to clear this out. Can you also print out your nodes
kubectl get nodes
Dear @cedricve thanks for availability. No problem for video call through Teams or equivalent, just tell me your preference. I tried once again to fresh install the Edge Enterprise following the procedure but situation in same. I run kubectl get nodes command and got this:
Hi @cedricve, have you had the chance to review my situation? Thanks a lot
@gabeale I had a similar issue. My issue was basically that the mongodb container didnt get up because of some persisten settings. I still have my command logs to see what was causing this. it took me hours to fiddle it out. one weird setting was the issue but from head i dont remember for just now.
I removed the mongodb pod and removed the pv and also emptied the directory which was for the pv. after this it did work.
I had some other issues too with wrong mongo root password... but that was also solved after removing the data and freshen it up. i had a lot of hazzle to get things up and running. still not far. still no web interface to add the other cameras. still no overview interface to see all the cameras like in the demo. but getting there eventually.
If You want drop me a ping.
thanks @lexustec for sharing your feedback. @gabeale sadly im not able to reproduce..
@cedricve i will prepare a blank machine and record the process or maybe a twitch stream. I try to reproduce the issue from user side. Many things are different between blank machines and dev machines. ( i have a lot of issues to get the docker images running or even do the stand alone install ... but that is not point of this issue now )
Hi guys, any news so far? Thanks in advance :-)
@lexustec managed to install it so we might need to look into it together @gabeale. Let me know when you are available.
Anytime next week with the exception of Wednesday. Thank you all for availability Ciao
Dear @lexustec please let us know when you are available for this issue. Thx in advance! 🙂
Sorry for the late reply. I was busy. I am available basically. Cedric has me in discord. He can ping me there anytime.
Dear friends, I'm also having discord account. Just give me a ping when you are ready. Thx
You can find me via lexarion#9146
Thx, I'm gabeale#1980
By now should have been fixed, major changes have been added since this issue post.
Hi, I have tried several times (checking carefully the step by step commands at the link https://doc.kerberos.io/enterprise/installation-edge) to set up Kerberos Enterprise-Edge: facory and trafefik pods are running but mongodb is always "pending". System is Ubuntu 18.04 LTS. Any idea how to make it running? Thank you in advance Alex