New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
GetFeastCoreVersion failed with code "StatusCode.UNIMPLEMENTED" #318
Comments
Hey @NicholaiStaalung. Thanks for filing this issue :) Question: Did it eventually come up for you? Was everything working as expected? |
Hi @woop Hmm from your question i guess it wasnt working as expected. What do you mean by "it"? |
I wasn't clear: Did Feast core eventually come up and work for you? The restarts are a part of this "full scale" installation. Serving will restart until Core is up, and Core will wait/restart until Kafka is up, and Kafka waits for Zookeeper. We are still trying to reduce the total time for this installation to take place, as well as the amount of dependencies in this system. |
I see. From the terminal output |
You can just try |
I get an almost empty list. from
|
Yip, that's empty :) |
Is it then supposed to be working correctly? I tried running
|
Yea the behavior of Is that the complete stack trace, or did any messages get trimmed at the bottom? |
Complete stack trace. Its not very informative no :) |
I will add better exception handling there to see if we can improve the response. In the mean time, can you try and run the same from the Python as a library (instead of CLI)? You should probably also confirm that your configuration is correctly applied. Meaning you should have a folder |
@woop |
Yeah, i tried it. And i do have the config file. See my comment above. |
Can you do |
here you go I dont think its the full log. It only shows about 20 seconds. I guess it deletes the logs when it restarts |
It seems like this is the problem: You are using Minikube right? Are you sure that Kafka is accessible? The way that I got it to work in Minikube was to expose the Kafka cluster to the outside and then connect from feast-core directly to the external address. This guide does illustrate it https://github.com/gojek/feast/blob/master/docs/getting-started/install-feast.md Can you run docker run -it --network=host edenhill/kafkacat:1.5.0 -b $(minikube ip):31090 -L You might have to change that port based on the one that your Kafka is listening on. The above command should print out information about the topics in your Kafka deployment. If it doesnt then that is a problem. |
Hi @woop, Sorry i was away. Thank you for helping with this issue. I tried your commands
It printed out the topic 'feast' which i assume is the correct output. However im not able to read if this gets me any closer to fixing the issue. |
Thanks for the detailed response! Those look fine. Would you mind showing me your values.yaml file that you used to do this install? |
Here you go ####REMOVED LINK |
I think you pasted the wrong link. It's taking me back to this issue. |
wierd :) |
@NicholaiStaalung I am not sure how familiar you are with Kubernetes, but what I would do next to debug this is to confirm whether Feast Core can actually communicate with Kafka. This would require you to SSH into the feast-core pod. Something like
It should say something like |
Okay, so i ssh'ed into the pod and did a curl on the ip and port as you described. I did get a And kubernetes is definitely not a strength of mine :) |
Your connectivity seems fine here. Are you seeing any other logs on any other pods like Kafka? Perhaps it would be easier if we you use Docker Compose here. We are in the process of adding it to the project, should be ready next week. #328 |
Okay. Thanks for your assistance. I will close the issue if Docker Compose works for me. |
Sure |
Docker compose did indeed work. Closing as i have it running locally now |
Thank you @NicholaiStaalung :) |
Expected Behavior
Feast Core and Serving should be connected in the python sdk when running
feast version
shown by the following output (From https://github.com/gojek/feast/blob/master/docs/getting-started/install-feast.md)Current Behavior
When running
feast version
Steps to reproduce
Follow https://github.com/gojek/feast/blob/master/docs/getting-started/install-feast.md steps 0-2 for minikube (local) installation.
Then ran
pip3 install -e ${FEAST_HOME_DIR}/sdk/python --user
feast config set core_url ${FEAST_CORE_URL}
feast config set serving_url ${FEAST_SERVING_URL}
feast version
Which is where the problem occured
Specifications
Possible Solution
I'm not sure.
I did however notice something strange when the pods are starting up. In the picture below a number of restarts occur for the core and serving services in the cluster. Before the restart occurs the pods are always going from 'ContainerCreating' to 'Running' to 'Error' to CrashLoopBackOff'. This happens in loops until it finally just says 'Running' after 5-6 mins. And it happens every time i do a clean (maybe unclean) installation. My best guess is that the core service has a bug with the connection but it could be in the python sdk as well for all i know.
The text was updated successfully, but these errors were encountered: