Explore all Job Orchestrator open source software, libraries, packages, source code, cloud functions and APIs.

Popular New Releases in Job Orchestrator

lens

v5.4.6

openshift-auto-upi

v1.8

warewulf

Warewulf 4.2.0

nebula-operator

Nebula Operator v1.0.0

cluster-api-provider-tinkerbell

Release v0.1.0

Popular Libraries in Job Orchestrator

lens

by lensapp doticontypescriptdoticon

star image 17415 doticonNOASSERTION

Lens - The way the world runs Kubernetes

spring-cloud-kubernetes

by fabric8io doticonjavadoticon

star image 675 doticonApache-2.0

Kubernetes integration with Spring Cloud

bolt

by puppetlabs doticonrubydoticon

star image 422 doticonApache-2.0

Bolt is an open source orchestration tool that automates the manual work it takes to maintain your infrastructure on an as-needed basis or as part of a greater orchestration workflow. It can be installed on your local workstation and connects directly to remote nodes with SSH or WinRM, so you are not required to install any agent software.

swan

by Dataman-Cloud doticongodoticon

star image 409 doticonApache-2.0

A Distributed, Highly Available Mesos Scheduler, Inspired by the design of Google Borg

kube-cluster-osx

by TheNewNormal doticonshelldoticon

star image 295 doticonApache-2.0

Local development multi node Kubernetes Cluster for macOS made very simple

smith

by atlassian doticongodoticon

star image 290 doticonApache-2.0

Smith is a Kubernetes workflow engine / resource manager

iocage_legacy

by iocage doticonshelldoticon

star image 260 doticonNOASSERTION

FreeBSD jail manager

elasticsearch

by mesos doticonjavadoticon

star image 246 doticonApache-2.0

Elasticsearch on Mesos

k8s-AppController

by Mirantis doticongodoticon

star image 214 doticonApache-2.0

AppController is a pod that you can spawn in your Kubernetes cluster which will take care of your complex deployments for you.

Trending New libraries in Job Orchestrator

warewulf

by hpcng doticongodoticon

star image 79 doticonBSD-3-Clause

Warewulf is a stateless and diskless container operating system provisioning system for large clusters of bare metal and/or virtual systems.

nebula-operator

by vesoft-inc doticongodoticon

star image 47 doticonApache-2.0

Operation utilities for Nebula Graph

aws-emr-launch

by awslabs doticonpythondoticon

star image 42 doticonNOASSERTION

cluster-api-provider-tinkerbell

by tinkerbell doticongodoticon

star image 39 doticonApache-2.0

Cluster API Infrastructure Provider for Tinkerbell

BM-Badge

by DC801 doticoncdoticon

star image 22 doticonAGPL-3.0

The DC801 Badge Platform for DC28+

inflion

by inflion doticontypescriptdoticon

star image 11 doticonNOASSERTION

Inflion is a tool that automate your cloud operations.

crossargo-sync

by janwillies doticongodoticon

star image 8 doticon

Kubernetes controller which watches for newly created EKS clusters and configures ArgoCD to provision software to it

aiven-operator

by aiven doticongodoticon

star image 6 doticonApache-2.0

Provision and manage Aiven Services from your Kubernetes cluster.

mdt-lab-vagrant

by ryancbutler doticonpowershelldoticon

star image 5 doticon

Automation Framework (MDT) Vagrant Lab

Top Authors in Job Orchestrator

1

mesosphere

5 Libraries

star icon139

2

mesosphere-backup

4 Libraries

star icon155

3

18F

2 Libraries

star icon4

4

rackerlabs

2 Libraries

star icon5

5

genorch

2 Libraries

star icon11

6

thefactory

2 Libraries

star icon210

7

awslabs

2 Libraries

star icon48

8

yp-engineering

2 Libraries

star icon10

9

tobilg

2 Libraries

star icon78

10

garethr

2 Libraries

star icon34

1

5 Libraries

star icon139

2

4 Libraries

star icon155

3

2 Libraries

star icon4

4

2 Libraries

star icon5

5

2 Libraries

star icon11

6

2 Libraries

star icon210

7

2 Libraries

star icon48

8

2 Libraries

star icon10

9

2 Libraries

star icon78

10

2 Libraries

star icon34

Trending Kits in Job Orchestrator

No Trending Kits are available at this moment for Job Orchestrator

Trending Discussions on Job Orchestrator

Azure OPC Publisher says "no job received" when trying to write OPC UA data to cloud

QUESTION

Azure OPC Publisher says "no job received" when trying to write OPC UA data to cloud

Asked 2020-May-24 at 13:58

im trying to follow those tutorials:

https://sandervandevelde.wordpress.com/2018/11/06/getting-started-with-opc-ua-on-azure-iot-edge/ and https://docs.microsoft.com/en-us/azure/iot-accelerators/howto-opc-publisher-run

to bring data from an opc-ua server to the azure cloud.

I have already successfully played through the https://docs.microsoft.com/en-us/azure/iot-edge/quickstart tutorial.

I think maybe the OPCPublisher does not find the configuration file?!

I set up the configuration file under C:\iiotedge\pn.json (with changed ip):

1[
2  {
3    "EndpointUrl": "opc.tcp://my.machine.ip:53530/OPCUA/SimulationServer",
4    "UseSecurity": false,
5    "OpcNodes": [
6      {
7        "Id": "ns=3;s=Counter"
8      },
9      {
10        "Id": "ns=3;s=Random"
11      }
12    ]
13  }
14]
15

The container create options are as following:

1[
2  {
3    "EndpointUrl": "opc.tcp://my.machine.ip:53530/OPCUA/SimulationServer",
4    "UseSecurity": false,
5    "OpcNodes": [
6      {
7        "Id": "ns=3;s=Counter"
8      },
9      {
10        "Id": "ns=3;s=Random"
11      }
12    ]
13  }
14]
15{
16  "Hostname": "publisher",
17  "Cmd": [
18    "publisher",
19    "--ll=debug",
20    "--pf=./pn.json",
21    "--di=60",
22    "--to",
23    "--aa",
24    "--si",
25    "0",
26    "--ms",
27    "0"
28  ],
29  "HostConfig": {
30    "PortBindings": {
31      "62222/tcp": [
32        {
33          "HostPort": "62222"
34        }
35      ]
36    },
37    "ExtraHosts": [
38      "localhost:127.0.0.1"
39    ],
40    "Binds": [
41      "c:/iiotedge:c:/appdata"
42    ]
43  }
44}
45

The log outputs from opc-publisher are:

1[
2  {
3    "EndpointUrl": "opc.tcp://my.machine.ip:53530/OPCUA/SimulationServer",
4    "UseSecurity": false,
5    "OpcNodes": [
6      {
7        "Id": "ns=3;s=Counter"
8      },
9      {
10        "Id": "ns=3;s=Random"
11      }
12    ]
13  }
14]
15{
16  "Hostname": "publisher",
17  "Cmd": [
18    "publisher",
19    "--ll=debug",
20    "--pf=./pn.json",
21    "--di=60",
22    "--to",
23    "--aa",
24    "--si",
25    "0",
26    "--ms",
27    "0"
28  ],
29  "HostConfig": {
30    "PortBindings": {
31      "62222/tcp": [
32        {
33          "HostPort": "62222"
34        }
35      ]
36    },
37    "ExtraHosts": [
38      "localhost:127.0.0.1"
39    ],
40    "Binds": [
41      "c:/iiotedge:c:/appdata"
42    ]
43  }
44}
45PS C:\Users\azureuser> iotedge logs OPCPublisher
46[06:02:52 INF] Connecting all clients to edgevm using MqttOverTcp. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
47[06:02:53 DBG] Starting Module Host... (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
48[06:02:53 WRN] Bypassing certificate validation for client. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
49[06:02:53 INF] Running in iotedge context. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
50[06:02:53 DBG] [Info] Informational: IotHubConnectionString#50048984 .ctor IAuthenticationMethod is AuthenticationWithTokenRefresh: ModuleAuthenticationWithHsm#5560998  (Microsoft.Azure.Devices.Device.Client)
51[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ITransportSettings[] = Microsoft.Azure.Devices.Client.ITransportSettings[1]  (Microsoft.Azure.Devices.Device.Client)
52[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set IotHubConnectionString = IotHubConnectionString#50048984  (Microsoft.Azure.Devices.Device.Client)
53[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set OnMethodCalledDelegate = OnMethodCalledDelegate#1525631264  (Microsoft.Azure.Devices.Device.Client)
54[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set Action`1 = System.Action`1[Microsoft.Azure.Devices.Shared.TwinCollection]  (Microsoft.Azure.Devices.Device.Client)
55[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ConnectionStatusChangesHandler = ConnectionStatusChangesHandler#1558992671  (Microsoft.Azure.Devices.Device.Client)
56[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set OnReceiveEventMessageCalledDelegate = OnReceiveEventMessageCalledDelegate#1523701015  (Microsoft.Azure.Devices.Device.Client)
57[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ProductInfo = .NET/1.24.0 (.NET Core 3.1.3; Microsoft Windows 10.0.17763 WindowsProduct:0x00000030; X64; 176FF90A-591F-574A-86D3-34024A506733)  (Microsoft.Azure.Devices.Device.Client)
58[06:02:53 DBG] [CreateFromConnectionString] Informational: InternalClient#45596481 HostName=edgevm;DeviceId=myEdgeDevice;ModuleId=OPCPublisher Mqtt_Tcp_Only  (Microsoft.Azure.Devices.Device.Client)
59[06:02:53 DBG] [Info] Informational: InternalClient#45596481 SetConnectionStatusChangesHandler ConnectionStatusChangesHandler#1809274109  (Microsoft.Azure.Devices.Device.Client)
60[06:02:53 DBG] [Info] Informational: RetryDelegatingHandler#39070558 EnsureOpenedAsync Opening connection  (Microsoft.Azure.Devices.Device.Client)
61[06:02:53 DBG] [Info] Informational: ProtocolRoutingDelegatingHandler#36936550 ProtocolRoutingDelegatingHandler.OpenAsync Trying Mqtt_Tcp_Only  (Microsoft.Azure.Devices.Device.Client)
62[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ITransportSettings = MqttTransportSettings#12674872  (Microsoft.Azure.Devices.Device.Client)
63[06:02:54 DBG] [Info] Informational: (null) GetEventLoopGroup EventLoopGroup threads count was not set.  (Microsoft.Azure.Devices.Device.Client)
64[06:02:54 DBG] [Info] Informational: MqttTransportHandler#46964992 CreateChannelFactory Connecting to 172.23.40.21  (Microsoft.Azure.Devices.Device.Client)
65[06:02:54 DBG] [GenerateToken] Informational: ModuleAuthenticationWithHsm#5560998 2020-05-22T06:02:54.4013728Z 2020-05-22T07:02:54.0000000Z  (Microsoft.Azure.Devices.Device.Client)
66[06:02:54 INF] 0: Module myEdgeDevice_OPCPublisher reconnected due to Connection_Ok. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
67[06:02:54 DBG] [Info] Informational: MqttIotHubAdapter#14347911 SendMessageAsync id=0 qos=AtMostOnce topic=$iothub/twin/GET/?$rid=71fb2065-fb60-41e3-b4a5-c15d95292cd1  (Microsoft.Azure.Devices.Device.Client)
68[06:02:54 INF] Initialize device twin for myEdgeDevice - OPCPublisher (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
69[06:02:54 INF] Applying initial desired state. (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
70[06:02:54 INF] Reporting currently initial state. (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
71[06:02:54 DBG] Reporting controller state... (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
72[06:02:54 DBG] [Info] Informational: MqttIotHubAdapter#14347911 SendMessageAsync id=0 qos=AtMostOnce topic=$iothub/twin/PATCH/properties/reported/?$rid=b536d6e8-9ae0-4245-86a2-53e2688e4c06  (Microsoft.Azure.Devices.Device.Client)
73[06:02:54 DBG] Complete controller state reported (properties: ["JobCheckInterval", "HeartbeatInterval", "MaxWorkers", "IdentityToken"]). (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
74[06:02:54 DBG] [Info] Informational: MqttIotHubAdapter#14347911 SendMessageAsync id=0 qos=AtMostOnce topic=$iothub/twin/PATCH/properties/reported/?$rid=b7d3c2a6-1daa-4431-8448-10430c29ab8f  (Microsoft.Azure.Devices.Device.Client)
75[06:02:54 INF] Module Host started. (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
76[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
77[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
78[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
79[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
80[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
81[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_0'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
82[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_0 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
83[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_1'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
84[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_1 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
85[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_2'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
86[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_2 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
87[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_3'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
88[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_3 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
89[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_4'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
90[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_4 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
91[06:02:54 DBG] Worker starting... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
92[06:02:54 DBG] Try querying available job... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
93[06:02:54 INF] Worker: myEdgeDevice_OPCPublisher_4, no job received, wait 00:00:05 ... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
94[06:02:54 DBG] Sending heartbeat... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
95[06:02:54 DBG] Could not send worker heartbeat. (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
96Microsoft.Azure.IIoT.Exceptions.InvalidConfigurationException: Job orchestrator not configured
97   at Microsoft.Azure.IIoT.Api.Jobs.Clients.JobOrchestratorClient.SendHeartbeatAsync(HeartbeatModel heartbeat, CancellationToken ct) in D:\a\1\s\api\src\Microsoft.Azure.IIoT.Api.Edge\src\Jobs\Clients\JobOrchestratorClient.cs:line 69
98   at Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker.HeartbeatTimer_ElapsedAsync(Object sender) in D:\a\1\s\common\src\Microsoft.Azure.IIoT.Agent.Framework\src\Agent\Default\Worker.cs:line 147
99

(edited to show log level debug)

I would expect to read something OPC UA related in the logs, but this is not the case. Seems like the worker is not able to send a heartbeat to job orchestrator?

ANSWER

Answered 2020-May-24 at 13:58

Was facing the same issue. It looks like the container is not running in appdata but in app. I've changed the createOptions to:

1[
2  {
3    "EndpointUrl": "opc.tcp://my.machine.ip:53530/OPCUA/SimulationServer",
4    "UseSecurity": false,
5    "OpcNodes": [
6      {
7        "Id": "ns=3;s=Counter"
8      },
9      {
10        "Id": "ns=3;s=Random"
11      }
12    ]
13  }
14]
15{
16  "Hostname": "publisher",
17  "Cmd": [
18    "publisher",
19    "--ll=debug",
20    "--pf=./pn.json",
21    "--di=60",
22    "--to",
23    "--aa",
24    "--si",
25    "0",
26    "--ms",
27    "0"
28  ],
29  "HostConfig": {
30    "PortBindings": {
31      "62222/tcp": [
32        {
33          "HostPort": "62222"
34        }
35      ]
36    },
37    "ExtraHosts": [
38      "localhost:127.0.0.1"
39    ],
40    "Binds": [
41      "c:/iiotedge:c:/appdata"
42    ]
43  }
44}
45PS C:\Users\azureuser> iotedge logs OPCPublisher
46[06:02:52 INF] Connecting all clients to edgevm using MqttOverTcp. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
47[06:02:53 DBG] Starting Module Host... (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
48[06:02:53 WRN] Bypassing certificate validation for client. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
49[06:02:53 INF] Running in iotedge context. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
50[06:02:53 DBG] [Info] Informational: IotHubConnectionString#50048984 .ctor IAuthenticationMethod is AuthenticationWithTokenRefresh: ModuleAuthenticationWithHsm#5560998  (Microsoft.Azure.Devices.Device.Client)
51[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ITransportSettings[] = Microsoft.Azure.Devices.Client.ITransportSettings[1]  (Microsoft.Azure.Devices.Device.Client)
52[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set IotHubConnectionString = IotHubConnectionString#50048984  (Microsoft.Azure.Devices.Device.Client)
53[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set OnMethodCalledDelegate = OnMethodCalledDelegate#1525631264  (Microsoft.Azure.Devices.Device.Client)
54[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set Action`1 = System.Action`1[Microsoft.Azure.Devices.Shared.TwinCollection]  (Microsoft.Azure.Devices.Device.Client)
55[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ConnectionStatusChangesHandler = ConnectionStatusChangesHandler#1558992671  (Microsoft.Azure.Devices.Device.Client)
56[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set OnReceiveEventMessageCalledDelegate = OnReceiveEventMessageCalledDelegate#1523701015  (Microsoft.Azure.Devices.Device.Client)
57[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ProductInfo = .NET/1.24.0 (.NET Core 3.1.3; Microsoft Windows 10.0.17763 WindowsProduct:0x00000030; X64; 176FF90A-591F-574A-86D3-34024A506733)  (Microsoft.Azure.Devices.Device.Client)
58[06:02:53 DBG] [CreateFromConnectionString] Informational: InternalClient#45596481 HostName=edgevm;DeviceId=myEdgeDevice;ModuleId=OPCPublisher Mqtt_Tcp_Only  (Microsoft.Azure.Devices.Device.Client)
59[06:02:53 DBG] [Info] Informational: InternalClient#45596481 SetConnectionStatusChangesHandler ConnectionStatusChangesHandler#1809274109  (Microsoft.Azure.Devices.Device.Client)
60[06:02:53 DBG] [Info] Informational: RetryDelegatingHandler#39070558 EnsureOpenedAsync Opening connection  (Microsoft.Azure.Devices.Device.Client)
61[06:02:53 DBG] [Info] Informational: ProtocolRoutingDelegatingHandler#36936550 ProtocolRoutingDelegatingHandler.OpenAsync Trying Mqtt_Tcp_Only  (Microsoft.Azure.Devices.Device.Client)
62[06:02:53 DBG] [Info] Informational: PipelineContext#2327487 Set ITransportSettings = MqttTransportSettings#12674872  (Microsoft.Azure.Devices.Device.Client)
63[06:02:54 DBG] [Info] Informational: (null) GetEventLoopGroup EventLoopGroup threads count was not set.  (Microsoft.Azure.Devices.Device.Client)
64[06:02:54 DBG] [Info] Informational: MqttTransportHandler#46964992 CreateChannelFactory Connecting to 172.23.40.21  (Microsoft.Azure.Devices.Device.Client)
65[06:02:54 DBG] [GenerateToken] Informational: ModuleAuthenticationWithHsm#5560998 2020-05-22T06:02:54.4013728Z 2020-05-22T07:02:54.0000000Z  (Microsoft.Azure.Devices.Device.Client)
66[06:02:54 INF] 0: Module myEdgeDevice_OPCPublisher reconnected due to Connection_Ok. (Microsoft.Azure.IIoT.Module.Framework.Client.IoTSdkFactory)
67[06:02:54 DBG] [Info] Informational: MqttIotHubAdapter#14347911 SendMessageAsync id=0 qos=AtMostOnce topic=$iothub/twin/GET/?$rid=71fb2065-fb60-41e3-b4a5-c15d95292cd1  (Microsoft.Azure.Devices.Device.Client)
68[06:02:54 INF] Initialize device twin for myEdgeDevice - OPCPublisher (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
69[06:02:54 INF] Applying initial desired state. (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
70[06:02:54 INF] Reporting currently initial state. (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
71[06:02:54 DBG] Reporting controller state... (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
72[06:02:54 DBG] [Info] Informational: MqttIotHubAdapter#14347911 SendMessageAsync id=0 qos=AtMostOnce topic=$iothub/twin/PATCH/properties/reported/?$rid=b536d6e8-9ae0-4245-86a2-53e2688e4c06  (Microsoft.Azure.Devices.Device.Client)
73[06:02:54 DBG] Complete controller state reported (properties: ["JobCheckInterval", "HeartbeatInterval", "MaxWorkers", "IdentityToken"]). (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
74[06:02:54 DBG] [Info] Informational: MqttIotHubAdapter#14347911 SendMessageAsync id=0 qos=AtMostOnce topic=$iothub/twin/PATCH/properties/reported/?$rid=b7d3c2a6-1daa-4431-8448-10430c29ab8f  (Microsoft.Azure.Devices.Device.Client)
75[06:02:54 INF] Module Host started. (Microsoft.Azure.IIoT.Module.Framework.Hosting.ModuleHost)
76[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
77[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
78[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
79[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
80[06:02:54 INF] Creating new worker... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
81[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_0'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
82[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_0 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
83[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_1'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
84[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_1 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
85[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_2'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
86[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_2 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
87[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_3'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
88[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_3 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
89[06:02:54 INF] Starting worker 'myEdgeDevice_OPCPublisher_4'... (Microsoft.Azure.IIoT.Agent.Framework.Agent.WorkerSupervisor)
90[06:02:54 INF] Worker WorkerId: myEdgeDevice_OPCPublisher_4 {"Type": "publisher", "SiteId": "myEdgeDevice", "DeviceId": "myEdgeDevice", "ModuleId": "OPCPublisher"} (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
91[06:02:54 DBG] Worker starting... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
92[06:02:54 DBG] Try querying available job... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
93[06:02:54 INF] Worker: myEdgeDevice_OPCPublisher_4, no job received, wait 00:00:05 ... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
94[06:02:54 DBG] Sending heartbeat... (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
95[06:02:54 DBG] Could not send worker heartbeat. (Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker)
96Microsoft.Azure.IIoT.Exceptions.InvalidConfigurationException: Job orchestrator not configured
97   at Microsoft.Azure.IIoT.Api.Jobs.Clients.JobOrchestratorClient.SendHeartbeatAsync(HeartbeatModel heartbeat, CancellationToken ct) in D:\a\1\s\api\src\Microsoft.Azure.IIoT.Api.Edge\src\Jobs\Clients\JobOrchestratorClient.cs:line 69
98   at Microsoft.Azure.IIoT.Agent.Framework.Agent.Worker.HeartbeatTimer_ElapsedAsync(Object sender) in D:\a\1\s\common\src\Microsoft.Azure.IIoT.Agent.Framework\src\Agent\Default\Worker.cs:line 147
99{
100  "Hostname": "publisher",
101  "Cmd": [
102    "publisher",
103    "--pf=C:/appdata/pn.json",
104    "--di=60",
105    "--to",
106    "--aa",
107    "--si=0",
108    "--ms=0"
109  ],
110  "ExposedPorts": {
111    "62222/tcp": {}
112  },
113  "HostConfig": {
114    "Dns": [
115      "1.1.1.1"
116    ],
117    "Binds": [
118      "c:/iotedge:c:/appdata"
119    ],
120    "PortBindings": {
121      "62222/tcp": [
122        {
123          "HostPort": "62222"
124        }
125      ]
126    }
127  }
128}
129

Source https://stackoverflow.com/questions/61938039

Community Discussions contain sources that include Stack Exchange Network

Tutorials and Learning Resources in Job Orchestrator

Tutorials and Learning Resources are not available at this moment for Job Orchestrator

Share this Page

share link

Get latest updates on Job Orchestrator