Skip to content

Commit 88e76ed

Browse files
committed
Add formatting
1 parent 510f332 commit 88e76ed

File tree

1 file changed

+16
-3
lines changed

1 file changed

+16
-3
lines changed

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

Lines changed: 16 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -133,8 +133,21 @@ kubectl delete pod aio-opc-opc.tcp-1-f95d76c54-w9v9c -n azure-iot-operations
133133
- When using control characters in Kafka headers, you might encounter disconnections. Control characters in Kafka headers such as `0x01`, `0x02`, `0x03`, `0x04` are UTF-8 compliant but the IoT Operations MQTT broker rejects them. This issue happens during the data flow process when Kafka headers are converted to MQTT properties using a UTF-8 parser. Packets with control characters might be treated as invalid and rejected by the broker and lead to data flow failures.
134134

135135
- When you create a new data flow, it might not finish deployment. The cause is cert-manager wasn't ready or running. The current resolution is to manually delete the data flow operator pod to clear the crash status. Use the following steps to resolve the issue:
136-
1. Run `kubectl get pods -n azure-iot-operations` to verify aio-dataflow-operator-0 is only data flow operator pod running.
137-
1. Run `kubectl logs --namespace azure-iot-operations aio-dataflow-operator-0` to check the logs for the data flow operator pod. Check for the final log entry `Dataflow pod had error: Bad pod condition: Pod 'aio-dataflow-operator-0' container 'aio-dataflow-operator' stuck in a bad state due to 'CrashLoopBackOff'`
138-
1. Run the *kubectl logs* command again with the `--previous` option `kubectl logs --namespace azure-iot-operations --previous aio-dataflow-operator-0`. Check for the final log entry `Failed to create webhook cert resources: Failed to update ApiError: Internal error occurred: failed calling webhook "webhook.cert-manager.io" [...]`. If you see both log entries from the two *kubectl log* commands, the cert-manager wasn't ready or running.
136+
1. Run `kubectl get pods -n azure-iot-operations`.
137+
In the output, Verify *aio-dataflow-operator-0* is only data flow operator pod running.
138+
1. Run `kubectl logs --namespace azure-iot-operations aio-dataflow-operator-0` to check the logs for the data flow operator pod.
139+
140+
In the output, check for the final log entry:
141+
142+
`Dataflow pod had error: Bad pod condition: Pod 'aio-dataflow-operator-0' container 'aio-dataflow-operator' stuck in a bad state due to 'CrashLoopBackOff'`
143+
1. Run the *kubectl logs* command again with the `--previous` option.
144+
145+
`kubectl logs --namespace azure-iot-operations --previous aio-dataflow-operator-0`
146+
147+
In the output, check for the final log entry:
148+
149+
`Failed to create webhook cert resources: Failed to update ApiError: Internal error occurred: failed calling webhook "webhook.cert-manager.io" [...]`.
150+
151+
If you see both log entries from the two *kubectl log* commands, the cert-manager wasn't ready or running.
139152
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.
140153
1. Wait for the operator pod to restart and deploy the data flow.

0 commit comments

Comments
 (0)