Edge-home-orchestration-go: Problem mit der Tar-Datei auf Docker

Erstellt am 15. Aug. 2021  ·  33Kommentare  ·  Quelle: 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
Das Bild „edge- orch estration:coconut “ kann lokal nicht gefunden werden
Docker: Fehlerantwort vom Daemon: Pull-Zugriff für Edge-Orchestrierung verweigert, Repository existiert nicht oder erfordert möglicherweise „Docker-Anmeldung“: verweigert: Der angeforderte Zugriff auf die Ressource wird verweigert.
Siehe „docker run --help“.
pi@raspberrypi :~ $

Ich kann den Docker-Container nicht laden

Hilfreichster Kommentar

Ich kann immer noch nicht verstehen, wo ich falsch liege

Gut gemacht. Du hast es geschafft!

> > 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

Alle 33 Kommentare

Um die Edge-Orchestrierung zu starten, müssen Sie die hier beschriebenen Schritte ausführen. Wenn Sie Fragen haben, schreiben Sie mir und ich werde versuchen, sie zu beantworten!

Ich habe alles gemacht was in der Beschreibung stand. Trotz all meiner Bemühungen und Versuche bekam ich immer wieder denselben Fehler.

Wenn ich versuche, die Datei edge-orchestration.tar zu laden, wird sie erfolgreich hochgeladen. Aber wenn ich die Bilder lade, zeigt es mir wie unten gezeigt:

$ Docker-Bilder
REPOSITORY-TAG-BILD-ID ERSTELLTE GRÖSSE
keine keine f925adb3.... Vor 3 Sekunden 171MB

Ich habe gerade nachgesehen und alles funktioniert gut.

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

Schreiben Sie detaillierter, wie Sie bauen und beschreiben Sie die Plattform, auf der Sie bauen.

Ich habe ein Raspberry Pi 3b Board verwendet
Und ich habe den Build entsprechend auf der raspberry_pi3.md geschrieben

Und mit der Option 2. Bauen Sie direkt auf dem Raspberry Pi3 Board

Ich habe zuerst die Voraussetzungen gebaut, dann den Gocompiler.

Und dann habe ich den Git-Code aus dem angegebenen Link geklont.

Ich habe auch die zusätzlichen Linux-Dienstprogramme gocov, gocov-html, staticcheck und installiert.

Ich habe gerade erfolgreich (direkt auf dem Raspberry Pi 3b Board) gebaut und die Edge-Orchestrierung gestartet.
Lassen Sie uns konsequent die folgenden Schritte ausführen:

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

Als nächstes mehr Details:

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 $

Können Sie mir bitte ein Video senden, wenn Sie das Projekt erstellt haben. Ich kann nicht
wo ich falsch liege.

Ich habe es gerade nochmal versucht, bekomme immer noch die gleiche Fehlermeldung.

Am Mo, 16. August 2021 um 14:15 Uhr Taras Drozdovskyi @ . * >
schrieb:

Ich habe gerade erfolgreich gebaut (direkt auf dem Raspberry Pi 3b Board) und
Edge-Orchestrierung gestartet.
Lassen Sie uns konsequent die folgenden Schritte ausführen:

$-CD/edge-home-orchestration-go
$ make distclean machen
$ make create_context CONFIGFILE=armc
$ machen

Als nächstes mehr Details:

@ . :~/projects/edge-home-orchestration-go $ Docker-BilderREPOSITORY-TAG-BILD-ID ERSTELLTE GRÖSSEarm32v7/ubuntu 16.04 f46cdaad2749 vor 2 Wochen 106 MBhallo-welt neuste 851163c78e4a vor 19 monaten 4.85kB* @ . :~/projects/edge-home-orchestration-go $ cd bin/
@ . :~/projects/edge-home-orchestration-go/bin $ lsKantenorchestrierung Kantenorchestrierung.tar qemu. :~/projects/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
ad79db33824f: Ladeebene [========================================================================================== =====>] 18,81 MB/18,81 MB
e95fd3a21c29: Schicht wird geladen [=========================================== =====>] 2.048kB/2.048kB
bbe81e41c183: Schicht laden [========================================== =====>] 2,56 kB/2,56 kB
d1cdd59a814e: Schicht wird geladen [========================================== =====>] 26,79 MB/26,79 MB
4071d8510dd0: Schicht wird geladen [========================================== =====>] 2,571 MB/2,571 MB
Geladenes Bild: edge- orch estration:coconut
@ . :~/projects/edge-home-orchestration-go/bin $ Docker-BilderREPOSITORY-TAG-BILD-ID ERSTELLTE GRÖSSEedge-orchestration coconut 3354de41d248 vor 13 Minuten 154MBarm32v7/ubuntu 16.04 f46cdaad2749 vor 2 Wochen 106MBhallo-welt neuste 851163c78e4a vor 19 monaten 4.85kB. :~/projects/edge-home-orchestration-go/bin $ docker run -it -d --privileged --network="host" --name edge-orchestration -v /var/edge-orchestration/:/var/ edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker. sock:rw -v /proc/:/process/:ro edge- orch estration:coconut
047d30372ff214b1fa3304c3c319ac145298b6abff4a22dd48b937af3b2d122f
@ .**:~/projects/edge-home-orchestration-go/bin $


Sie erhalten dies, weil Sie kommentiert haben.
Antworten Sie direkt auf diese E-Mail und zeigen Sie sie auf GitHub an
https://github.com/lf-edge/edge-home-orchestration-go/issues/363#issuecomment-899501233 ,
oder abbestellen
https://github.com/notifications/unsubscribe-auth/APTA5RUWOIKISKF2AU3KLLTT5EFPJANCNFSM5CGFXW7Q
.

Ich denke, es wäre richtig, wenn ihnen ein ausführliches Protokoll zugesandt würde, was Sie tun.

Ich bekomme immer wieder das gleiche Problem auf meiner Seite. Könnten Sie mir bitte ein Anleitungsvideo zum Erstellen des Projekts und Testen mit den Home-Edge-Geräten senden, damit ich das Projekt erstellen kann.

Hallo, ich habe ein Problem damit, das Raspberry Pi3b-Board mit dem RESTAPI-Server zu verbinden. Kann mir bitte jemand dabei helfen !!!

Wir möchten Ihnen wirklich helfen, aber jedes Mal, wenn Sie das Protokoll, das Sie haben, nicht zeigen, ist es für uns schwierig, Ihnen zu helfen.

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([])
INFO[2021-08-16T19:33:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:34:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:35:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:36:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:37:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:38:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:39:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:40:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:41:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:42:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:43:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:44:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:45:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:46:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:47:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:48:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:49:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:50:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:51:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:52:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:53:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:54:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:55:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:56:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:57:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:58:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T19:59:13Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-16T20:00:13Z]discovery.go:577 func1
INFO[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

Ich bekomme das, wenn ich die * docker logs -f edge-orchestration mache

Können Sie mir bitte mitteilen, wie ich weiter vorgehen soll

Nachdem Sie die Edge-Orchestrierung gestartet haben, können Sie mit dem Befehl eine Anfrage zum Starten des Containers hello-world senden:

$ 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\"}"

wobei IP Ihre IP-Adresse ist

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/ Dienste/Benachrichtigung\"}"

curl: (7) Verbindung zu 80.195.171.141 Port 56001 fehlgeschlagen: Zeitüberschreitung bei Verbindung

es zeigt mir so

Bitte versuchen Sie die Adresse 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/ Dienste/Benachrichtigung\"}"
curl: (7) Verbindung zu 192.168.0.37 Port 56001 fehlgeschlagen: Verbindung abgelehnt

Bitte ausführen

$ 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
Edge-Orchestrierung
pi@raspberrypi :~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
Edge-Orchestrierung
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\"}"

Es gibt keine Veränderung, es ist einfach so eingefroren

Bitte teilen Sie das Protokoll

$ docker logs -f edge-orchestration

Docker-Protokolle -f Edge-Orchestrierung
INFO[2021-08-17T19:12:54Z]main.go:91 OrchestrationInit [Schnittstelle] OrchestrationInit
INFO[2021-08-17T19:12:54Z]main.go:92 orchestrationInit >>> commitID : e75c75e
INFO[2021-08-17T19:12:54Z]main.go:93 OrchestrationInit >>> Version :
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 kann den Passphrase-Schlüssel aus keyFilePath nicht lesen - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-17T19:12:54Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] Alle Geräteinformationen löschen
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
INFO[2021-08-17T19:12:54Z]discovery.go:398 setDeviceID [discoverymgr] UUID: 28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO[2021-08-17T19:12:54Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-17T19:12:54Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(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([])
INFO[2021-08-17T19:12:54Z]discovery.go:577 func1
INFO[2021-08-17T19:12:54Z]configuremgr.go:146 Watch beginnen Sie mit der Suche nach /var/edge-orchestration/apps
INFO[2021-08-17T19:12:54Z]configuremgr.go:147 Watch configuremgr Watcher-Registrierungsende
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1Ping GET /api/v1/ping 0x6ac060} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} hinzufügen
INFO[2021-08-17T19:12:54Z]cipherDummy.go:46 GetCipher kann den Passphrase-Schlüssel aus keyFilePath nicht lesen - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:84 {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} hinzufügen
INFO[2021-08-17T19:12:54Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-17T19:12:54Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-17T19:12:54Z]main.go:182 OrchestrationInit Schnittstellenorchestrierung init erledigt
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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:12:56Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:13:54Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:14:54Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:15:54Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:16:54Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:17:54Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:18:54Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:19:54Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-17T19:20:54Z]discovery.go:577 func1

Aus deinem Protokoll

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

Datei /var/edge-orchestration/user/orchestration_userID.txt existiert nicht!
Bitte sehen Sie:

Wie man arbeitet

0. Voraussetzungen

  • Gleicher Authentifizierungsschlüssel in /var/edge-orchestration/user/orchestration_userID.txt

    • Damit die Edge Orchestration-Geräte miteinander kommunizieren können, sollten alle Geräte den gleichen Authentifizierungsschlüssel haben:

      /var/edge-orchestration/data/cert/edge-orchestration.key (Jede Zertifikatsdatei kann Authentifizierungsschlüssel sein)

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

Bitte teilen Sie ein Ergebnis des nächsten Befehls (von Himbeere):

$ tree /var/edge-orchestration

Baum /var/edge-orchestration
/var/edge-orchestration
\u251c\u2500\u2500 Anwendungen
\u251c\u2500\u2500 Daten
\u2502\u00a0\u00a0 \u251c\u2500\u2500 zert
\u2502\u00a0\u00a0 \u2514\u2500\u2500dB
\u2502\u00a0\u00a0 \u2514\u2500\u2500 data.db
\u251c\u2500\u2500 Datenspeicherung
\u251c\u2500\u2500 Gerät
\u2502\u00a0\u00a0 \u2514\u2500\u2500 orchestration_deviceID.txt
\u251c\u2500\u2500 Protokoll
\u2502\u00a0\u00a0 \u251c\u2500\u2500 logmgr.log
\u2502\u00a0\u00a0 \u2514\u2500\u2500 logmgr.log.1
\u251c\u2500\u2500 mnedc
\u2514\u2500\u2500 Benutzer

9 Verzeichnisse, 4 Dateien

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) Verbindung zu 192.168.0.37 Port 56001 fehlgeschlagen: Verbindung abgelehnt

@mchittineni Es scheint, dass es eine Software gibt, die den 56001-Port auf Ihrem rpi verwendet. Können Sie den Netzwerkstatus ohne Edge Orchestration überprüfen? Ich hoffe, die folgenden Befehle werden Ihnen helfen.

$ 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

Ich kann mich immer noch nicht mit der REST-API verbinden

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_ Ich möchte Ihnen empfehlen, den Go-Compiler korrekt zu installieren.

Wenn Ihr rpi3 über das Edge-Orchestrierungs-Image verfügt und Sie dort Befehle ausführen, versuchen Sie bitte, die folgenden Schritte zu befolgen.

  1. docker ps-a
  2. Docker Stop Edge-Orchestrierung
  3. docker rm Edge-Orchestrierung
  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. socke:/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/ Dienste/Benachrichtigung\"}"

VOLLSTÄNDIGES LOG

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]

Ich kann immer noch nicht verstehen, wo ich falsch liege


make[2]: Verzeichnis '/home/pi/edge-home-orchestration-go/examples/native' eingeben
make[2]: Verzeichnis '/home/pi/edge-home-orchestration-go/examples/native' verlassen
make[1]: Verzeichnis '/home/pi/edge-home-orchestration-go' verlassen


Gehen Sie zum Mod-Anbieter

GO111MODULE=On-Go-Mod-Anbieter


Erstellen Sie eine ausführbare Binärdatei

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 || Ausgang 1
Docker-Bilder
insgesamt 18380
drwxr-xr-x 3 pi Docker 4096 19. August 08:09 .
drwxr-xr-x 17 pi Docker 4096 19. August 08:06 ..
-rwxr-xr-x 1 pi pi 18807524 19. August 08:09 Edge-Orchestrierung
drwxr-xr-x 2 pi Docker 4096 16. August 19:32 qemu
build_docker_container erstellen
make[1]: Verzeichnis '/home/pi/edge-home-orchestration-go' eingeben


Docker-Container arm32v7 erstellen

Docker rm -f "Kanten-Orchestrierung"
Fehler: Kein solcher Container: Edge-Orchestrierung
docker rmi -f "edge-orchestration":"coconut"
Untagged: edge-orchestration:coconut
Gelöscht: sha256:22a0cb262840318f581fb10e70c0cebd1f060f5e22e768fdca8d675a85b9d9bb
Gelöscht: sha256:48c7f6a1d5a761851b97b509d55b8071880ee3cc5e8c161d4d1c27ec577fc805
Gelöscht: sha256:fff87bea1b311f675c2dbf8644111b5823347fb88125b66a70de0c8fcb15dc2c
Gelöscht: sha256:bc1c0506020ef2a3f34d98d8c55c5ed45605237c2dfdfea47f750188cdd88192
Gelöscht: sha256:8ffe2d772ef269670bb4902f00daf0628b17ae09d12e26e52ba1d5ccb1d8f1e7
Gelöscht: sha256:b3e2316bef6326528bbfe6d86c035bfc14ef1f96b48b42f5b2917a83dbb10aa2
Gelöscht: sha256:9f13ce2dc17389d91255f7bc92f381f5a173cc60bdfa048f5ab39ef923c74079
Gelöscht: sha256:d6251c5a9b52c0c1a2248dcd94c48c17edabc8c67424aa01202b92e22b3ce823
Gelöscht: sha256:246c1dc7ec48c03354a4f8f47cc6b7a34e7b5f463d0704d93e2bed630a028390
Gelöscht: sha256:7e5898fa738759e50c07ee48a560501add8066716198e7124f50810677240068
Gelöscht: sha256:54975ebba9f478912f62a56baa6ec1f2105ddb7e798c5ea1eb5fe689facb49e6
Gelöscht: sha256:28f916d70bd7a3e9acd32cfde7c2f5d47873a667ba8c004f29dc1d00d4ba532e
Gelöscht: sha256:e871246e1657e4b7ac90c04b566729feb8a4218301fb52ad7a15c3f31f5a3841
Gelöscht: sha256:eed84de39c9afef1a9c265e14810036dc947d4f7868209fe7e122e8e6f022814
Gelöscht: sha256:e637eee76eeebc889a7ed1889693d3d6821d009ec8e2cab766d45a460ae4d785
Gelöscht: sha256:f3b92a019a90d4ee5cad0d5655a92ba47660e283bb6b93915adad7c792931252
Gelöscht: sha256:062720f3faa7fec2c82d8583114be716956267bec56c0f10c6e2a61c1d448214
Gelöscht: sha256:3ff3e65bb0031434818312701a9191ae26fae794964f6414832fc28d26f972e2
Gelöscht: sha256:c5507a13ee9970fc571f9fbcb807915a4f4910dc652c1b952526ec0a47314601
Gelöscht: sha256:c639e172668f5269e75a926c94e5904bfe863eca17fc86c657e1803fe969e247
Gelöscht: sha256:6e5d9ba4fcdc5e054936d90b79901ab361c0a3a35116cc802a0f8a6aef815a73
Gelöscht: sha256:ef27fab77e1d1c740061af1c130ef3298213d4345a06f24539e74ccb7ec6dabf
Gelöscht: sha256:3b64d3d57260226e3712c0a2045e55c8f6a03e7824bb06df7bfde701af2cb0b5
docker build --tag edge-orchestration:"coconut" --file /home/pi/edge-home-orchestration-go/Dockerfile --build-arg PLATFORM="arm32v7" .
Senden des Build-Kontexts an den Docker-Daemon 143,3 MB
Schritt 1/20: ARG-PLATTFORM
Schritt 2/20: VON $PLATTFORM/ubuntu:16.04
---> f46cdaad2749
Schritt 3/20: ENV TARGET_DIR=/edge-orchestration
---> Läuft in 70dad2a749b6
Zwischenbehälter 70dad2a749b6 ausbauen
---> 4ab635240793
Schritt 4/20: ENV HTTP_PORT=56001
---> Läuft in 15ae8391dc94
Zwischenbehälter 15ae8391dc94 ausbauen
---> d6f176ec44d9
Schritt 5/20: ENV MDNS_PORT=5353
---> Läuft in bb6253bafcf2
Zwischenbehälter bb6253bafcf2 entfernen
---> 1baef9009eb9
Schritt 6/20: ENV MNEDC_PORT=3334
---> Läuft in e3c11675886a
Zwischenbehälter e3c11675886a ausbauen
---> c39da6de51cd
Schritt 7/20: ENV MNEDC_BROADCAST_PORT=3333
---> Läuft in 47ae6d2c29e0
Zwischenbehälter 47ae6d2c29e0 ausbauen
---> 764ff0da6440
Schritt 8/20: ENV ZEROCONF_PORT=42425
---> Läuft in a3b298494873
Zwischenbehälter a3b298494873 ausbauen
---> 05d0c25de5d6
Schritt 9/20: ENV APP_BIN_DIR=bin
---> Läuft in 83096a7bcef2
Zwischenbehälter 83096a7bcef2 ausbauen
---> 507485e6261b
Schritt 10/20: ENV APP_NAME=Kanten-Orchestrierung
---> Läuft in b81205e34a95
Zwischenbehälter ausbauen b81205e34a95
---> 92f1c9fc3454
Schritt 11/20: ENV APP_QEMU_DIR=$APP_BIN_DIR/qemu
---> Läuft in 14cbbb19dfdd
Zwischenbehälter 14cbbb19dfdd ausbauen
---> d83e4ce65024
Schritt 12/20: ENV BUILD_DIR=erstellen
---> Läuft in 82e1f5725bbd
Zwischenbehälter ausbauen 82e1f5725bbd
---> 18ddf31da323
Schritt 13/20: COPY $APP_BIN_DIR/$APP_NAME $BUILD_DIR/package/run.sh $TARGET_DIR/
---> c6fcc1d6f82b
Schritt 14/20: COPY $APP_QEMU_DIR/ /usr/bin/
---> 83a6bcd12c2c
Schritt 15/20: RUN mkdir -p $TARGET_DIR/res/
---> Läuft in 1d9492777a4a
Zwischenbehälter 1d9492777a4a ausbauen
---> da93c71468a0
Schritt 16/20: Führen Sie apt-get update aus
---> Läuft in 4d1611cb7833
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial InRelease [247 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial-updates InRelease [109 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-backports InRelease [107 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial-security InRelease [109 kB]
Holen Sie sich: 5 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf Pakete [1486 kB]
Holen Sie sich: 6 http://ports.ubuntu.com/ubuntu-ports xenial/restricted armhf-Pakete [8491 B]
Holen Sie sich: 7 http://ports.ubuntu.com/ubuntu-ports xenial/universe armhf Pakete [9531 kB]
Holen Sie sich: 8 http://ports.ubuntu.com/ubuntu-ports xenial/multiverse armhf-Pakete [149 kB]
Holen Sie sich: 9 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf Pakete [1694 kB]
Holen Sie sich: 10 http://ports.ubuntu.com/ubuntu-ports xenial-updates/restricted armhf Pakete [10,4 kB]
Holen Sie sich: 11 http://ports.ubuntu.com/ubuntu-ports xenial-updates/universe armhf Pakete [1399 kB]
Holen Sie sich: 12 http://ports.ubuntu.com/ubuntu-ports xenial-updates/multiverse armhf Pakete [19,0 kB]
Get:13 http://ports.ubuntu.com/ubuntu-ports xenial-backports/main armhf Pakete [10,9 kB]
Holen Sie sich: 14 http://ports.ubuntu.com/ubuntu-ports xenial-backports/universe armhf Pakete [12,1 kB]
Holen Sie sich: 15 http://ports.ubuntu.com/ubuntu-ports xenial-security/main armhf Pakete [1242 kB]
Holen Sie sich: 16 http://ports.ubuntu.com/ubuntu-ports xenial-security/restricted armhf Pakete [10,4 kB]
Erhalten:17 http://ports.ubuntu.com/ubuntu-ports xenial-security/universe armhf Pakete [874 kB]
Holen Sie sich: 18 http://ports.ubuntu.com/ubuntu-ports xenial-security/multiverse armhf Pakete [5050 B]
17,0 MB in 8 s abgerufen (1952 kB/s)
Paketlisten lesen...
Zwischenbehälter 4d1611cb7833 ausbauen
---> c34e823686ea
Schritt 17/20: Führen Sie apt-get install -y net-tools iproute2 aus
---> Läuft in dbde39e87c2f
Paketlisten lesen...
Abhängigkeitsbaum erstellen...
Zustandsinformationen lesen...
Die folgenden zusätzlichen Pakete werden installiert:
libatm1 libmnl0 libxtables11
Vorgeschlagene Pakete:
iproute2-doc
Die folgenden NEUEN Pakete werden installiert:
iproute2 libatm1 libmnl0 libxtables11 net-tools
0 aktualisiert, 5 neu installiert, 0 zu entfernen und 0 nicht aktualisiert.
Benötigen Sie 698 kB an Archiven.
Nach diesem Vorgang werden 1987 kB zusätzlicher Speicherplatz verwendet.
Get:1 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libatm1 armhf 1:2.5.1-1.5 [20,7 kB]
Get:2 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libmnl0 armhf 1.0.3-5 [10,8 kB]
Get:3 http://ports.ubuntu.com/ubuntu-ports xenial-updates/main armhf iproute2 armhf 4.3.0-1ubuntu3.16.04.5 [479 kB]
Get:4 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf libxtables11 armhf 1.6.0-2ubuntu3 [24,8 kB]
Get:5 http://ports.ubuntu.com/ubuntu-ports xenial/main armhf net-tools armhf 1.60-26ubuntu1 [163 kB]
debconf: Verzögerung der Paketkonfiguration, da apt-utils nicht installiert ist
698 kB in 1 s abgerufen (582 kB/s)
Auswählen des zuvor nicht ausgewählten Pakets libatm1:armhf.
(Lesedatenbank ... 4775 Dateien und Verzeichnisse derzeit installiert.)
Entpacken wird vorbereitet .../libatm1_1%3a2.5.1-1.5_armhf.deb ...
Entpacken von libatm1:armhf (1:2.5.1-1.5) ...
Auswählen des zuvor nicht ausgewählten Pakets libmnl0:armhf.
Entpacken wird vorbereitet .../libmnl0_1.0.3-5_armhf.deb ...
Entpacken von libmnl0:armhf (1.0.3-5) ...
Auswählen des zuvor nicht ausgewählten Pakets iproute2.
Entpacken wird vorbereitet .../iproute2_4.3.0-1ubuntu3.16.04.5_armhf.deb ...
Entpacken von iproute2 (4.3.0-1ubuntu3.16.04.5) ...
Auswählen des zuvor nicht ausgewählten Pakets libxtables11:armhf.
Entpacken wird vorbereitet .../libxtables11_1.6.0-2ubuntu3_armhf.deb ...
Entpacken von libxtables11:armhf (1.6.0-2ubuntu3) ...
Auswahl des zuvor nicht ausgewählten Pakets net-tools.
Entpacken wird vorbereitet .../net-tools_1.60-26ubuntu1_armhf.deb ...
Net-Tools werden entpackt (1.60-26ubuntu1) ...
Verarbeitung von Triggern für libc-bin (2.23-0ubuntu11.3) ...
Einrichten von libatm1:armhf (1:2.5.1-1.5) ...
Einrichten von libmnl0:armhf (1.0.3-5) ...
Einrichten von iproute2 (4.3.0-1ubuntu3.16.04.5) ...
Einrichten von libxtables11:armhf (1.6.0-2ubuntu3) ...
net-tools einrichten (1.60-26ubuntu1) ...
Verarbeitung von Triggern für libc-bin (2.23-0ubuntu11.3) ...
Entfernen des Zwischenbehälters dbde39e87c2f
---> 0b4e80a6eaac
Schritt 18/20: EXPOSE $HTTP_PORT $MDNS_PORT $ZEROCONF_PORT $MNEDC_PORT $MNEDC_BROADCAST_PORT
---> Läuft in cfb78c7cdcda
Zwischenbehälter cfb78c7cdcda entfernen
---> ce1718022bb6
Schritt 19/20: WORKDIR $TARGET_DIR
---> Läuft in 29e55fef151e
Zwischenbehälter 29e55fef151e ausbauen
---> b43874bfaaca
Schritt 20/20: CMD ["sh", "run.sh"]
---> Läuft in 6fa24db2bf9e
Zwischenbehälter 6fa24db2bf9e entfernen
---> 2ef4d528d390
2ef4d528d390 erfolgreich gebaut
Edge-orchestration:coconut erfolgreich getaggt
docker save -o /home/pi/edge-home-orchestration-go/bin/edge-orchestration.tar edge-orchestration
make[1]: Verzeichnis '/home/pi/edge-home-orchestration-go' verlassen
pi @raspberrypi :~/edge-home-orchestration-go $ Docker-Bilder
REPOSITORY-TAG-BILD-ID ERSTELLTE GRÖSSE
edge-orchestration coconut 2ef4d528d390 vor 39 Sekunden 154MB
arm32v7/ubuntu 16.04 f46cdaad2749 vor 3 Wochen 106MB
hallo-welt neuste 1a30b4397839 vor 5 wochen 4.85kB
pi @raspberrypi :~/edge-home-orchestration-go $ cd bin/
pi @raspberrypi :~/edge-home-orchestration-go/bin $ ls
Kantenorchestrierung Kantenorchestrierung.tar qemu
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker loaad -i edge-orchestration.tar
unbekanntes Kurzschrift-Flag: 'i' in -i
Siehe 'docker --help'.

Verwendung: Docker [OPTIONEN] BEFEHL

Eine autarke Laufzeit für Container

Optionen:
--config string Speicherort der Client-Konfigurationsdateien (Standard „/home/pi/.docker“)
-c, --context Zeichenfolge Name des Kontexts, der zum Herstellen einer Verbindung mit dem Daemon verwendet werden soll
(überschreibt die DOCKER_HOST-Umgebungsvariable und den Standardkontextsatz mit
"Docker-Kontext verwenden")
-D, --debug Aktiviert den Debug-Modus
-H, --host listet Daemon-Sockets auf, zu denen eine Verbindung hergestellt werden soll
-l, --log-level string Legt die Protokollierungsebene fest ("debug"|"info"|"warn"|"error"|"fatal")
(Standard "info")
--tls TLS verwenden; durch --tlsverify impliziert
--tlscacert Zeichenfolge Nur von dieser Zertifizierungsstelle signierten Zertifikaten vertrauen (Standard
"/home/pi/.docker/ca.pem")
--tlscert string Pfad zur TLS-Zertifikatsdatei (Standard „/home/pi/.docker/cert.pem“)
--tlskey string Pfad zur TLS-Schlüsseldatei (standardmäßig „/home/pi/.docker/key.pem“)
--tlsverify Verwende TLS und verifiziere die Fernbedienung
-v, --version Versionsinformationen ausgeben und beenden

Verwaltungsbefehle:
app* Docker-App (Docker Inc., v0.9.1-beta3)
Builder Builds verwalten
buildx* Erstellen mit BuildKit (Docker Inc., v0.6.1-docker)
config Docker-Konfigurationen verwalten
container Container verwalten
Kontext Kontexte verwalten
Bild Bilder verwalten
manifest Docker-Image-Manifeste und Manifest-Listen verwalten
Netzwerk Netzwerke verwalten
node Schwarmknoten verwalten
Plugin Plugins verwalten
secret Docker-Secrets verwalten
Dienst Dienste verwalten
Stack Docker-Stacks verwalten
Schwarm Schwarm verwalten
Docker-System verwalten
trust Vertrauen auf Docker-Images verwalten
Volume Verwalten Sie Volumes

Befehle:
Attach Lokale Standard-Eingabe-, -Ausgabe- und -Fehlerströme an einen laufenden Container anhängen
build Erstellt ein Image aus einer Docker-Datei
commit Erstellen Sie ein neues Image aus den Änderungen eines Containers
cp Dateien/Ordner zwischen einem Container und dem lokalen Dateisystem kopieren
create Erstellen Sie einen neuen Container
diff Untersucht Änderungen an Dateien oder Verzeichnissen im Dateisystem eines Containers
events Erhalten Sie Echtzeit-Events vom Server
exec Führt einen Befehl in einem laufenden Container aus
export Exportiert das Dateisystem eines Containers als tar-Archiv
Verlauf Zeigt den Verlauf eines Bildes an
Bilder Bilder auflisten
import Importiert den Inhalt aus einem Tarball, um ein Dateisystem-Image zu erstellen
info Systemweite Informationen anzeigen
inspect Geben Sie Low-Level-Informationen zu Docker-Objekten zurück
kill Tötet einen oder mehrere laufende Container
load Laden Sie ein Bild aus einem tar-Archiv oder STDIN
login Melden Sie sich bei einer Docker-Registrierung an
logout Melden Sie sich von einer Docker-Registrierung ab
logs Ruft die Protokolle eines Containers ab
pause Alle Prozesse in einem oder mehreren Containern anhalten
port Portzuordnungen oder eine bestimmte Zuordnung für den Container auflisten
ps Container auflisten
Pull Ziehen Sie ein Image oder ein Repository aus einer Registrierung
push Pushen Sie ein Image oder ein Repository in eine Registry
rename Umbenennen eines Containers
restart Startet einen oder mehrere Container neu
rm Einen oder mehrere Container entfernen
rmi Entfernen Sie ein oder mehrere Bilder
run Führt einen Befehl in einem neuen Container aus
save Ein oder mehrere Bilder in einem tar-Archiv speichern (standardmäßig nach STDOUT gestreamt)
search Durchsuchen Sie den Docker-Hub nach Bildern
start Startet einen oder mehrere gestoppte Container
stats Zeigen Sie einen Live-Stream mit Statistiken zur Ressourcennutzung von Containern an
stop Einen oder mehrere laufende Container stoppen
Tag Erstellen Sie ein Tag TARGET_IMAGE, das auf SOURCE_IMAGE verweist
nach oben Zeigt die laufenden Prozesse eines Containers an
unpause Hebt alle Prozesse in einem oder mehreren Containern auf
update Konfiguration eines oder mehrerer Container aktualisieren
version Zeigt die Docker-Versionsinformationen an
Warten Sie Blockieren, bis ein oder mehrere Container anhalten, und geben Sie dann ihre Exit-Codes aus

Führen Sie „docker COMMAND --help“ aus, um weitere Informationen zu einem Befehl zu erhalten.

Weitere Hilfe zu Docker finden Sie in unseren Leitfäden unter https://docs.docker.com/go/guides/

pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker load -i edge-orchestration.tar
Geladenes Bild: edge-orchestration:coconut
pi @raspberrypi :~/edge-home-orchestration-go/bin $ Docker-Bilder
REPOSITORY-TAG-BILD-ID ERSTELLTE GRÖSSE
edge-orchestration coconut 2ef4d528d390 vor 2 Minuten 154MB
arm32v7/ubuntu 16.04 f46cdaad2749 vor 3 Wochen 106MB
hallo-welt neuste 1a30b4397839 vor 5 wochen 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- orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
Docker: Fehlerantwort vom Daemon: Konflikt. Der Containername „/edge-orchestration“ wird bereits von Container „c0c5c6c41db35d641c5d94b50089938eeaeb1945bd16cc1d3405d290740e203e“ verwendet. Sie müssen diesen Container entfernen (oder umbenennen), um diesen Namen wiederverwenden zu können.
Siehe „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 [Schnittstelle] OrchestrationInit
INFO[2021-08-19T07:13:33Z]main.go:92 orchestrationInit >>> commitID : e75c75e
INFO[2021-08-19T07:13:33Z]main.go:93 OrchestrationInit >>> Version :
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 kann den Passphrase-Schlüssel aus keyFilePath nicht lesen - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-19T07:13:33Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] Alle Geräteinformationen löschen
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
INFO[2021-08-19T07:13:33Z]discovery.go:398 setDeviceID [discoverymgr] UUID: 28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:33Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO[2021-08-19T07:13:33Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:13:33Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(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([])
INFO[2021-08-19T07:13:33Z]discovery.go:577 func1
INFO[2021-08-19T07:13:33Z]configuremgr.go:146 Watch beginnen Sie mit der Suche nach /var/edge-orchestration/apps
INFO[2021-08-19T07:13:33Z]configuremgr.go:147 Watch configuremgr Watcher-Registrierungsende
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1Ping GET /api/v1/ping 0x6ac060} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} hinzufügen
INFO[2021-08-19T07:13:33Z]cipherDummy.go:46 GetCipher kann den Passphrase-Schlüssel aus keyFilePath nicht lesen - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:84 {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} hinzufügen
INFO[2021-08-19T07:13:33Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-19T07:13:33Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-19T07:13:33Z]main.go:182 OrchestrationInit Schnittstellenorchestrierung init erledigt
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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[2021-08-19T07:13:35Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[2021-08-19T07:15:33Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-19T07:16:33Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-19T07:17:33Z]discovery.go:577 func1
INFO[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([])
INFO[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([])
INFO[2021-08-19T07:18:33Z]discovery.go:577 func1
^C
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
Edge-Orchestrierung
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
Edge-Orchestrierung
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- orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
Docker: Fehlerantwort vom Daemon: Konflikt. Der Containername „/edge-orchestration“ wird bereits vom Container „e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e“ verwendet. Sie müssen diesen Container entfernen (oder umbenennen), um diesen Namen wiederverwenden zu können.
Siehe „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- orchestration/:/var/edge-orchestration/:rw -v /var/run/docker.sock:/var/run/docker.sock:rw -v /proc/:/process/:ro edge-orchestration:coconut
Docker: Fehlerantwort vom Daemon: Konflikt. Der Containername „/edge-orchestration“ wird bereits vom Container „e2f758f3e9b66d674ce60dd57dd72cad967b58d9ed94289da8f9e924e62e165e“ verwendet. Sie müssen diesen Container entfernen (oder umbenennen), um diesen Namen wiederverwenden zu können.
Siehe „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
CONTAINER ID IMAGE BEFEHL ERSTELLT STATUS PORTS NAMEN
e2f758f3e9b6 edge-orchestration:coconut "sh run.sh" vor 3 Minuten Up 3 minutes edge-orchestration
882dfcf454da hello-world "/hello" vor 2 Tagen Beendet (0) vor 2 Tagen magic_beaver
d71ef8f47dbb hello-world "/hello" vor 2 Tagen Beendet (0) vor 2 Tagen strange_hertz
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker stop edge-orchestration
Edge-Orchestrierung
pi @raspberrypi :~/edge-home-orchestration-go/bin $ docker rm edge-orchestration
Edge-Orchestrierung
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 " 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 $ docker logs -f edge-orchestration
INFO[2021-08-19T07:23:49Z]main.go:91 OrchestrationInit [Schnittstelle] OrchestrationInit
INFO[2021-08-19T07:23:49Z]main.go:92 OrchestrationInit >>> commitID : e75c75e
INFO[2021-08-19T07:23:49Z]main.go:93 OrchestrationInit >>> Version :
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 kann den Passphrase-Schlüssel aus keyFilePath nicht lesen - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-19T07:23:49Z]discovery.go:744 clearAllDeviceInfo [discoverymgr] Alle Geräteinformationen löschen
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
INFO[2021-08-19T07:23:49Z]discovery.go:398 setDeviceID [discoverymgr] UUID: 28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:542 SetNetwotkArgument [discoverymgr] [192.168.0.37]
INFO[2021-08-19T07:23:49Z]discovery.go:573 func1 [deviceDetectionRoutine] edge-orchestration-28d686b3-f29c-4f69-9042-4762a9a3c4fe
INFO[2021-08-19T07:23:49Z]discovery.go:574 func1 [deviceDetectionRoutine] confInfo : ExecType(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([])
INFO[2021-08-19T07:23:49Z]discovery.go:577 func1
INFO[2021-08-19T07:23:49Z]configuremgr.go:146 Watch beginnen Sie mit der Suche nach /var/edge-orchestration/apps
INFO[2021-08-19T07:23:49Z]configuremgr.go:147 Beobachten Sie das Ende der Konfiguration des Watcher-Registers
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1Ping GET /api/v1/ping 0x6ac060} hinzufügen
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ServicemgrServicesPost POST /api/v1/servicemgr/services 0x6ac0ec} hinzufügen
INFO[2021-08-19T07:23:49Z]helper.go:104 DoGet [http://192.168.0.37:56002/api/v1/ping] Anforderung wird fehlgeschlagen !!, err = Get „http://192.168 .0.37:56002/api/v1/ping": Wählen Sie TCP 192.168.0.37:56002: Verbinden: Verbindung abgelehnt
INFO[2021-08-19T07:23:49Z]roundtriptime.go:92 checkRTT Get "http://192.168.0.37:56002/api/v1/ping": dial tcp 192.168.0.37:56002: connect: Verbindung abgelehnt
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ServicemgrServicesNotificationServiceIDPost POST /api/v1/servicemgr/services/notification/{serviceid} 0x6ac158} hinzufügen
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ScoringmgrScoreLibnameGet GET /api/v1/scoringmgr/score 0x6ac1c4} hinzufügen
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1ScoringmgrResourceGet GET /api/v1/scoringmgr/resource 0x6ac230} hinzufügen
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1DiscoverymgrMNEDCDeviceInfoPost POST /api/v1/discoverymgr/register 0x6ac29c} hinzufügen
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1DiscoverymgrOrchestrationInfoGet GET /api/v1/discoverymgr/orchestrationinfo 0x6ac308} hinzufügen
INFO[2021-08-19T07:23:49Z]cipherDummy.go:46 GetCipher kann den Passphrase-Schlüssel aus keyFilePath nicht lesen - open /var/edge-orchestration/user/orchestration_userID.txt: no such file or directory
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1RequestServicePost POST /api/v1/orchestration/services 0x6a8678} hinzufügen
INFO[2021-08-19T07:23:49Z]route.go:84 {APIV1RequestSecuremgrPost POST /api/v1/orchestration/securemgr 0x6a86e4} hinzufügen
INFO[2021-08-19T07:23:49Z]route.go:115 listenAndServe ListenAndServe_For_Inter
INFO[2021-08-19T07:23:49Z]route.go:119 listenAndServe ListenAndServe
INFO[2021-08-19T07:23:49Z]main.go:182 OrchestrationInit Schnittstellenorchestrierung init erledigt
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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[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([])
INFO[2021-08-19T07:23:50Z]discovery.go:577 func1
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 gibt zurück: 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] Endpunkt: [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 Kandidaten-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-Kandidat Endpunkt: 192.168.0.37
INFO[2021-08-19T07:24:42Z]orchestrationapi.go:344 func3 Kandidatenpunktzahl: 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.846495859252}6 map[] container]
INFO[2021-08-19T07:24:42Z]containerexecutor.go:70 Führen Sie [containerexecutor] hello-world aus [docker run -v /var/run:/var/run:rw hello-world]
INFO[2021-08-19T07:24:42Z]containerexecutor.go:71 Parameterlänge [containerexecutor] ausführen: 5
INFO[2021-08-19T07:24:42Z]route.go:131 func1 Von [127.0.0.1:33118] POST /api/v1/orchestration/services APIV1RequestServicePost 146.304475ms
{"status":"Aus Bibliothek/hello-world ziehen","id":"neueste"}
{"status":"Digest: sha256:0fe98d7debd9049c50b597ef1f85b7c1e8cc81f59c8d623fcb2250e8bec85b38"}
{"status":"Status: Bild ist aktuell für hello-world:latest"}
INFO[2021-08-19T07:24:44Z]containerexecutor.go:91 Führen Sie [containerexecutor] create container aus: 20d38d8de7
2021-08-19T07:24:45.974837713Z
2021-08-19T07:24:45.975191565Z Hallo von Docker!
2021-08-19T07:24:45.975228075Z Diese Meldung zeigt an, dass Ihre Installation ordnungsgemäß zu funktionieren scheint.
2021-08-19T07:24:45.975258648Z
2021-08-19T07:24:45.975288336Z Um diese Nachricht zu generieren, hat Docker die folgenden Schritte unternommen:
2021-08-19T07:24:45.975318752Z 1. Der Docker-Client hat den Docker-Daemon kontaktiert.
2021-08-19T07:24:45.975349169Z 2. Der Docker-Daemon hat das „hello-world“-Image aus dem Docker-Hub gezogen.
2021-08-19T07:24:45.975380470Z (arm32v7)
2021-08-19T07:24:45.975410054Z 3. Der Docker-Daemon hat aus diesem Image einen neuen Container erstellt, der die
2021-08-19T07:24:45.975440418Z ausführbare Datei, die die Ausgabe erzeugt, die Sie gerade lesen.
2021-08-19T07:24:45.975470835Z 4. Der Docker-Daemon hat diese Ausgabe an den Docker-Client gestreamt, der sie gesendet hat
2021-08-19T07:24:45.975515991Z an Ihr Terminal.
2021-08-19T07:24:45.975546147Z
2021-08-19T07:24:45.975575626Z Um etwas Ehrgeizigeres auszuprobieren, können Sie einen Ubuntu-Container ausführen mit:
2021-08-19T07:24:45.975605990Z $ docker run -it ubuntu bash
2021-08-19T07:24:45.975637500Z
2021-08-19T07:24:45.975669115Z Teilen Sie Bilder, automatisieren Sie Workflows und mehr mit einer kostenlosen Docker-ID:
2021-08-19T07:24:45.975699583Z https://hub.docker.com/
2021-08-19T07:24:45.975728802Z
2021-08-19T07:24:45.975758229Z Weitere Beispiele und Ideen finden Sie unter:
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 Ausführungsstatus des Containers [containerexecutor] ausführen: 0
INFO[2021-08-19T07:24:46Z]orchestrationapi.go:448 listenNotify [orchestrationapi] Dienststatus geändert [appNames:hello-world][status:Fertig]
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
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: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

Ich kann immer noch nicht verstehen, wo ich falsch liege

Gut gemacht. Du hast es geschafft!

> > 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

Wie kann ich dann die Punktzahlen für verschiedene Geräte abrufen, die mit dem Netzwerk verbunden sind?

und können Sie mir bitte auch mitteilen, ob ich mit diesem Projekt eine Vergleichsanalyse zwischen Edge Computing und Cloud Computing durchführen kann.

Wie kann ich dann die Punktzahlen für verschiedene Geräte abrufen, die mit dem Netzwerk verbunden sind?

@mchittineni Bitte eröffne für deine Frage oben einen separaten Thementicker. Wir behalten die Thread-Richtlinie bei, dass jedes Problem ein einzelnes unabhängiges Problem enthalten sollte, damit wir es intuitiv effizient angehen können. Vielen Dank im Voraus. 🙏

und können Sie mir bitte auch mitteilen, ob ich mit diesem Projekt eine Vergleichsanalyse zwischen Edge Computing und Cloud Computing durchführen kann.

@mchittineni Bitte eröffne für deine Frage oben einen separaten Thementicker. Wir behalten die Thread-Richtlinie bei, dass jedes Problem ein einzelnes unabhängiges Problem enthalten sollte, damit wir es intuitiv effizient angehen können. Vielen Dank im Voraus. 🙏

War diese Seite hilfreich?
0 / 5 - 0 Bewertungen