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 :~ $
๋์ปค ์ปจํ ์ด๋๋ฅผ ๋ก๋ํ ์ ์์ต๋๋ค
์์ง ์กฐ์ ์ ์์ํ๋ ค๋ฉด ์ฌ๊ธฐ ์ ์ค๋ช ๋ ๋จ๊ณ๋ฅผ ์ํํด์ผ ํฉ๋๋ค. ์ง๋ฌธ์ด ์๋ ๊ฒฝ์ฐ ์ ์๊ฒ ํธ์ง๋ฅผ ๋ณด๋ด์ฃผ์๋ฉด ๋ต๋ณํด ๋๋ฆฌ๊ฒ ์ต๋๋ค!
์ค๋ช ์ ์ ํ ๋๋ก ๋ค ํ์ต๋๋ค. ๋ด ๋ชจ๋ ๋ ธ๋ ฅ๊ณผ ์๋์๋ ๋ถ๊ตฌํ๊ณ ๋๋ ๊ฐ์ ์ค๋ฅ๋ฅผ ๋ฐ๋ณตํด์ ๋ฐ๊ณ ์์์ต๋๋ค.
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
ํ์ผ์ด ์กด์ฌํ์ง ์์ต๋๋ค!
์ฐธ์กฐ:
/var/edge-orchestration/data/cert/edge-orchestration.key
(๋ชจ๋ ์ธ์ฆ์ ํ์ผ์ด ์ธ์ฆ ํค๊ฐ ๋ ์ ์์)๋ค์ ๋ช ๋ น์ ๊ฒฐ๊ณผ๋ฅผ ๊ณต์ ํ์ญ์์ค(๋ผ์ฆ๋ฒ ๋ฆฌ์์):
$ 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 ์ด๋ฏธ์ง๊ฐ ์๊ณ ์ฌ๊ธฐ์์ ๋ช ๋ น์ ์คํํ๋ ๊ฒฝ์ฐ ์๋ ๋จ๊ณ๋ฅผ ๋ฐ๋ฅด์ญ์์ค.
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' ๋๋ ํ ๋ฆฌ ์ง์
์ค
๋์ปค 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 ์์ ์ง๋ฌธ์ ๋ํด ๋ณ๋์ ์ด์ ํฐ์ปค๋ฅผ ์ด์ด์ฃผ์ธ์. ์ฐ๋ฆฌ๋ ์ง๊ด์ ์ผ๋ก ํจ์จ์ ์ผ๋ก ํด๊ฒฐํ ์ ์๋๋ก ๊ฐ ์ด์๊ฐ ํ๋์ ๋ ๋ฆฝ์ ์ธ ์ด์๋ฅผ ํฌํจํด์ผ ํ๋ค๋ ์ค๋ ๋ ์ ์ฑ ์ ์ ์งํ๊ณ ์์ต๋๋ค. ๋ฏธ๋ฆฌ ๊ฐ์ฌ๋๋ฆฝ๋๋ค. ๐
๊ฐ์ฅ ์ ์ฉํ ๋๊ธ
์ ํ์ด. ํ๋ฅญํด!