Skip to content

Commit 4ba24a0

Browse files
Adding helm stuck state to known issues
1 parent 9e0521c commit 4ba24a0

File tree

1 file changed

+44
-1
lines changed

1 file changed

+44
-1
lines changed

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

Lines changed: 44 additions & 1 deletion
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: 03/05/2025
9+
ms.date: 03/19/2025
1010
---
1111

1212
# Known issues: Azure IoT Operations
@@ -145,3 +145,46 @@ kubectl delete pod aio-opc-opc.tcp-1-f95d76c54-w9v9c -n azure-iot-operations
145145
If you see both log entries from the two *kubectl log* commands, the cert-manager wasn't ready or running.
146146
1. Run `kubectl delete pod aio-dataflow-operator-0 -n azure-iot-operations` to delete the data flow operator pod. Deleting the pod clears the crash status and restarts the pod.
147147
1. Wait for the operator pod to restart and deploy the data flow.
148+
149+
## Helm package enters a stuck state
150+
151+
When you update Azure IoT Operations, the Helm package might enter a stuck state, preventing any helm install or upgrade operations from proceeding. This results in the `operation in progress` error, blocking further upgrades.
152+
153+
Use the following steps to resolve the issue:
154+
155+
1. Identify the stuck Helm release by running the following command:
156+
157+
```sh
158+
helm list -n azure-iot-operations --pending
159+
```
160+
In the output, look for a release name that contains `<component>` and has a status of `pending-upgrade` or `pending-install`.
161+
162+
1. Retrieve the revision history of the stuck release. For example, for schema registry you run:
163+
164+
```sh
165+
helm history <schema-registry-release-name> -n azure-iot-operations
166+
```
167+
168+
In the output, look for the last revision that has a status of `Deployed` or `Superseded` and note the revision number.
169+
170+
1. Rollback the Helm release to the last successful revision. For example, for schema registry you run:
171+
172+
```sh
173+
helm rollback <schema-registry-release-name> <revision-number> -n azure-iot-operations
174+
```
175+
176+
1. After the rollback is complete, reattempt the upgrade using the following command:
177+
178+
```sh
179+
az iot ops update
180+
```
181+
182+
If you receive a message stating `Nothing to upgrade or upgrade complete`, force the upgrade by appending:
183+
184+
```sh
185+
az iot ops upgrade ....... --release-train stable --version 1.0.15
186+
```
187+
188+
189+
190+

0 commit comments

Comments
 (0)