Azure / azure-iot-operations

The official repo for Azure IoT Operations.
MIT License
25 stars 21 forks source link

IoT Operation not in the list on Azure after restart of Edge device #32

Open Sdelausnay opened 9 months ago

Sdelausnay commented 9 months ago

Hi,

I have deployed IoT Operation on a Virtual machine using the steps in the docs

Everything was working and I was able to add an asset. The VM was on Auto shutdown and now I have restarted it, the K3S cluster is up and running and all pods are running as expected but the IoT operations is not showing up in the ARC dashboard of the IoT operations dashboard.

I'm I missing something after restart? I have tried to redeploy IoT Operations again to the ARC cluster but got the message it is already installed.

kubectl get pods -n azure-iot-operations ``` aio-cert-manager-webhook-75f859b7c8-7brjs 1/1 Running 6 (28m ago) 2d21h aio-cert-manager-cainjector-867c486556-4smld 1/1 Running 7 (28m ago) 2d21h aio-cert-manager-57bd6f8778-cdngc 1/1 Running 5 (28m ago) 2d21h aio-akri-otel-collector-9cc7494c4-gntcl 1/1 Running 3 (28m ago) 2d21h aio-akri-agent-daemonset-68mzc 1/1 Running 3 (28m ago) 2d21h aio-dp-nfs-server-provisioner-0 1/1 Running 3 (28m ago) 2d21h aio-dp-operator-76554b6cc-27st2 1/1 Running 7 (28m ago) 2d21h aio-mq-dmqtt-frontend-0 1/1 Running 5 (28m ago) 2d21h aio-dp-msg-store-0 3/3 Running 11 (28m ago) 2d21h aio-mq-dmqtt-backend-2-0 1/1 Running 4 (28m ago) 2d21h aio-mq-dmqtt-authentication-0 1/1 Running 5 (28m ago) 2d21h aio-lnm-operator-6d9766cd7c-9xhkn 1/1 Running 3 (28m ago) 2d21h aio-mq-diagnostics-service-59745ddd5f-npm95 1/1 Running 3 (28m ago) 2d21h aio-opc-opc.tcp-1-c488dbfd6-cp8xd 2/2 Running 7 (27m ago) 2d21h aio-mq-operator-7d8886d7bd-vbhtv 3/3 Running 14 (28m ago) 2d21h aio-dp-reader-worker-0 1/1 Running 3 (28m ago) 2d21h aio-dp-refdata-store-0 1/1 Running 3 (28m ago) 2d21h aio-opc-asset-discovery-pv5rc 1/1 Running 3 (28m ago) 2d21h opcplc-000000-698c99d7d-lxzbd 1/1 Running 3 (28m ago) 2d21h aio-orc-controller-manager-64f6d78685-qv6t7 1/1 Running 8 (28m ago) 2d21h aio-otel-collector-7cbd7c69c7-ljrdh 1/1 Running 11 (28m ago) 2d21h aio-mq-dmqtt-health-manager-0 1/1 Running 6 (28m ago) 2d21h aio-opc-supervisor-8448477667-64zmj 1/1 Running 6 (27m ago) 2d21h aio-opc-admission-controller-5b4c6fdbb9-9d2r6 1/1 Running 3 (28m ago) 2d21h mqtt-client 1/1 Running 0 24m aio-dp-runner-worker-0 1/1 Running 3 (28m ago) 2d21h aio-mq-diagnostics-probe-0 1/1 Running 6 (28m ago) 2d21h aio-orc-api-6cdd6c4c84-lvv2m 2/2 Running 11 (28m ago) 2d21h aio-mq-dmqtt-backend-1-0 1/1 Running 4 (28m ago) 2d21h ```
Azure Portal ![image](https://github.com/Azure/azure-iot-operations/assets/62655804/5d429e15-f7ab-4032-9f16-127bab02cfba) ![image](https://github.com/Azure/azure-iot-operations/assets/62655804/5cc5b768-32de-4dc6-b06f-7640476cf252) ![image](https://github.com/Azure/azure-iot-operations/assets/62655804/1800a5d3-197f-4f83-9910-21fb8bec1c02)
nonsocode commented 8 months ago

Hi @Sdelausnay, Thanks for filing the issue. Did these resources show up in the Azure IoT Operations portal before the restart?

meenag16 commented 8 months ago

Hi @Sdelausnay - following up on this, were you able to get unblocked? If not, did the resources show up in the portal before restart?