Unknown desc #7
Comments
@AV-Coding Hi! First off thank you for the issue! Second, I'm so sorry I didn't notice there is one. :O I have no idea why I didn't get notified. :( I'll take a look ASAP. |
Oh crap I know why. How didn't this come up in my testing, I have no idea. :( Thank you for pointing this out to me. This should have returned the image's name. When in reality it returned a list. :/ I'll fix this asap. |
Oh snap! I fixed this already. I might just not have updated teh docker container? :( |
@AV-Coding Please try now... hopefully the fix should be now applied. |
We are trying do this on a raspberry pi cluster, do you think that may be the issue? We were also having an issue with the face_recognition image, any idea how we can use your image or maybe another substitute, it doesn't seem to support armhf architecture. |
Ah, I see. You can easily build your own docker image using the Dockerfile that is provided? Just change the OS that it depends on to one that you can use? Also, you probably will have to change the things that it installs and how it installs them unfortunately. |
You would have to use this as a base type: https://hub.docker.com/u/armhf/ |
This looks promising: https://hub.docker.com/r/arm32v7/golang |
Thanks for the response. We've tried using the Dockerfile to build our own docker image, but we received many errors unfortunately. It probably has to do with how it installs things, like you were saying. |
Yeah, you either have to use a different base and adjust the installation process accordingly, or flash a normal ubuntu onto the raspberry. That said... Hmm. The Pod should be able to run in a different linux distro. What is the error you are getting now? |
I have a couple of raspberrys I'll try to replicate it on my home cluster. Also, you have to take into account that I kind of hardcoded the PVC? Please set that up to your liking. |
Huh odd. PVC is PersistentVolumeClaim. It's hard oded right now to my local path. You need to change that. Also you shouldn't have to rebuild the container. Docker should abstract the os and it should just run on the raspberry I believe. I fixed the face recog image. I think it should work if you try that again. |
We went ahead and deleted the old repository, and downloaded it again using "git clone https://github.com/Skarlso/kube-cluster-sample.git" Edit #1: |
It's the image you have to re pull. The face_recog docker image is the one you have to pull down. |
I changed the image pull policy to always so the modification can be redownloaded. Please try now to clear your cluster and re-make it with minikube. |
Alright. I reproduced your problem.
Finally. :) I'll have a fix up soon. Thanks man. Interesting this used to work. 🤔Don't know yet what happened. |
Oh it's a list of lists. It probably worked because it was running old code because of the image pull policy. Dang. :) nice catch, thanks. :)) |
Thank you for this!! It works now. The problem was that the multiprocessor pool map was creating a list of lists. And my testing didn't catch it because I fail to version my docker containers properly. But I'll fix that in #9. |
Alright. It should work now! :) I also found that not found people show up as pending for some reason instead of john doe, humpf. I'll take a look at that later. :) Thank you! |
That worked! Thanks so much for the help. I will try again to put it on my Raspberry Pi cluster. I'll let you know how it goes. |
Awesome!! Very glad to hear that. :) Thank you very much for bringing it to my attention. :) |
Step 4 as in this part?
Of the face recognition docker image, right? For a start, please remove this line: And then try using Also, you might be missing build essentials maybe? Can I take a look at your docker file? Or are you just trying to build this docker file in the repo? (( I'll try doing that too see if I can reproduce the issue )). |
So, I reproduced it on my own raspberry. It appears that the red things are only warnings. One thing of interest is this though:
This might be something that we need to address. It appears that Also, mine does continue, but it's EXTREMELY slow. :) It's at 76% right now and it's still going. It just ticked to 77% and throwing a bunch of warnings. Never the less it should work. The warning are usually of some kind of C++ version changes. :/ Probably some version of gc++ could fix it, no idea. :( |
Hmm... hang on. This Dockerfile might be out of date actually checking out the issues and the Repo. You could try replacing the entire Step 4 with this:
Try doing this and see if that works. :) |
I'm trying to build the docker file from the repo, and yes from the face_recog image. We also went ahead and installed cmake. It is very slow, right now it is at 89% and has been going for about 20 hours now. |
This worked!
The
Notice also that I used This was faster than trying to install the source. |
Hey @AV-Coding. Do you have an update? :) |
Hi Skarlso, I don't have any update unfortunately. I'm back in school and haven't made time to work on it again. It's unfortunate because I think it was just about finished. Hopefully I can work on it soon, but if not, definitely once i'm out of classes. I'll let you know once it's finished :) I appreciate all the help you given. |
My buddy and I have followed the documentation and it seems like everything is working fine. When we run the command "minikube service list" we get this output:
However, when we try to use "curl -d '{"path":"/unknown_people/unknown220.jpg"}' http://192.168.99.106:30584/image/post
got path: {Path:/unknown_people/unknown220.jpg}"
we get this output in the image-processor:
Any ideas what the issue might be?
The text was updated successfully, but these errors were encountered: