ertis-research / opentwins

Innovative open-source platform that specializes in developing next-gen compositional digital twins
https://ertis-research.github.io/opentwins/
Apache License 2.0
154 stars 27 forks source link

Error in installation process #7

Open RadonicA opened 6 months ago

RadonicA commented 6 months ago

Hello, I am trying to install Open Twins, but I have the following problem. Can you help me? Thank you very much!

1

2

3 4

juliarobles commented 6 months ago

Hi,

First you have to create the namespace opentwins with kubectl create namespace opentwins. Remember to add and update the Helm repository with:

helm repo add ertis https://ertis-research.github.io/Helm-charts/
helm repo update

Then, I see in the last screenshots that you are trying to enable Hono. We no longer recommend its use, as it gives many more problems than benefits. The errors you get are due to the dependency with Hono, surely they have broken their helm somehow. Try without enabling it and see if it works for you. If it still does not work, let us know.

Regards, Julia

RadonicA commented 5 months ago

@juliarobles Hello, I have been struggling with the installation of opentwins for a long time. Namely, I followed the steps to install through Helm, however when I want to check the pods, some don't seem right. I would really appreciate your help!

image

image

image image image

@charanhs123 Hello, I saw that you had a similar problem to me with the pods, so I was wondering if you might know how to solve this problem? I would be grateful!

sergioinf commented 5 months ago

Hi, Ditto Nginx is the last component to be ready and it wont be unless all other componentes are ready.

In nginx description, the container wait-for-gateway has started and it waiting ditto-gateway to be ready.

Then ditto-gateway is running but not ready, so maybe there is a problem with gateway instead of nginx.

Other problem I can see is that influx, grafana and mongodb are not running. That is strange.

Please, send come screenshots of logs and descriptions of those components.

Thank you.

RadonicA commented 5 months ago

@sergioinf Hi, this is screenshots of grafana: image image image image image

This is screenshots for influx: image image image image

This is screenshots for mongodb: image image image image image

How I can resolve this problem with gateway?

What I find very strange is that it often happens that after some time after running the get pods command over and over again, after starting minicube, grafana and mongodb, they get the running status, but it doesn't always happen.

image

I have one more question for you. Namely, I want to do an example with a Raspberry Pi device, which you have implemented on your page. Do I need to install Grafana and other tools afterwards, or do I already have it after this installation?

sergioinf commented 5 months ago

Where are you trying to install OpenTwins?, Are those errors from an ARM device? If so, you have to modify the used mongodb image. OpenTwins uses bitnami image of mongodb, that is built only for x86 devices, so if you want to run those components on a raspberry, you need to use other mongodb image compatible with ARM devices.

RadonicA commented 5 months ago

Hi @sergioinf , I'm using VMware Workstation-Ubuntu 64bit with amd64 x86_64. I don't run these components on a Raspberry Pi, but my plan is to test your example with a Raspberry Pi device, after I enable all the components

These are the steps I went through to install OpenTwins, with the fact that I subsequently installed minikube to run the container. image image image image image image

sergioinf commented 5 months ago

That problem is becasuse helm cant reach kubernetes cluster, if you try: "kubectl get all" you should get the same error

RadonicA commented 5 months ago

@sergioinf

When I try kubectl get all, I get this: image

I tried with kubectl config view --raw >~/.kube/config image

vaibhavgl25 commented 5 months ago

Hello I am trying to install opentwins, but lot of time spent on the configurations and still not done. Here is the screenshot, kindly help. image image

vaibhavgl25 commented 5 months ago

Hi,

Kindly suggest the installation steps for opentwins interface. There is no specific guide to suggest about the configurations.

Thanks.

RadonicA commented 5 months ago

@sergioinf Hi, Can you look at this issue https://github.com/ertis-research/opentwins/issues/17, and tell me how to import the plugins needed for the further development process? Thank you in advance!