Edge-home-orchestration-go: docker上的tar文件问题

创建于 2021-08-15  ·  33评论  ·  资料来源: lf-edge/edge-home-orchestration-go

pi@ raspberrypi :~ $ docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v / var/run/docker.sock:/var/run/docker. sock:rw -v /proc/:/process/:ro edge-orch estration:coconut
无法在本地找到图像“edge-orch estration:coconut
docker:来自守护进程的错误响应:边缘编排的请求访问被拒绝,存储库不存在或可能需要“docker login”:拒绝:请求的资源访问被拒绝。
请参阅“docker run --help”。
pi@raspberrypi :~ $

我无法加载 docker 容器

最有用的评论

我仍然无法理解我哪里出错了

好工作。 你做到了!

> > pi<strong i="8">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
> > 6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
> > pi<strong i="9">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
> > tcp6       0      0 :::56001                :::*                    LISTEN      5830/edge-orchestra
> > pi<strong i="10">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}
> > pi<strong i="11">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}

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

所有33条评论

要开始边缘编排,您需要执行此处描述的步骤。 如果您有任何问题,请写信给我,我会尽力回答!

我已经完成了描述上写的所有内容。 尽管我付出了所有的努力和尝试,我还是一次又一次地遇到同样的错误。

当我尝试加载 edge-orchestration.tar 文件时,它会成功上传。 但是当我加载图像时,它显示如下:

$ 码头工人图片
存储库标签图像 ID 创建大小
无 无 f925adb3.... 3 秒前 171MB

我刚刚检查过,一切正常。

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

更详细地写下您如何构建并描述构建的平台。

我用的是树莓派 3b 板
我已经在 raspberry_pi3.md 上进行了相应的构建

并使用选项 2. 直接在树莓派 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 板上)并且
推出边缘编排。
让我们始终如一地执行以下步骤:

$光盘/edge-home-orchestration-go
$ make 使 distclean
$ make create_context CONFIGFILE=armc
$ 制作

接下来更详细:

@ . :~/projects/edge-home-orchestration-go $ docker images存储库标签图像 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:coconut
@ . :~/projects/edge-home-orchestration-go/bin $ docker images存储库标签图像 ID 创建大小边缘编排椰子 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/边缘编排/:rw -v /var/run/docker.sock:/var/run/docker. sock:rw -v /proc/:/process/:ro edge-orch estration:coconut
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
.

我认为如果向他们发送了详细的日志,那将是正确的。

我在我身边一遍又一遍地遇到同样的问题。请给我发一个关于如何使用家庭边缘设备构建项目和测试的教学视频,以便我可以继续构建项目。

嗨,我在将树莓派 pi3b 板连接到 RESTAPI 服务器时遇到问题,谁能帮我解决这个问题!!!

我们真的很想帮助你,但是每次你都不显示你有的日志,对我们来说很难帮助你。

INFO[2021-08-16T19:33:13Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:33:13Z]discovery.go:577 func1
信息[2021-08-16T19:34:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:34:13Z]discovery.go:577 func1
信息[2021-08-16T19:35:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-16T19:35:13Z]discovery.go:577 func1
信息[2021-08-16T19:36:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:36:13Z]discovery.go:577 func1
信息[2021-08-16T19:37:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:37:13Z]discovery.go:577 func1
信息[2021-08-16T19:38:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:38:13Z]discovery.go:577 func1
信息[2021-08-16T19:39:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:39:13Z]discovery.go:577 func1
信息[2021-08-16T19:40:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:40:13Z]discovery.go:577 func1
信息[2021-08-16T19:41:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:41:13Z]discovery.go:577 func1
信息[2021-08-16T19:42:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:42:13Z]discovery.go:577 func1
信息[2021-08-16T19:43:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:43:13Z]discovery.go:577 func1
信息[2021-08-16T19:44:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:44:13Z]discovery.go:577 func1
信息[2021-08-16T19:45:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:45:13Z]discovery.go:577 func1
信息[2021-08-16T19:46:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:46:13Z]discovery.go:577 func1
信息[2021-08-16T19:47:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-16T19:47:13Z]discovery.go:577 func1
信息[2021-08-16T19:48:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:48:13Z]discovery.go:577 func1
信息[2021-08-16T19:49:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:49:13Z]discovery.go:577 func1
信息[2021-08-16T19:50:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-16T19:50:13Z]discovery.go:577 func1
信息[2021-08-16T19:51:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:51:13Z]discovery.go:577 func1
信息[2021-08-16T19:52:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-16T19:52:13Z]discovery.go:577 func1
信息[2021-08-16T19:53:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:53:13Z]discovery.go:577 func1
信息[2021-08-16T19:54:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:54:13Z]discovery.go:577 func1
信息[2021-08-16T19:55:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:55:13Z]discovery.go:577 func1
信息[2021-08-16T19:56:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-16T19:56:13Z]discovery.go:577 func1
信息[2021-08-16T19:57:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:57:13Z]discovery.go:577 func1
信息[2021-08-16T19:58:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-16T19:58:13Z]discovery.go:577 func1
信息[2021-08-16T19:59:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T19:59:13Z]discovery.go:577 func1
信息[2021-08-16T20:00:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-16T20:00:13Z]discovery.go:577 func1
信息[2021-08-16T20:01:13Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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 "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/服务/通知\"}"

curl: (7) 无法连接到 80.195.171.141 端口 56001: Connection timed out

它向我展示了这样

请尝试地址 192.168.0.37

curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ \"ServiceName\": \ "hello-world\", \"ServiceInfo\": [{ \"ExecutionType\": \"container\", \"ExecCmd\": [ \"docker\", \"run\", \"-v \", \"/var/run:/var/ run:rw\ ", \"hello-world\"]}], \"StatusCallbackURI\": \" http://localhost :8888/api/v1/服务/通知\"}"
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 /edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker. sock:rw -v /proc/:/process/:ro edge-orch estration:coconut
b970d50e1035ba0c2e5b42b64025662dd04a774ff1aa9ab55c36e1ee964c66ec
pi@raspberrypi :~/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\"}"

没有变化,就这样僵住了

请分享日志

$ docker logs -f edge-orchestration

docker logs -f 边缘编排
INFO [2021-08-17T19:12:54Z]main.go:91 orchestrationInit [接口] OrchestrationInit
INFO[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
信息 [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(container), Platform(docker)
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 : Services([])
信息[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 watcher register end
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}
信息[2021-08-17T19:12:54Z]route.go:115 listenAndServe ListenAndServe_For_Inter
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:12:56Z]discovery.go:577 func1
信息[2021-08-17T19:13:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:13:54Z]discovery.go:577 func1
信息[2021-08-17T19:14:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:14:54Z]discovery.go:577 func1
信息[2021-08-17T19:15:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:15:54Z]discovery.go:577 func1
信息[2021-08-17T19:16:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:16:54Z]discovery.go:577 func1
信息[2021-08-17T19:17:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:17:54Z]discovery.go:577 func1
信息[2021-08-17T19:18:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:18:54Z]discovery.go:577 func1
信息[2021-08-17T19:19:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:19:54Z]discovery.go:577 func1
信息[2021-08-17T19:20:54Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-17T19:20:54Z]discovery.go:577 func1

从你的日志

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

文件/var/edge-orchestration/user/orchestration_userID.txt不存在!
请参见:

如何工作

0. 先决条件

  • /var/edge-orchestration/user/orchestration_userID.txt 中的相同身份验证密钥

    • 要让 Edge Orchestration 设备相互通信,每个设备应具有相同的身份验证密钥:

      /var/edge-orchestration/data/cert/edge-orchestration.key (任何证书文件都可以是认证密钥)

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

请分享下一个命令的结果(来自覆盆子):

$ tree /var/edge-orchestration

树 /var/edge-orchestration
/var/edge-orchestration
\u251c\u2500\u2500 应用程序
\u251c\u2500\u2500 数据
\u2502\u00a0\u00a0 \u251c\u2500\u2500 证书
\u2502\u00a0\u00a0 \u2514\u2500\u2500 分贝
\u2502\u00a0\u00a0 \u2514\u2500\u2500 数据.db
\u251c\u2500\u2500 数据存储
\u251c\u2500\u2500 设备
\u2502\u00a0\u00a0 \u2514\u2500\u2500 orchestration_deviceID.txt
\u251c\u2500\u2500 日志
\u2502\u00a0\u00a0 \u251c\u2500\u2500 logmgr.log
\u2502\u00a0\u00a0 \u2514\u2500\u2500 logmgr.log.1
\u251c\u2500\u2500 mndc
\u2514\u2500\u2500 用户

9个目录,4个文件

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) 连接 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 具有边缘编排图像并且您在那里运行命令,请尝试按照以下步骤操作。

  1. 码头工人ps -a
  2. 码头工人停止边缘编排
  3. docker rm 边缘编排
  4. sudo netstat -nap | grep 56001
  5. docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.袜子:/var/run/docker。 sock:rw -v /proc/:/process/:ro edge-orch estration:coconut
  6. sudo netstat -nap | grep 56001
  7. 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/服务/通知\"}"

完整日志

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=on go mod 供应商


创建可执行二进制文件

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 pi docker 4096 8 月 19 日 08:09。
drwxr-xr-x 17 pi docker 4096 8 月 19 日 08:06 ..
-rwxr-xr-x 1 pi pi 18807524 8 月 19 日 08:09 边缘编排
drwxr-xr-x 2 pi docker 4096 8 月 16 日 19:32 qemu
制作 build_docker_container
make[1]: 进入目录'/home/pi/edge-home-orchestration-go'


创建 Docker 容器 arm32v7

docker rm -f“边缘编排”
错误:没有这样的容器:边缘编排
docker rmi -f“边缘编排”:“椰子”
未标记:边缘编排:椰子
已删除:sha256:22a0cb262840318f581fb10e70c0cebd1f060f5e22e768fdca8d675a85b9d9bb
已删除:sha256:48c7f6a1d5a761851b97b509d55b8071880ee3cc5e8c161d4d1c27ec577fc805
已删除:sha256:fff87bea1b311f675c2dbf8644111b5823347fb88125b66a70de0c8fcb15dc2c
已删除:sha256:bc1c0506020ef2a3f34d98d8c55c5ed45605237c2dfdfea47f750188cdd88192
已删除:sha256:8ffe2d772ef269670bb4902f00daf0628b17ae09d12e26e52ba1d5ccb1d8f1e7
已删除:sha256:b3e2316bef6326528bbfe6d86c035bfc14ef1f96b48b42f5b29​​17a83dbb10aa2
已删除: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
docker build --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=edge-orchestration
---> 在 b81205e34a95 中运行
卸下中间容器 b81205e34a95
---> 92f1c9fc3454
步骤 11/20:ENV APP_QEMU_DIR=$APP_BIN_DIR/qemu
---> 运行在 14cbbb19dfdd
删除中间容器 14cbbb19dfdd
---> d83e4ce65024
步骤 12/20:ENV BUILD_DIR=build
---> 运行在 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 中运行
获取:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease [247 kB]
获取:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [109 kB]
获取:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease [107 kB]
获取:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [109 kB]
获取:5 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf 包 [1486 kB]
获取:6 http://ports.ubuntu.com/ubuntu-ports xenial/restricted armhf 包 [8491 B]
获取:7 http://ports.ubuntu.com/ubuntu-ports xenial/universe armhf 包 [9531 kB]
获取:8 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse armhf 包 [149 kB]
获取:9 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf 包 [1694 kB]
获取:10 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted armhf 包 [10.4 kB]
获取:11 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe armhf 包 [1399 kB]
获取:12 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse armhf 包 [19.0 kB]
获取:13 http://ports.ubuntu.com/ubuntu-ports xenial-backports/main armhf 包 [10.9 kB]
获取:14 http://ports.ubuntu.com/ubuntu-ports xenial-backports/universe armhf 包 [12.1 kB]
获取:15 http://ports.ubuntu.com/ubuntu-ports xenial-security/main armhf 包 [1242 kB]
获取:16 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted armhf 包 [10.4 kB]
获取:17 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe armhf 包 [874 kB]
获取:18 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse armhf 包 [5050 B]
在 8 秒内获取 17.0 MB (1952 kB/s)
正在阅读包裹清单...
卸下中间容器 4d1611cb7833
---> c34e823686ea
步骤 17/20:运行 apt-get install -y net-tools iproute2
---> 在 dbde39e87c2f 中运行
正在阅读包裹清单...
构建依赖树...
读取状态信息...
将安装以下附加软件包:
libatm1 libmnl0 libxtables11
推荐套餐:
iproute2-doc
将安装以下新软件包:
iproute2 libatm1 libmnl0 libxtables11 网络工具
0 升级,5 新安装,0 删除,0 未升级。
需要获得 698 kB 的档案。
此操作后,将使用 1987 kB 的额外磁盘空间。
获取:1 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libatm1 armhf 1:2.5.1-1.5 [20.7 kB]
获取:2 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libmnl0 armhf 1.0.3-5 [10.8 kB]
获取:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf iproute2 armhf 4.3.0-1ubuntu3.16.04.5 [479 kB]
获取:4 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libxtables11 armhf 1.6.0-2ubuntu3 [24.8 kB]
获取:5 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf 网络工具 armhf 1.60-26ubuntu1 [163 kB]
debconf: 延迟包配置,因为 apt-utils 没有安装
在 1 秒内获取 698 kB (582 kB/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 ...
解压网络工具 (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) ...
设置网络工具 (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:工作目录 $TARGET_DIR
---> 运行在 29e55fef151e
卸下中间容器 29e55fef151e
---> b43874bfaaca
步骤 20/20:CMD ["sh", "run.sh"]
---> 在 6fa24db2bf9e 中运行
删除中间容器 6fa24db2bf9e
---> 2ef4d528d390
成功构建2ef4d528d390
成功标记边缘编排:椰子
docker save -o /home/pi/edge-home-orchestration-go/bin/edge-orchestration.tar edge-orchestration
make[1]: 离开目录 '/home/pi/edge-home-orchestration-go'
pi @raspberrypi :~/edge-home-orchestration-go $ docker images
存储库标签图像 ID 创建大小
边缘编排椰子 2ef4d528d390 39 秒前 154MB
arm32v7/ubuntu 16.04 f46cdaad2749 3 周前 106MB
hello-world 最新 1a30b4397839 5 周前 4.85kB
pi @raspberrypi :~/edge-home-orchestration-go $ cd bin/
pi @raspberrypi :~/edge-home-orchestration-go/bin $ ls
edge-orchestration edge-orchestration.tar qemu
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker loaad -i edge-orchestration.tar
未知速记标志:-i 中的“i”
请参阅“码头工人--帮助”。

用法:docker [选项] 命令

容器的自给自足运行时

选项:
--config string 客户端配置文件的位置(默认为“/home/pi/.docker”)
-c, --context string 用于连接到守护进程的上下文名称
(覆盖 DOCKER_HOST 环境变量和默认上下文设置
“码头工人上下文使用”)
-D, --debug 启用调试模式
-H, --host 列出要连接的守护进程套接字
-l, --log-level 字符串 设置日志级别 ("debug"|"info"|"warn"|"error"|"fatal")
(默认“信息”)
--tls 使用 TLS; 由 --tlsverify 暗示
--tlscacert string 仅由该 CA 签名的信任证书(默认
“/home/pi/.docker/ca.pem”)
--tlscert 字符串 TLS 证书文件的路径(默认为“/home/pi/.docker/cert.pem”)
--tlskey 字符串 TLS 密钥文件的路径(默认为“/home/pi/.docker/key.pem”)
--tlsverify 使用 TLS 并验证远程
-v, --version 打印版本信息并退出

管理命令:
应用程序* Docker 应用程序(Docker Inc.,v0.9.1-beta3)
builder 管理构建
buildx* 使用 BuildKit 构建(Docker Inc.,v0.6.1-docker)
config 管理 Docker 配置
容器管理容器
上下文管理上下文
图片 管理图片
manifest 管理 Docker 镜像清单和清单列表
网络 管理网络
node 管理 Swarm 节点
插件管理插件
secret 管理 Docker 机密
服务管理服务
stack 管理 Docker 堆栈
群管理群
系统管理 Docker
trust 管理对 Docker 映像的信任
卷管理卷

命令:
attach 将本地标准输入、输出和错误流附加到正在运行的容器
从 Dockerfile 构建镜像
提交从容器的更改创建新图像
cp 在容器和本地文件系统之间复制文件/文件夹
创建创建一个新容器
diff 检查容器文件系统上文件或目录的更改
events 从服务器获取实时事件
exec 在正在运行的容器中运行命令
export 将容器的文件系统导出为 tar 存档
history 显示图像的历史
图像列表图像
从 tarball 导入内容以创建文件系统映像
info 显示系统范围的信息
检查返回有关 Docker 对象的低级信息
kill 杀死一个或多个正在运行的容器
load 从 tar 存档或 STDIN 加载图像
login 登录到 Docker 注册表
logout 从 Docker 注册表中注销
logs 获取容器的日志
pause 暂停一个或多个容器内的所有进程
port 列出端口映射或容器的特定映射
ps 列出容器
从注册表中拉取图像或存储库
push 将图像或存储库推送到注册表
重命名容器
restart 重启一个或多个容器
rm 移除一个或多个容器
rmi 删除一张或多张图片
在新容器中运行命令
保存将一个或多个图像保存到 tar 存档(默认流式传输到 STDOUT)
在 Docker Hub 中搜索图像
start 启动一个或多个停止的容器
stats 显示容器资源使用统计的实时流
stop 停止一个或多个正在运行的容器
tag 创建一个引用 SOURCE_IMAGE 的标签 TARGET_IMAGE
top 显示一个容器的运行进程
unpause 取消暂停一个或多个容器中的所有进程
update 更新一个或多个容器的配置
version 显示 Docker 版本信息
等待阻塞,直到一个或多个容器停止,然后打印它们的退出代码

运行 'docker COMMAND --help' 以获取有关命令的更多信息。

要获得有关 docker 的更多帮助,请查看我们的指南 https://docs.docker.com/go/guides/

pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
加载的图像:边缘编排:椰子
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker images
存储库标签图像 ID 创建大小
边缘编排椰子 2ef4d528d390 2 分钟前 154MB
arm32v7/ubuntu 16.04 f46cdaad2749 3 周前 106MB
hello-world 最新 1a30b4397839 5 周前 4.85kB
pi @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:coconut
c0c5c6c41db35d641c5d94b50089938eeaeb1945bd16cc1d3405d290740e203e
pi @raspberrypi :~/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 @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:coconut
docker:来自守护进程的错误响应:冲突。 容器名称“/edge-orchestration”已被容器“c0c5c6c41db35d641c5d94b50089938eeaeb1945bd16cc1d3405d290740e203e”使用。 您必须删除(或重命名)该容器才能重用该名称。
请参阅“docker run --help”。
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker logs -f edge-orchestration
INFO [2021-08-19T07:13:33Z]main.go:91 orchestrationInit [接口] OrchestrationInit
INFO[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
信息 [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(container), Platform(docker)
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 : Services([])
信息[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 watcher register end
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}
信息[2021-08-19T07:13:33Z]route.go:115 listenAndServe ListenAndServe_For_Inter
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-19T07:13:35Z]discovery.go:577 func1
信息[2021-08-19T07:14:33Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-19T07:14:33Z]discovery.go:577 func1
INFO[2021-08-19T07:15:33Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-19T07:15:33Z]discovery.go:577 func1
信息[2021-08-19T07:16:33Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-19T07:16:33Z]discovery.go:577 func1
信息[2021-08-19T07:17:33Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[2021-08-19T07:17:33Z]discovery.go:577 func1
信息[2021-08-19T07:18:33Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
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(container), Platform(docker)
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] serviceInfo : Services([])
信息[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(container), Platform(docker)
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] serviceInfo : Services([])
信息[2021-08-19T07:18:33Z]discovery.go:577 func1
^C
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 /edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e
pi @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:coconut
docker:来自守护进程的错误响应:冲突。 容器名称“/edge-orchestration”已被容器“e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e”使用。 您必须删除(或重命名)该容器才能重用该名称。
请参阅“docker run --help”。
pi @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:coconut
docker:来自守护进程的错误响应:冲突。 容器名称“/edge-orchestration”已被容器“e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e”使用。 您必须删除(或重命名)该容器才能重用该名称。
请参阅“docker run --help”。
pi @raspberrypi :~/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 @raspberrypi :~/edge-home-orchestration-go/bin $
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker ps -a
容器 ID 图像命令创建状态端口名称
e2f758f3e9b6 edge-orchestration:coconut "sh run.sh" 3 分钟前 Up 3 minutes edge-orchestration
882dfcf454da hello-world "/hello" 2 天前 退出 (0) 2 天前 magic_beaver
d71ef8f47dbb hello-world "/hello" 2 天前 退出 (0) 2 天前
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 $ sudo netstat -nap | grep 56001
pi @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:coconut
6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
pi @raspberrypi :~/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
tcp6 0 0 :::56001 :::* LISTEN 5830/edge-orchestra
pi @raspberrypi :~/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\"}"
{"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\": [{ \"ExecutionType\": \ "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
INFO[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
信息 [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(container), Platform(docker)
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 : Services([])
信息[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 watcher register end
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] 请求失败!!, err = Get "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 获取“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}
信息[2021-08-19T07:23:49Z]route.go:115 listenAndServe ListenAndServe_For_Inter
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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(container), Platform(docker)
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 : Services([])
信息[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 返回:curl
信息 [2021-08-19T07:24:42Z]externalhandler.go:162 APIV1RequestServicePost 请求者: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] 地图[ ]}]
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-9042-4762a9a3c4fe 192.168.0.37 14.846495859252466 map[] 容器}]
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 来自 [127.0.0.1:33118] POST /api/v1/orchestration/services APIV1RequestServicePost 146.304475ms
{"status":"从库/hello-world 中提取","id":"latest"}
{“状态”:“摘要:sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38”}
{"status":"Status: Image 是最新的 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 -it ubuntu bash
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 Execute [containerexecutor] 容器执行状态:0
INFO [2021-08-19T07:24:46Z]orchestrationapi.go:448 listenNotify [orchestrationapi] 服务状态已更改 [appNames:hello-world][status:Finished]
信息[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
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([])
信息[2021-08-19T07:24:49Z]discovery.go:577 func1
INFO[2021-08-19T07:24:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:24:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:24:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:24:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:24:49Z]discovery.go:577 func1
INFO[2021-08-19T07:25:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:25:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:25:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:25:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:25:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:25:49Z]discovery.go:577 func1
INFO[2021-08-19T07:25:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:25:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:25:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:25:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:25:49Z]discovery.go:577 func1
INFO[2021-08-19T07:26:22Z]externalhandler.go:93 APIV1RequestServicePost [RestExternalInterface] APIV1RequestServicePost
INFO[2021-08-19T07:26:22Z]externalhandler.go:157 APIV1RequestServicePost port: 40014
INFO[2021-08-19T07:26:22Z]senderresolver.go:75 GetNameByPort returning: curl
INFO[2021-08-19T07:26:22Z]externalhandler.go:162 APIV1RequestServicePost requester: curl
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:131 RequestService [RequestService] hello-world: [{container [docker run -v /var/run:/var/run:rw hello-world] map[]}]
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:157 RequestService [RequestService] getCandidate
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:159 RequestService [0] Id : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:160 RequestService [0] ExecType : container
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:161 RequestService [0] Endpoint : [192.168.0.37]
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:162 RequestService
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:340 func3 [orchestrationapi] deviceScore
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:341 func3 candidate Id : edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:342 func3 candidate ExecType : container
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:343 func3 candidate Endpoint : 192.168.0.37
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:344 func3 candidate score : 15.49186213040619
INFO[2021-08-19T07:26:22Z]orchestrationapi.go:247 RequestService [orchestrationapi] [{edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe 192.168.0.37 15.49186213040619 map[] container}]
INFO[2021-08-19T07:26:22Z]route.go:131 func1 From [192.168.0.37:40014] POST /api/v1/orchestration/services APIV1RequestServicePost 155.2884ms
INFO[2021-08-19T07:26:22Z]containerexecutor.go:70 Execute [containerexecutor] hello-world [docker run -v /var/run:/var/run:rw hello-world]
INFO[2021-08-19T07:26:22Z]containerexecutor.go:71 Execute [containerexecutor] parameter length : 5
{"status":"Pulling from library/hello-world","id":"latest"}
{"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
{"status":"Status: Image is up to date for hello-world:latest"}
INFO[2021-08-19T07:26:24Z]containerexecutor.go:91 Execute [containerexecutor] create container : f866490034
2021-08-19T07:26:26.040470056Z
2021-08-19T07:26:26.040965523Z Hello from Docker!
2021-08-19T07:26:26.041098075Z This message shows that your installation appears to be working correctly.
2021-08-19T07:26:26.041217554Z
2021-08-19T07:26:26.041400105Z To generate this message, Docker took the following steps:
2021-08-19T07:26:26.041519323Z 1. The Docker client contacted the Docker daemon.
2021-08-19T07:26:26.041677812Z 2. The Docker daemon pulled the "hello-world" image from the Docker Hub.
2021-08-19T07:26:26.041797135Z (arm32v7)
2021-08-19T07:26:26.041910520Z 3. The Docker daemon created a new container from that image which runs the
2021-08-19T07:26:26.042026561Z executable that produces the output you are currently reading.
2021-08-19T07:26:26.042141248Z 4. The Docker daemon streamed that output to the Docker client, which sent it
2021-08-19T07:26:26.042256664Z to your terminal.
2021-08-19T07:26:26.042407133Z
2021-08-19T07:26:26.042520778Z To try something more ambitious, you can run an Ubuntu container with:
2021-08-19T07:26:26.042667913Z $ docker run -it ubuntu bash
2021-08-19T07:26:26.042780308Z
2021-08-19T07:26:26.042888589Z Share images, automate workflows, and more with a free Docker ID:
2021-08-19T07:26:26.042999995Z https://hub.docker.com/
2021-08-19T07:26:26.043109891Z
2021-08-19T07:26:26.043216713Z For more examples and ideas, visit:
2021-08-19T07:26:26.043245984Z https://docs.docker.com/get-started/
2021-08-19T07:26:26.043275150Z
INFO[2021-08-19T07:26:26Z]containerexecutor.go:117 Execute [containerexecutor] container execution status : 0
INFO[2021-08-19T07:26:26Z]orchestrationapi.go:448 listenNotify [orchestrationapi] service status changed [appNames:hello-world][status:Finished]
INFO[2021-08-19T07:26:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:26:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:26:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:26:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:26:49Z]discovery.go:577 func1
INFO[2021-08-19T07:26:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:26:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:26:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:26:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:26:49Z]discovery.go:577 func1
INFO[2021-08-19T07:27:49Z]discovery.go:859 activeDiscovery [discoverymgr] activeDiscovery!!!
INFO[2021-08-19T07:27:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:27:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:27:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:27:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:27:49Z]discovery.go:577 func1
INFO[2021-08-19T07:27:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:27:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(container), Platform(docker)
INFO[2021-08-19T07:27:49Z]discovery.go:575 func1 [deviceDetectionRoutine] netInfo : IPv4([192.168.0.37]), RTT(0)
INFO[2021-08-19T07:27:49Z]discovery.go:576 func1 [deviceDetectionRoutine] serviceInfo : Services([])
INFO[2021-08-19T07:27:49Z]discovery.go:577 func1

我仍然无法理解我哪里出错了

好工作。 你做到了!

> > pi<strong i="8">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
> > 6c3d4582207dd40939c4932417eb4b4f8277a263d780a516fe713f9411da73ab
> > pi<strong i="9">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ sudo netstat -nap | grep 56001
> > tcp6       0      0 :::56001                :::*                    LISTEN      5830/edge-orchestra
> > pi<strong i="10">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "127.0.0.1:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}
> > pi<strong i="11">@raspberrypi</strong>:/edge-home-orchestration-go/bin $ curl -X POST "192.168.0.37:56001/api/v1/orchestration/services" -H "accept: application/json" -H "Content-Type: application/json" -d "{ "ServiceName": "hello-world", "ServiceInfo": [{ "ExecutionType": "container", "ExecCmd": [ "docker", "run", "-v", "/var/run:/var/run:rw", "hello-world"]}], "StatusCallbackURI": "[http://localhost:8888/api/v1/services/notification\"}](http://localhost:8888/api/v1/services/notification%5C%22%7D)"
> > {"Message":"ERROR_NONE","RemoteTargetInfo":{"ExecutionType":"container","Target":"192.168.0.37"},"ServiceName":"hello-world"}

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

那么,如何获取不同设备连接到网络的分数呢?

如果我可以用这个项目在边缘计算和云计算之间做任何比较分析,请你告诉我。

那么,如何获取不同设备连接到网络的分数呢?

@mchittineni请为您的上述问题打开一个单独的问题代码。 我们正在维护线程策略,即每个问题都应该包含一个独立的问题,以便我们可以直观地有效地解决它。 先感谢您。 🙏

如果我可以用这个项目在边缘计算和云计算之间做任何比较分析,请你告诉我。

@mchittineni请为您的上述问题打开一个单独的问题代码。 我们正在维护线程策略,即每个问题都应该包含一个独立的问题,以便我们可以直观地有效地解决它。 先感谢您。 🙏

此页面是否有帮助?
0 / 5 - 0 等级

相关问题

MoonkiHong picture MoonkiHong  ·  6评论

t25kim picture t25kim  ·  3评论

MoonkiHong picture MoonkiHong  ·  7评论

MoonkiHong picture MoonkiHong  ·  5评论

t25kim picture t25kim  ·  5评论