-
Notifications
You must be signed in to change notification settings - Fork 164
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
Adam and EVE-OS initial deploy issue #4078
Comments
have you looked at https://github.com/lf-edge/eden ? it's a harness that we use for testing EVE and it's basic functionality is running an EVE instance in QEMU with Adam in a container, which looks like what you are trying to achieve. maybe try following these steps and you should get a running EVE and Adam instances around the let me know if this was helpful or we should investigate further! |
Thanks I will try this approach. I will eventually need to run it manually using separate instances so as to understand the requirements better. |
@rightkick have you tried https://lfedge.org/resources/lf-edge-sandbox/ ? |
@rightkick I managed to onboard EVE in Adam, here is how to do it. 1- First you need to generate the required certificates using Eden, Adam has git clone git@github.com:lf-edge/eden.git
cd eden
make build
# generate the certs, use your own domain name or localhost
./eden utils certs --domain zedcontrol.local.zededa.net
# copy certs to adam path
cp ~./eden/certs <adam_path> 2- Copy the Eden generated I have fashioned a script together which is doing all of the above, feel free to use, but don't forget to adjust
Please check this and close the issue if it answered your question. |
Thank you for providing this nice tutorial. Hi, I am trying to implement the tutorial given in the following website: I am using Ubuntu (WSL2 under Windows 11), and Raspberry Pi 4. i am on my private network with DSL from Vodafone. EVE live.img is flashed on an SD Card using balenaEtcher. My network detects Raspberry / EVE very well. But EVE registration with Adam fails, the following error is always displayed: Could you please help? Or am I missing something? thanks |
@gitNastou1 We had a issue in Eden UEFI boot (which would cause on-boarding failure), would you please try with the latest version of Eden again and report here? |
Thank you very much for the reply, I have tried with the latest version of Eden, but i am still getting the same error: INFO[0380] Adam waiting for EVE registration (19) of (20) Could you please assist again? Or am I missing something? Thanks |
No problem, Give me some time, I'll try to reproduce your setup and see what is failing. In the meanwhile did you have any success with just running EVE on qemu? |
Hi, I am trying to run a PoC with EVE-OS + Adam controller.
EVE-OS runs in a qemu VM while adam within a docker container.
First, I generated certs for Adam controller:
Then ran the controller using the following docker-compose:
It seems the controller runs normally but when trying to reach the web UI at
https://adam-controller.lab.local:8080
it gives just a blank page.I placed the generated adam certs under the
conf
directory of the repository and copiedroot-certificate.pem
tov2tlsbaseroot-certificates.pem
(understand these should be identical?). Then built EVE-OS by usinginstaller-raw
build target as below:The installation is done successfully and I can confirm also that the Adam controller sees registration attempts from the edge device. Below are the logs from the Adam controller:
I generated the device onboarding key-pair with:
Then went to the adam controller with docker exec and ran the following:
Then listing the device I see the following:
So I have two issues:
AM I missing sth? I would appreciate your assistance to overcome this and complete the onboarding. Will eventually check to request a demo account at the commercial controller.
Thank you.
The text was updated successfully, but these errors were encountered: