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
issue with the tar file on docker #363
Comments
To start the edge-orchestration you need to make steps that are described here. If you have questions write me and I will try to answer them! |
I have done everything that was written on the description. Despite of all my efforts & trials, i was getting the same error again & again. When, i'm trying to load the edge-orchestration.tar file, it gets uploaded successfully. But when i load the images, it shows me as shown below: $ docker images |
I just checked and everything works well.
Write in more detail how you build and describe the platform on which the build. |
I used a raspberry pi 3b board And with the option 2. Build directly on the raspberry pi3 board I have built the prerequisites first, then the gocompiler. And then i have cloned the git code from the link given. I have also installed the gocov, gocov-html, staticcheck, extra linux utilities as well. |
I just successfully built (directly on the raspberry pi 3b board) and launched edge-orchestration.
Next more detail:
|
Can you send me a video when you built the project please. I’m not able
where I’m going wrong.
I just tried again, I’m still getting the same error message.
…On Mon, Aug 16, 2021 at 14:15 Taras Drozdovskyi ***@***.***> wrote:
I just successfully built (directly on the raspberry pi 3b board) and
launched edge-orchestration.
Let's consistently make the following steps:
$ cd <YOUR_DIRECTORY_PATH>/edge-home-orchestration-go
$ make make distclean
$ make create_context CONFIGFILE=armc
$ make
Next more detail:
***@***.***:~/projects/edge-home-orchestration-go $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
arm32v7/ubuntu 16.04 f46cdaad2749 2 weeks ago 106MB
hello-world latest 851163c78e4a 19 months ago 4.85kB
***@***.***:~/projects/edge-home-orchestration-go $ cd bin/
***@***.***:~/projects/edge-home-orchestration-go/bin $ ls
edge-orchestration edge-orchestration.tar qemu
***@***.***:~/projects/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
ad79db33824f: Loading layer [==================================================>] 18.81MB/18.81MB
e95fd3a21c29: Loading layer [==================================================>] 2.048kB/2.048kB
bbe81e41c183: Loading layer [==================================================>] 2.56kB/2.56kB
d1cdd59a814e: Loading layer [==================================================>] 26.79MB/26.79MB
4071d8510dd0: Loading layer [==================================================>] 2.571MB/2.571MB
Loaded image: edge-orchestration:coconut
***@***.***:~/projects/edge-home-orchestration-go/bin $ docker images
REPOSITORY TAG IMAGE ID CREATED SIZE
edge-orchestration coconut 3354de41d248 13 minutes ago 154MB
arm32v7/ubuntu 16.04 f46cdaad2749 2 weeks ago 106MB
hello-world latest 851163c78e4a 19 months ago 4.85kB
***@***.***:~/projects/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
047d30372ff214b1fa3304c3c319ac145298b6abff4a22dd48b937af3b2d122f
***@***.***:~/projects/edge-home-orchestration-go/bin $
—
You are receiving this because you commented.
Reply to this email directly, view it on GitHub
<#363 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/APTA5RUWOIKISKF2AU3KLLTT5EFPJANCNFSM5CGFXW7Q>
.
|
I think that it would be right if they were sent a detailed log what you do. |
I'm getting the same issue over & over on my side.. Could please send me a instructional video on how to build the project & test with the home edge devices, so that I can follow through to build the project. |
Hi, I'm having problem with connecting the raspberry pi3b board to RESTAPI server, Can anyone help me out with this please!!! |
We really want to help you, but every time you do not show the log that you have, and for us is difficult to help you. |
INFO[2021-08-16T19:33:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker) I'm getting this when i do the * docker logs -f edge-orchestration |
Can you please let me know, how to proceed further |
After you have started the edge-orchestration, you can send a request to start the
where IP is your ip address |
curl -X POST "80.195.171.141:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification\"}" curl: (7) Failed to connect to 80.195.171.141 port 56001: Connection timed out it's showing me like this |
Please, try address 192.168.0.37 |
curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification\"}" |
Please execute
|
pi@raspberrypi: there is no change, it just froze like this |
please share the log
|
docker logs -f edge-orchestration |
From your log
File How to work0. Prerequisites
|
please share a result of next command (from raspberry):
|
tree /var/edge-orchestration 9 directories, 4 files |
@mchittineni It seems that there is a software that use the 56001 port on your rpi. Can you check network status without Edge Orchestration? I hope the following commands will help you.
|
Still i'm not able to connect to the REST API |
|
If your rpi3 has the edge-orchestration image and you run commands there, please try to follow the steps below.
FULL LOG
|
i'm still not able to understand where i'm going wrong make[2]: Entering directory '/home/pi/edge-home-orchestration-go/examples/native' Go Mod VendorGO111MODULE=on go mod vendor Create Executable binaryGOARM=7 GOARCH=arm GO111MODULE=on go build -a -ldflags '-extldflags "-static" -X main.version= -X main.commitID=e75c75e -X main.buildTime=20210819.0806 -X main.buildTags=' -o /home/pi/edge-home-orchestration-go/bin/edge-orchestration /home/pi/edge-home-orchestration-go/cmd/edge-orchestration/main.go || exit 1 Create Docker container arm32v7docker rm -f "edge-orchestration" Usage: docker [OPTIONS] COMMAND A self-sufficient runtime for containers Options: Management Commands: Commands: Run 'docker COMMAND --help' for more information on a command. To get more help with docker, check out our guides at https://docs.docker.com/go/guides/ pi@raspberrypi:
|
Good Job. You did it!
|
Then, How can I get the scores for different devices that are connected to the network? |
and also can you please let me know, if I can do any comparison analysis between edge computing & cloud computing with this project. |
@mchittineni Please open a separate issue ticker for your question above. We are maintaining the thread policy that each issue should contain a single independent issue, so that we can intuitively tackle it down efficiently. Thank you in advance. 🙏 |
@mchittineni Please open a separate issue ticker for your question above. We are maintaining the thread policy that each issue should contain a single independent issue, so that we can intuitively tackle it down efficiently. Thank you in advance. 🙏 |
pi@raspberrypi:~ $ docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
Unable to find image 'edge-orchestration:coconut' locally
docker: Error response from daemon: pull access denied for edge-orchestration, repository does not exist or may require 'docker login': denied: requested access to the resource is denied.
See 'docker run --help'.
pi@raspberrypi:~ $
i'm not able to load the docker container
The text was updated successfully, but these errors were encountered: