eiffel-community / eiffel-easy2use

A sandbox to be used to try out the Eiffel protocol and related services
Apache License 2.0
10 stars 19 forks source link

Vici not seeded with er-dummy repository at startup #3

Closed emichaf closed 4 months ago

emichaf commented 5 years ago

Vici not seeded with er-dummy repository at startup

pef-ericsson commented 1 year ago

@e-backmark-ericsson @m-linner-ericsson I have done an investigation on Kubernetes cluster.

It seems that dummy-er-<_namespace_>-0 pod does not start properly. Actually, there is the following error _"cat: /sys/fs/cgroup/memory/memory.memsw.limit_inbytes: No such file or directory". The error perhaps is related to cgroup v2 incompatibility due to JDK version. The error leads to "java.io.FileNotFoundException" trying to download Eiffel events from the local file and then to "java.lang.NullPointerException: null" trying to get the events in eiffel-vici-<_namespace_>-0 pod.

Moreover, dummy-er visualizes Eiffel events fetching them from a provided preferred URL as a JSON file, see here. That means that Vici does not fetch Eiffel events from Eiffel-ER or RabbitMQ (MessageBus).

e-backmark-ericsson commented 1 year ago

Maybe we shouldn't try to solve the issue using dummy ER, but instead using a "real" ER, as noted in this issue: https://github.com/eiffel-community/eiffel-vici/issues/37 ?

Also, Eiffel Store is a fork of Vici, which is said to add the possibility to visualize live data from MB in the gui. The Eiffel Store might be more up to date with recent fixes, since it was updated more recently than Vici. You could also discuss the issue with the contributors on Eiffel Store to see if they've seen similar issues in Eiffel Store as you've seen in Vici.

pef-ericsson commented 1 year ago
  1. I agree that we shouldn't try fixing the dummy-er.
  2. We can check if it's feasible to use eiffel-store.