-
Notifications
You must be signed in to change notification settings - Fork 1
Failed to run Mongoose #79
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
Comments
Hi there! Please specify ip and port separately. You can see the list of common mongoose parameters here: https://github.com/emc-mongoose/mongoose-base/tree/master/doc/usage/input/configuration. And Pravega specific here: https://github.com/emc-mongoose/mongoose-storage-driver-pravega. In this case the solution is: |
The only surprising thing is that you actually got some successful operations 0_o. This isn't expected. If you could share the logs, that would be cool. The path for the logs is /root/.mongoose/4.2.18/logs/linear_20201029.1516622.956. The log files of interest are 3rdparty.log, errors.log and messages.log. This exercise won't be exactly useful for you, but can help make Mongoose better. |
I have specified ip and port separately, but this problem remains: Docker container with some successful operations has been removed and now cannot get a variant with this result. Although this happened more than once before. |
What's your pravega version? |
0.7.0 |
Well, that's interesting then. Let's go deeper. Run mongoose for 2-3 minutes and then please do:
But before you do that, a silly question: I assume you deployed mongoose in some other namespace, right? Because I don't see it listed in the default one. |
No, I didn't deploy mongoose. Apparently I missed it 😢 |
Oh, that changes the case then. So, there are two ways you can launch mongoose: inside and outside kubernetes. If you create mongoose as a pod (e.g. via helm https://github.com/emc-mongoose/mongoose-helm-charts) you can use internal controller ip. But if you want to apply workload from outside the cluster you cannot use internal ip, cause it's internal:) you need to have some external ip, you can learn more here: https://medium.com/google-cloud/kubernetes-nodeport-vs-loadbalancer-vs-ingress-when-should-i-use-what-922f010849e0. One more thing to notice though: if it's a testing minikube setup, you might run into issues, because as far as I know from other people minikube isn't exactly good at providing external ips. You can still try though. But I'd start with simply starting mongoose inside k8s. |
Thanks a lot for the explanation! But I don't quite understand how I should use this ip address. Will it be used as an additional argument to run the docker container or is it something else? |
If we talk about running mongoose inside the k8s cluster, we can pass the ip of the pravega controller when starting mongoose via helm.
|
I'm not sure why you are going for more difficult deployments when you could start with a simpler one. You definitely don't need the darzee to do a simple run. |
Please try running this inside you k8s cluster and share the results. Don't forget to substitute the controller ip with actual value of internal ip of the pravega controller. |
@fonfrygin It's not a best practice to patch IP yourself. "Pending" means that the k8s cluster can't allocate free IP to service. Are you sure that the IP that you gave him will work? It's cool that you use darzy, but @dadlex is right and you can start with an easier way of deploying.
Please note that @dadlex sent the cmd exactly with |
Did you use minikube or real k8s cluster? |
You can also deploy mongoose outside the cluster, just in the docker (as at the beginning of thread), but you will need to forward the pravega-controller's ip outside. This can be done using a port-forward or proxy for example. |
Thank you for help! My problem was that Pravega was not working. I reinstalled it and now mongoose starts up, but I have a few questions. Why isn't stream being created in the first step? And do I understand correctly that this amount of current concurrency means the number of tasks that are currently running? My command to run Mongoose: And I also ran into the problem that after several launches of Mongoose, my Pravega controller crashes(0/1 Running) with the following logs: pravega_logs.txt |
|
Hello! I have Pravega cluster that is installed on a Kubernetes cluster

When running this command: docker run --network host emcmongoose/mongoose-storage-driver-pravega --storage-namespace=scope --storage-net-node-addrs=10.233.36.160:9090
I took the ip-address and port from the Pravega controller:
The following errors appeared:

But if the fail count does not exceed the default value, then Mongoose continues to execute:

What did I do wrong?
The text was updated successfully, but these errors were encountered: