question

CharlesElwood-6092 avatar image
0 Votes"
CharlesElwood-6092 asked CharlesElwood-6092 commented

Azure Stream Analytics Module on Azure Percept Edge Device

Trying to Deploy stream analytics module to Azure Percept device.

Following this tutorial here:
https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-deploy-stream-analytics?view=iotedge-2020-11

Steps to Duplicate :
1) Created blob storage container
2) Turned on Azure Percept
3) Create Stream Analytics job with Edge Hub as input, and then Edge Hub as output
4) Tried a simplication of the Query to be just "
Select
*
From
InputEdgeHub
INTO
OutputEDGEHub
5) Set storage account settings to blob storage setup in step 1
6) Then in Edge Device -> Set Modules -> Azure Stream Analytics Module
7) Selected Edge job created earlier and clicked save.
8) Success message that module was published
9) The blob storage - container - now contains a $log, and asa-edge, and the module file.

When I refresh Edge modules on the Percept, I don't see the stream analytics module being updated in the Edge modules list.

@mimcco @AmiraYoussef-8715 @JussiNiemela-7425

azure-iot-hubazure-iot-edgeazure-stream-analyticsazure-percept
· 2
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

Hi @CharlesElwood-6092,

Thanks for reporting this. I'm investigating. Can you provide a screenshot of the edge device modules list? Also can you send me your IoT Edge "support bundle" in a private message?

https://docs.microsoft.com/en-us/azure/iot-edge/troubleshoot?view=iotedge-2020-11#gather-debug-information-with-support-bundle-command

Thanks -Mike

0 Votes 0 ·

1 Answer

mimcco avatar image
0 Votes"
mimcco answered CharlesElwood-6092 commented

Hi @CharlesElwood-6092 - please ensure that you've followed all of the instructions in the tutorial (https://docs.microsoft.com/en-us/azure/iot-edge/tutorial-deploy-stream-analytics?view=iotedge-2020-11). In our experience, the module will get successfully deployed when the instructions are followed.

Thanks,

-Mike

· 1
5 |1600 characters needed characters left characters exceeded

Up to 10 attachments (including images) can be used with a maximum of 3.0 MiB each and 30.0 MiB total.

@mimcco Thanks Mike for this tip : I went back and followed the directions and made the following updates and that resolved the issue :
1) Create a new IOT hub with S0 tier instead of free tier
2) Added Georedundancy to the the blob storage that contained the module
3) Deployed the simulated temperature sensor module (I was trying to take Percept data using * in the query and place into blob storage).
4) Then added the stream analytics module. I had to refresh the modules a couple of times since errors were showing up but after a few minutes things seemed to sync up and work).

0 Votes 0 ·