Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

edgeHub Sometimes Loses Subscriptions When Restarted #4050

Open
jackt-moran opened this issue Dec 4, 2020 · 23 comments
Open

edgeHub Sometimes Loses Subscriptions When Restarted #4050

jackt-moran opened this issue Dec 4, 2020 · 23 comments

Comments

@jackt-moran
Copy link

jackt-moran commented Dec 4, 2020

Expected Behavior

When the edgeHub container is restarted it should not lose subscriptions and/or it should gracefully reestablish connection with module clients.

Current Behavior

Sometimes edgeHub loses subscriptions upon restart, which causes module clients to stop receiving messages from edgeHub indefinitely.

Steps to Reproduce

Provide a detailed set of steps to reproduce the bug.

  1. Setup an edge environment with at least 2 modules, with 1 of the modules sending messages to the second. The second module should be a custom module (I used the Python SDK).
  2. In our experience, the volume of events needs to exceed at least 10,000 events per minute for the issue to surface.
  3. Restart edgeHub (iotedge restart edgeHub).
  4. Observe that the second, custom edge module will stop receiving messages and never resume.

Context (Environment)

Output of iotedge check

Click here
Configuration checks
--------------------
√ config.yaml is well-formed - OK
√ config.yaml has well-formed connection string - OK
√ container engine is installed and functional - OK
√ config.yaml has correct hostname - OK
√ config.yaml has correct URIs for daemon mgmt endpoint - OK
√ latest security daemon - OK
√ host time is close to real time - OK
√ container time is close to host time - OK
√ DNS server - OK
√ production readiness: certificates - OK
√ production readiness: container engine - OK
√ production readiness: logs policy - OK
√ production readiness: Edge Agent's storage directory is persisted on the host filesystem - OK
√ production readiness: Edge Hub's storage directory is persisted on the host filesystem - OK

Connectivity checks
-------------------
√ host can connect to and perform TLS handshake with IoT Hub AMQP port - OK
√ host can connect to and perform TLS handshake with IoT Hub HTTPS / WebSockets port - OK
√ host can connect to and perform TLS handshake with IoT Hub MQTT port - OK
√ container on the default network can connect to IoT Hub AMQP port - OK
√ container on the default network can connect to IoT Hub HTTPS / WebSockets port - OK
√ container on the default network can connect to IoT Hub MQTT port - OK
√ container on the IoT Edge module network can connect to IoT Hub AMQP port - OK
√ container on the IoT Edge module network can connect to IoT Hub HTTPS / WebSockets port - OK
√ container on the IoT Edge module network can connect to IoT Hub MQTT port - OK

23 check(s) succeeded.

Device Information

  • Host OS Ubuntu 18.04
  • Architecture amd64
  • Container OS Linux containers

Runtime Versions

  • iotedged [run iotedge version]: 1.0.10.2

  • Edge Agent [image tag (e.g. 1.0.0)]: azureiotedge-agent:1.0.10-linux-amd64

  • Edge Hub [image tag (e.g. 1.0.0)]: azureiotedge-hub:1.0.10-linux-amd64

  • Docker/Moby [run docker version]:
    Client:
    Version: 19.03.13+azure
    API version: 1.40
    Go version: go1.13.15
    Git commit: cd8016b6bcc51a51f577bcffb37e6a870f7813f9
    Built: Tue Sep 15 23:02:04 2020
    OS/Arch: linux/amd64
    Experimental: false

    Server:
    Engine:
    Version: 19.03.13+azure
    API version: 1.40 (minimum version 1.12)
    Go version: go1.13.15
    Git commit: bd33bbf0497b2327516dc799a5e541b720822a4c
    Built: Mon Mar 12 00:00:00 2018
    OS/Arch: linux/amd64
    Experimental: false
    containerd:
    Version: 1.3.9+azure
    GitCommit: ea765aba0d05254012b0b9e595e995c09186427f
    runc:
    Version: 1.0.0-rc92
    GitCommit: ff819c7e9184c13b7c2607fe6c30ae19403a7aff
    docker-init:
    Version: 0.18.0
    GitCommit:

Note: when using Windows containers on Windows, run docker -H npipe:////./pipe/iotedge_moby_engine version instead

Logs

iotedged logs
Dec 04 16:10:11 iotedge0304 iotedged[5124]: 2020-12-04T16:10:11Z [INFO] - Checking edge runtime status
Dec 04 16:10:11 iotedge0304 iotedged[5124]: 2020-12-04T16:10:11Z [INFO] - Edge runtime is running.
Dec 04 16:10:16 iotedge0304 iotedged[5124]: 2020-12-04T16:10:16Z [INFO] - [mgmt] - - - [2020-12-04 16:10:16.265162446 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:21 iotedge0304 iotedged[5124]: 2020-12-04T16:10:21Z [INFO] - [mgmt] - - - [2020-12-04 16:10:21.280968040 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:26 iotedge0304 iotedged[5124]: 2020-12-04T16:10:26Z [INFO] - [mgmt] - - - [2020-12-04 16:10:26.300254084 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:31 iotedge0304 iotedged[5124]: 2020-12-04T16:10:31Z [INFO] - [mgmt] - - - [2020-12-04 16:10:31.320637684 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:31 iotedge0304 iotedged[5124]: 2020-12-04T16:10:31Z [INFO] - [mgmt] - - - [2020-12-04 16:10:31.719495175 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:10:36 iotedge0304 iotedged[5124]: 2020-12-04T16:10:36Z [INFO] - Getting logs for module edgeAgent...
Dec 04 16:10:36 iotedge0304 iotedged[5124]: 2020-12-04T16:10:36Z [INFO] - Successfully got logs for module edgeAgent
Dec 04 16:10:36 iotedge0304 iotedged[5124]: 2020-12-04T16:10:36Z [INFO] - [mgmt] - - - [2020-12-04 16:10:36.079046893 UTC] "GET /modules/edgeAgent/logs?api-version=2020-07-07&follow=false&tail=10&since=1607011836 HTTP/1.1" 200 OK - "-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:10:36 iotedge0304 iotedged[5124]: 2020-12-04T16:10:36Z [INFO] - [mgmt] - - - [2020-12-04 16:10:36.336454345 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:41 iotedge0304 iotedged[5124]: 2020-12-04T16:10:41Z [INFO] - [mgmt] - - - [2020-12-04 16:10:41.354070229 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:41 iotedge0304 iotedged[5124]: 2020-12-04T16:10:41Z [INFO] - [work] - - - [2020-12-04 16:10:41.389279751 UTC] "POST /modules/%24edgeAgent/genid/637395814036960487/encrypt?api-version=2020-07-07 HTTP/1.1" 200 OK 5165 "-" "-" auth_id(-)
Dec 04 16:10:41 iotedge0304 iotedged[5124]: 2020-12-04T16:10:41Z [INFO] - Getting logs for module edgeAgent...
Dec 04 16:10:42 iotedge0304 iotedged[5124]: 2020-12-04T16:10:42Z [INFO] - Successfully got logs for module edgeAgent
Dec 04 16:10:42 iotedge0304 iotedged[5124]: 2020-12-04T16:10:42Z [INFO] - [mgmt] - - - [2020-12-04 16:10:42.000104145 UTC] "GET /modules/edgeAgent/logs?api-version=2020-07-07&follow=false&tail=10&since=1607011841 HTTP/1.1" 200 OK - "-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:10:43 iotedge0304 iotedged[5124]: 2020-12-04T16:10:43Z [INFO] - Getting logs for module edgeAgent...
Dec 04 16:10:43 iotedge0304 iotedged[5124]: 2020-12-04T16:10:43Z [INFO] - Successfully got logs for module edgeAgent
Dec 04 16:10:43 iotedge0304 iotedged[5124]: 2020-12-04T16:10:43Z [INFO] - [mgmt] - - - [2020-12-04 16:10:43.435260485 UTC] "GET /modules/edgeAgent/logs?api-version=2020-07-07&follow=false&tail=10&since=1607011843 HTTP/1.1" 200 OK - "-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:10:44 iotedge0304 iotedged[5124]: 2020-12-04T16:10:44Z [INFO] - Getting logs for module edgeAgent...
Dec 04 16:10:44 iotedge0304 iotedged[5124]: 2020-12-04T16:10:44Z [INFO] - Successfully got logs for module edgeAgent
Dec 04 16:10:44 iotedge0304 iotedged[5124]: 2020-12-04T16:10:44Z [INFO] - [mgmt] - - - [2020-12-04 16:10:44.791719711 UTC] "GET /modules/edgeAgent/logs?api-version=2020-07-07&follow=false&tail=10&since=1607011844 HTTP/1.1" 200 OK - "-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:10:46 iotedge0304 iotedged[5124]: 2020-12-04T16:10:46Z [INFO] - [mgmt] - - - [2020-12-04 16:10:46.397644564 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:46 iotedge0304 iotedged[5124]: 2020-12-04T16:10:46Z [INFO] - Getting logs for module edgeAgent...
Dec 04 16:10:46 iotedge0304 iotedged[5124]: 2020-12-04T16:10:46Z [INFO] - Successfully got logs for module edgeAgent
Dec 04 16:10:46 iotedge0304 iotedged[5124]: 2020-12-04T16:10:46Z [INFO] - [mgmt] - - - [2020-12-04 16:10:46.480825148 UTC] "GET /modules/edgeAgent/logs?api-version=2020-07-07&follow=true&tail=10&since=1607011846 HTTP/1.1" 200 OK - 
"-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:10:51 iotedge0304 iotedged[5124]: 2020-12-04T16:10:51Z [INFO] - [mgmt] - - - [2020-12-04 16:10:51.589718943 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:10:51 iotedge0304 iotedged[5124]: 2020-12-04T16:10:51Z [INFO] - [work] - - - [2020-12-04 16:10:51.624187050 UTC] "POST /modules/%24edgeAgent/genid/637395814036960487/encrypt?api-version=2020-07-07 HTTP/1.1" 200 OK 5165 "-" "-" auth_id(-)
Dec 04 16:10:56 iotedge0304 iotedged[5124]: 2020-12-04T16:10:56Z [INFO] - [mgmt] - - - [2020-12-04 16:10:56.632137560 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:01 iotedge0304 iotedged[5124]: 2020-12-04T16:11:01Z [INFO] - [mgmt] - - - [2020-12-04 16:11:01.822080327 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:06 iotedge0304 iotedged[5124]: 2020-12-04T16:11:06Z [INFO] - [mgmt] - - - [2020-12-04 16:11:06.841267832 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:11 iotedge0304 iotedged[5124]: 2020-12-04T16:11:11Z [INFO] - Checking edge runtime status
Dec 04 16:11:11 iotedge0304 iotedged[5124]: 2020-12-04T16:11:11Z [INFO] - Edge runtime is running.
Dec 04 16:11:11 iotedge0304 iotedged[5124]: 2020-12-04T16:11:11Z [INFO] - [mgmt] - - - [2020-12-04 16:11:11.858408978 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:16 iotedge0304 iotedged[5124]: 2020-12-04T16:11:16Z [INFO] - [mgmt] - - - [2020-12-04 16:11:16.874231395 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:21 iotedge0304 iotedged[5124]: 2020-12-04T16:11:21Z [ERR!] - server connection error: (unknown)
Dec 04 16:11:21 iotedge0304 iotedged[5124]: 2020-12-04T16:11:21Z [ERR!] - error writing a body to connection: Broken pipe (os error 32)
Dec 04 16:11:21 iotedge0304 iotedged[5124]: 2020-12-04T16:11:21Z [INFO] - [mgmt] - - - [2020-12-04 16:11:21.890541459 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:26 iotedge0304 iotedged[5124]: 2020-12-04T16:11:26Z [INFO] - [mgmt] - - - [2020-12-04 16:11:26.911491173 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:29 iotedge0304 iotedged[5124]: 2020-12-04T16:11:29Z [INFO] - Getting logs for module edgeAgent...
Dec 04 16:11:29 iotedge0304 iotedged[5124]: 2020-12-04T16:11:29Z [INFO] - Successfully got logs for module edgeAgent
Dec 04 16:11:29 iotedge0304 iotedged[5124]: 2020-12-04T16:11:29Z [INFO] - [mgmt] - - - [2020-12-04 16:11:29.446820927 UTC] "GET /modules/edgeAgent/logs?api-version=2020-07-07&follow=true&tail=10&since=1607011889 HTTP/1.1" 200 OK - 
"-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:11:31 iotedge0304 iotedged[5124]: 2020-12-04T16:11:31Z [INFO] - [mgmt] - - - [2020-12-04 16:11:31.928912055 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:36 iotedge0304 iotedged[5124]: 2020-12-04T16:11:36Z [INFO] - [mgmt] - - - [2020-12-04 16:11:36.946019185 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:41 iotedge0304 iotedged[5124]: 2020-12-04T16:11:41Z [INFO] - [mgmt] - - - [2020-12-04 16:11:41.979735621 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:46 iotedge0304 iotedged[5124]: 2020-12-04T16:11:46Z [ERR!] - server connection error: (unknown)
Dec 04 16:11:46 iotedge0304 iotedged[5124]: 2020-12-04T16:11:46Z [ERR!] - error writing a body to connection: Broken pipe (os error 32)
Dec 04 16:11:47 iotedge0304 iotedged[5124]: 2020-12-04T16:11:47Z [INFO] - [mgmt] - - - [2020-12-04 16:11:47.004364223 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:52 iotedge0304 iotedged[5124]: 2020-12-04T16:11:52Z [INFO] - [mgmt] - - - [2020-12-04 16:11:52.022474047 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:11:52 iotedge0304 iotedged[5124]: 2020-12-04T16:11:52Z [INFO] - Restarting module edgeHub...
Dec 04 16:11:57 iotedge0304 iotedged[5124]: 2020-12-04T16:11:57Z [INFO] - [mgmt] - - - [2020-12-04 16:11:57.038203340 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:12:02 iotedge0304 iotedged[5124]: 2020-12-04T16:12:02Z [INFO] - [mgmt] - - - [2020-12-04 16:12:02.051907707 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8757 "-" "-" auth_id(-)
Dec 04 16:12:04 iotedge0304 iotedged[5124]: 2020-12-04T16:12:04Z [INFO] - Successfully restarted module edgeHub
Dec 04 16:12:04 iotedge0304 iotedged[5124]: 2020-12-04T16:12:04Z [INFO] - [mgmt] - - - [2020-12-04 16:12:04.157141770 UTC] "POST /modules/edgeHub/restart?api-version=2020-07-07 HTTP/1.1" 204 No Content - "-" "iotedge/0.1.0" auth_id(-)
Dec 04 16:12:04 iotedge0304 iotedged[5124]: 2020-12-04T16:12:04Z [INFO] - [work] - - - [2020-12-04 16:12:04.599262833 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/certificate/server?api-version=2019-01-30 HTTP/1.1" 201 Created 12192 "-" "-" auth_id(-)
Dec 04 16:12:04 iotedge0304 iotedged[5124]: 2020-12-04T16:12:04Z [INFO] - [work] - - - [2020-12-04 16:12:04.892422349 UTC] "GET /trust-bundle?api-version=2019-01-30 HTTP/1.1" 200 OK 2314 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [mgmt] - - - [2020-12-04 16:12:07.066917879 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.320704165 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 552 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.378500945 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 564 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.401054262 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 560 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.424252333 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 576 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.444603149 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 568 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.464691132 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 584 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.486592161 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 564 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.507487571 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 572 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.533286048 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 584 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.554807645 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 568 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.574910763 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 568 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.603136265 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 568 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.663560141 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.772190357 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3388 "-" 
"-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.852459526 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 1989 "-" 
"-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.890322975 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 1968 "-" 
"-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.914556406 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2173 "-" 
"-" auth_id(-)
Dec 04 16:12:07 iotedge0304 iotedged[5124]: 2020-12-04T16:12:07Z [INFO] - [work] - - - [2020-12-04 16:12:07.949379504 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2148 "-" 
"-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.443680323 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.479063072 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.502588910 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 573 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.527547848 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.555473536 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 589 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.580734173 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 581 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.606812050 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 609 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.628221833 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 597 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.651880893 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.675473703 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.700305312 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.722054348 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 589 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.749703404 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 609 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.935162082 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.937457671 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2148 "-" 
"-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.964133586 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2148 "-" 
"-" auth_id(-)
Dec 04 16:12:08 iotedge0304 iotedged[5124]: 2020-12-04T16:12:08Z [INFO] - [work] - - - [2020-12-04 16:12:08.984972248 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2148 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.017924268 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2317 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.036889946 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.114970161 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.175264020 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2296 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.207694635 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3133 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.409741185 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3108 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.424289647 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.437861240 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2953 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.452100852 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 573 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.468803871 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2928 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.480045989 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.498740130 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2928 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.500892275 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2928 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.511100876 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 589 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.523285869 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3261 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.535624585 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 581 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.547999072 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3236 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.560620193 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 609 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.573686650 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3261 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.585890483 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 597 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.602007850 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3236 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.608190993 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.630344744 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 593 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.632252332 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3401 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.654208215 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3376 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.654221610 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 597 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.680413744 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3401 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.680546047 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 589 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.704283376 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 609 "-" "-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.705385114 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3376 "-" 
"-" auth_id(-)
Dec 04 16:12:09 iotedge0304 iotedged[5124]: 2020-12-04T16:12:09Z [INFO] - [work] - - - [2020-12-04 16:12:09.728869734 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3501 "-" 
"-" auth_id(-)
Dec 04 16:12:11 iotedge0304 iotedged[5124]: 2020-12-04T16:12:11Z [INFO] - Checking edge runtime status
Dec 04 16:12:11 iotedge0304 iotedged[5124]: 2020-12-04T16:12:11Z [INFO] - Edge runtime is running.
Dec 04 16:12:12 iotedge0304 iotedged[5124]: 2020-12-04T16:12:12Z [INFO] - [mgmt] - - - [2020-12-04 16:12:12.280841613 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:12 iotedge0304 iotedged[5124]: 2020-12-04T16:12:12Z [INFO] - [work] - - - [2020-12-04 16:12:12.644995254 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3476 "-" 
"-" auth_id(-)
Dec 04 16:12:12 iotedge0304 iotedged[5124]: 2020-12-04T16:12:12Z [INFO] - [work] - - - [2020-12-04 16:12:12.667947780 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3476 "-" 
"-" auth_id(-)
Dec 04 16:12:12 iotedge0304 iotedged[5124]: 2020-12-04T16:12:12Z [INFO] - [work] - - - [2020-12-04 16:12:12.870624290 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3476 "-" 
"-" auth_id(-)
Dec 04 16:12:12 iotedge0304 iotedged[5124]: 2020-12-04T16:12:12Z [INFO] - [work] - - - [2020-12-04 16:12:12.893543102 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2953 "-" 
"-" auth_id(-)
Dec 04 16:12:12 iotedge0304 iotedged[5124]: 2020-12-04T16:12:12Z [INFO] - [work] - - - [2020-12-04 16:12:12.920910490 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2928 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.167584230 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2928 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.191411368 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2953 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.221307699 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.227856295 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2928 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.232253930 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.232801302 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.233462106 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.251509299 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3261 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.273886042 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3240 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.295594495 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3261 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.324005476 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3240 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.359620141 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3397 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.381736260 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3372 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.403944868 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3397 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.427216489 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3372 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.457583162 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3529 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.479337968 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3508 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.536551593 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3529 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.560709484 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3508 "-" 
"-" auth_id(-)
Dec 04 16:12:13 iotedge0304 iotedged[5124]: 2020-12-04T16:12:13Z [INFO] - [work] - - - [2020-12-04 16:12:13.589400081 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3661 "-" 
"-" auth_id(-)
Dec 04 16:12:14 iotedge0304 iotedged[5124]: 2020-12-04T16:12:14Z [INFO] - [work] - - - [2020-12-04 16:12:14.411631649 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3636 "-" 
"-" auth_id(-)
Dec 04 16:12:14 iotedge0304 iotedged[5124]: 2020-12-04T16:12:14Z [INFO] - [work] - - - [2020-12-04 16:12:14.443593306 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3661 "-" 
"-" auth_id(-)
Dec 04 16:12:14 iotedge0304 iotedged[5124]: 2020-12-04T16:12:14Z [INFO] - [work] - - - [2020-12-04 16:12:14.463381581 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/sign?api-version=2019-01-30 HTTP/1.1" 200 OK 57 "-" "-" auth_id(-)
Dec 04 16:12:14 iotedge0304 iotedged[5124]: 2020-12-04T16:12:14Z [INFO] - [work] - - - [2020-12-04 16:12:14.470662736 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3640 "-" 
"-" auth_id(-)
Dec 04 16:12:14 iotedge0304 iotedged[5124]: 2020-12-04T16:12:14Z [INFO] - [work] - - - [2020-12-04 16:12:14.521145972 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3805 "-" 
"-" auth_id(-)
Dec 04 16:12:17 iotedge0304 iotedged[5124]: 2020-12-04T16:12:17Z [INFO] - [mgmt] - - - [2020-12-04 16:12:17.300167956 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:17 iotedge0304 iotedged[5124]: 2020-12-04T16:12:17Z [INFO] - [work] - - - [2020-12-04 16:12:17.947498963 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3780 "-" 
"-" auth_id(-)
Dec 04 16:12:17 iotedge0304 iotedged[5124]: 2020-12-04T16:12:17Z [INFO] - [work] - - - [2020-12-04 16:12:17.973891712 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3780 "-" 
"-" auth_id(-)
Dec 04 16:12:18 iotedge0304 iotedged[5124]: 2020-12-04T16:12:18Z [INFO] - [work] - - - [2020-12-04 16:12:18.175805294 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 3780 "-" 
"-" auth_id(-)
Dec 04 16:12:18 iotedge0304 iotedged[5124]: 2020-12-04T16:12:18Z [INFO] - [work] - - - [2020-12-04 16:12:18.201117809 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/encrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2953 "-" 
"-" auth_id(-)
Dec 04 16:12:18 iotedge0304 iotedged[5124]: 2020-12-04T16:12:18Z [INFO] - [work] - - - [2020-12-04 16:12:18.231041502 UTC] "POST /modules/%24edgeHub/genid/637395814036960487/decrypt?api-version=2019-01-30 HTTP/1.1" 200 OK 2928 "-" 
"-" auth_id(-)
Dec 04 16:12:22 iotedge0304 iotedged[5124]: 2020-12-04T16:12:22Z [INFO] - [mgmt] - - - [2020-12-04 16:12:22.323306879 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:27 iotedge0304 iotedged[5124]: 2020-12-04T16:12:27Z [INFO] - [mgmt] - - - [2020-12-04 16:12:27.344655811 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:32 iotedge0304 iotedged[5124]: 2020-12-04T16:12:32Z [INFO] - [mgmt] - - - [2020-12-04 16:12:32.359816962 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:37 iotedge0304 iotedged[5124]: 2020-12-04T16:12:37Z [INFO] - [mgmt] - - - [2020-12-04 16:12:37.375808029 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:42 iotedge0304 iotedged[5124]: 2020-12-04T16:12:42Z [INFO] - [mgmt] - - - [2020-12-04 16:12:42.390234397 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:47 iotedge0304 iotedged[5124]: 2020-12-04T16:12:47Z [INFO] - [mgmt] - - - [2020-12-04 16:12:47.405604441 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:52 iotedge0304 iotedged[5124]: 2020-12-04T16:12:52Z [INFO] - [mgmt] - - - [2020-12-04 16:12:52.423261611 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:12:57 iotedge0304 iotedged[5124]: 2020-12-04T16:12:57Z [INFO] - [mgmt] - - - [2020-12-04 16:12:57.443903105 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:13:02 iotedge0304 iotedged[5124]: 2020-12-04T16:13:02Z [INFO] - [mgmt] - - - [2020-12-04 16:13:02.461583813 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:13:07 iotedge0304 iotedged[5124]: 2020-12-04T16:13:07Z [INFO] - [mgmt] - - - [2020-12-04 16:13:07.478289505 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:13:11 iotedge0304 iotedged[5124]: 2020-12-04T16:13:11Z [INFO] - Checking edge runtime status
Dec 04 16:13:11 iotedge0304 iotedged[5124]: 2020-12-04T16:13:11Z [INFO] - Edge runtime is running.
Dec 04 16:13:12 iotedge0304 iotedged[5124]: 2020-12-04T16:13:12Z [INFO] - [mgmt] - - - [2020-12-04 16:13:12.494074929 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:13:17 iotedge0304 iotedged[5124]: 2020-12-04T16:13:17Z [INFO] - [mgmt] - - - [2020-12-04 16:13:17.509266364 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
Dec 04 16:13:22 iotedge0304 iotedged[5124]: 2020-12-04T16:13:22Z [INFO] - [mgmt] - - - [2020-12-04 16:13:22.522016667 UTC] "GET /modules?api-version=2020-07-07 HTTP/1.1" 200 OK 8838 "-" "-" auth_id(-)
edge-agent logs
{"log":"\u003c7\u003e 2020-12-04 16:12:02.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:02.041385173Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:02.04140836Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:02.041412929Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:02.041500126Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:02.041505114Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:02.041670384Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.041 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:02.041675592Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.052 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:02.052315415Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.052 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:02.052811116Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.055 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:02.055116777Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.055 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:39.1930933\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:02.055708303Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.056 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:02.056698934Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.057 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:02.057720853Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:02.057 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:02.057734152Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.059 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:07.059411924Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.059 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:07.059430961Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.059 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:07.059435071Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.059 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:07.059438778Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.059 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:07.059456222Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.059 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:07.059581445Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.059 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:07.059597361Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.067 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:07.068607494Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.072 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:07.07257375Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.075 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:07.075168781Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.075 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:07.075741287Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.076 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:07.076741778Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.077 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.EdgeAgentConnection] - Updating reported properties in IoT Hub\n","stream":"stdout","time":"2020-12-04T16:12:07.077735601Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.268 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.EdgeAgentConnection] - Updated reported properties in IoT Hub\n","stream":"stdout","time":"2020-12-04T16:12:07.268388796Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.268 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Updating reported properties cache\n","stream":"stdout","time":"2020-12-04T16:12:07.268414432Z"}
{"log":"\u003c6\u003e 2020-12-04 16:12:07.268 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Updated reported properties\n","stream":"stdout","time":"2020-12-04T16:12:07.26857426Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:07.268 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:07.268581929Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.269 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:12.270072514Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.269 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:12.27015435Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.269 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:12.270160615Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.270 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:12.270164604Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.270 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:12.270169729Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.270 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:12.270203621Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.270 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:12.270208195Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.285 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:12.285922584Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.286 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:12.286353707Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.288 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:12.288686929Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.288 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:12.289113763Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.290 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:12.29016731Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.291 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:12.291815416Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:12.291 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:12.29187994Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.291 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:17.292097326Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:17.29211322Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:17.292198553Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:17.292315014Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:17.292361419Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:17.292420875Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.292 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:17.292608549Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.300 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:17.300849171Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.301 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:17.301640207Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.304 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:17.305024606Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.305 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:17.305992042Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.307 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:17.307216377Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.308 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:17.308872709Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:17.308 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:17.308881492Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.310 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:22.31079338Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.310 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:22.310816338Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.310 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:22.310851024Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.311 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:22.311141588Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.311 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:22.311152239Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.311 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:22.311646476Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.311 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:22.311756188Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.323 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:22.324907124Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.325 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:22.325612139Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.330 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:22.33063582Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.331 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:22.331381832Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.338 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:22.338977775Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.340 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:22.340284352Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:22.340 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:22.340296654Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:25.717 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Metrics.DeploymentMetrics] - Starting periodic operation Checkpoint Availability...\n","stream":"stdout","time":"2020-12-04T16:12:25.717762773Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:25.718 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Metrics.DeploymentMetrics] - Successfully completed periodic operation Checkpoint Availability\n","stream":"stdout","time":"2020-12-04T16:12:25.718067197Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.337 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:27.337233405Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.337 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:27.337313084Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.337 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:27.337405466Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.337 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:27.337749764Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.337 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:27.337807905Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.338 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:27.341778352Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.338 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:27.341791098Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.344 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:27.345018983Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.345 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:27.345452355Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.347 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:27.347958491Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.348 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:27.348645748Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.349 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:27.349919507Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.350 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:27.351045241Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:27.350 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:27.351113711Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.351 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:32.351177838Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.351 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:32.351189298Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.351 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:32.351452378Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.351 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:32.351685128Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.351 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:32.351702086Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.356 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:32.356633182Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.356 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:32.35665511Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.360 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:32.360174235Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.360 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:32.360735932Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.363 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:32.363198568Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.363 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:32.363803795Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.364 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:32.364762241Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:32.365840046Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:32.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:32.365853425Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:37.365365657Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:37.365378413Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:37.365494926Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:37.365914856Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.365 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:37.365925548Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.366 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:37.366389984Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.366 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:37.366743344Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.376 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:37.376171628Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.376 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:37.376646198Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.378 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:37.378908565Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.379 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:37.379331058Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.380 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:37.380246675Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.381 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:37.381235148Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:37.381 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:37.381244843Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.382 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:42.382269326Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.382 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:42.382289805Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.382 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:42.382295506Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.382 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:42.38270592Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.382 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:42.382751456Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.383 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:42.383080322Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.383 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:42.383093283Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.390 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:42.390665985Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.391 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:42.391344581Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.394 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:42.394940457Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.395 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:42.395597215Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.396 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:42.396520149Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:42.39756622Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:42.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:42.397576087Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:47.397225776Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:47.3972391Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:47.397248295Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:47.397328896Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:47.397342496Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:47.397442525Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.397 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:47.397452504Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.405 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:47.406223349Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.406 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:47.406525405Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.409 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:47.409516592Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.410 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:47.410216318Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.411 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:47.41169685Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.413 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:47.413344848Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:47.413 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:47.413355906Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.414 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:52.414892477Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.414 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:52.414913723Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.414 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:52.414932007Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.414 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:52.414998004Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.414 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:52.415017357Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.415 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:52.415103442Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.415 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:52.415111528Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.423 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:52.423685046Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.424 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:52.424101802Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.426 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:52.426272757Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.426 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:52.426713165Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.428 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:52.428798837Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.429 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:52.429924665Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:52.429 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:52.429936647Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.432 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Starting reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:57.432892566Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.432 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Making a Http call to unix:///var/run/iotedge/mgmt.sock to List modules\n","stream":"stdout","time":"2020-12-04T16:12:57.432911174Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.432 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connecting socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:57.432985226Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.433 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Connected socket /var/run/iotedge/mgmt.sock\n","stream":"stdout","time":"2020-12-04T16:12:57.433341677Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.433 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Sending request http://mgmt.sock/modules?api-version=2020-07-07\n","stream":"stdout","time":"2020-12-04T16:12:57.433352874Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.433 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Getting edge agent config...\n","stream":"stdout","time":"2020-12-04T16:12:57.433732656Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.433 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Obtained edge agent config\n","stream":"stdout","time":"2020-12-04T16:12:57.433811555Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.444 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Util.Uds.HttpUdsMessageHandler] - Response received OK\n","stream":"stdout","time":"2020-12-04T16:12:57.44502208Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.445 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Edgelet.ModuleManagementHttpClient] - Received a valid Http response from unix:///var/run/iotedge/mgmt.sock for List modules\n","stream":"stdout","time":"2020-12-04T16:12:57.445622897Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.448 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of desired modules is - {\"MessageLogger\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"version\":\"\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"status\":\"running\",\"restartPolicy\":\"always\",\"version\":\"1.0\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:57.448925231Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.449 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - List of current modules is - {\"MessageLogger\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:04:58.3399236\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":1,\"lastRestartTimeUtc\":\"2020-12-04T15:44:21.4970837Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/messagelogger:1.0.4-amd64\",\"imageHash\":\"sha256:d68b51b38e2e7a4825349bc3306c4cbc10c922e6563568433ba7415925420d26\",\"createOptions\":\"{}\"},\"env\":{}},\"AnomalyChecker\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:46.0107053\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0246553Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/anomalychecker:0.2.1-amd64\",\"imageHash\":\"sha256:135635a0eb4d27cb8c66a51d0fe3661f548543db383ff0ebff41b33795fa4dfa\",\"createOptions\":\"{}\"},\"env\":{\"REDIS_PORT\":{\"value\":\"6379\"},\"REDIS_HOST\":{\"value\":\"redisiotedge\"},\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}},\"BlobStorageManager\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:07:15.1755909\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:07:14.2700475Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/blobstoragemanager:1.3.1-amd64\",\"imageHash\":\"sha256:17e647f5625af7d465f067504aee04a2318ef575fe1c06eaf2d5c7d2a9c782b6\",\"createOptions\":\"{}\"},\"env\":{\"AZURE_STORAGE_CONNECTION_STRING\":{\"value\":\"DefaultEndpointsProtocol=http;BlobEndpoint=http://blobstorageiotedge:11002/localblobstorage;AccountName=localblobstorage;AccountKey=<omitted>\"}},\"edgeAgent\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:24.7761868\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"imagePullPolicy\":\"on-create\",\"startupOrder\":0,\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-agent:1.0.10-linux-amd64\",\"imageHash\":\"sha256:877462c833cc28d32635e35b294f3e48a1c7ec38ea243a94e2f107dd51e61def\",\"createOptions\":\"{\\\"Labels\\\":{\\\"com.visualstudio.morandev.image.build.buildnumber\\\":\\\"20201204.1\\\",\\\"com.visualstudio.morandev.image.build.builduri\\\":\\\"vstfs:///Build/Build/3612\\\",\\\"com.visualstudio.morandev.image.build.definitionname\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.name\\\":\\\"IoT Edge\\\",\\\"com.visualstudio.morandev.image.build.repository.uri\\\":\\\"https://morandev.visualstudio.com/Moran%20IoT/_git/IoT%20Edge\\\",\\\"com.visualstudio.morandev.image.build.sourcebranchname\\\":\\\"merge\\\",\\\"com.visualstudio.morandev.image.build.sou\",\"createOptions01\":\"rceversion\\\":\\\"2a5051868a5d931cb321b815b88b0def69220602\\\",\\\"com.visualstudio.morandev.image.system.teamfoundationcollectionuri\\\":\\\"https://morandev.visualstudio.com/\\\",\\\"com.visualstudio.morandev.image.system.teamproject\\\":\\\"Moran IoT\\\",\\\"net.azure-devices.edge.create-options\\\":\\\"{\\\\\\\"HostConfig\\\\\\\":{\\\\\\\"Binds\\\\\\\":[\\\\\\\"/etc/iotedge/storage:/iotedge/storage\\\\\\\"]}}\\\",\\\"net.azure-devices.edge.env\\\":\\\"{\\\\\\\"storageFolder\\\\\\\":{\\\\\\\"value\\\\\\\":\\\\\\\"/iotedge/storage\\\\\\\"}}\\\",\\\"net.azure-devices.edge.owner\\\":\\\"Microsoft.Azure.Devices.Edge.Agent\\\"}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"IoTEdgeASA\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:52:31.7658901\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-stream-analytics/azureiotedge:1.0.9-linux-amd64\",\"imageHash\":\"sha256:a89d77eac9939c65b8427048c3ea363f6f5990b141ae38563a574dffee02d813\",\"createOptions\":\"{}\"},\"env\":{\"MTCVersion\":{\"value\":\"1.0.0\"},\"PlanId\":{\"value\":\"stream-analytics-on-iot-edge\"}},\"blobstorageiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:00:48.5838753\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azure-blob-storage:1.3-linux-amd64\",\"imageHash\":\"sha256:6f434db27aad3035ebbe977de6a611edf07b3bd9af0095b9ad4db7bf79aacd7a\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"blob-volume:/blobroot\\\"],\\\"PortBindings\\\":{\\\"11002/tcp\\\":[{\\\"HostPort\\\":\\\"11002\\\"}]}}\"},\"env\":{\"LOCAL_STORAGE_ACCOUNT_KEY\":{\"value\":\"<omitted>\"},\"LOCAL_STORAGE_ACCOUNT_NAME\":{\"value\":\"localblobstorage\"}},\"AvroProducer\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:06:47.0332986\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":2,\"lastRestartTimeUtc\":\"2020-12-04T16:06:45.0292123Z\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/avroproducer:1.2.3-amd64\",\"imageHash\":\"sha256:c1ce0991635fe11795e2b9bbea3b928c16a49fc8165842fca5c5376936a3f105\",\"createOptions\":\"{}\"},\"env\":{}},\"edgeHub\":{\"restartPolicy\":\"always\",\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T16:12:04.1460314\",\"lastExitTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"restartCount\":0,\"lastRestartTimeUtc\":\"2020-12-04T16:12:03.1073209\",\"runtimeStatus\":\"running\",\"status\":\"running\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/azureiotedge-hub:1.0.10-linux-amd64\",\"imageHash\":\"sha256:a607d04481ed41ccc303e29fdda43b6a644948c2e5d183313897d7e7f08222f2\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"/etc/iotedge/storage:/iotedge/storage\\\"],\\\"PortBindings\\\":{\\\"8883/tcp\\\":[{\\\"HostPort\\\":\\\"8883\\\"}],\\\"5671/tcp\\\":[{\\\"HostPort\\\":\\\"5671\\\"}],\\\"443/tcp\\\":[{\\\"HostPort\\\":\\\"443\\\"}]}}\"},\"env\":{\"storageFolder\":{\"value\":\"/iotedge/storage\"}},\"redisiotedge\":{\"exitCode\":0,\"statusDescription\":\"running\",\"lastStartTimeUtc\":\"2020-12-04T15:53:50.8785814\",\"lastExitTimeUtc\":\"0001-01-01T00:00:00\",\"restartCount\":0,\"lastRestartTimeUtc\":\"0001-01-01T00:00:00\",\"runtimeStatus\":\"running\",\"version\":\"1.0\",\"status\":\"running\",\"restartPolicy\":\"always\",\"imagePullPolicy\":\"on-create\",\"type\":\"docker\",\"settings\":{\"image\":\"mtciot.azurecr.io/bitnami/redis:6.0\",\"imageHash\":\"sha256:47a451cc040f1cb85367d2f4a802a333c94d320e409cfc59c84de06bc8b6cd0e\",\"createOptions\":\"{\\\"HostConfig\\\":{\\\"Binds\\\":[\\\"redis-volume:/bitnami/redis/data\\\"]}}\"},\"env\":{\"REDIS_PASSWORD\":{\"value\":\"<omitted<>\"}}}\n","stream":"stdout","time":"2020-12-04T16:12:57.449607035Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.451 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Planners.HealthRestartPlanner] - HealthRestartPlanner created Plan, with 0 command(s).\n","stream":"stdout","time":"2020-12-04T16:12:57.451523602Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.452 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.IoTHub.Reporters.IoTHubReporter] - Not updating reported properties as patch was found to be empty\n","stream":"stdout","time":"2020-12-04T16:12:57.4526192Z"}
{"log":"\u003c7\u003e 2020-12-04 16:12:57.452 +00:00 [DBG] [Microsoft.Azure.Devices.Edge.Agent.Core.Agent] - Finished reconcile operation\n","stream":"stdout","time":"2020-12-04T16:12:57.452689427Z"}


edge-hub logs

Gist here (too large to include here).

Additional Information

Please provide any additional information that may be helpful in understanding the issue.

I have not checked if I can reproduce this issue with another language and SDK, but I did initially open this issue in the Python SDK repository here: Azure/azure-iot-sdk-python#713. @BertKleewein from the Python SDK helped me out in tracking down the issue and we believe it to be an issue on the edgeHub side. In the linked, original issue you can find our discussion as well as some additional logs from a different reproduction of the issue.

@BertKleewein
Copy link
Member

From the linked azure-iot-sdk-python issue:

On our production devices I can reproduce it roughly 80-90% of the time. In our staging environment, however, I've not been able to reproduce at all.

@vipeller vipeller self-assigned this Dec 7, 2020
@vipeller
Copy link
Contributor

vipeller commented Dec 8, 2020

EDIT: hold this if you were about to try, now I have a theory so at this moment I am not curious if it works with older versions:

@jackt-moran I see it is 1.0.10 version of edgehub. Is it hard to try with an older version, e.g. 1.0.9? I see that it happens in production, so I assume a downgrade for a test would be complicated - only asking because that would help a lot if it turned out that this is a regression.

@vipeller
Copy link
Contributor

vipeller commented Dec 8, 2020

@jackt-moran can you give me an edgeHub log from your staging environment where restarts work correctly? I need the first segment of the log (with the logo and then the next 10 seconds).

@vipeller
Copy link
Contributor

vipeller commented Dec 8, 2020

@jackt-moran in the staging environment do the clients use MQTT (vs AMPQ) to connect?
looking more at the logs, what I see is that these two clients:

MTC0304/IoTEdgeASA
MTC0304/blobstorageiotedge

They were able to restore their session state from a store, and that session state contained the subscriptions (and for IoTEdgeASA, one of the subscription was for module messages). Later that is the reason IoTEdgeASA was able to receive M2M messages.

For the rest of the clients I don't see in the logs that it recovers the session state. It may be caused by different things, e.g if it is an MQTT client and it has its clean session flag on, then the session state will not be stored. Or for some reason the session state was not stored.

If it works in staging, I wonder if it uses the same protocol (MQTT), and if we looked at those logs, we would find lines for the rest of the devices like:

Set subscriptions from session state for MTC0304/IoTEdgeASA

Is it something you could search for in the staging logs? (e.g. for device MessageLogger)

@jackt-moran
Copy link
Author

jackt-moran commented Dec 9, 2020

Hi @vipeller ,

can you give me an edgeHub log from your staging environment where restarts work correctly?

Unfortunately I may have miscommunicated things between the two issues I've opened. What I got to work in my staging environment and not production was a workaround implemented in my custom IoT Edge modules using the Python SDK. The gist of the workaround is a coroutine that monitors the state of the Python module client's connection and forces the container to exit if the client becomes disconnected (thereby forcing edgeHub and the module to "start over", so to speak). The workaround's difference in behavior in staging/production was surprising and there is likely a clue contained in that discrepancy. Since testing that workaround I have reverted our deployments to versions without the workaround, and our staging and production environments now behave the same (which is what I shared above).

in the staging environment do the clients use MQTT (vs AMPQ) to connect?
looking more at the logs, what I see is that these two clients:
MTC0304/IoTEdgeASA
MTC0304/blobstorageiotedge
They were able to restore their session state from a store, and that session state contained the subscriptions

Both in staging and production the clients that don't reconnect properly use the Python SDK. As a result, they must be using MQTT https://github.com/Azure/azure-iot-sdk-python#features.
The IoTEdgeASA and blobstorageiotedge modules are https://hub.docker.com/_/microsoft-azure-stream-analytics-azureiotedge and https://hub.docker.com/_/microsoft-azure-blob-storage respectively, and I don't know what protocol they are using.

I see it is 1.0.10 version of edgehub. Is it hard to try with an older version, e.g. 1.0.9?

Seeing as both our staging and production environments exhibit the issue and our clients use MQTT in both environments, I assume it will be helpful to know if there was a regression and this is easy for me to test in our staging environment. I have started a deployment (reverting edgeHub and edgeAgent back to version 1.0.9.5-linux-amd64) , but it is taking some time for the deployment to go through so I will get back to you ASAP on if it appears to be a regression or not.

@vipeller
Copy link
Contributor

vipeller commented Dec 9, 2020

@BertKleewein I need your help with the Python SDK:

What I see right now is that two modules (IoTEdgeASA/blobstorageiotedge) are able to recover their states after edgeHub restarted. The way it works is the following:

MQTT has the concept of persistent sessions (that is not an official name, but many people refers it like that). These persistent sessions are created when a client connects and uses 0 value for the CleanSession flag. When a client connects with persistent session, edgeHub is going to store all subscriptions in a persistent store for that given client. It stores it immediately when a client subscribes/unsubscribes. If a client such that gets disconnected and then reconnects (and its CleanSession flag is still 0), then EdgeHub reads the persistent store, it gets the stored subscription list and resubscribes to those topics. This can be seen in the logs (for IotEdgeASA and blobstorageiotedge):

2020-12-04 16:12:08.964 +00:00 [INF] [Microsoft.Azure.Devices.Edge.Hub.Mqtt.SessionStateStoragePersistenceProvider] - Set subscriptions from session state for MTC0304/IoTEdgeASA

No lines like this can be found for the other modules, so it seems that edgehub does not try to reapply any stored state. For me it seems that it is because these module don't connect with CleanSession flag 0. Unfortunately the log does not tell if a client comes with CleanSession 0, also it does not log when it stores a subscription. The only thing we see is that it restores from persistent store for those two modules and not for the rest.

So my question for you is that what are the options to control the CleanSession flag when we use Python SDK and what is its default value.

I know that in case of the C# SDK the flag can be set and its default value is 0 (meaning that when the user does not do anything, it will create persistent sessions, so subscriptions will be reapplied if EdgeHub restarts)

Now what I am hoping is that you would say that Python also lets this flag control and its default value is 1, so all @jackt-moran needs to do is to set the flag to 0 and that solves all our problems :)

@BertKleewein
Copy link
Member

@vipeller - the azure-iot-sdk-python library hard codes the clean_session flag to False. I'm going to read into the transport to see if there are any code paths that can change this.

@BertKleewein
Copy link
Member

@vipeller - Paho logs this for us. It's false in @jackt-moran 's logs:

DEBUG:paho:Sending CONNECT (u1, p1, wr0, wq0, wf0, c0, k60) client_id=b'MTC0304/AnomalyChecker'

u,p,wr,wq,wf, and c are the bitfields in the MQTT connect_flags byte, with c being (connect_flags & 0x2) > 1, so it seems pretty clear that the clean flag is false.

@BertKleewein
Copy link
Member

@jackt-moran - just to be 100% clear:

  1. Do you ever use AMQP for any devices or modules in your staging or production environments?
  2. Do you ever use a non-Python SDK for any devices or modules in your staging or production environments?

@jackt-moran
Copy link
Author

@BertKleewein -

  1. As far as I know, no. We have a single device, which uses the Python SDK, and our custom modules only use the Python SDK as well. We do however have a few modules/containers which we simply use out of the box, and I don't know what protocol(s) they use to communicate with edgeHub (if applicable).
  2. No. However, if it would be helpful I can deploy a simple module that uses another language to see if I can reproduce.

@vipeller - I'm having some trouble rolling edgeHub back to version 1.0.9.5 as something from the downgrade is causing it to fail. I'll keep working on getting it up and running just keeping you up to date.

@jackt-moran
Copy link
Author

@vipeller - I can confirm that the issue is not a regression, at least not from version 1.0.9 to 1.0.10.

I tested with the following versions:
iotedge: 1.0.9.5
edgeAgent: azureiotedge-agent:1.0.9.5-linux-amd64
edgeHub: azureiotedge-hub:1.0.9.5-linux-amd64

When following the steps to reproduce the behavior of edgeHub 1.0.9 was the same as 1.0.10, as far as I could tell. While I have version 1.0.9 installed please let me know if any additional tests or logs would be useful.

@vipeller
Copy link
Contributor

@jackt-moran thank you. There is a special setting (an environment variable) which turns on a low level debug mode of that mqtt library we use internally, so then we can see the mqtt packets logged. Unfortunately, I could not find it yet (it is not documented), but I want to apply that first, so we can check how the connection/communication goes.

@jackt-moran
Copy link
Author

@vipeller did you end up finding the environment variable to turn on the debug mode of the mqtt library? Is there anything else I can do to help?

@jackt-moran
Copy link
Author

@vipeller @BertKleewein hi there folks. I got a chance to try and reproduce the issue with a different language/SDK, namely C#. I used the cookie cutter sample module that the VS Code extension produces, which is pasted below. I was not able to reproduce, which may suggest we were going down the wrong path.

It's also worth noting a couple of things:

  • I removed the workaround I implemented in my Python modules to simplify troubleshooting.
  • I am now able to consistently reproduce the issue in the Python modules, in my staging environment (I suspect the above bullet has something to do with this change).

Here's the C# module, which simply logs data coming through to the console:

namespace SampleModule
{
    using System;
    using System.IO;
    using System.Runtime.InteropServices;
    using System.Runtime.Loader;
    using System.Security.Cryptography.X509Certificates;
    using System.Text;
    using System.Threading;
    using System.Threading.Tasks;
    using Microsoft.Azure.Devices.Client;
    using Microsoft.Azure.Devices.Client.Transport.Mqtt;

    class Program
    {
        static int counter;

        static void Main(string[] args)
        {
            Init().Wait();

            // Wait until the app unloads or is cancelled
            var cts = new CancellationTokenSource();
            AssemblyLoadContext.Default.Unloading += (ctx) => cts.Cancel();
            Console.CancelKeyPress += (sender, cpe) => cts.Cancel();
            WhenCancelled(cts.Token).Wait();
        }

        /// <summary>
        /// Handles cleanup operations when app is cancelled or unloads
        /// </summary>
        public static Task WhenCancelled(CancellationToken cancellationToken)
        {
            var tcs = new TaskCompletionSource<bool>();
            cancellationToken.Register(s => ((TaskCompletionSource<bool>)s).SetResult(true), tcs);
            return tcs.Task;
        }

        /// <summary>
        /// Initializes the ModuleClient and sets up the callback to receive
        /// messages containing temperature information
        /// </summary>
        static async Task Init()
        {
            MqttTransportSettings mqttSetting = new MqttTransportSettings(TransportType.Mqtt_Tcp_Only);
            ITransportSettings[] settings = { mqttSetting };

            // Open a connection to the Edge runtime
            ModuleClient ioTHubModuleClient = await ModuleClient.CreateFromEnvironmentAsync(settings);
            await ioTHubModuleClient.OpenAsync();
            Console.WriteLine("IoT Hub module client initialized.");

            // Register callback to be called when a message is received by the module
            await ioTHubModuleClient.SetInputMessageHandlerAsync("input1", PipeMessage, ioTHubModuleClient);
        }

        /// <summary>
        /// This method is called whenever the module is sent a message from the EdgeHub. 
        /// It just pipe the messages without any change.
        /// It prints all the incoming messages.
        /// </summary>
        static async Task<MessageResponse> PipeMessage(Message message, object userContext)
        {
            int counterValue = Interlocked.Increment(ref counter);

            var moduleClient = userContext as ModuleClient;
            if (moduleClient == null)
            {
                throw new InvalidOperationException("UserContext doesn't contain " + "expected values");
            }

            byte[] messageBytes = message.GetBytes();
            string messageString = Encoding.UTF8.GetString(messageBytes);
            Console.WriteLine($"Received message: {counterValue}, Body: [{messageString}]");

            return MessageResponse.Completed;
        }
    }
}

Along with the following .csproj file:

<Project Sdk="Microsoft.NET.Sdk">
  <PropertyGroup>
    <OutputType>Exe</OutputType>
    <TargetFramework>netcoreapp3.1</TargetFramework>
  </PropertyGroup>
  
  <PropertyGroup Condition="'$(Configuration)|$(TargetFramework)|$(Platform)'=='Debug|netcoreapp3.1|AnyCPU'">
    <TreatWarningsAsErrors>True</TreatWarningsAsErrors>
    <TreatSpecificWarningsAsErrors />
  </PropertyGroup>

  <ItemGroup>
    <ProjectCapability Include="AzureIoTEdgeModule"/>
  </ItemGroup>

  <ItemGroup>
    <PackageReference Include="Microsoft.Azure.Devices.Client" Version="1.*" />
    <PackageReference Include="Microsoft.Extensions.Configuration" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Abstractions" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Binder" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration.EnvironmentVariables" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration.FileExtensions" Version="2.1.1" />
    <PackageReference Include="Microsoft.Extensions.Configuration.Json" Version="2.0.0" />
    <PackageReference Include="System.Runtime.Loader" Version="4.3.0" />
  </ItemGroup>
</Project>

For comparison, I am able to reproduce the issue with the following Python (azure-iot-device==2.4.0):

import asyncio
from asyncio.tasks import wait, wait_for
import concurrent

from azure.iot.device.aio import IoTHubModuleClient
from azure.iot.device import Message
from azure.iot.device.exceptions import (
    CredentialError,
    ConnectionFailedError,
    ConnectionDroppedError,
    ClientError,
)

logging.basicConfig(level=logging.DEBUG)

async def shutdown(signal, loop):
    """Cleanup tasks tied to the service's shutdown."""
    print("Received exit signal %s..." % (signal))
    print("Clearing out messages in message buffer")
    tasks = [t for t in asyncio.all_tasks() if t is not asyncio.current_task()]
    [task.cancel() for task in tasks]
    print("Cancelling outstanding tasks")
    await asyncio.gather(*tasks, return_exceptions=True)


async def setup_shutdown():
    """
    Adds the shutdown coroutine as a signal handler in the event loop
    for SIGHUP, SIGTERM, and SIGINT signals.
    """
    if sys.platform.startswith("linux"):
        loop = asyncio.get_running_loop()
        # May want to catch other signals too
        signals = (signal.SIGTERM, signal.SIGINT)
        for s in signals:
            loop.add_signal_handler(
                s, lambda s=s: asyncio.create_task(shutdown(s, loop))
            )


async def monitor_client_connection(client: IoTHubModuleClient):
    """"""
    while True:
        if not client.connected:
            raise asyncio.CancelledError
        else:
            print("INFO: IoT Edge module client is connected.")
        await asyncio.sleep(60)


def init_module_client() -> IoTHubModuleClient:
    """Wrapper for IoTHubModuleClient.create_from_edge_environment()

    Used for testing purposes.

    Returns:
        The result of the azure-iot-device API call."""
    return IoTHubModuleClient.create_from_edge_environment()


async def connect_module_client(module_client: IoTHubModuleClient):
    """
    Connects a Module Client to the IoT Edge runtime's Edge Hub.
    This coroutine is interruptible, but will otherwise attempt
    to connect forever until successful.

    Returns:
        None.
    """
    connected = False
    while not connected:
        try:
            await module_client.connect()
            connected = True
        except CredentialError:
            traceback.print_exc()
            raise
        except (ConnectionFailedError, ConnectionDroppedError):
            traceback.print_exc()
            print("Attempting to connect again")
        except ClientError:
            traceback.print_exc()
            raise
        await asyncio.sleep(1)

async def wait_forever():
    while True:
        await asyncio.sleep(60)


async def main():
    try:
        await setup_shutdown()
        module_client = init_module_client()
        await connect_module_client(module_client)
        connected = True

        async def message_handler(message: Message):
            if message.input_name == "log":
                print(message.data)
            else:
                print("message received on unknown input")

        module_client.on_message_received = message_handler

        listeners = asyncio.gather(
            wait_forever(),
        )
        await listeners

    except (asyncio.CancelledError, concurrent.futures.CancelledError):
        if connected:
            await module_client.disconnect()
            print("Disconnected module client.")
        print("Caught cancellation in main coroutine gracefully exiting.")


if __name__ == "__main__":
    asyncio.run(main())

The main "symptom" I can observe in edgeHub's logs, which is either highlighted above or in the linked issue, is the following reccurring log after edgeHub is restarted:

No subscription for receiving messages found for MTC01/<Python-Module>

On the other hand, there is no such message for the sample C# module I shared above. It seems that there is some sort of incompatibility between the Python SDK and edgeHub that does not exist between the C# SDK and edgeHub.

Hopefully this additional info is helpful in tracking down the root cause, and please let me know if I can provide further info such as logs.

@vipeller
Copy link
Contributor

vipeller commented Jan 4, 2021

@jackt-moran Thank you for trying this out. The C# SDK is implemented the way that it automatically resubscribes to topics when it loses the connection and connects back. That means that even if edgehub does not able to reload the old subscriptions, it receives new ones, so it will not miss the subscription as the log message says you found.
Resending the subscriptions should not be a requirement to make this work. Creating a persistent session tells edgehub that it should reuse the previous session (before disconnection) with the subscriptions. As @BertKleewein confirmed a while ago, the python sdk creates persistent sessions, so it should work.

Regarding the switch I was talking about, it turns on only the upstream mqtt communication, not between the device-edgehub, so that cannot be used to check the flags that I wanted to see. What I can do is to use your test code and debug edgehub locally on my desktop to see what happens with the subscriptions (if it tries to store it or not, and if it tries, why does not it have any effect later)

@jackt-moran
Copy link
Author

@vipeller thanks for getting back, it would definitely be good to know if someone else can reproduce or if it is just me doing something silly. In case you'd use iotedgedev for testing, I can confirm the issue occurs for me there as well.

Just to make sure we're completely on the same page, here is my requirements file for the sample Python module provided above:

azure-iot-device==2.4.0

and the Dockerfile (amd64):

FROM amd64/python:3.7-slim-buster

WORKDIR /app

COPY . .

RUN pip install --upgrade pip
RUN pip install -r requirements.txt

RUN useradd -ms /bin/bash moduleuser
RUN chown -R moduleuser:moduleuser .
RUN chmod -R 700 .
USER moduleuser

CMD [ "python3", "-u", "./main.py" ]

@vipeller
Copy link
Contributor

vipeller commented Jan 5, 2021

@jackt-moran a quick update: I managed to repro this in my environment. At this moment I don't know what causes it, what I know is that the subscription (for module-to-module messages) gets retrieved from the persistent store of edgeHub when the python client reconnects - this means that edgeHub knows about this subscription when it recovers, however apparently this information is not get propagated later (it gets lost somewhere)

I am keep debugging.

@jackt-moran
Copy link
Author

@vipeller thanks for the update, it is nice to hear the issue is reproducible. Let me know if there's anything I can do to help.

@github-actions
Copy link

github-actions bot commented Feb 6, 2021

This issue is being marked as stale because it has been open for 30 days with no activity.

@vipeller
Copy link
Contributor

vipeller commented Feb 6, 2021

@jackt-moran Hi, sorry to not coming back, but the update is that we found the problem in the code and it is fixed, it will be included in one of the upcoming releases

@jackt-moran
Copy link
Author

@vipeller hi, no problem at all. Thanks for the update and I appreciate the fix! Will this issue be linked to the release when the time comes?

@ryayl
Copy link

ryayl commented May 13, 2021

I just observed this bug too, still running 1.0.10.4. Has the fix been deployed and which release is this linked to?

@darobs
Copy link
Contributor

darobs commented May 27, 2021

Currently, this has been fixed in 1.2, but has not yet been cherry-picked into 1.1: PR for 1.1 branch - #5048

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

6 participants