Edge-home-orchestration-go: ๋„์ปค์˜ tar ํŒŒ์ผ ๋ฌธ์ œ

์— ๋งŒ๋“  2021๋…„ 08์›” 15์ผ  ยท  33์ฝ”๋ฉ˜ํŠธ  ยท  ์ถœ์ฒ˜: lf-edge/edge-home-orchestration-go

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. ์–‘๋ง:rw -v /proc/:/process/:ro edge-orch estration:์ฝ”์ฝ”๋„›
๋กœ์ปฌ์—์„œ 'edge-orch estration:coconut ' ์ด๋ฏธ์ง€๋ฅผ ์ฐพ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.
docker: ๋ฐ๋ชฌ์˜ ์˜ค๋ฅ˜ ์‘๋‹ต: edge-orchestration์— ๋Œ€ํ•œ ํ’€ ์•ก์„ธ์Šค๊ฐ€ ๊ฑฐ๋ถ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค. ์ €์žฅ์†Œ๊ฐ€ ์—†๊ฑฐ๋‚˜ 'docker ๋กœ๊ทธ์ธ'์ด ํ•„์š”ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค. ๊ฑฐ๋ถ€๋จ: ๋ฆฌ์†Œ์Šค์— ๋Œ€ํ•œ ์š”์ฒญ๋œ ์•ก์„ธ์Šค๊ฐ€ ๊ฑฐ๋ถ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
'๋„์ปค ์‹คํ–‰ --help'๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.
pi@raspberrypi :~ $

๋„์ปค ์ปจํ…Œ์ด๋„ˆ๋ฅผ ๋กœ๋“œํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค

๊ฐ€์žฅ ์œ ์šฉํ•œ ๋Œ“๊ธ€

๋‚˜๋Š” ์•„์ง๋„ ๋‚ด๊ฐ€ ์–ด๋””์—์„œ ์ž˜๋ชป๋˜๊ณ  ์žˆ๋Š”์ง€ ์ดํ•ดํ•  ์ˆ˜ ์—†๋‹ค

์ž˜ ํ–ˆ์–ด. ํ›Œ๋ฅญํ•ด!

> > pi<strong i="8">@raspberrypi</strong>:/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
> > 6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
> > pi<strong i="9">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
> > tcp6       0      0 :::56001                :::*                    LISTEN      5830/edge-orchestra
> > pi<strong i="10">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "127.0.0.1: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\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}
> > pi<strong i="11">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ 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\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}

> > INFO[2021-08-19T07:24:41Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
> > INFO[2021-08-19T07:24:41Z]externalhandler.go:157 APIV1RequestServicePost port:  33118
> > INFO[2021-08-19T07:24:42Z]senderresolver.go:75 GetNameByPort returning:  curl
> > INFO[2021-08-19T07:24:42Z]externalhandler.go:162 APIV1RequestServicePost requester:  curl
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:159 RequestService [0] Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:160 RequestService [0] ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:161 RequestService [0] Endpoint : [192.168.0.37]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:162 RequestService
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:341 func3 candidate Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:342 func3 candidate ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:343 func3 candidate Endpoint : 192.168.0.37
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:344 func3 candidate score    : 14.846495859252466
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:247 RequestService [orchestrationapi]  [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 14.846495859252466 map[] container}]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
> > INFO[2021-08-19T07:24:42Z]route.go:131 func1 From [127.0.0.1:33118] POST /api/v1/orchestration/services APIV1RequestServicePost 146.304475ms
> > {"status":"Pulling from library/hello-world","id":"latest"}
> > {"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
> > {"status":"Status: Image is up to date for hello-world:latest"}
> > INFO[2021-08-19T07:24:44Z]containerexecutor.go:91 Execute [containerexecutor] create container : 20d38d8de7
> > 2021-08-19T07:24:45.974837713Z
> > 2021-08-19T07:24:45.975191565Z Hello from Docker!
> > 2021-08-19T07:24:45.975228075Z This message shows that your installation appears to be working correctly.
> > 2021-08-19T07:24:45.975258648Z
> > 2021-08-19T07:24:45.975288336Z To generate this message, Docker took the following steps:
> > 2021-08-19T07:24:45.975318752Z  1. The Docker client contacted the Docker daemon.
> > 2021-08-19T07:24:45.975349169Z  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
> > 2021-08-19T07:24:45.975380470Z     (arm32v7)
> > 2021-08-19T07:24:45.975410054Z  3. The Docker daemon created a new container from that image which runs the
> > 2021-08-19T07:24:45.975440418Z     executable that produces the output you are currently reading.
> > 2021-08-19T07:24:45.975470835Z  4. The Docker daemon streamed that output to the Docker client, which sent it
> > 2021-08-19T07:24:45.975515991Z     to your terminal.
> > 2021-08-19T07:24:45.975546147Z
> > 2021-08-19T07:24:45.975575626Z To try something more ambitious, you can run an Ubuntu container with:
> > 2021-08-19T07:24:45.975605990Z  $ docker run -it ubuntu bash
> > 2021-08-19T07:24:45.975637500Z
> > 2021-08-19T07:24:45.975669115Z Share images, automate workflows, and more with a free Docker ID:
> > 2021-08-19T07:24:45.975699583Z  https://hub.docker.com/
> > 2021-08-19T07:24:45.975728802Z
> > 2021-08-19T07:24:45.975758229Z For more examples and ideas, visit:
> > 2021-08-19T07:24:45.975797916Z  https://docs.docker.com/get-started/
> > 2021-08-19T07:24:45.975828541Z
> > INFO[2021-08-19T07:24:46Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
> > INFO[2021-08-19T07:24:46Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]
> > INFO[2021-08-19T07:24:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
> > INFO[2021-08-19T07:24:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe

๋ชจ๋“  33 ๋Œ“๊ธ€

์—์ง€ ์กฐ์ •์„ ์‹œ์ž‘ํ•˜๋ ค๋ฉด ์—ฌ๊ธฐ ์— ์„ค๋ช…๋œ ๋‹จ๊ณ„๋ฅผ ์ˆ˜ํ–‰ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค. ์งˆ๋ฌธ์ด ์žˆ๋Š” ๊ฒฝ์šฐ ์ €์—๊ฒŒ ํŽธ์ง€๋ฅผ ๋ณด๋‚ด์ฃผ์‹œ๋ฉด ๋‹ต๋ณ€ํ•ด ๋“œ๋ฆฌ๊ฒ ์Šต๋‹ˆ๋‹ค!

์„ค๋ช…์— ์ ํžŒ ๋Œ€๋กœ ๋‹ค ํ–ˆ์Šต๋‹ˆ๋‹ค. ๋‚ด ๋ชจ๋“  ๋…ธ๋ ฅ๊ณผ ์‹œ๋„์—๋„ ๋ถˆ๊ตฌํ•˜๊ณ  ๋‚˜๋Š” ๊ฐ™์€ ์˜ค๋ฅ˜๋ฅผ ๋ฐ˜๋ณตํ•ด์„œ ๋ฐ›๊ณ  ์žˆ์—ˆ์Šต๋‹ˆ๋‹ค.

edge-orchestration.tar ํŒŒ์ผ์„ ๋กœ๋“œํ•˜๋ ค๊ณ  ํ•˜๋ฉด ์„ฑ๊ณต์ ์œผ๋กœ ์—…๋กœ๋“œ๋ฉ๋‹ˆ๋‹ค. ๊ทธ๋Ÿฌ๋‚˜ ์ด๋ฏธ์ง€๋ฅผ ๋กœ๋“œํ•˜๋ฉด ์•„๋ž˜์™€ ๊ฐ™์ด ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

$ ๋„์ปค ์ด๋ฏธ์ง€
์ €์žฅ์†Œ ํƒœ๊ทธ ์ด๋ฏธ์ง€ ID ์ƒ์„ฑ๋œ ํฌ๊ธฐ
์—†์Œ ์—†์Œ f925adb3.... 3์ดˆ ์ „ 171MB

๋ฐฉ๊ธˆ ํ™•์ธํ–ˆ๋Š”๋ฐ ๋ชจ๋“  ๊ฒƒ์ด ์ž˜ ์ž‘๋™ํ•ฉ๋‹ˆ๋‹ค.

pi<strong i="6">@raspberrypi</strong>:~ $ docker images
REPOSITORY           TAG       IMAGE ID       CREATED          SIZE
edge-orchestration   coconut   8b3bc48edd34   27 minutes ago   159MB
hello-world          latest    851163c78e4a   19 months ago    4.85kB

๋นŒ๋“œ ๋ฐฉ๋ฒ•์„ ์ž์„ธํžˆ ์ž‘์„ฑํ•˜๊ณ  ๋นŒ๋“œํ•  ํ”Œ๋žซํผ์„ ์„ค๋ช…ํ•ฉ๋‹ˆ๋‹ค.

๋‚˜๋Š” ๋ผ์ฆˆ๋ฒ ๋ฆฌ ํŒŒ์ด 3b ๋ณด๋“œ๋ฅผ ์‚ฌ์šฉ
๊ทธ๋ฆฌ๊ณ  ๊ทธ์— ๋”ฐ๋ผ raspberry_pi3.md์— ์ž‘์„ฑ๋œ ๋นŒ๋“œ๋ฅผ ์™„๋ฃŒํ–ˆ์Šต๋‹ˆ๋‹ค.

๊ทธ๋ฆฌ๊ณ  ์˜ต์…˜ 2. raspberry pi3 ๋ณด๋“œ์— ์ง์ ‘ ๋นŒ๋“œ

๋จผ์ € ์ „์ œ ์กฐ๊ฑด์„ ๊ตฌ์ถ•ํ•œ ๋‹ค์Œ gocompiler๋ฅผ ๊ตฌ์ถ•ํ–ˆ์Šต๋‹ˆ๋‹ค.

๊ทธ๋Ÿฐ ๋‹ค์Œ ์ฃผ์–ด์ง„ ๋งํฌ์—์„œ git ์ฝ”๋“œ๋ฅผ ๋ณต์ œํ–ˆ์Šต๋‹ˆ๋‹ค.

๋˜ํ•œ gocov, gocov-html, staticcheck, ์ถ”๊ฐ€ Linux ์œ ํ‹ธ๋ฆฌํ‹ฐ๋„ ์„ค์น˜ํ–ˆ์Šต๋‹ˆ๋‹ค.

๋ฐฉ๊ธˆ ์„ฑ๊ณต์ ์œผ๋กœ ๋นŒ๋“œ(๋ผ์ฆˆ๋ฒ ๋ฆฌ ํŒŒ์ด 3b ๋ณด๋“œ์—์„œ ์ง์ ‘)ํ•˜๊ณ  ์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜์„ ์‹œ์ž‘ํ–ˆ์Šต๋‹ˆ๋‹ค.
๋‹ค์Œ ๋‹จ๊ณ„๋ฅผ ์ผ๊ด€๋˜๊ฒŒ ์ˆ˜ํ–‰ํ•ด ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

$ cd <YOUR_DIRECTORY_PATH>/edge-home-orchestration-go
$ make distclean
$ make create_context CONFIGFILE=armc
$ make

๋‹ค์Œ ์„ธ๋ถ€ ์ •๋ณด:

pi<strong i="10">@raspberrypi</strong>:~/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
pi<strong i="11">@raspberrypi</strong>:~/projects/edge-home-orchestration-go $ cd bin/
pi<strong i="12">@raspberrypi</strong>:~/projects/edge-home-orchestration-go/bin $ ls
edge-orchestration  edge-orchestration.tar  qemu
pi<strong i="13">@raspberrypi</strong>:~/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
pi<strong i="14">@raspberrypi</strong>:~/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
pi<strong i="15">@raspberrypi</strong>:~/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
pi<strong i="16">@raspberrypi</strong>:~/projects/edge-home-orchestration-go/bin $

ํ”„๋กœ์ ํŠธ๋ฅผ ๊ตฌ์ถ•ํ•  ๋•Œ ๋น„๋””์˜ค๋ฅผ ๋ณด๋‚ด์ฃผ์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ? ๋‚˜๋Š” ํ•  ์ˆ˜ ์—†๋‹ค
๋‚ด๊ฐ€ ์ž˜๋ชป ๊ฐ€๊ณ ์žˆ๋Š” ๊ณณ.

๋ฐฉ๊ธˆ ๋‹ค์‹œ ์‹œ๋„ํ–ˆ๋Š”๋ฐ ์—ฌ์ „ํžˆ ๋™์ผํ•œ ์˜ค๋ฅ˜ ๋ฉ”์‹œ์ง€๊ฐ€ ํ‘œ์‹œ๋ฉ๋‹ˆ๋‹ค.

2021๋…„ 8์›” 16์ผ ์›”์š”์ผ 14:15 Taras Drozdovskyi @ . * >
์ผ๋‹ค:

๋ฐฉ๊ธˆ ์„ฑ๊ณต์ ์œผ๋กœ ๊ตฌ์ถ•ํ–ˆ์œผ๋ฉฐ(๋ผ์ฆˆ๋ฒ ๋ฆฌ ํŒŒ์ด 3b ๋ณด๋“œ์—์„œ ์ง์ ‘)
์—ฃ์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜์„ ์‹œ์ž‘ํ–ˆ์Šต๋‹ˆ๋‹ค.
๋‹ค์Œ ๋‹จ๊ณ„๋ฅผ ์ผ๊ด€๋˜๊ฒŒ ์ˆ˜ํ–‰ํ•ด ๋ณด๊ฒ ์Šต๋‹ˆ๋‹ค.

$cd/edge-home-orchestration-go
$ make make distclean
$ make create_context CONFIGFILE=armc
$ ๋งŒ๋“ค๋‹ค

๋‹ค์Œ ์„ธ๋ถ€ ์ •๋ณด:

@ . :~/projects/edge-home-orchestration-go $ ๋„์ปค ์ด๋ฏธ์ง€์ €์žฅ์†Œ ํƒœ๊ทธ ์ด๋ฏธ์ง€ ID ์ƒ์„ฑ๋œ ํฌ๊ธฐarm32v7/ubuntu 16.04 f46cdaad2749 2์ฃผ ์ „ 106MBhello-world ์ตœ์‹  851163c78e4a 19 ๊ฐœ์›” ์ „ 4.85kB* @ . :~/projects/edge-home-orchestration-go $ cd bin/
@ . :~/projects/edge-home-orchestration-go/bin $ lsedge-orchestration edge-orchestration.tar qemu. :~/projects/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
ad79db33824f: ๋ ˆ์ด์–ด ๋กœ๋“œ =====>] 18.81MB/18.81MB
e95fd3a21c29: ๋ ˆ์ด์–ด ๋กœ๋“œ =====>] 2.048kB/2.048kB
bbe81e41c183: ๋ ˆ์ด์–ด ๋กœ๋“œ =====>] 2.56kB/2.56kB
d1cdd59a814e: ๋ ˆ์ด์–ด ๋กœ๋“œ ์ค‘ [=========================================== =====>] 26.79MB/26.79MB
4071d8510dd0: ๋ ˆ์ด์–ด ๋กœ๋“œ =====>] 2.571MB/2.571MB
๋กœ๋“œ๋œ ์ด๋ฏธ์ง€: edge-orch estration:์ฝ”์ฝ”๋„›
@ . :~/projects/edge-home-orchestration-go/bin $ ๋„์ปค ์ด๋ฏธ์ง€์ €์žฅ์†Œ ํƒœ๊ทธ ์ด๋ฏธ์ง€ ID ์ƒ์„ฑ๋œ ํฌ๊ธฐedge-orchestration ์ฝ”์ฝ”๋„› 3354de41d248 13๋ถ„ ์ „ 154MBarm32v7/ubuntu 16.04 f46cdaad2749 2์ฃผ ์ „ 106MBhello-world ์ตœ์‹  851163c78e4a 19 ๊ฐœ์›” ์ „ 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. ์–‘๋ง:rw -v /proc/:/process/:ro edge-orch estration:์ฝ”์ฝ”๋„›
047d30372ff214b1fa3304c3c319ac145298b6abff4a22dd48b937af3b2d122f
@ .**:~/projects/edge-home-orchestration-go/bin $

โ€”
๋‹น์‹ ์ด ๋Œ“๊ธ€์„ ๋‹ฌ์•˜๊ธฐ ๋•Œ๋ฌธ์— ์ด๊ฒƒ์„ ๋ฐ›๋Š” ๊ฒƒ์ž…๋‹ˆ๋‹ค.
์ด ์ด๋ฉ”์ผ์— ์ง์ ‘ ๋‹ต์žฅํ•˜๊ณ  GitHub์—์„œ ํ™•์ธํ•˜์„ธ์š”.
https://github.com/lf-edge/edge-home-orchestration-go/issues/363#issuecomment-899501233 ,
๋˜๋Š” ๊ตฌ๋… ์ทจ์†Œ
https://github.com/notifications/unsubscribe-auth/APTA5RUWOIKISKF2AU3KLLTT5EFPJANCNFSM5CGFXW7Q
.

๋ฌด์Šจ ์ผ์„ ํ•˜๋Š”์ง€ ์ž์„ธํ•œ ๋กœ๊ทธ๋ฅผ ๋ณด๋‚ด์ฃผ๋Š” ๊ฒŒ ๋งž๋‹ค๊ณ  ์ƒ๊ฐํ•œ๋‹ค.

๊ฐ™์€ ๋ฌธ์ œ๊ฐ€ ๊ณ„์† ๋ฐœ์ƒํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ํ”„๋กœ์ ํŠธ๋ฅผ ๋นŒ๋“œํ•˜๊ณ  ํ™ˆ ์—์ง€ ์žฅ์น˜๋กœ ํ…Œ์ŠคํŠธํ•˜๋Š” ๋ฐฉ๋ฒ•์— ๋Œ€ํ•œ ์ง€์นจ ๋น„๋””์˜ค๋ฅผ ๋ณด๋‚ด์ฃผ์‹ญ์‹œ์˜ค. ๊ทธ๋ž˜์•ผ ํ”„๋กœ์ ํŠธ๋ฅผ ๋นŒ๋“œํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

์•ˆ๋…•ํ•˜์„ธ์š”, raspberry pi3b ๋ณด๋“œ๋ฅผ RESTAPI ์„œ๋ฒ„์— ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐ ๋ฌธ์ œ๊ฐ€ ์žˆ์Šต๋‹ˆ๋‹ค. ๋ˆ„๊ตฌ๋“ ์ง€ ์ด ๋ฌธ์ œ๋ฅผ ๋„์™€์ฃผ์„ธ์š”!!!

์ •๋ง ๋„์›€์„ ๋“œ๋ฆฌ๊ณ  ์‹ถ์ง€๋งŒ ๊ฐ€์ง€๊ณ  ๊ณ„์‹œ๋Š” ๋กœ๊ทธ๋ฅผ ๋ณด์—ฌ์ฃผ์‹œ์ง€ ์•Š์„ ๋•Œ๋งˆ๋‹ค ์ €ํฌ๊ฐ€ ๋„์™€๋“œ๋ฆฌ๊ธฐ ์–ด๋ ต์Šต๋‹ˆ๋‹ค.

INFO[2021-08-16T19:33:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:33:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:33:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:33:13Z]discovery.go:577 func1
INFO[2021-08-16T19:34:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:34:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:34:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:34:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:34:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:34:13Z]discovery.go:577 func1
INFO[2021-08-16T19:34:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:34:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:34:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:34:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:34:13Z]discovery.go:577 func1
INFO[2021-08-16T19:35:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:35:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:35:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:35:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:35:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:35:13Z]discovery.go:577 func1
INFO[2021-08-16T19:35:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:35:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:35:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:35:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:35:13Z]discovery.go:577 func1
์ •๋ณด[2021-08-16T19:36:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:36:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:36:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:36:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:36:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:36:13Z]discovery.go:577 func1
INFO[2021-08-16T19:36:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:36:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:36:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:36:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:36:13Z]discovery.go:577 func1
INFO[2021-08-16T19:37:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:37:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:37:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:37:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:37:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:37:13Z]discovery.go:577 func1
INFO[2021-08-16T19:37:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:37:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:37:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:37:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:37:13Z]discovery.go:577 func1
INFO[2021-08-16T19:38:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:38:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:38:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:38:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:38:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:38:13Z]discovery.go:577 func1
INFO[2021-08-16T19:38:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:38:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:38:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:38:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:38:13Z]discovery.go:577 func1
INFO[2021-08-16T19:39:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:39:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:39:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:39:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:39:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:39:13Z]discovery.go:577 func1
INFO[2021-08-16T19:39:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:39:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:39:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:39:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:39:13Z]discovery.go:577 func1
INFO[2021-08-16T19:40:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:40:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:40:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:40:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:40:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:40:13Z]discovery.go:577 func1
INFO[2021-08-16T19:40:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:40:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:40:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:40:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:40:13Z]discovery.go:577 func1
INFO[2021-08-16T19:41:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:41:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:41:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:41:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:41:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:41:13Z]discovery.go:577 func1
INFO[2021-08-16T19:41:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:41:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:41:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:41:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:41:13Z]discovery.go:577 func1
INFO[2021-08-16T19:42:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:42:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:42:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:42:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:42:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:42:13Z]discovery.go:577 func1
INFO[2021-08-16T19:42:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:42:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:42:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:42:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:42:13Z]discovery.go:577 func1
INFO[2021-08-16T19:43:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:43:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:43:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:43:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:43:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:43:13Z]discovery.go:577 func1
INFO[2021-08-16T19:43:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:43:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:43:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:43:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:43:13Z]discovery.go:577 func1
INFO[2021-08-16T19:44:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:44:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:44:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:44:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:44:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:44:13Z]discovery.go:577 func1
INFO[2021-08-16T19:44:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:44:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:44:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:44:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:44:13Z]discovery.go:577 func1
INFO[2021-08-16T19:45:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:45:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:45:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:45:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:45:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:45:13Z]discovery.go:577 func1
INFO[2021-08-16T19:45:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:45:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:45:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:45:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:45:13Z]discovery.go:577 func1
์ •๋ณด[2021-08-16T19:46:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:46:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:46:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:46:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:46:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:46:13Z]discovery.go:577 func1
INFO[2021-08-16T19:46:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:46:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:46:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:46:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:46:13Z]discovery.go:577 func1
INFO[2021-08-16T19:47:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:47:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:47:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:47:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:47:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:47:13Z]discovery.go:577 func1
INFO[2021-08-16T19:47:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:47:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:47:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:47:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:47:13Z]discovery.go:577 func1
INFO[2021-08-16T19:48:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:48:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:48:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:48:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:48:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:48:13Z]discovery.go:577 func1
INFO[2021-08-16T19:48:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:48:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:48:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:48:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:48:13Z]discovery.go:577 func1
์ •๋ณด[2021-08-16T19:49:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:49:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:49:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:49:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:49:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:49:13Z]discovery.go:577 func1
INFO[2021-08-16T19:49:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:49:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:49:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:49:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:49:13Z]discovery.go:577 func1
INFO[2021-08-16T19:50:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:50:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:50:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:50:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:50:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:50:13Z]discovery.go:577 func1
INFO[2021-08-16T19:50:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:50:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:50:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:50:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:50:13Z]discovery.go:577 func1
INFO[2021-08-16T19:51:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:51:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:51:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:51:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:51:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:51:13Z]discovery.go:577 func1
INFO[2021-08-16T19:51:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:51:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:51:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:51:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:51:13Z]discovery.go:577 func1
INFO[2021-08-16T19:52:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:52:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:52:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:52:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:52:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:52:13Z]discovery.go:577 func1
INFO[2021-08-16T19:52:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:52:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:52:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:52:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:52:13Z]discovery.go:577 func1
INFO[2021-08-16T19:53:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:53:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:53:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:53:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:53:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:53:13Z]discovery.go:577 func1
INFO[2021-08-16T19:53:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:53:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:53:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:53:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:53:13Z]discovery.go:577 func1
์ •๋ณด[2021-08-16T19:54:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:54:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:54:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:54:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:54:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:54:13Z]discovery.go:577 func1
INFO[2021-08-16T19:54:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:54:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:54:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:54:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:54:13Z]discovery.go:577 func1
INFO[2021-08-16T19:55:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:55:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:55:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:55:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:55:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:55:13Z]discovery.go:577 func1
INFO[2021-08-16T19:55:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:55:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:55:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:55:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:55:13Z]discovery.go:577 func1
INFO[2021-08-16T19:56:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:56:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:56:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:56:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:56:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:56:13Z]discovery.go:577 func1
INFO[2021-08-16T19:56:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:56:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:56:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:56:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:56:13Z]discovery.go:577 func1
์ •๋ณด[2021-08-16T19:57:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:57:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:57:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:57:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:57:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:57:13Z]discovery.go:577 func1
INFO[2021-08-16T19:57:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:57:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:57:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:57:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:57:13Z]discovery.go:577 func1
์ •๋ณด[2021-08-16T19:58:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:58:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:58:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:58:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:58:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:58:13Z]discovery.go:577 func1
INFO[2021-08-16T19:58:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:58:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:58:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:58:13Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:58:13Z]discovery.go:577 func1
์ •๋ณด[2021-08-16T19:59:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T19:59:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:59:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:59:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:59:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:59:13Z]discovery.go:577 func1
INFO[2021-08-16T19:59:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T19:59:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T19:59:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T19:59:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T19:59:13Z]discovery.go:577 func1
INFO[2021-08-16T20:00:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T20:00:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:00:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T20:00:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:00:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T20:00:13Z]discovery.go:577 func1
INFO[2021-08-16T20:00:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:00:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-16T20:00:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:00:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-16T20:00:13Z]discovery.go:577 func1
INFO[2021-08-16T20:01:13Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-16T20:01:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:01:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:01:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:01:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:01:13Z]discovery.go:577 func1
INFO[2021-08-16T20:01:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:01:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:01:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:01:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:01:13Z]discovery.go:577 func1
INFO[2021-08-16T20:02:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:02:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:02:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:02:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:02:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:02:13Z]discovery.go:577 func1
INFO[2021-08-16T20:02:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:02:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:02:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:02:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:02:13Z]discovery.go:577 func1
INFO[2021-08-16T20:03:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:03:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:03:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:03:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:03:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:03:13Z]discovery.go:577 func1
INFO[2021-08-16T20:03:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:03:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:03:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:03:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:03:13Z]discovery.go:577 func1
INFO[2021-08-16T20:04:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:04:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:04:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:04:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:04:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:04:13Z]discovery.go:577 func1
INFO[2021-08-16T20:04:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:04:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:04:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:04:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:04:13Z]discovery.go:577 func1
INFO[2021-08-16T20:05:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:05:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:05:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:05:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:05:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:05:13Z]discovery.go:577 func1
INFO[2021-08-16T20:05:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:05:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:05:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:05:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:05:13Z]discovery.go:577 func1
INFO[2021-08-16T20:06:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:06:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:06:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:06:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:06:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:06:13Z]discovery.go:577 func1
INFO[2021-08-16T20:06:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:06:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:06:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:06:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:06:13Z]discovery.go:577 func1
INFO[2021-08-16T20:07:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:07:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:07:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:07:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:07:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:07:13Z]discovery.go:577 func1
INFO[2021-08-16T20:07:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:07:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:07:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:07:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:07:13Z]discovery.go:577 func1
INFO[2021-08-16T20:08:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:08:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:08:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:08:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:08:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:08:13Z]discovery.go:577 func1
INFO[2021-08-16T20:08:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:08:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:08:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:08:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:08:13Z]discovery.go:577 func1
INFO[2021-08-16T20:09:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:09:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:09:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:09:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:09:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:09:13Z]discovery.go:577 func1
INFO[2021-08-16T20:09:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:09:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:09:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:09:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:09:13Z]discovery.go:577 func1
INFO[2021-08-16T20:10:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:10:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:10:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:10:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:10:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:10:13Z]discovery.go:577 func1
INFO[2021-08-16T20:10:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:10:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:10:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:10:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:10:13Z]discovery.go:577 func1
INFO[2021-08-16T20:11:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:11:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:11:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:11:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:11:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:11:13Z]discovery.go:577 func1
INFO[2021-08-16T20:11:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:11:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:11:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:11:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:11:13Z]discovery.go:577 func1
INFO[2021-08-16T20:12:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:12:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:12:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:12:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:12:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:12:13Z]discovery.go:577 func1
INFO[2021-08-16T20:12:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:12:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:12:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:12:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:12:13Z]discovery.go:577 func1
INFO[2021-08-16T20:13:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:13:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:13:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:13:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:13:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:13:13Z]discovery.go:577 func1
INFO[2021-08-16T20:13:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:13:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:13:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:13:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:13:13Z]discovery.go:577 func1
INFO[2021-08-16T20:14:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:14:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:14:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:14:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:14:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:14:13Z]discovery.go:577 func1
INFO[2021-08-16T20:14:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:14:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:14:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:14:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:14:13Z]discovery.go:577 func1
INFO[2021-08-16T20:15:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:15:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:15:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:15:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:15:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:15:13Z]discovery.go:577 func1
INFO[2021-08-16T20:15:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:15:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:15:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:15:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:15:13Z]discovery.go:577 func1
INFO[2021-08-16T20:16:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:16:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:16:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:16:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:16:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:16:13Z]discovery.go:577 func1
INFO[2021-08-16T20:16:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:16:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:16:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:16:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:16:13Z]discovery.go:577 func1
INFO[2021-08-16T20:17:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:17:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:17:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:17:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:17:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:17:13Z]discovery.go:577 func1
INFO[2021-08-16T20:17:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:17:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:17:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:17:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:17:13Z]discovery.go:577 func1
INFO[2021-08-16T20:18:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-16T20:18:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:18:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:18:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:18:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:18:13Z]discovery.go:577 func1
INFO[2021-08-16T20:18:13Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-16T20:18:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-16T20:18:13Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-16T20:18:13Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-16T20:18:13Z]discovery.go:577 func1

* docker logs -f edge-orchestration ํ•  ๋•Œ ์ด๊ฒƒ์„ ์–ป์Šต๋‹ˆ๋‹ค.

์•ž์œผ๋กœ ์–ด๋–ป๊ฒŒ ์ง„ํ–‰ํ•ด์•ผ ํ•˜๋Š”์ง€ ์•Œ๋ ค์ฃผ์‹ค ์ˆ˜ ์žˆ์œผ์‹ ๊ฐ€์š”?

์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜์„ ์‹œ์ž‘ํ•œ ํ›„ ๋‹ค์Œ ๋ช…๋ น์„ ์‚ฌ์šฉํ•˜์—ฌ hello-world ์ปจํ…Œ์ด๋„ˆ ์‹œ์ž‘ ์š”์ฒญ์„ ๋ณด๋‚ผ ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.

$ curl -X POST "IP: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\"}"

์—ฌ๊ธฐ์„œ IP๋Š” ๊ท€ํ•˜์˜ IP ์ฃผ์†Œ์ž…๋‹ˆ๋‹ค.

curl -X POST "80.195.171.141:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜•: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -d "{ \"์„œ๋น„์Šค ์ด๋ฆ„\": \ "hello-world\", \"ServiceInfo\": [{ \"ExecutionType\": \"container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v \", \"/var/run:/var/ run:rw\ ", \"hello-world\"]}], \"StatusCallbackURI\": \" http://localhost :8888/api/v1/ ์„œ๋น„์Šค/์•Œ๋ฆผ\"}"

curl: (7) 80.195.171.141 ํฌํŠธ 56001์— ์—ฐ๊ฒฐํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค: ์—ฐ๊ฒฐ ์‹œ๊ฐ„ ์ดˆ๊ณผ

๋‚˜์—๊ฒŒ ์ด๋ ‡๊ฒŒ ๋ณด์—ฌ์ฃผ๊ณ  ์žˆ๋‹ค

์ฃผ์†Œ 192.168.0.37์„ ์‚ฌ์šฉํ•ด ์ฃผ์„ธ์š”.

curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜•: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -d "{ \"์„œ๋น„์Šค ์ด๋ฆ„\": \ "hello-world\", \"ServiceInfo\": [{ \"ExecutionType\": \"container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v \", \"/var/run:/var/ run:rw\ ", \"hello-world\"]}], \"StatusCallbackURI\": \" http://localhost :8888/api/v1/ ์„œ๋น„์Šค/์•Œ๋ฆผ\"}"
curl: (7) 192.168.0.37 ํฌํŠธ 56001์— ์—ฐ๊ฒฐํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค: ์—ฐ๊ฒฐ์ด ๊ฑฐ๋ถ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

์‹คํ–‰ํ•ด์ฃผ์„ธ์š”

$ docker stop edge-orchestration
$ docker rm edge-orchestration
$ 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
$ 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\"}"

pi@raspberrypi :~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
pi@raspberrypi :~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
pi@raspberrypi :~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var /์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜/:rw -v /var/run/docker.sock:/var/run/docker. ์–‘๋ง:rw -v /proc/:/process/:ro edge-orch estration:์ฝ”์ฝ”๋„›
b970d50e1035ba0c2e5b42b64025662dd04a774ff1aa9ab55c36e1ee964c66ec
pi@raspberrypi :~/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: application/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜• : application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "์ปจํ…Œ์ด๋„ˆ", "ExecCmd": [ "๋„์ปค", "์‹คํ–‰", "-v" , "/var/run:/var/ run:rw ", "hello-world"]}], "StatusCallbackURI": " http://localhost :8888/api/v1/services/notification\"}"

๋ณ€ํ™”๊ฐ€ ์—†์–ด ๊ทธ๋ƒฅ ์ด๋Œ€๋กœ ๊ฝ๊ฝ ์–ผ์—ˆ๋‹ค

๋กœ๊ทธ๋ฅผ ๊ณต์œ ํ•ด์ฃผ์„ธ์š”

$ docker logs -f edge-orchestration

๋„์ปค ๋กœ๊ทธ -f ์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
INFO[2021-08-17T19:12:54Z]main.go:91 OrchestrationInit [์ธํ„ฐํŽ˜์ด์Šค] OrchestrationInit
์ •๋ณด[2021-08-17T19:12:54Z]main.go:92 OrchestrationInit >>> commitID : e75c75e
INFO[2021-08-17T19:12:54Z]main.go:93 OrchestrationInit >>> ๋ฒ„์ „:
INFO[2021-08-17T19:12:54Z]main.go:94 OrchestrationInit >>> buildTime : 20210816.1929
INFO[2021-08-17T19:12:54Z]main.go:95 OrchestrationInit >>> buildTags :
INFO[2021-08-17T19:12:54Z]cipherDummy.go:46 GetCipher๊ฐ€ keyFilePath์—์„œ ์•”ํ˜ธ ํ‚ค๋ฅผ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. /var/edge-orchestration/user/orchestration_userID.txt ์—ด๊ธฐ: ํ•ด๋‹น ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
INFO[2021-08-17T19:12:54Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] ๋ชจ๋“  ์žฅ์น˜ ์ •๋ณด ์‚ญ์ œ
INFO[2021-08-17T19:12:54Z]discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24
์ •๋ณด[2021-08-17T19:12:54Z]discovery.go:398 setDeviceID [discoverymgr] UUID: 28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO[2021-08-17T19:12:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:12:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:12:54Z]discovery.go:577 func1
INFO[2021-08-17T19:12:54Z]configuremgr.go:146 /var/edge-orchestration/apps ์‹œ์ฒญ ์‹œ์ž‘
INFO[2021-08-17T19:12:54Z]configuremgr.go:147 watch configuremgr ๊ฐ์‹œ์ž ๋ ˆ์ง€์Šคํ„ฐ ๋
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1Ping GET /api/v1/ping 0x6ac060} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]cipherDummy.go:46 GetCipher๊ฐ€ keyFilePath์—์„œ ์•”ํ˜ธ ํ‚ค๋ฅผ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. /var/edge-orchestration/user/orchestration_userID.txt ์—ด๊ธฐ: ํ•ด๋‹น ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} ์ถ”๊ฐ€
INFO[2021-08-17T19:12:54Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-17T19:12:54Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-17T19:12:54Z]main.go:182 OrchestrationInit ์ธํ„ฐํŽ˜์ด์Šค ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜ ์ดˆ๊ธฐํ™” ์™„๋ฃŒ
INFO[2021-08-17T19:12:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([]), RTT(0)
INFO[2021-08-17T19:12:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:12:54Z]discovery.go:577 func1
INFO[2021-08-17T19:12:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:12:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:12:54Z]discovery.go:577 func1
INFO[2021-08-17T19:12:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:12:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:12:54Z]discovery.go:577 func1
INFO[2021-08-17T19:12:55Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:55Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:55Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([]), RTT(0)
INFO[2021-08-17T19:12:55Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:12:55Z]discovery.go:577 func1
INFO[2021-08-17T19:12:55Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:55Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:55Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:12:55Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:12:55Z]discovery.go:577 func1
INFO[2021-08-17T19:12:55Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:55Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:55Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:12:55Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:12:55Z]discovery.go:577 func1
INFO[2021-08-17T19:12:56Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:56Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:12:56Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:12:56Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
INFO[2021-08-17T19:12:56Z]discovery.go:577 func1
INFO[2021-08-17T19:13:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:13:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:13:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:13:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:13:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:13:54Z]discovery.go:577 func1
INFO[2021-08-17T19:13:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:13:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:13:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:13:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:13:54Z]discovery.go:577 func1
์ •๋ณด[2021-08-17T19:14:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:14:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:14:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:14:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:14:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:14:54Z]discovery.go:577 func1
INFO[2021-08-17T19:14:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:14:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:14:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:14:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:14:54Z]discovery.go:577 func1
INFO[2021-08-17T19:15:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:15:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:15:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:15:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:15:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:15:54Z]discovery.go:577 func1
INFO[2021-08-17T19:15:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:15:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:15:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:15:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:15:54Z]discovery.go:577 func1
INFO[2021-08-17T19:16:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:16:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:16:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:16:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:16:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:16:54Z]discovery.go:577 func1
INFO[2021-08-17T19:16:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:16:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:16:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:16:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:16:54Z]discovery.go:577 func1
INFO[2021-08-17T19:17:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:17:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:17:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:17:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:17:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:17:54Z]discovery.go:577 func1
INFO[2021-08-17T19:17:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:17:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:17:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:17:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:17:54Z]discovery.go:577 func1
์ •๋ณด[2021-08-17T19:18:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:18:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:18:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:18:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:18:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:18:54Z]discovery.go:577 func1
INFO[2021-08-17T19:18:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:18:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:18:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:18:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:18:54Z]discovery.go:577 func1
INFO[2021-08-17T19:19:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:19:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:19:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:19:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:19:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:19:54Z]discovery.go:577 func1
INFO[2021-08-17T19:19:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:19:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:19:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:19:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:19:54Z]discovery.go:577 func1
INFO[2021-08-17T19:20:54Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-17T19:20:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:20:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:20:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:20:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:20:54Z]discovery.go:577 func1
INFO[2021-08-17T19:20:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:20:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-17T19:20:54Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-17T19:20:54Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-17T19:20:54Z]discovery.go:577 func1

๋กœ๊ทธ์—์„œ

INFO[2021-08-17T19:12:54Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory

/var/edge-orchestration/user/orchestration_userID.txt ํŒŒ์ผ์ด ์กด์žฌํ•˜์ง€ ์•Š์Šต๋‹ˆ๋‹ค!
์ฐธ์กฐ:

์ผํ•˜๋Š” ๋ฐฉ๋ฒ•

0. ์ „์ œ ์กฐ๊ฑด

  • /var/edge-orchestration/user/orchestration_userID.txt์˜ ๋™์ผํ•œ ์ธ์ฆ ํ‚ค

    • Edge Orchestration ์žฅ์น˜๊ฐ€ ์„œ๋กœ ํ†ต์‹ ํ•  ์ˆ˜ ์žˆ๋„๋ก ํ•˜๋ ค๋ฉด ๋‹ค์Œ์—์„œ ๊ฐ ์žฅ์น˜์— ๋™์ผํ•œ ์ธ์ฆ ํ‚ค๊ฐ€ ์žˆ์–ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.

      /var/edge-orchestration/data/cert/edge-orchestration.key (๋ชจ๋“  ์ธ์ฆ์„œ ํŒŒ์ผ์ด ์ธ์ฆ ํ‚ค๊ฐ€ ๋  ์ˆ˜ ์žˆ์Œ)

https://github.com/lf-edge/edge-home-orchestration-go/blob/master/docs/platforms/x86_64_linux/x86_64_linux.md#how-to-work

๋‹ค์Œ ๋ช…๋ น์˜ ๊ฒฐ๊ณผ๋ฅผ ๊ณต์œ ํ•˜์‹ญ์‹œ์˜ค(๋ผ์ฆˆ๋ฒ ๋ฆฌ์—์„œ):

$ tree /var/edge-orchestration

ํŠธ๋ฆฌ /var/์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
/var/์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
์•ฑ
๋ฐ์ดํ„ฐ
\u2502\u00a0\u00a0 \u251c\u2500\u2500 ์ธ์ฆ์„œ
\u2502\u00a0\u00a0 \u2514\u2500\u2500 DB
\u2502\u00a0\u00a0 \u2514\u2500\u2500 data.db
๋ฐ์ดํ„ฐ ์Šคํ† ๋ฆฌ์ง€
๊ธฐ๊ธฐ
\u2502\u00a0\u00a0 \u2514\u2500\u2500 Orchestration_deviceID.txt
๋กœ๊ทธ
\u2502\u00a0\u00a0 \u251c\u2500\u2500 logmgr.log
\u2502\u00a0\u00a0 \u2514\u2500\u2500 logmgr.log.1
mnedc
\u2514\u2500\u2500 ์‚ฌ์šฉ์ž

9๊ฐœ์˜ ๋””๋ ‰ํ† ๋ฆฌ, 4๊ฐœ์˜ ํŒŒ์ผ

curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: application/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜•: application/json" -d "{ "์„œ๋น„์Šค ์ด๋ฆ„": "์•ˆ๋…•ํ•˜์„ธ์š”- ์„ธ๊ณ„", "์„œ๋น„์Šค ์ •๋ณด": [{ "์‹คํ–‰ ์œ ํ˜•": "์ปจํ…Œ์ด๋„ˆ", "ExecCmd": [ "๋„์ปค", "์‹คํ–‰", "-v", "/var/run:/var/ run:rw ", " hello-world"]}], "StatusCallbackURI": " http://localhost :8888/api/v1/services/notification\"}"
curl: (7) 192.168.0.37 ํฌํŠธ 56001์— ์—ฐ๊ฒฐํ•˜์ง€ ๋ชปํ–ˆ์Šต๋‹ˆ๋‹ค: ์—ฐ๊ฒฐ์ด ๊ฑฐ๋ถ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.

@mchittineni ๊ท€ํ•˜์˜ rpi์— 56001 ํฌํŠธ๋ฅผ ์‚ฌ์šฉํ•˜๋Š” ์†Œํ”„ํŠธ์›จ์–ด๊ฐ€ ์žˆ๋Š” ๊ฒƒ ๊ฐ™์Šต๋‹ˆ๋‹ค. Edge Orchestration ์—†์ด ๋„คํŠธ์›Œํฌ ์ƒํƒœ๋ฅผ ํ™•์ธํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ? ๋‹ค์Œ ๋ช…๋ น์ด ๋„์›€์ด ๋˜๊ธฐ๋ฅผ ๋ฐ”๋ž๋‹ˆ๋‹ค.

$ docker stop edge-orchestration
$ docker rm edge-orchestration
$ sudo netstat -nap | grep 56001
docker stop edge-orchestration
edge-orchestration
pi<strong i="5">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
edge-orchestration
pi<strong i="6">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
pi<strong i="7">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker logs -f edge-orchestration
Error: No such container: edge-orchestration

์—ฌ์ „ํžˆ REST API์— ์—ฐ๊ฒฐํ•  ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค.

pi<strong i="5">@raspberrypi</strong>:~ $ sudo apt-get install qemu binfmt-support qemu-user-static
Reading package lists... Done
Building dependency tree       
Reading state information... Done
binfmt-support is already the newest version (2.2.0-2).
qemu is already the newest version (1:3.1+dfsg-8+deb10u8).
qemu-user-static is already the newest version (1:3.1+dfsg-8+deb10u8).
0 upgraded, 0 newly installed, 0 to remove and 94 not upgraded.
pi<strong i="6">@raspberrypi</strong>:~ $ cd /home/pi/edge-home-orchestration-go
pi<strong i="7">@raspberrypi</strong>:~/edge-home-orchestration-go $ make distclean

--------------------------------------
  Build clean
--------------------------------------
/bin/sh: 1: go: not found
make: *** [Makefile:190: clean] Error 127
pi<strong i="8">@raspberrypi</strong>:~/edge-home-orchestration-go $ make create_context CONFIGFILE=armc
make: Nothing to be done for 'create_context'.
pi<strong i="9">@raspberrypi</strong>:~/edge-home-orchestration-go $ make
make clean
make[1]: Entering directory '/home/pi/edge-home-orchestration-go'

--------------------------------------
  Build clean
--------------------------------------
/bin/sh: 1: go: not found
make[1]: *** [Makefile:190: clean] Error 127
make[1]: Leaving directory '/home/pi/edge-home-orchestration-go'
make: *** [Makefile:246: all] Error 2
pi<strong i="10">@raspberrypi</strong>:~/edge-home-orchestration-go $ docker images
REPOSITORY           TAG       IMAGE ID       CREATED       SIZE
edge-orchestration   coconut   22a0cb262840   2 days ago    154MB
arm32v7/ubuntu       16.04     f46cdaad2749   3 weeks ago   106MB
hello-world          latest    1a30b4397839   5 weeks ago   4.85kB
pi<strong i="11">@raspberrypi</strong>:~/edge-home-orchestration-go $ cd bin/
pi<strong i="12">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ ls
edge-orchestration  edge-orchestration.tar  qemu
pi<strong i="13">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
Loaded image: edge-orchestration:coconut
pi<strong i="14">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker images
REPOSITORY           TAG       IMAGE ID       CREATED       SIZE
edge-orchestration   coconut   22a0cb262840   2 days ago    154MB
arm32v7/ubuntu       16.04     f46cdaad2749   3 weeks ago   106MB
hello-world          latest    1a30b4397839   5 weeks ago   4.85kB
pi<strong i="15">@raspberrypi</strong>:~/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
docker: Error response from daemon: Conflict. The container name "/edge-orchestration" is already in use by container "b970d50e1035ba0c2e5b42b64025662dd04a774ff1aa9ab55c36e1ee964c66ec". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
pi<strong i="16">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ 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\"}"
> ^C
pi<strong i="17">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
edge-orchestration
pi<strong i="18">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
edge-orchestration
pi<strong i="19">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
pi<strong i="20">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ 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"}"
curl: (7) Failed to connect to 192.168.0.37 port 56001: Connection refused
pi<strong i="21">@raspberrypi</strong>:~/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
a8ebb4c18ec41afa4c76942d89bd5d0715d3b619042150881da2affb9d87901f
pi<strong i="22">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -e SECURE=true -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
docker: Error response from daemon: Conflict. The container name "/edge-orchestration" is already in use by container "a8ebb4c18ec41afa4c76942d89bd5d0715d3b619042150881da2affb9d87901f". You have to remove (or rename) that container to be able to reuse that name.
See 'docker run --help'.
pi<strong i="23">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker logs -f edge-orchestration
INFO[2021-08-18T19:30:27Z]main.go:91 orchestrationInit [interface] OrchestrationInit                
INFO[2021-08-18T19:30:27Z]main.go:92 orchestrationInit >>> commitID  :  e75c75e                     
INFO[2021-08-18T19:30:27Z]main.go:93 orchestrationInit >>> version   :                              
INFO[2021-08-18T19:30:27Z]main.go:94 orchestrationInit >>> buildTime :  20210816.1929               
INFO[2021-08-18T19:30:27Z]main.go:95 orchestrationInit >>> buildTags :                              
INFO[2021-08-18T19:30:27Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory 
INFO[2021-08-18T19:30:27Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] Delete All Device Info        
INFO[2021-08-18T19:30:27Z]helper.go:104 DoGet [http://192.168.0.37:56002/api/v1/ping] reqeust get failed !!, err = Get "http://192.168.0.37:56002/api/v1/ping": dial tcp 192.168.0.37:56002: connect: connection refused 
INFO[2021-08-18T19:30:27Z]roundtriptime.go:92 checkRTT Get "http://192.168.0.37:56002/api/v1/ping": dial tcp 192.168.0.37:56002: connect: connection refused 
INFO[2021-08-18T19:30:27Z]discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24            
INFO[2021-08-18T19:30:27Z]discovery.go:398 setDeviceID [discoverymgr] UUID :  28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]                
INFO[2021-08-18T19:30:27Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:27Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:27Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:27Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:27Z]configuremgr.go:146 Watch start watching for /var/edge-orchestration/apps 
INFO[2021-08-18T19:30:27Z]configuremgr.go:147 Watch configuremgr watcher register end            
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1Ping GET /api/v1/ping 0x6ac060}        
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} 
INFO[2021-08-18T19:30:27Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} 
INFO[2021-08-18T19:30:27Z]route.go:84 Add {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} 
INFO[2021-08-18T19:30:27Z]route.go:115 listenAndServe ListenAndServe_For_Inter                     
INFO[2021-08-18T19:30:27Z]route.go:119 listenAndServe ListenAndServe                               
INFO[2021-08-18T19:30:27Z]main.go:182 orchestrationInit interface orchestration init done            
INFO[2021-08-18T19:30:27Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:27Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:27Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0) 
INFO[2021-08-18T19:30:27Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:27Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:28Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:28Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:28Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:28Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:28Z]discovery.go:577 func1                                              
INFO[2021-08-18T19:30:29Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 
INFO[2021-08-18T19:30:29Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker) 
INFO[2021-08-18T19:30:29Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([192.168.0.37]), RTT(0) 
INFO[2021-08-18T19:30:29Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([]) 
INFO[2021-08-18T19:30:29Z]discovery.go:577 func1                                              
^C
pi<strong i="24">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
edge-orchestration
pi<strong i="25">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
edge-orchestration
pi<strong i="26">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
pi<strong i="27">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker logs -f edge-orchestration
Error: No such container: edge-orchestration
pi<strong i="28">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ 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"}"
curl: (7) Failed to connect to 192.168.0.37 port 56001: Connection refused
pi<strong i="29">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
Error response from daemon: No such container: edge-orchestration
pi<strong i="30">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
Error: No such container: edge-orchestration
pi<strong i="31">@raspberrypi</strong>:~/edge-home-orchestration-go/bin $ cd
pi<strong i="32">@raspberrypi</strong>:~ $ sudo netstat -nap | grep 56001
pi<strong i="33">@raspberrypi</strong>:~ $ cd /home/pi/edge-home-orchestration-go
pi<strong i="34">@raspberrypi</strong>:~/edge-home-orchestration-go $ make distclean

--------------------------------------
  Build clean
--------------------------------------
/bin/sh: 1: go: not found
make: *** [Makefile:190: clean] Error 127
pi<strong i="35">@raspberrypi</strong>:~/edge-home-orchestration-go $ sudo netstat -nap | grep 56001
pi<strong i="36">@raspberrypi</strong>:~/edge-home-orchestration-go $ 

_/bin/sh: 1: go: not found_ go ์ปดํŒŒ์ผ๋Ÿฌ๋ฅผ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์„ค์น˜ํ•˜๋Š” ๊ฒƒ์ด ์ข‹์Šต๋‹ˆ๋‹ค.

rpi3์— edge-orchestration ์ด๋ฏธ์ง€๊ฐ€ ์žˆ๊ณ  ์—ฌ๊ธฐ์—์„œ ๋ช…๋ น์„ ์‹คํ–‰ํ•˜๋Š” ๊ฒฝ์šฐ ์•„๋ž˜ ๋‹จ๊ณ„๋ฅผ ๋”ฐ๋ฅด์‹ญ์‹œ์˜ค.

  1. ๋„์ปค ps -a
  2. ๋„์ปค ์Šคํ†ฑ ์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
  3. docker rm ์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
  4. sudo netstat -nap | ๊ทธ๋ ™ 56001
  5. ๋„์ปค ์‹คํ–‰ -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker. ์–‘๋ง:/var/run/๋„์ปค. ์–‘๋ง:rw -v /proc/:/process/:ro edge-orch estration:์ฝ”์ฝ”๋„›
  6. sudo netstat -nap | ๊ทธ๋ ™ 56001
  7. curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜•: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -d "{ \"์„œ๋น„์Šค ์ด๋ฆ„\": \ "hello-world\", \"ServiceInfo\": [{ \"ExecutionType\": \"container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v \", \"/var/run:/var/ run:rw\ ", \"hello-world\"]}], \"StatusCallbackURI\": \" http://localhost :8888/api/v1/ ์„œ๋น„์Šค/์•Œ๋ฆผ\"}"

์ „์ฒด ๋กœ๊ทธ

pi<strong i="21">@raspberrypi</strong>:~ $ docker ps -a
CONTAINER ID   IMAGE                        COMMAND       CREATED         STATUS         PORTS     NAMES
3e6a436eaf2e   edge-orchestration:coconut   "sh run.sh"   4 minutes ago   Up 4 minutes             edge-orchestration

pi<strong i="22">@raspberrypi</strong>:~ $ docker stop edge-orchestration
edge-orchestration

pi<strong i="23">@raspberrypi</strong>:~ $ docker rm edge-orchestration
edge-orchestration

pi<strong i="24">@raspberrypi</strong>:~ $ sudo netstat -nap | grep 56001

pi<strong i="25">@raspberrypi</strong>:~ $ curl -X POST "127.0.0.1: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 127.0.0.1 port 56001: Connection refused

pi<strong i="26">@raspberrypi</strong>:~ $ 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
2300211dd0283bac01a434ec38fa5bd19e1cbd34f7943b0d87f9a60fb69ea744

pi<strong i="27">@raspberrypi</strong>:~ $ sudo netstat -nap | grep 56001
tcp6       0      0 :::56001                :::*                    LISTEN      2994/edge-orchestra

pi<strong i="28">@raspberrypi</strong>:~ $ curl -X POST "127.0.0.1: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\"}"
{"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"10.113.71.53"},"ServiceName":"hello-world"}

pi<strong i="29">@raspberrypi</strong>:~ $ docker logs -f edge-orchestration
INFO[2021-08-18T23:46:22Z]main.go:91 orchestrationInit [interface] OrchestrationInit
INFO[2021-08-18T23:46:22Z]main.go:92 orchestrationInit >>> commitID  :  e75c75e
INFO[2021-08-18T23:46:22Z]main.go:93 orchestrationInit >>> version   :
INFO[2021-08-18T23:46:22Z]main.go:94 orchestrationInit >>> buildTime :  20210818.0710
INFO[2021-08-18T23:46:22Z]main.go:95 orchestrationInit >>> buildTags :
INFO[2021-08-18T23:46:22Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-18T23:46:22Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] Delete All Device Info
INFO[2021-08-18T23:46:22Z]discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:22Z]helper.go:104 DoGet [http://10.113.71.53:56002/api/v1/ping] reqeust get failed !!, err = Get "http://10.113.71.53:56002/api/v1/ping": dial tcp 10.113.71.53:56002: connect: connection refused
INFO[2021-08-18T23:46:22Z]roundtriptime.go:92 checkRTT Get "http://10.113.71.53:56002/api/v1/ping": dial tcp 10.113.71.53:56002: connect: connection refused
INFO[2021-08-18T23:46:22Z]networkhelper.go:194 setAddrInfo [networkmgr] addr 10.113.71.53/24
INFO[2021-08-18T23:46:22Z]discovery.go:398 setDeviceID [discoverymgr] UUID :  f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:22Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [10.113.71.53]
INFO[2021-08-18T23:46:22Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:22Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:22Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:22Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:22Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]configuremgr.go:146 Watch start watching for /var/edge-orchestration/apps
INFO[2021-08-18T23:46:23Z]configuremgr.go:147 Watch configuremgr watcher register end
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1Ping GET /api/v1/ping 0x6abbf4}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6abc80}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6abcec}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6abd58}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6abdc4}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6abe30}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6abe9c}
INFO[2021-08-18T23:46:23Z]cipherDummy.go:46 GetCipher can't read passphrase key from keyFilePath -  open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a820c}
INFO[2021-08-18T23:46:23Z]route.go:84 Add {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a8278}
INFO[2021-08-18T23:46:23Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-18T23:46:23Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-18T23:46:23Z]main.go:182 orchestrationInit interface orchestration init done
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:23Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:23Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:23Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:23Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:23Z]discovery.go:577 func1
INFO[2021-08-18T23:46:24Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:24Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo    : ExecType(container), Platform(docker)
INFO[2021-08-18T23:46:24Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo     : IPv4([10.113.71.53]), RTT(0)
INFO[2021-08-18T23:46:24Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-18T23:46:24Z]discovery.go:577 func1
INFO[2021-08-18T23:46:34Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
INFO[2021-08-18T23:46:34Z]externalhandler.go:157 APIV1RequestServicePost port:  48442
INFO[2021-08-18T23:46:34Z]senderresolver.go:75 GetNameByPort returning:  curl
INFO[2021-08-18T23:46:34Z]externalhandler.go:162 APIV1RequestServicePost requester:  curl
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:159 RequestService [0] Id       : edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:160 RequestService [0] ExecType : container
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:161 RequestService [0] Endpoint : [10.113.71.53]
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:162 RequestService
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:341 func3 candidate Id       : edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:342 func3 candidate ExecType : container
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:343 func3 candidate Endpoint : 10.113.71.53
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:344 func3 candidate score    : 10.857023336603943
INFO[2021-08-18T23:46:34Z]orchestrationapi.go:247 RequestService [orchestrationapi]  [{edge-orchestration-f323e2a4-624b-4eb7-8da2-a6b9b2813415 10.113.71.53 10.857023336603943 map[] container}]
INFO[2021-08-18T23:46:34Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
INFO[2021-08-18T23:46:34Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
INFO[2021-08-18T23:46:34Z]route.go:131 func1 From [127.0.0.1:48442] POST /api/v1/orchestration/services APIV1RequestServicePost 132.227406ms
INFO[2021-08-18T23:46:37Z]containerexecutor.go:83 Execute [containerexecutor] Error response from daemon: toomanyrequests: You have reached your pull rate limit. You may increase the limit by authenticating and upgrading: https://www.docker.com/increase-rate-limit
INFO[2021-08-18T23:46:38Z]containerexecutor.go:91 Execute [containerexecutor] create container : a020e6d949
2021-08-18T23:46:39.925079455Z
2021-08-18T23:46:39.925639564Z Hello from Docker!
2021-08-18T23:46:39.925772169Z This message shows that your installation appears to be working correctly.
2021-08-18T23:46:39.925849409Z
2021-08-18T23:46:39.925914305Z To generate this message, Docker took the following steps:
2021-08-18T23:46:39.925977483Z  1. The Docker client contacted the Docker daemon.
2021-08-18T23:46:39.926037640Z  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
2021-08-18T23:46:39.926098213Z     (arm32v7)
2021-08-18T23:46:39.926155557Z  3. The Docker daemon created a new container from that image which runs the
2021-08-18T23:46:39.926213526Z     executable that produces the output you are currently reading.
2021-08-18T23:46:39.926271704Z  4. The Docker daemon streamed that output to the Docker client, which sent it
2021-08-18T23:46:39.926328423Z     to your terminal.
2021-08-18T23:46:39.926383632Z
2021-08-18T23:46:39.926441028Z To try something more ambitious, you can run an Ubuntu container with:
2021-08-18T23:46:39.926499362Z  $ docker run -it ubuntu bash
2021-08-18T23:46:39.926554883Z
2021-08-18T23:46:39.926610300Z Share images, automate workflows, and more with a free Docker ID:
2021-08-18T23:46:39.926670457Z  https://hub.docker.com/
2021-08-18T23:46:39.926727281Z
2021-08-18T23:46:39.926781448Z For more examples and ideas, visit:
2021-08-18T23:46:39.926836709Z  https://docs.docker.com/get-started/
2021-08-18T23:46:39.926890928Z
INFO[2021-08-18T23:46:40Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
INFO[2021-08-18T23:46:40Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]

๋‚˜๋Š” ์•„์ง๋„ ๋‚ด๊ฐ€ ์–ด๋””์—์„œ ์ž˜๋ชป๋˜๊ณ  ์žˆ๋Š”์ง€ ์ดํ•ดํ•  ์ˆ˜ ์—†๋‹ค


make[2]: '/home/pi/edge-home-orchestration-go/examples/native' ๋””๋ ‰ํ† ๋ฆฌ ์ž…๋ ฅ
make[2]: '/home/pi/edge-home-orchestration-go/examples/native' ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ๋‚˜๊ฐ€๊ธฐ
make[1]: '/home/pi/edge-home-orchestration-go' ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ๋‚˜๊ฐ€๊ธฐ


์ด๋™ ๋ชจ๋“œ ๊ณต๊ธ‰์—…์ฒด

GO111MODULE=๊ณ  ๋ชจ๋“œ ๊ณต๊ธ‰์—…์ฒด


์‹คํ–‰ ๋ฐ”์ด๋„ˆ๋ฆฌ ์ƒ์„ฑ

GOARM=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 || 1๋ฒˆ ์ถœ๊ตฌ
๋„์ปค ์ด๋ฏธ์ง€
์ด 18380
drwxr-xr-x 3 ํŒŒ์ด ๋„์ปค 4096 Aug 19 08:09 .
drwxr-xr-x 17 ํŒŒ์ด ๋„์ปค 4096 Aug 19 08:06 ..
-rwxr-xr-x 1 pi pi 18807524 Aug 19 08:09 edge-orchestration
drwxr-xr-x 2 pi docker 4096 Aug 16 19:32 qemu
build_docker_container ๋งŒ๋“ค๊ธฐ
make[1]: '/home/pi/edge-home-orchestration-go' ๋””๋ ‰ํ† ๋ฆฌ ์ง„์ž… ์ค‘


๋„์ปค ์ปจํ…Œ์ด๋„ˆ arm32v7 ์ƒ์„ฑ

๋„์ปค rm -f "์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜"
์˜ค๋ฅ˜: ํ•ด๋‹น ์ปจํ…Œ์ด๋„ˆ ์—†์Œ: edge-orchestration
docker rmi -f "์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜": "์ฝ”์ฝ”๋„›"
ํƒœ๊ทธ ์—†์Œ: edge-orchestration:coconut
์‚ญ์ œ๋จ: sha256:22a0cb262840318f581fb10e70c0cebd1f060f5e22e768fdca8d675a85b9d9bb
์‚ญ์ œ๋จ: sha256:48c7f6a1d5a761851b97b509d55b8071880ee3cc5e8c161d4d1c27ec577fc805
์‚ญ์ œ๋จ: sha256:fff87bea1b311f675c2dbf8644111b5823347fb88125b66a70de0c8fcb15dc2c
์‚ญ์ œ๋จ: sha256:bc1c0506020ef2a3f34d98d8c55c5ed45605237c2dfdfea47f750188cdd88192
์‚ญ์ œ๋จ: sha256:8ffe2d772ef269670bb4902f00daf0628b17ae09d12e26e52ba1d5ccb1d8f1e7
์‚ญ์ œ๋จ: sha256:b3e2316bef6326528bbfe6d86c035bfc14ef1f96b48b42f5b2917a83dbb10aa2
์‚ญ์ œ๋จ: sha256:9f13ce2dc17389d91255f7bc92f381f5a173cc60bdfa048f5ab39ef923c74079
์‚ญ์ œ๋จ: sha256:d6251c5a9b52c0c1a2248dcd94c48c17edabc8c67424aa01202b92e22b3ce823
์‚ญ์ œ๋จ: sha256:246c1dc7ec48c03354a4f8f47cc6b7a34e7b5f463d0704d93e2bed630a028390
์‚ญ์ œ๋จ: sha256:7e5898fa738759e50c07ee48a560501add8066716198e7124f50810677240068
์‚ญ์ œ๋จ: sha256:54975ebba9f478912f62a56baa6ec1f2105ddb7e798c5ea1eb5fe689facb49e6
์‚ญ์ œ๋จ: sha256:28f916d70bd7a3e9acd32cfde7c2f5d47873a667ba8c004f29dc1d00d4ba532e
์‚ญ์ œ๋จ: sha256:e871246e1657e4b7ac90c04b566729feb8a4218301fb52ad7a15c3f31f5a3841
์‚ญ์ œ๋จ: sha256:eed84de39c9afef1a9c265e14810036dc947d4f7868209fe7e122e8e6f022814
์‚ญ์ œ๋จ: sha256:e637eee76eeebc889a7ed1889693d3d6821d009ec8e2cab766d45a460ae4d785
์‚ญ์ œ๋จ: sha256:f3b92a019a90d4ee5cad0d5655a92ba47660e283bb6b93915adad7c792931252
์‚ญ์ œ๋จ: sha256:062720f3faa7fec2c82d8583114be716956267bec56c0f10c6e2a61c1d448214
์‚ญ์ œ๋จ: sha256:3ff3e65bb0031434818312701a9191ae26fae794964f6414832fc28d26f972e2
์‚ญ์ œ๋จ: sha256:c5507a13ee9970fc571f9fbcb807915a4f4910dc652c1b952526ec0a47314601
์‚ญ์ œ๋จ: sha256:c639e172668f5269e75a926c94e5904bfe863eca17fc86c657e1803fe969e247
์‚ญ์ œ๋จ: sha256:6e5d9ba4fcdc5e054936d90b79901ab361c0a3a35116cc802a0f8a6aef815a73
์‚ญ์ œ๋จ: sha256:ef27fab77e1d1c740061af1c130ef3298213d4345a06f24539e74ccb7ec6dabf
์‚ญ์ œ๋จ: sha256:3b64d3d57260226e3712c0a2045e55c8f6a03e7824bb06df7bfde701af2cb0b5
๋„์ปค ๋นŒ๋“œ --tag edge-orchestration:"coconut" --file /home/pi/edge-home-orchestration-go/Dockerfile --build-arg PLATFORM="arm32v7" .
Docker ๋ฐ๋ชฌ์— ๋นŒ๋“œ ์ปจํ…์ŠคํŠธ ๋ณด๋‚ด๊ธฐ 143.3MB
1/20๋‹จ๊ณ„ : ARG ํ”Œ๋žซํผ
2/20๋‹จ๊ณ„: $PLATFORM/ubuntu:16.04์—์„œ
---> f46cdaad2749
3/20 ๋‹จ๊ณ„ : ENV TARGET_DIR=/edge-orchestration
---> 70dad2a749b6์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์šฉ๊ธฐ ์ œ๊ฑฐ 70dad2a749b6
---> 4ab635240793
4/20๋‹จ๊ณ„: ENV HTTP_PORT=56001
---> 15ae8391dc94์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์šฉ๊ธฐ ์ œ๊ฑฐ 15ae8391dc94
---> d6f176ec44d9
5/20๋‹จ๊ณ„: ENV MDNS_PORT=5353
---> bb6253bafcf2์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ bb6253bafcf2 ์ œ๊ฑฐ
---> 1baef9009eb9
6/20๋‹จ๊ณ„: ENV MNEDC_PORT=3334
---> e3c11675886a์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์šฉ๊ธฐ ์ œ๊ฑฐ e3c11675886a
---> c39da6de51cd
7/20๋‹จ๊ณ„: ENV MNEDC_BROADCAST_PORT=3333
---> 47ae6d2c29e0์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ ์ œ๊ฑฐ 47ae6d2c29e0
---> 764ff0da6440
8/20๋‹จ๊ณ„: ENV ZEROCONF_PORT=42425
---> a3b298494873์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์šฉ๊ธฐ ์ œ๊ฑฐ a3b298494873
---> 05d0c25de5d6
9/20๋‹จ๊ณ„: ENV APP_BIN_DIR=bin
---> 83096a7bcef2์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ ์ œ๊ฑฐ 83096a7bcef2
---> 507485e6261b
10/20๋‹จ๊ณ„: ENV APP_NAME=์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
---> b81205e34a95์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์šฉ๊ธฐ ์ œ๊ฑฐ b81205e34a95
---> 92f1c9fc3454
11/20 ๋‹จ๊ณ„ : ENV APP_QEMU_DIR=$APP_BIN_DIR/qemu
---> 14cbbb19dfdd์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ ์ œ๊ฑฐ 14cbbb19dfdd
---> d83e4ce65024
12/20๋‹จ๊ณ„: ENV BUILD_DIR=๋นŒ๋“œ
---> 82e1f5725bbd์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ ์ œ๊ฑฐ 82e1f5725bbd
---> 18ddf31da323
13/20๋‹จ๊ณ„: $APP_BIN_DIR/$APP_NAME $BUILD_DIR/package/run.sh $TARGET_DIR/ ๋ณต์‚ฌ
---> c6fcc1d6f82b
14/20๋‹จ๊ณ„: $APP_QEMU_DIR/ /usr/bin/ ๋ณต์‚ฌ
---> 83a6bcd12c2c
15/20๋‹จ๊ณ„: mkdir -p $TARGET_DIR/res/๋ฅผ ์‹คํ–‰ํ•ฉ๋‹ˆ๋‹ค.
---> 1d9492777a4a์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์šฉ๊ธฐ ์ œ๊ฑฐ 1d9492777a4a
---> da93c71468a0
16/20 ๋‹จ๊ณ„ : apt-get ์—…๋ฐ์ดํŠธ ์‹คํ–‰
---> 4d1611cb7833์—์„œ ์‹คํ–‰
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease [247 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [109kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease [107 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [109kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf ํŒจํ‚ค์ง€ [1486kB]
Get:6 http://ports.ubuntu.com/ubuntu-ports xenial/restricted armhf ํŒจํ‚ค์ง€ [8491 B]
Get:7 http://ports.ubuntu.com/ubuntu-ports xenial/universe armhf ํŒจํ‚ค์ง€ [9531kB]
Get:8 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse armhf ํŒจํ‚ค์ง€ [149kB]
Get:9 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf ํŒจํ‚ค์ง€ [1694 kB]
Get:10 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted armhf ํŒจํ‚ค์ง€[10.4kB]
Get:11 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe armhf ํŒจํ‚ค์ง€ [1399kB]
Get:12 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse armhf ํŒจํ‚ค์ง€ [19.0 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports xenial-backports/main armhf ํŒจํ‚ค์ง€ [10.9kB]
Get:14 http://ports.ubuntu.com/ubuntu-ports xenial-backports/universe armhf ํŒจํ‚ค์ง€ [12.1kB]
Get:15 http://ports.ubuntu.com/ubuntu-ports xenial-security/main armhf ํŒจํ‚ค์ง€ [1242 kB]
Get:16 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted armhf ํŒจํ‚ค์ง€ [10.4 kB]
Get:17 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe armhf ํŒจํ‚ค์ง€ [874 kB]
Get:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse armhf ํŒจํ‚ค์ง€ [5050 B]
8์ดˆ์— 17.0MB ๊ฐ€์ ธ์˜ค๊ธฐ(1952kB/s)
ํŒจํ‚ค์ง€ ๋ชฉ๋ก์„ ์ฝ๋Š” ์ค‘...
์ค‘๊ฐ„ ์šฉ๊ธฐ ์ œ๊ฑฐ 4d1611cb7833
---> c34e823686ea
17/20๋‹จ๊ณ„: apt-get install -y net-tools iproute2 ์‹คํ–‰
---> dbde39e87c2f์—์„œ ์‹คํ–‰
ํŒจํ‚ค์ง€ ๋ชฉ๋ก์„ ์ฝ๋Š” ์ค‘...
์ข…์†์„ฑ ํŠธ๋ฆฌ ๊ตฌ์ถ• ์ค‘...
์ƒํƒœ ์ •๋ณด๋ฅผ ์ฝ๋Š” ์ค‘...
๋‹ค์Œ ์ถ”๊ฐ€ ํŒจํ‚ค์ง€๊ฐ€ ์„ค์น˜๋ฉ๋‹ˆ๋‹ค.
libatm1 libmnl0 libxtables11
์ถ”์ฒœ ํŒจํ‚ค์ง€:
iproute2-doc
๋‹ค์Œ ์ƒˆ ํŒจํ‚ค์ง€๊ฐ€ ์„ค์น˜๋ฉ๋‹ˆ๋‹ค.
iproute2 libatm1 libmnl0 libxtables11 net-tools
0๊ฐœ ์—…๊ทธ๋ ˆ์ด๋“œ, 5๊ฐœ ์ƒˆ๋กœ ์„ค์น˜, 0๊ฐœ ์ œ๊ฑฐ ๋ฐ 0๊ฐœ ์—…๊ทธ๋ ˆ์ด๋“œ๋˜์ง€ ์•Š์Œ.
698kB์˜ ์•„์นด์ด๋ธŒ๋ฅผ ๊ฐ€์ ธ์™€์•ผ ํ•ฉ๋‹ˆ๋‹ค.
์ด ์ž‘์—… ํ›„์— 1987kB์˜ ์ถ”๊ฐ€ ๋””์Šคํฌ ๊ณต๊ฐ„์ด ์‚ฌ์šฉ๋ฉ๋‹ˆ๋‹ค.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libatm1 armhf 1:2.5.1-1.5 [20.7 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libmnl0 armhf 1.0.3-5 [10.8 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf iproute2 armhf 4.3.0-1ubuntu3.16.04.5 [479kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libxtables11 armhf 1.6.0-2ubuntu3 [24.8 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf net-tools armhf 1.60-26ubuntu1 [163 kB]
debconf: apt-utils๊ฐ€ ์„ค์น˜๋˜์ง€ ์•Š์•˜๊ธฐ ๋•Œ๋ฌธ์— ํŒจํ‚ค์ง€ ๊ตฌ์„ฑ ์ง€์—ฐ
1์ดˆ์— 698kB ํŽ˜์น˜(582kB/s)
์ด์ „์— ์„ ํƒํ•˜์ง€ ์•Š์€ ํŒจํ‚ค์ง€ libatm1:armhf๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.
(๋ฐ์ดํ„ฐ๋ฒ ์ด์Šค๋ฅผ ์ฝ๋Š” ์ค‘... 4775๊ฐœ์˜ ํŒŒ์ผ๊ณผ ๋””๋ ‰ํ† ๋ฆฌ๊ฐ€ ํ˜„์žฌ ์„ค์น˜๋˜์–ด ์žˆ์Šต๋‹ˆ๋‹ค.)
์••์ถ• ํ’€๊ธฐ ์ค€๋น„ ์ค‘ .../libatm1_1%3a2.5.1-1.5_armhf.deb ...
ํฌ์žฅ ํ’€๊ธฐ libatm1:armhf (1:2.5.1-1.5) ...
์ด์ „์— ์„ ํƒํ•˜์ง€ ์•Š์€ ํŒจํ‚ค์ง€ libmnl0:armhf๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.
์••์ถ• ํ’€๊ธฐ ์ค€๋น„ ์ค‘ .../libmnl0_1.0.3-5_armhf.deb ...
libmnl0:armhf(1.0.3-5) ์••์ถ• ํ’€๊ธฐ ...
์ด์ „์— ์„ ํƒํ•˜์ง€ ์•Š์€ ํŒจํ‚ค์ง€ iproute2๋ฅผ ์„ ํƒํ•ฉ๋‹ˆ๋‹ค.
์••์ถ• ํ’€๊ธฐ ์ค€๋น„ ์ค‘ .../iproute2_4.3.0-1ubuntu3.16.04.5_armhf.deb ...
iproute2 ์••์ถ• ํ’€๊ธฐ(4.3.0-1ubuntu3.16.04.5) ...
์ด์ „์— ์„ ํƒํ•˜์ง€ ์•Š์€ ํŒจํ‚ค์ง€ libxtables11:armhf ์„ ํƒ.
์••์ถ• ํ’€๊ธฐ ์ค€๋น„ ์ค‘ .../libxtables11_1.6.0-2ubuntu3_armhf.deb ...
libxtables11:armhf(1.6.0-2ubuntu3) ์••์ถ• ํ’€๊ธฐ ...
์ด์ „์— ์„ ํƒํ•˜์ง€ ์•Š์€ ํŒจํ‚ค์ง€ ์„ ํƒ net-tools.
์••์ถ• ํ’€๊ธฐ ์ค€๋น„ ์ค‘ .../net-tools_1.60-26ubuntu1_armhf.deb ...
net-tools ์••์ถ• ํ’€๊ธฐ(1.60-26ubuntu1) ...
libc-bin(2.23-0ubuntu11.3)์— ๋Œ€ํ•œ ์ฒ˜๋ฆฌ ํŠธ๋ฆฌ๊ฑฐ ...
libatm1:armhf (1:2.5.1-1.5) ์„ค์ • ...
libmnl0:armhf(1.0.3-5) ์„ค์ • ์ค‘ ...
iproute2 ์„ค์ •(4.3.0-1ubuntu3.16.04.5) ...
libxtables11:armhf(1.6.0-2ubuntu3) ์„ค์ • ...
net-tools(1.60-26ubuntu1) ์„ค์ • ์ค‘...
libc-bin(2.23-0ubuntu11.3)์— ๋Œ€ํ•œ ์ฒ˜๋ฆฌ ํŠธ๋ฆฌ๊ฑฐ ...
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ dbde39e87c2f ์ œ๊ฑฐ
---> 0b4e80a6eaac
18/20๋‹จ๊ณ„: $HTTP_PORT $MDNS_PORT $ZEROCONF_PORT $MNEDC_PORT $MNEDC_BROADCAST_PORT ๋…ธ์ถœ
---> cfb78c7cdcda์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ cfb78c7cdcda ์ œ๊ฑฐ
---> ce1718022bb6
19/20๋‹จ๊ณ„: WORKDIR $TARGET_DIR
---> 29e55fef151e์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ ์ œ๊ฑฐ 29e55fef151e
---> b43874bfaaca
20/20๋‹จ๊ณ„: CMD ["sh", "run.sh"]
---> 6fa24db2bf9e์—์„œ ์‹คํ–‰
์ค‘๊ฐ„ ์ปจํ…Œ์ด๋„ˆ 6fa24db2bf9e ์ œ๊ฑฐ
---> 2ef4d528d390
2ef4d528d390์„ ์„ฑ๊ณต์ ์œผ๋กœ ๊ตฌ์ถ•ํ–ˆ์Šต๋‹ˆ๋‹ค.
์„ฑ๊ณต์ ์œผ๋กœ ํƒœ๊ทธ๊ฐ€ ์ง€์ •๋œ edge-orchestration:coconut
๋„์ปค ์ €์žฅ -o /home/pi/edge-home-orchestration-go/bin/edge-orchestration.tar edge-orchestration
make[1]: '/home/pi/edge-home-orchestration-go' ๋””๋ ‰ํ† ๋ฆฌ์—์„œ ๋‚˜๊ฐ€๊ธฐ
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go $ docker images
์ €์žฅ์†Œ ํƒœ๊ทธ ์ด๋ฏธ์ง€ ID ์ƒ์„ฑ๋œ ํฌ๊ธฐ
edge-orchestration ์ฝ”์ฝ”๋„› 2ef4d528d390 39์ดˆ ์ „ 154MB
arm32v7/ubuntu 16.04 f46cdaad2749 3์ฃผ ์ „ 106MB
hello-world ์ตœ์‹  1a30b4397839 5 ์ฃผ ์ „ 4.85kB
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go $ cd bin/
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ ls
edge-orchestration edge-orchestration.tar qemu
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
์•Œ ์ˆ˜ ์—†๋Š” ์†๊ธฐ ํ”Œ๋ž˜๊ทธ: -i์˜ โ€‹โ€‹'i'
'๋„์ปค --help'๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.

์‚ฌ์šฉ๋ฒ•: ๋„์ปค [์˜ต์…˜] ๋ช…๋ น

์ปจํ…Œ์ด๋„ˆ๋ฅผ ์œ„ํ•œ ์ž๊ธ‰์ž์กฑ ๋Ÿฐํƒ€์ž„

์˜ต์…˜:
--config string ํด๋ผ์ด์–ธํŠธ ๊ตฌ์„ฑ ํŒŒ์ผ์˜ ์œ„์น˜(๊ธฐ๋ณธ๊ฐ’ "/home/pi/.docker")
-c, --context string ๋ฐ๋ชฌ์— ์—ฐ๊ฒฐํ•˜๋Š” ๋ฐ ์‚ฌ์šฉํ•  ์ปจํ…์ŠคํŠธ ์ด๋ฆ„
(DOCKER_HOST ํ™˜๊ฒฝ ๋ณ€์ˆ˜ ๋ฐ ๊ธฐ๋ณธ ์ปจํ…์ŠคํŠธ ์„ค์ •์„ ์žฌ์ •์˜ํ•ฉ๋‹ˆ๋‹ค.
"๋„์ปค ์ปจํ…์ŠคํŠธ ์‚ฌ์šฉ")
-D, --debug ๋””๋ฒ„๊ทธ ๋ชจ๋“œ ํ™œ์„ฑํ™”
-H, --host ์—ฐ๊ฒฐํ•  ๋ฐ๋ชฌ ์†Œ์ผ“ ๋ชฉ๋ก
-l, --log-level string ๋กœ๊น… ์ˆ˜์ค€ ์„ค์ •("debug"|"info"|"warn"|"error"|"fatal")
(๊ธฐ๋ณธ "์ •๋ณด")
--tls TLS๋ฅผ ์‚ฌ์šฉํ•ฉ๋‹ˆ๋‹ค. --tlsverify์— ์˜ํ•ด ์•”์‹œ
--tlscacert string ์ด CA์—์„œ๋งŒ ์„œ๋ช…ํ•œ ์ธ์ฆ์„œ๋ฅผ ์‹ ๋ขฐํ•ฉ๋‹ˆ๋‹ค(๊ธฐ๋ณธ๊ฐ’
"/home/pi/.docker/ca.pem")
--tlscert string TLS ์ธ์ฆ์„œ ํŒŒ์ผ ๊ฒฝ๋กœ(๊ธฐ๋ณธ๊ฐ’ "/home/pi/.docker/cert.pem")
--tlskey string TLS ํ‚ค ํŒŒ์ผ์˜ ๊ฒฝ๋กœ(๊ธฐ๋ณธ๊ฐ’ "/home/pi/.docker/key.pem")
--tlsverify TLS๋ฅผ ์‚ฌ์šฉํ•˜๊ณ  ์›๊ฒฉ์ง€ ํ™•์ธ
-v, --version ๋ฒ„์ „ ์ •๋ณด๋ฅผ ์ถœ๋ ฅํ•˜๊ณ  ์ข…๋ฃŒ

๊ด€๋ฆฌ ๋ช…๋ น:
app* Docker ์•ฑ(Docker Inc., v0.9.1-beta3)
๋นŒ๋” ๋นŒ๋“œ ๊ด€๋ฆฌ
buildx* BuildKit์œผ๋กœ ๋นŒ๋“œ(Docker Inc., v0.6.1-docker)
config Docker ๊ตฌ์„ฑ ๊ด€๋ฆฌ
์ปจํ…Œ์ด๋„ˆ ์ปจํ…Œ์ด๋„ˆ ๊ด€๋ฆฌ
์ปจํ…์ŠคํŠธ ์ปจํ…์ŠคํŠธ ๊ด€๋ฆฌ
์ด๋ฏธ์ง€ ์ด๋ฏธ์ง€ ๊ด€๋ฆฌ
๋งค๋‹ˆํŽ˜์ŠคํŠธ Docker ์ด๋ฏธ์ง€ ๋งค๋‹ˆํŽ˜์ŠคํŠธ ๋ฐ ๋งค๋‹ˆํŽ˜์ŠคํŠธ ๋ชฉ๋ก ๊ด€๋ฆฌ
๋„คํŠธ์›Œํฌ ๋„คํŠธ์›Œํฌ ๊ด€๋ฆฌ
๋…ธ๋“œ Swarm ๋…ธ๋“œ ๊ด€๋ฆฌ
ํ”Œ๋Ÿฌ๊ทธ์ธ ๊ด€๋ฆฌ ํ”Œ๋Ÿฌ๊ทธ์ธ
secret Docker ๋น„๋ฐ€ ๊ด€๋ฆฌ
์„œ๋น„์Šค ๊ด€๋ฆฌ ์„œ๋น„์Šค
์Šคํƒ Docker ์Šคํƒ ๊ด€๋ฆฌ
๋ฌด๋ฆฌ ๊ด€๋ฆฌ ๋ฌด๋ฆฌ
์‹œ์Šคํ…œ ๋„์ปค ๊ด€๋ฆฌ
๋„์ปค ์ด๋ฏธ์ง€์— ๋Œ€ํ•œ ์‹ ๋ขฐ ๊ด€๋ฆฌ
๋ณผ๋ฅจ ๋ณผ๋ฅจ ๊ด€๋ฆฌ

๋ช…๋ น:
์‹คํ–‰ ์ค‘์ธ ์ปจํ…Œ์ด๋„ˆ์— ๋กœ์ปฌ ํ‘œ์ค€ ์ž…๋ ฅ, ์ถœ๋ ฅ ๋ฐ ์˜ค๋ฅ˜ ์ŠคํŠธ๋ฆผ์„ ์—ฐ๊ฒฐํ•ฉ๋‹ˆ๋‹ค.
๋นŒ๋“œ Dockerfile์—์„œ ์ด๋ฏธ์ง€ ๋นŒ๋“œ
commit ์ปจํ…Œ์ด๋„ˆ์˜ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์—์„œ ์ƒˆ ์ด๋ฏธ์ง€ ์ƒ์„ฑ
cp ์ปจํ…Œ์ด๋„ˆ์™€ ๋กœ์ปฌ ํŒŒ์ผ ์‹œ์Šคํ…œ ๊ฐ„์— ํŒŒ์ผ/ํด๋” ๋ณต์‚ฌ
์ƒ์„ฑ ์ƒˆ ์ปจํ…Œ์ด๋„ˆ ์ƒ์„ฑ
diff ์ปจํ…Œ์ด๋„ˆ์˜ ํŒŒ์ผ ์‹œ์Šคํ…œ์— ์žˆ๋Š” ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ† ๋ฆฌ์˜ ๋ณ€๊ฒฝ ์‚ฌํ•ญ์„ ๊ฒ€์‚ฌํ•ฉ๋‹ˆ๋‹ค.
์ด๋ฒคํŠธ ์„œ๋ฒ„์—์„œ ์‹ค์‹œ๊ฐ„ ์ด๋ฒคํŠธ ๊ฐ€์ ธ์˜ค๊ธฐ
exec ์‹คํ–‰ ์ค‘์ธ ์ปจํ…Œ์ด๋„ˆ์—์„œ ๋ช…๋ น ์‹คํ–‰
export ์ปจํ…Œ์ด๋„ˆ์˜ ํŒŒ์ผ ์‹œ์Šคํ…œ์„ tar ์•„์นด์ด๋ธŒ๋กœ ๋‚ด๋ณด๋ƒ…๋‹ˆ๋‹ค.
history ์ด๋ฏธ์ง€์˜ ํžˆ์Šคํ† ๋ฆฌ๋ฅผ ๋ณด์—ฌ์ค๋‹ˆ๋‹ค
์ด๋ฏธ์ง€ ๋ชฉ๋ก ์ด๋ฏธ์ง€
import tarball์—์„œ ๋‚ด์šฉ์„ ๊ฐ€์ ธ์™€ ํŒŒ์ผ ์‹œ์Šคํ…œ ์ด๋ฏธ์ง€ ์ƒ์„ฑ
info ์‹œ์Šคํ…œ ์ „์ฒด ์ •๋ณด ํ‘œ์‹œ
๊ฒ€์‚ฌ Docker ๊ฐœ์ฒด์— ๋Œ€ํ•œ ํ•˜์œ„ ์ˆ˜์ค€ ์ •๋ณด ๋ฐ˜ํ™˜
kill ํ•˜๋‚˜ ์ด์ƒ์˜ ์‹คํ–‰ ์ค‘์ธ ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ข…๋ฃŒํ•ฉ๋‹ˆ๋‹ค.
load tar ์•„์นด์ด๋ธŒ ๋˜๋Š” STDIN์—์„œ ์ด๋ฏธ์ง€ ๋กœ๋“œ
๋กœ๊ทธ์ธ Docker ๋ ˆ์ง€์ŠคํŠธ๋ฆฌ์— ๋กœ๊ทธ์ธ
logout Docker ๋ ˆ์ง€์ŠคํŠธ๋ฆฌ์—์„œ ๋กœ๊ทธ์•„์›ƒ
๋กœ๊ทธ ์ปจํ…Œ์ด๋„ˆ์˜ ๋กœ๊ทธ๋ฅผ ๊ฐ€์ ธ์˜ต๋‹ˆ๋‹ค.
pause ํ•˜๋‚˜ ์ด์ƒ์˜ ์ปจํ…Œ์ด๋„ˆ ๋‚ด ๋ชจ๋“  ํ”„๋กœ์„ธ์Šค ์ผ์‹œ ์ค‘์ง€
ํฌํŠธ ๋ชฉ๋ก ํฌํŠธ ๋งคํ•‘ ๋˜๋Š” ์ปจํ…Œ์ด๋„ˆ์— ๋Œ€ํ•œ ํŠน์ • ๋งคํ•‘
ps ๋ชฉ๋ก ์ปจํ…Œ์ด๋„ˆ
pull ๋ ˆ์ง€์ŠคํŠธ๋ฆฌ์—์„œ ์ด๋ฏธ์ง€ ๋˜๋Š” ์ €์žฅ์†Œ ๊ฐ€์ ธ์˜ค๊ธฐ
push ์ด๋ฏธ์ง€ ๋˜๋Š” ์ €์žฅ์†Œ๋ฅผ ๋ ˆ์ง€์ŠคํŠธ๋ฆฌ์— ํ‘ธ์‹œ
์ด๋ฆ„ ๋ฐ”๊พธ๊ธฐ ์ปจํ…Œ์ด๋„ˆ ์ด๋ฆ„ ๋ฐ”๊พธ๊ธฐ
ํ•˜๋‚˜ ์ด์ƒ์˜ ์ปจํ…Œ์ด๋„ˆ ๋‹ค์‹œ ์‹œ์ž‘
rm ํ•˜๋‚˜ ์ด์ƒ์˜ ์ปจํ…Œ์ด๋„ˆ ์ œ๊ฑฐ
rmi ํ•˜๋‚˜ ์ด์ƒ์˜ ์ด๋ฏธ์ง€ ์ œ๊ฑฐ
run ์ƒˆ ์ปจํ…Œ์ด๋„ˆ์—์„œ ๋ช…๋ น ์‹คํ–‰
save ํ•˜๋‚˜ ์ด์ƒ์˜ ์ด๋ฏธ์ง€๋ฅผ tar ์•„์นด์ด๋ธŒ์— ์ €์žฅํ•ฉ๋‹ˆ๋‹ค(๊ธฐ๋ณธ์ ์œผ๋กœ STDOUT์œผ๋กœ ์ŠคํŠธ๋ฆฌ๋ฐ๋จ).
๊ฒ€์ƒ‰ Docker Hub์—์„œ ์ด๋ฏธ์ง€ ๊ฒ€์ƒ‰
ํ•˜๋‚˜ ์ด์ƒ์˜ ์ค‘์ง€๋œ ์ปจํ…Œ์ด๋„ˆ ์‹œ์ž‘
stats ์ปจํ…Œ์ด๋„ˆ ๋ฆฌ์†Œ์Šค ์‚ฌ์šฉ ํ†ต๊ณ„์˜ ์‹ค์‹œ๊ฐ„ ์ŠคํŠธ๋ฆผ์„ ํ‘œ์‹œํ•ฉ๋‹ˆ๋‹ค.
stop ํ•˜๋‚˜ ์ด์ƒ์˜ ์‹คํ–‰ ์ค‘์ธ ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ค‘์ง€ํ•ฉ๋‹ˆ๋‹ค.
tag SOURCE_IMAGE๋ฅผ ์ฐธ์กฐํ•˜๋Š” TARGET_IMAGE ํƒœ๊ทธ ์ƒ์„ฑ
๋งจ ์œ„๋กœ ์ปจํ…Œ์ด๋„ˆ์˜ ์‹คํ–‰ ์ค‘์ธ ํ”„๋กœ์„ธ์Šค ํ‘œ์‹œ
unpause ํ•˜๋‚˜ ์ด์ƒ์˜ ์ปจํ…Œ์ด๋„ˆ ๋‚ด์˜ ๋ชจ๋“  ํ”„๋กœ์„ธ์Šค ์ผ์‹œ ์ค‘์ง€ ํ•ด์ œ
์—…๋ฐ์ดํŠธ ํ•˜๋‚˜ ์ด์ƒ์˜ ์ปจํ…Œ์ด๋„ˆ ๊ตฌ์„ฑ ์—…๋ฐ์ดํŠธ
version Docker ๋ฒ„์ „ ์ •๋ณด ํ‘œ์‹œ
ํ•˜๋‚˜ ์ด์ƒ์˜ ์ปจํ…Œ์ด๋„ˆ๊ฐ€ ์ค‘์ง€๋  ๋•Œ๊นŒ์ง€ ์ฐจ๋‹จํ•œ ๋‹ค์Œ ์ข…๋ฃŒ ์ฝ”๋“œ๋ฅผ ์ธ์‡„ํ•ฉ๋‹ˆ๋‹ค.

๋ช…๋ น์— ๋Œ€ํ•œ ์ž์„ธํ•œ ๋‚ด์šฉ์„ ๋ณด๋ ค๋ฉด 'docker COMMAND --help'๋ฅผ ์‹คํ–‰ํ•˜์‹ญ์‹œ์˜ค.

๋„์ปค์— ๋Œ€ํ•ด ๋” ๋งŽ์€ ๋„์›€์„ ๋ฐ›์œผ๋ ค๋ฉด https://docs.docker.com/go/guides/์—์„œ ๊ฐ€์ด๋“œ๋ฅผ ํ™•์ธํ•˜์„ธ์š”.

ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
๋กœ๋“œ๋œ ์ด๋ฏธ์ง€: edge-orchestration:coconut
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ ๋„์ปค ์ด๋ฏธ์ง€
์ €์žฅ์†Œ ํƒœ๊ทธ ์ด๋ฏธ์ง€ ID ์ƒ์„ฑ๋œ ํฌ๊ธฐ
edge-orchestration ์ฝ”์ฝ”๋„› 2ef4d528d390 2๋ถ„ ์ „ 154MB
arm32v7/ubuntu 16.04 f46cdaad2749 3์ฃผ ์ „ 106MB
hello-world ์ตœ์‹  1a30b4397839 5 ์ฃผ ์ „ 4.85kB
ํŒŒ์ด @raspberrypi :~/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:์ฝ”์ฝ”๋„›
c0c5c6c41db35d641c5d94b50089938eeaeb1945bd16cc1d3405d290740e203e
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: application/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜• : application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "์ปจํ…Œ์ด๋„ˆ", "ExecCmd": [ "๋„์ปค", "์‹คํ–‰", "-v" , "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification\"}"

^C
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -e SECURE=true -v /var/edge- ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration: ์ฝ”์ฝ”๋„›
docker: ๋ฐ๋ชฌ์˜ ์˜ค๋ฅ˜ ์‘๋‹ต: ์ถฉ๋Œ. ์ปจํ…Œ์ด๋„ˆ ์ด๋ฆ„ "/edge-orchestration"์€ ์ปจํ…Œ์ด๋„ˆ "c0c5c6c41db35d641c5d94b50089938eeaeb1945bd16cc1d3405d290740e203e"์—์„œ ์ด๋ฏธ ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. ํ•ด๋‹น ์ด๋ฆ„์„ ์žฌ์‚ฌ์šฉํ•˜๋ ค๋ฉด ํ•ด๋‹น ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ œ๊ฑฐ(๋˜๋Š” ์ด๋ฆ„ ๋ณ€๊ฒฝ)ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
'๋„์ปค ์‹คํ–‰ --help'๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ ๋„์ปค ๋กœ๊ทธ -f edge-orchestration
INFO[2021-08-19T07:13:33Z]main.go:91 OrchestrationInit [์ธํ„ฐํŽ˜์ด์Šค] OrchestrationInit
์ •๋ณด[2021-08-19T07:13:33Z]main.go:92 OrchestrationInit >>> commitID : e75c75e
INFO[2021-08-19T07:13:33Z]main.go:93 OrchestrationInit >>> ๋ฒ„์ „:
INFO[2021-08-19T07:13:33Z]main.go:94 OrchestrationInit >>> buildTime : 20210819.0806
INFO[2021-08-19T07:13:33Z]main.go:95 OrchestrationInit >>> buildTags :
INFO[2021-08-19T07:13:33Z]cipherDummy.go:46 GetCipher๊ฐ€ keyFilePath์—์„œ ์•”ํ˜ธ ํ‚ค๋ฅผ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. /var/edge-orchestration/user/orchestration_userID.txt ์—ด๊ธฐ: ํ•ด๋‹น ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
INFO[2021-08-19T07:13:33Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] ๋ชจ๋“  ์žฅ์น˜ ์ •๋ณด ์‚ญ์ œ
INFO[2021-08-19T07:13:33Z]discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:33Z]networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24
์ •๋ณด[2021-08-19T07:13:33Z]discovery.go:398 setDeviceID [discoverymgr] UUID: 28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:33Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO[2021-08-19T07:13:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([]), RTT(0)
INFO[2021-08-19T07:13:33Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:33Z]discovery.go:577 func1
INFO[2021-08-19T07:13:33Z]configuremgr.go:146 /var/edge-orchestration/apps ์‹œ์ฒญ ์‹œ์ž‘
INFO[2021-08-19T07:13:33Z]configuremgr.go:147 watch configuremgr ๊ฐ์‹œ์ž ๋ ˆ์ง€์Šคํ„ฐ ๋
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1Ping GET /api/v1/ping 0x6ac060} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]cipherDummy.go:46 GetCipher๊ฐ€ keyFilePath์—์„œ ์•”ํ˜ธ ํ‚ค๋ฅผ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. /var/edge-orchestration/user/orchestration_userID.txt ์—ด๊ธฐ: ํ•ด๋‹น ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} ์ถ”๊ฐ€
INFO[2021-08-19T07:13:33Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-19T07:13:33Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-19T07:13:33Z]main.go:182 OrchestrationInit ์ธํ„ฐํŽ˜์ด์Šค ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜ ์ดˆ๊ธฐํ™” ์™„๋ฃŒ
INFO[2021-08-19T07:13:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:13:33Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:33Z]discovery.go:577 func1
INFO[2021-08-19T07:13:34Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:34Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:34Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:13:34Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:34Z]discovery.go:577 func1
INFO[2021-08-19T07:13:34Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:34Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:34Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:13:34Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:34Z]discovery.go:577 func1
INFO[2021-08-19T07:13:34Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:34Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:34Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([]), RTT(0)
INFO[2021-08-19T07:13:34Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:34Z]discovery.go:577 func1
INFO[2021-08-19T07:13:34Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:34Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:34Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:13:34Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:34Z]discovery.go:577 func1
INFO[2021-08-19T07:13:34Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:34Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:34Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:13:34Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:34Z]discovery.go:577 func1
INFO[2021-08-19T07:13:35Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:35Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:13:35Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:13:35Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:13:35Z]discovery.go:577 func1
INFO[2021-08-19T07:14:33Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-19T07:14:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:14:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:14:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:14:33Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:14:33Z]discovery.go:577 func1
INFO[2021-08-19T07:14:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:14:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:14:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:14:33Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:14:33Z]discovery.go:577 func1
INFO[2021-08-19T07:15:33Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-19T07:15:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:15:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:15:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:15:33Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:15:33Z]discovery.go:577 func1
INFO[2021-08-19T07:15:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:15:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:15:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:15:33Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:15:33Z]discovery.go:577 func1
INFO[2021-08-19T07:16:33Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-19T07:16:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:16:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:16:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:16:33Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:16:33Z]discovery.go:577 func1
INFO[2021-08-19T07:16:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:16:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:16:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:16:33Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:16:33Z]discovery.go:577 func1
INFO[2021-08-19T07:17:33Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-19T07:17:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:17:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:17:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:17:33Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:17:33Z]discovery.go:577 func1
INFO[2021-08-19T07:17:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:17:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:17:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:17:33Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:17:33Z]discovery.go:577 func1
์ •๋ณด[2021-08-19T07:18:33Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-19T07:18:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:18:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:18:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:18:33Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:18:33Z]discovery.go:577 func1
INFO[2021-08-19T07:18:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:18:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:18:33Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:18:33Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:18:33Z]discovery.go:577 func1
^C
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
ํŒŒ์ด @raspberrypi :~/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:์ฝ”์ฝ”๋„›
e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -e SECURE=true -v /var/edge- ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration: ์ฝ”์ฝ”๋„›
docker: ๋ฐ๋ชฌ์˜ ์˜ค๋ฅ˜ ์‘๋‹ต: ์ถฉ๋Œ. "/edge-orchestration" ์ปจํ…Œ์ด๋„ˆ ์ด๋ฆ„์€ "e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e" ์ปจํ…Œ์ด๋„ˆ์—์„œ ์ด๋ฏธ ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. ํ•ด๋‹น ์ด๋ฆ„์„ ์žฌ์‚ฌ์šฉํ•˜๋ ค๋ฉด ํ•ด๋‹น ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ œ๊ฑฐ(๋˜๋Š” ์ด๋ฆ„ ๋ณ€๊ฒฝ)ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
'๋„์ปค ์‹คํ–‰ --help'๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -e MNEDC=server -v /var/edge- ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration: ์ฝ”์ฝ”๋„›
docker: ๋ฐ๋ชฌ์˜ ์˜ค๋ฅ˜ ์‘๋‹ต: ์ถฉ๋Œ. "/edge-orchestration" ์ปจํ…Œ์ด๋„ˆ ์ด๋ฆ„์€ "e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e" ์ปจํ…Œ์ด๋„ˆ์—์„œ ์ด๋ฏธ ์‚ฌ์šฉ ์ค‘์ž…๋‹ˆ๋‹ค. ํ•ด๋‹น ์ด๋ฆ„์„ ์žฌ์‚ฌ์šฉํ•˜๋ ค๋ฉด ํ•ด๋‹น ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์ œ๊ฑฐ(๋˜๋Š” ์ด๋ฆ„ ๋ณ€๊ฒฝ)ํ•ด์•ผ ํ•ฉ๋‹ˆ๋‹ค.
'๋„์ปค ์‹คํ–‰ --help'๋ฅผ ์ฐธ์กฐํ•˜์„ธ์š”.
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: application/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜• : application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "์ปจํ…Œ์ด๋„ˆ", "ExecCmd": [ "๋„์ปค", "์‹คํ–‰", "-v" , "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "http://localhost:8888/api/v1/services/notification\"}"
^C
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker ps -a
์ปจํ…Œ์ด๋„ˆ ID ์ด๋ฏธ์ง€ ๋ช…๋ น ์ƒ์„ฑ ์ƒํƒœ ํฌํŠธ ์ด๋ฆ„
e2f758f3e9b6 edge-orchestration:coconut "sh run.sh" 3๋ถ„ ์ „ ์œ„๋กœ 3๋ถ„ edge-orchestration
882dfcf454da hello-world "/hello" 2์ผ ์ „ ์ข…๋ฃŒ(0) 2์ผ ์ „ magic_beaver
d71ef8f47dbb hello-world "/hello" 2์ผ ์ „ ์ข…๋ฃŒ(0) 2์ผ ์ „ Strange_hertz
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
์—์ง€ ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ sudo netstat -nap | ๊ทธ๋ ™ 56001
ํŒŒ์ด @raspberrypi :~/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:์ฝ”์ฝ”๋„›
6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ sudo netstat -nap | ๊ทธ๋ ™ 56001
tcp6 0 0 :::56001 :::* LISTEN 5830/edge-orchestra
ํŒŒ์ด @raspberrypi :~/edge-home-orchestration-go/bin $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "์ˆ˜๋ฝ: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜• : ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -d "{ \"์„œ๋น„์Šค ์ด๋ฆ„\": \"hello-world\", \"์„œ๋น„์Šค ์ •๋ณด\": [{ \"์‹คํ–‰ ์œ ํ˜•\": \"์ปจํ…Œ์ด๋„ˆ\", \"ExecCmd\": [ \"๋„์ปค\", \"์‹คํ–‰\", \"-v\", \"/var/run:/var/run:rw\", \"hello-world\"]}], \"StatusCallbackURI\ ": \"http://localhost:8888/api/v1/services/notification\"}"
{"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}pi @raspberrypi :~/edge -home-orchestration-go/bin $ sudo netstat -npi @raspberrypi :~/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H " ์ˆ˜๋ฝ: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -H "์ฝ˜ํ…์ธ  ์œ ํ˜•: ์• ํ”Œ๋ฆฌ์ผ€์ด์…˜/json" -d "{ \"ServiceName\": \"hello-world\", \"ServiceInfo\": [{ \"์‹คํ–‰ ์œ ํ˜•\": \ "container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v\", \"/var/run:/var/run:rw\", \"์•ˆ๋…•ํ•˜์„ธ์š” -world\"]}], \"StatusCallbackURI\": \"http://localhost:8888/api/v1/services/notification\"}"
{"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}pi @raspberrypi :~/edge -home-orchestration-go/bin $ docker logs -f edge-orchestration
INFO[2021-08-19T07:23:49Z]main.go:91 OrchestrationInit [์ธํ„ฐํŽ˜์ด์Šค] OrchestrationInit
์ •๋ณด[2021-08-19T07:23:49Z]main.go:92 OrchestrationInit >>> commitID : e75c75e
INFO[2021-08-19T07:23:49Z]main.go:93 OrchestrationInit >>> ๋ฒ„์ „:
INFO[2021-08-19T07:23:49Z]main.go:94 OrchestrationInit >>> buildTime : 20210819.0806
INFO[2021-08-19T07:23:49Z]main.go:95 OrchestrationInit >>> buildTags :
INFO[2021-08-19T07:23:49Z]cipherDummy.go:46 GetCipher๊ฐ€ keyFilePath์—์„œ ์•”ํ˜ธ ํ‚ค๋ฅผ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. /var/edge-orchestration/user/orchestration_userID.txt ์—ด๊ธฐ: ํ•ด๋‹น ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
INFO[2021-08-19T07:23:49Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] ๋ชจ๋“  ์žฅ์น˜ ์ •๋ณด ์‚ญ์ œ
INFO[2021-08-19T07:23:49Z]discovery.go:839 deleteDevice [discoverymgr] [deleteDevice] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]networkhelper.go:194 setAddrInfo [networkmgr] addr 192.168.0.37/24
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:398 setDeviceID [discoverymgr] UUID: 28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:23:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:49Z]configuremgr.go:146 /var/edge-orchestration/apps ์‹œ์ฒญ ์‹œ์ž‘
INFO[2021-08-19T07:23:49Z]configuremgr.go:147 watch configuremgr ๊ฐ์‹œ์ž ๋ ˆ์ง€์Šคํ„ฐ ๋
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1Ping GET /api/v1/ping 0x6ac060} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]helper.go:104 DoGet [http://192.168.0.37:56002/api/v1/ping] ์š”์ฒญ ์‹คํŒจ !!, ์˜ค๋ฅ˜ = "http://192.168 ๊ฐ€์ ธ์˜ค๊ธฐ" .0.37:56002/api/v1/ping": ๋‹ค์ด์–ผ tcp 192.168.0.37:56002: ์—ฐ๊ฒฐ: ์—ฐ๊ฒฐ์ด ๊ฑฐ๋ถ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
INFO[2021-08-19T07:23:49Z]roundtriptime.go:92 checkRTT Get "http://192.168.0.37:56002/api/v1/ping": ๋‹ค์ด์–ผ tcp 192.168.0.37:56002: ์—ฐ๊ฒฐ: ์—ฐ๊ฒฐ์ด ๊ฑฐ๋ถ€๋˜์—ˆ์Šต๋‹ˆ๋‹ค.
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]cipherDummy.go:46 GetCipher๊ฐ€ keyFilePath์—์„œ ์•”ํ˜ธ ํ‚ค๋ฅผ ์ฝ์„ ์ˆ˜ ์—†์Šต๋‹ˆ๋‹ค. /var/edge-orchestration/user/orchestration_userID.txt ์—ด๊ธฐ: ํ•ด๋‹น ํŒŒ์ผ์ด๋‚˜ ๋””๋ ‰ํ„ฐ๋ฆฌ๊ฐ€ ์—†์Šต๋‹ˆ๋‹ค.
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} ์ถ”๊ฐ€
INFO[2021-08-19T07:23:49Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-19T07:23:49Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-19T07:23:49Z]main.go:182 OrchestrationInit ์ธํ„ฐํŽ˜์ด์Šค ์˜ค์ผ€์ŠคํŠธ๋ ˆ์ด์…˜ ์ดˆ๊ธฐํ™” ์™„๋ฃŒ
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([]), RTT(0)
INFO[2021-08-19T07:23:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:23:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:23:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([]), RTT(0)
INFO[2021-08-19T07:23:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:23:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:23:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:50Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:50Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:23:50Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:23:50Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:23:50Z]discovery.go:577 func1
์ •๋ณด[2021-08-19T07:24:41Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
์ •๋ณด[2021-08-19T07:24:41Z]externalhandler.go:157 APIV1RequestServicePost ํฌํŠธ: 33118
INFO[2021-08-19T07:24:42Z]senderresolver.go:75 GetNameByPort ๋ฐ˜ํ™˜: ์ปฌ
INFO[2021-08-19T07:24:42Z]externalhandler.go:162 APIV1RequestServicePost ์š”์ฒญ์ž: ์ปฌ
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{์ปจํ…Œ์ด๋„ˆ [docker run -v /var/run:/var/run:rw hello-world] ๋งต[ ]}]
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:159 RequestService [0] ID: edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:160 RequestService [0] ExecType : ์ปจํ…Œ์ด๋„ˆ
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:161 RequestService [0] ๋์ : [192.168.0.37]
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:162 RequestService
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:341 func3 ํ›„๋ณด ID: edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:342 func3 ํ›„๋ณด ExecType: ์ปจํ…Œ์ด๋„ˆ
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:343 func3 ํ›„๋ณด ์ข…์ : 192.168.0.37
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:344 func3 ํ›„๋ณด ์ ์ˆ˜ : 14.846495859252466
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:247 RequestService [orchestrationapi] [{edge-orchestration-28d686b3-f29c-4f69-566]29042-4762a9a3c4fe 192.3768.4 ์ปจํ…Œ์ด๋„ˆ
INFO[2021-08-19T07:24:42Z]containerexecutor.go:70 [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world] ์‹คํ–‰
INFO[2021-08-19T07:24:42Z]containerexecutor.go:71 [containerexecutor] ์‹คํ–‰ ๋งค๊ฐœ๋ณ€์ˆ˜ ๊ธธ์ด: 5
INFO[2021-08-19T07:24:42Z]route.go:131 func1 From [127.0.0.1:33118] POST /api/v1/orchestration/services APIV1RequestServicePost 146.304475ms
{"status":"๋ผ์ด๋ธŒ๋Ÿฌ๋ฆฌ/hello-world์—์„œ ๊ฐ€์ ธ์˜ค๊ธฐ","id":"latest"}
{"์ƒํƒœ":"๋‹ค์ด์ œ์ŠคํŠธ: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
{"status":"์ƒํƒœ: hello-world:latest์— ๋Œ€ํ•œ ์ด๋ฏธ์ง€๊ฐ€ ์ตœ์‹  ์ƒํƒœ์ž…๋‹ˆ๋‹ค."}
INFO[2021-08-19T07:24:44Z]containerexecutor.go:91 [containerexecutor] ์‹คํ–‰ ์ปจํ…Œ์ด๋„ˆ ์ƒ์„ฑ : 20d38d8de7
2021-08-19T07:24:45.974837713Z
2021-08-19T07:24:45.975191565Z Docker์—์„œ ์•ˆ๋…•ํ•˜์„ธ์š”!
2021-08-19T07:24:45.975228075Z ์ด ๋ฉ”์‹œ์ง€๋Š” ์„ค์น˜๊ฐ€ ์˜ฌ๋ฐ”๋ฅด๊ฒŒ ์ž‘๋™ํ•˜๋Š” ๊ฒƒ์ฒ˜๋Ÿผ ๋ณด์ž…๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975258648Z
2021-08-19T07:24:45.975288336Z ์ด ๋ฉ”์‹œ์ง€๋ฅผ ์ƒ์„ฑํ•˜๊ธฐ ์œ„ํ•ด Docker๋Š” ๋‹ค์Œ ๋‹จ๊ณ„๋ฅผ ์ˆ˜ํ–‰ํ–ˆ์Šต๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975318752Z 1. Docker ํด๋ผ์ด์–ธํŠธ๊ฐ€ Docker ๋ฐ๋ชฌ์— ์ ‘์†ํ–ˆ์Šต๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975349169Z 2. Docker ๋ฐ๋ชฌ์ด Docker Hub์—์„œ "hello-world" ์ด๋ฏธ์ง€๋ฅผ ๊ฐ€์ ธ์™”์Šต๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975380470Z (arm32v7)
2021-08-19T07:24:45.975410054Z 3. Docker ๋ฐ๋ชฌ์€ ํ•ด๋‹น ์ด๋ฏธ์ง€์—์„œ
2021-08-19T07:24:45.975440418Z ํ˜„์žฌ ์ฝ๊ณ  ์žˆ๋Š” ์ถœ๋ ฅ์„ ์ƒ์„ฑํ•˜๋Š” ์‹คํ–‰ ํŒŒ์ผ์ž…๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975470835Z 4. Docker ๋ฐ๋ชฌ์ด ํ•ด๋‹น ์ถœ๋ ฅ์„ Docker ํด๋ผ์ด์–ธํŠธ๋กœ ์ŠคํŠธ๋ฆฌ๋ฐํ•˜์—ฌ ์ „์†กํ–ˆ์Šต๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975515991Z ํ„ฐ๋ฏธ๋„๋กœ ์ด๋™ํ•ฉ๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975546147Z
2021-08-19T07:24:45.975575626Z ๋” ์•ผ์‹ฌ์ฐฌ ๊ฒƒ์„ ์‹œ๋„ํ•˜๋ ค๋ฉด ๋‹ค์Œ์„ ์‚ฌ์šฉํ•˜์—ฌ Ubuntu ์ปจํ…Œ์ด๋„ˆ๋ฅผ ์‹คํ–‰ํ•  ์ˆ˜ ์žˆ์Šต๋‹ˆ๋‹ค.
2021-08-19T07:24:45.975605990Z $ docker run - ์šฐ๋ถ„ํˆฌ ๋ฐฐ์‰ฌ
2021-08-19T07:24:45.975637500Z
2021-08-19T07:24:45.975669115Z ๋ฌด๋ฃŒ Docker ID๋กœ ์ด๋ฏธ์ง€ ๊ณต์œ , ์›Œํฌํ”Œ๋กœ ์ž๋™ํ™” ๋“ฑ์„ ์ˆ˜ํ–‰ํ•˜์‹ญ์‹œ์˜ค.
2021-08-19T07:24:45.975699583Z https://hub.docker.com/
2021-08-19T07:24:45.975728802Z
2021-08-19T07:24:45.975758229Z ๋” ๋งŽ์€ ์˜ˆ์™€ ์•„์ด๋””์–ด๋ฅผ ๋ณด๋ ค๋ฉด ๋‹ค์Œ์„ ๋ฐฉ๋ฌธํ•˜์‹ญ์‹œ์˜ค.
2021-08-19T07:24:45.975797916Z https://docs.docker.com/get-started/
2021-08-19T07:24:45.975828541Z
INFO[2021-08-19T07:24:46Z]containerexecutor.go:117 [containerexecutor] ์‹คํ–‰ ์ปจํ…Œ์ด๋„ˆ ์‹คํ–‰ ์ƒํƒœ: 0
INFO[2021-08-19T07:24:46Z]orchestrationapi.go:448 listenNotify [orchestrationapi] ์„œ๋น„์Šค ์ƒํƒœ๊ฐ€ ๋ณ€๊ฒฝ๋จ [appNames:hello-world][status:Finished]
INFO[2021-08-19T07:24:49Z]discovery.go:859 ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ [discoverymgr] ํ™œ์„ฑ๋””์Šค์ปค๋ฒ„๋ฆฌ!!!
INFO[2021-08-19T07:24:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:24:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo: ExecType(์ปจํ…Œ์ด๋„ˆ), ํ”Œ๋žซํผ(๋„์ปค)
INFO[2021-08-19T07:24:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo: IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:24:49Z]discovery.go:576 func1 [deviceDetectionRoutine] ์„œ๋น„์Šค ์ •๋ณด: ์„œ๋น„์Šค([])
์ •๋ณด[2021-08-19T07:24:49Z]discovery.go:577 func1
INFO[2021-08-19T07:24:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:24:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:24:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:24:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:24:49Z]discovery.go:577 func1
INFO[2021-08-19T07:25:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:25:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:25:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:25:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:25:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:25:49Z]discovery.go:577 func1
INFO[2021-08-19T07:25:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:25:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:25:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:25:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:25:49Z]discovery.go:577 func1
INFO[2021-08-19T07:26:22Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
INFO[2021-08-19T07:26:22Z]externalhandler.go:157 APIV1RequestServicePost port: 40014
INFO[2021-08-19T07:26:22Z]senderresolver.go:75 GetNameByPort returning: curl
INFO[2021-08-19T07:26:22Z]externalhandler.go:162 APIV1RequestServicePost requester: curl
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:159 RequestService [0] Id : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:160 RequestService [0] ExecType : container
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:161 RequestService [0] Endpoint : [192.168.0.37]
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:162 RequestService
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:341 func3 candidate Id : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:342 func3 candidate ExecType : container
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:343 func3 candidate Endpoint : 192.168.0.37
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:344 func3 candidate score : 15.49186213040619
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:247 RequestService [orchestrationapi] [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 15.49186213040619 map[] container}]
INFO[2021-08-19T07:26:22Z]route.go:131 func1 From [192.168.0.37:40014] POST /api/v1/orchestration/services APIV1RequestServicePost 155.2884ms
INFO[2021-08-19T07:26:22Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
INFO[2021-08-19T07:26:22Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
{"status":"Pulling from library/hello-world","id":"latest"}
{"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
{"status":"Status: Image is up to date for hello-world:latest"}
INFO[2021-08-19T07:26:24Z]containerexecutor.go:91 Execute [containerexecutor] create container : f866490034
2021-08-19T07:26:26.040470056Z
2021-08-19T07:26:26.040965523Z Hello from Docker!
2021-08-19T07:26:26.041098075Z This message shows that your installation appears to be working correctly.
2021-08-19T07:26:26.041217554Z
2021-08-19T07:26:26.041400105Z To generate this message, Docker took the following steps:
2021-08-19T07:26:26.041519323Z 1. The Docker client contacted the Docker daemon.
2021-08-19T07:26:26.041677812Z 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
2021-08-19T07:26:26.041797135Z (arm32v7)
2021-08-19T07:26:26.041910520Z 3. The Docker daemon created a new container from that image which runs the
2021-08-19T07:26:26.042026561Z executable that produces the output you are currently reading.
2021-08-19T07:26:26.042141248Z 4. The Docker daemon streamed that output to the Docker client, which sent it
2021-08-19T07:26:26.042256664Z to your terminal.
2021-08-19T07:26:26.042407133Z
2021-08-19T07:26:26.042520778Z To try something more ambitious, you can run an Ubuntu container with:
2021-08-19T07:26:26.042667913Z $ docker run -it ubuntu bash
2021-08-19T07:26:26.042780308Z
2021-08-19T07:26:26.042888589Z Share images, automate workflows, and more with a free Docker ID:
2021-08-19T07:26:26.042999995Z https://hub.docker.com/
2021-08-19T07:26:26.043109891Z
2021-08-19T07:26:26.043216713Z For more examples and ideas, visit:
2021-08-19T07:26:26.043245984Z https://docs.docker.com/get-started/
2021-08-19T07:26:26.043275150Z
INFO[2021-08-19T07:26:26Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
INFO[2021-08-19T07:26:26Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]
INFO[2021-08-19T07:26:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:26:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:26:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:26:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:26:49Z]discovery.go:577 func1
INFO[2021-08-19T07:26:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:26:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:26:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:26:49Z]discovery.go:577 func1
INFO[2021-08-19T07:27:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:27:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:27:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:27:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:27:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:27:49Z]discovery.go:577 func1
INFO[2021-08-19T07:27:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:27:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:27:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:27:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:27:49Z]discovery.go:577 func1

๋‚˜๋Š” ์•„์ง๋„ ๋‚ด๊ฐ€ ์–ด๋””์—์„œ ์ž˜๋ชป๋˜๊ณ  ์žˆ๋Š”์ง€ ์ดํ•ดํ•  ์ˆ˜ ์—†๋‹ค

์ž˜ ํ–ˆ์–ด. ํ›Œ๋ฅญํ•ด!

> > pi<strong i="8">@raspberrypi</strong>:/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
> > 6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
> > pi<strong i="9">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
> > tcp6       0      0 :::56001                :::*                    LISTEN      5830/edge-orchestra
> > pi<strong i="10">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "127.0.0.1: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\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}
> > pi<strong i="11">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ 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\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}

> > INFO[2021-08-19T07:24:41Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
> > INFO[2021-08-19T07:24:41Z]externalhandler.go:157 APIV1RequestServicePost port:  33118
> > INFO[2021-08-19T07:24:42Z]senderresolver.go:75 GetNameByPort returning:  curl
> > INFO[2021-08-19T07:24:42Z]externalhandler.go:162 APIV1RequestServicePost requester:  curl
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:159 RequestService [0] Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:160 RequestService [0] ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:161 RequestService [0] Endpoint : [192.168.0.37]
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:162 RequestService
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:341 func3 candidate Id       : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:342 func3 candidate ExecType : container
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:343 func3 candidate Endpoint : 192.168.0.37
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:344 func3 candidate score    : 14.846495859252466
> > INFO[2021-08-19T07:24:42Z]orchestrationapi.go:247 RequestService [orchestrationapi]  [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 14.846495859252466 map[] container}]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
> > INFO[2021-08-19T07:24:42Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
> > INFO[2021-08-19T07:24:42Z]route.go:131 func1 From [127.0.0.1:33118] POST /api/v1/orchestration/services APIV1RequestServicePost 146.304475ms
> > {"status":"Pulling from library/hello-world","id":"latest"}
> > {"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
> > {"status":"Status: Image is up to date for hello-world:latest"}
> > INFO[2021-08-19T07:24:44Z]containerexecutor.go:91 Execute [containerexecutor] create container : 20d38d8de7
> > 2021-08-19T07:24:45.974837713Z
> > 2021-08-19T07:24:45.975191565Z Hello from Docker!
> > 2021-08-19T07:24:45.975228075Z This message shows that your installation appears to be working correctly.
> > 2021-08-19T07:24:45.975258648Z
> > 2021-08-19T07:24:45.975288336Z To generate this message, Docker took the following steps:
> > 2021-08-19T07:24:45.975318752Z  1. The Docker client contacted the Docker daemon.
> > 2021-08-19T07:24:45.975349169Z  2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
> > 2021-08-19T07:24:45.975380470Z     (arm32v7)
> > 2021-08-19T07:24:45.975410054Z  3. The Docker daemon created a new container from that image which runs the
> > 2021-08-19T07:24:45.975440418Z     executable that produces the output you are currently reading.
> > 2021-08-19T07:24:45.975470835Z  4. The Docker daemon streamed that output to the Docker client, which sent it
> > 2021-08-19T07:24:45.975515991Z     to your terminal.
> > 2021-08-19T07:24:45.975546147Z
> > 2021-08-19T07:24:45.975575626Z To try something more ambitious, you can run an Ubuntu container with:
> > 2021-08-19T07:24:45.975605990Z  $ docker run -it ubuntu bash
> > 2021-08-19T07:24:45.975637500Z
> > 2021-08-19T07:24:45.975669115Z Share images, automate workflows, and more with a free Docker ID:
> > 2021-08-19T07:24:45.975699583Z  https://hub.docker.com/
> > 2021-08-19T07:24:45.975728802Z
> > 2021-08-19T07:24:45.975758229Z For more examples and ideas, visit:
> > 2021-08-19T07:24:45.975797916Z  https://docs.docker.com/get-started/
> > 2021-08-19T07:24:45.975828541Z
> > INFO[2021-08-19T07:24:46Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
> > INFO[2021-08-19T07:24:46Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]
> > INFO[2021-08-19T07:24:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
> > INFO[2021-08-19T07:24:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe

๊ทธ๋ ‡๋‹ค๋ฉด ๋„คํŠธ์›Œํฌ์— ์—ฐ๊ฒฐ๋œ ์—ฌ๋Ÿฌ ์žฅ์น˜์— ๋Œ€ํ•œ ์ ์ˆ˜๋Š” ์–ด๋–ป๊ฒŒ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ?

๋˜ํ•œ ์ด ํ”„๋กœ์ ํŠธ์—์„œ ์—์ง€ ์ปดํ“จํŒ…๊ณผ ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ… ๊ฐ„์˜ ๋น„๊ต ๋ถ„์„์„ ํ•  ์ˆ˜ ์žˆ๋‹ค๋ฉด ์•Œ๋ ค์ฃผ์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ?

๊ทธ๋ ‡๋‹ค๋ฉด ๋„คํŠธ์›Œํฌ์— ์—ฐ๊ฒฐ๋œ ์—ฌ๋Ÿฌ ์žฅ์น˜์— ๋Œ€ํ•œ ์ ์ˆ˜๋Š” ์–ด๋–ป๊ฒŒ ์–ป์„ ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ?

@mchittineni ์œ„์˜ ์งˆ๋ฌธ์— ๋Œ€ํ•ด ๋ณ„๋„์˜ ์ด์Šˆ ํ‹ฐ์ปค๋ฅผ ์—ด์–ด์ฃผ์„ธ์š”. ์šฐ๋ฆฌ๋Š” ์ง๊ด€์ ์œผ๋กœ ํšจ์œจ์ ์œผ๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ฐ ์ด์Šˆ๊ฐ€ ํ•˜๋‚˜์˜ ๋…๋ฆฝ์ ์ธ ์ด์Šˆ๋ฅผ ํฌํ•จํ•ด์•ผ ํ•œ๋‹ค๋Š” ์Šค๋ ˆ๋“œ ์ •์ฑ…์„ ์œ ์ง€ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฏธ๋ฆฌ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ๐Ÿ™

๋˜ํ•œ ์ด ํ”„๋กœ์ ํŠธ์—์„œ ์—์ง€ ์ปดํ“จํŒ…๊ณผ ํด๋ผ์šฐ๋“œ ์ปดํ“จํŒ… ๊ฐ„์˜ ๋น„๊ต ๋ถ„์„์„ ํ•  ์ˆ˜ ์žˆ๋‹ค๋ฉด ์•Œ๋ ค์ฃผ์‹ค ์ˆ˜ ์žˆ์Šต๋‹ˆ๊นŒ?

@mchittineni ์œ„์˜ ์งˆ๋ฌธ์— ๋Œ€ํ•ด ๋ณ„๋„์˜ ์ด์Šˆ ํ‹ฐ์ปค๋ฅผ ์—ด์–ด์ฃผ์„ธ์š”. ์šฐ๋ฆฌ๋Š” ์ง๊ด€์ ์œผ๋กœ ํšจ์œจ์ ์œผ๋กœ ํ•ด๊ฒฐํ•  ์ˆ˜ ์žˆ๋„๋ก ๊ฐ ์ด์Šˆ๊ฐ€ ํ•˜๋‚˜์˜ ๋…๋ฆฝ์ ์ธ ์ด์Šˆ๋ฅผ ํฌํ•จํ•ด์•ผ ํ•œ๋‹ค๋Š” ์Šค๋ ˆ๋“œ ์ •์ฑ…์„ ์œ ์ง€ํ•˜๊ณ  ์žˆ์Šต๋‹ˆ๋‹ค. ๋ฏธ๋ฆฌ ๊ฐ์‚ฌ๋“œ๋ฆฝ๋‹ˆ๋‹ค. ๐Ÿ™

์ด ํŽ˜์ด์ง€๊ฐ€ ๋„์›€์ด ๋˜์—ˆ๋‚˜์š”?
0 / 5 - 0 ๋“ฑ๊ธ‰