Skip to content

Commit 383c8b7

Browse files
authored
Merge pull request #274222 from kgremban/may5-aioknown
0.5.0 known issues
2 parents f633d79 + b7a7122 commit 383c8b7

File tree

1 file changed

+81
-4
lines changed

1 file changed

+81
-4
lines changed

articles/iot-operations/troubleshoot/known-issues.md

Lines changed: 81 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ ms.author: dobett
66
ms.topic: troubleshooting-known-issue
77
ms.custom:
88
- ignite-2023
9-
ms.date: 12/06/2023
9+
ms.date: 05/03/2024
1010
---
1111

1212
# Known issues: Azure IoT Operations Preview
@@ -99,9 +99,86 @@ If the OPC PLC simulator isn't sending data to the IoT MQ broker after you creat
9999
kubectl delete pod aio-opc-opc.tcp-1-f95d76c54-w9v9c -n azure-iot-operations
100100
```
101101

102-
## Azure IoT Operations (preview) portal
102+
## Azure IoT Akri Preview
103103

104-
To sign in to the Azure IoT Operations (preview) portal, you need a Microsoft Entra ID account with at least contributor permissions for the resource group that contains your **Kubernetes - Azure Arc** instance. You can't sign in with a Microsoft account (MSA). To create an account in your Azure tenant:
104+
A sporadic issue might cause the handler to restart with the following error in the logs: `opcua@311 exception="System.IO.IOException: Failed to bind to address http://unix:/var/lib/akri/opcua-asset.sock: address already in use.`.
105+
106+
To work around this issue, use the following steps to update the **DaemonSet** specification:
107+
108+
1. Locate the **Target** custom resource provided by **orchestration.iotoperations.azure.com** that contains the deployment specifications for **aio-opc-asset-discovery**.
109+
1. In the **aio-opc-asset-discovery** component of the target file, find the `spect.components.aio-opc-asset-discovery.properties.resource.spec.template.spec.containers.env` parameter.
110+
1. Add the following environment variables:
111+
112+
```yml
113+
- name: ASPNETCORE_URLS
114+
value: http://+8443
115+
- name: POD_IP
116+
valueFrom:
117+
fieldRef:
118+
fieldPath: "status.podIP"
119+
```
120+
121+
The final specification should look like the following example:
122+
123+
```yml
124+
apiVersion: orchestrator.iotoperations.azure.com/v1
125+
kind: Target
126+
metadata:
127+
name: <cluster-name>-target
128+
namespace: azure-iot-operations
129+
spec:
130+
displayName: <cluster-name>-target
131+
scope: azure-iot-operations
132+
topologies:
133+
...
134+
version: 1.0.0.0
135+
components:
136+
...
137+
- name: aio-opc-asset-discovery
138+
type: yaml.k8s
139+
properties:
140+
resource:
141+
apiVersion: apps/v1
142+
kind: DaemonSet
143+
metadata:
144+
labels:
145+
app.kubernetes.io/part-of: aio
146+
name: aio-opc-asset-discovery
147+
spec:
148+
selector:
149+
matchLabels:
150+
name: aio-opc-asset-discovery
151+
template:
152+
metadata:
153+
labels:
154+
app.kubernetes.io/part-of: aio
155+
name: aio-opc-asset-discovery
156+
spec:
157+
containers:
158+
- env:
159+
- name: ASPNETCORE_URLS
160+
value: http://+8443
161+
- name: POD_IP
162+
valueFrom:
163+
fieldRef:
164+
fieldPath: status.podIP
165+
- name: DISCOVERY_HANDLERS_DIRECTORY
166+
value: /var/lib/akri
167+
- name: AKRI_AGENT_REGISTRATION
168+
value: 'true'
169+
image: >-
170+
edgeappmodel.azurecr.io/opcuabroker/discovery-handler:0.4.0-preview.3
171+
imagePullPolicy: Always
172+
name: aio-opc-asset-discovery
173+
ports: ...
174+
resources: ...
175+
volumeMounts: ...
176+
volumes: ...
177+
```
178+
179+
## Azure IoT Operations Preview portal
180+
181+
To sign in to the Azure IoT Operations portal, you need a Microsoft Entra ID account with at least contributor permissions for the resource group that contains your **Kubernetes - Azure Arc** instance. You can't sign in with a Microsoft account (MSA). To create an account in your Azure tenant:
105182
106183
1. Sign in to the [Azure portal](https://portal.azure.com/) with the same tenant and user name that you used to deploy Azure IoT Operations.
107184
1. In the Azure portal, navigate to the **Microsoft Entra ID** section, select **Users > +New user > Create new user**. Create a new user and make a note of the password, you need it to sign in later.
@@ -110,4 +187,4 @@ To sign in to the Azure IoT Operations (preview) portal, you need a Microsoft En
110187
1. On the **Members** page, add your new user to the role.
111188
1. Select **Review and assign** to complete setting up the new user.
112189
113-
You can now use the new user account to sign in to the [Azure IoT Operations (preview)](https://iotoperations.azure.com) portal.
190+
You can now use the new user account to sign in to the [Azure IoT Operations](https://iotoperations.azure.com) portal.

0 commit comments

Comments
 (0)