azure-docs icon indicating copy to clipboard operation
azure-docs copied to clipboard

Make note of expected error

Open savastosic opened this issue 2 years ago • 2 comments

[Enter feedback here] When you run this command: image

I'm pretty sure you should expect to see an error, since the edgeHub has not been created yet. The error I got is as follows, which I believe is to be expected at this point. I think its worth noting in the documentation. image


Document Details

Do not edit this section. It is required for docs.microsoft.com ➟ GitHub issue linking.

savastosic avatar Jul 21 '22 21:07 savastosic

@savastosic Thanks for the feedback! I have assigned the issue to the content author to evaluate and update as appropriate.

AshokPeddakotla-MSFT avatar Jul 22 '22 04:07 AshokPeddakotla-MSFT

Hi @savastosic,

You shouldn't get an iotedge check error for EdgeHub after a iotedge config apply even if EdgeHub is restarting. Did you see the error go away after waiting for EdgeHub to restart?

Thanks, Pat

PatAltimore avatar Aug 16 '22 22:08 PatAltimore

Hey Pat,

My understanding is that this would be prior to setting the modules in the Azure Portal. So the only agent that would start would be the edgeAgent. Once you set the modules the IoT Check clears up.

Sava

savastosic avatar Aug 17 '22 14:08 savastosic

Hi @savastosic,

Thanks for clarifying. I understand what you mean now. You're right. You have to do a deployment before EdgeHub runs. We'll add clarification to the article.

Thanks, Pat

PatAltimore avatar Aug 17 '22 22:08 PatAltimore

Hi @savastosic ,

Thanks again for the feedback. We've added a note to all articles about the iotedge check error for a newly provisioned device.

I'm going to request closing the issue. #please-close

Thanks, Pat

PatAltimore avatar Sep 13 '22 14:09 PatAltimore