Open Suizi11 opened 1 year ago
@Suizi11 I'm not sure I understand the issue. I tried iotedge check --verbose
on a machine and see this output for the Connectivity checks:
...
Connectivity checks
-------------------
√ container on the default network can connect to upstream AMQP port - OK
√ container on the default network can connect to upstream HTTPS / WebSockets port - OK
√ container on the default network can connect to upstream MQTT port - OK
skipping because of not required in this configuration
√ container on the IoT Edge module network can connect to upstream AMQP port - OK
√ container on the IoT Edge module network can connect to upstream HTTPS / WebSockets port - OK
√ container on the IoT Edge module network can connect to upstream MQTT port - OK
skipping because of not required in this configuration
32 check(s) succeeded.
3 check(s) raised warnings.
2 check(s) were skipped due to errors from other checks.
Are you saying that when you add the '--verbose' flag you don't see anything like above where it says 'skipping because of ...'?
@micahl you're right. Just execute the same command as in my "Current Behavior" section. There's no "skipping because of ...", although executed WITH --verbose
. So, I've no clue which check has been skipped.
@Suizi11 Stepping back for a minute... why do you want to exclude running all of those checks?
This issue is being marked as stale because it has been open for 30 days with no activity.
@micahl I'm so sorry for this very, very late response
why: we've more than 5k devices in the field with 5k different local network conditions e.g. firewalls, that's why we execute a connectivity check regularly on the host level (OS), during this check we also want to iotedge check
the connectivity to Azure IoT Hub to inform the customer if there's something not working within the local network
Expected Behavior
When running the
iotedge check --verbose
I want to have some details WHY checks were skipped.It would be nice when running
iotedge check-list
is executed that checks which are required for connectivity checks are "marked" somehow.Current Behavior
Check without
--verbose
Result:
Check with
--verbose
delivers exactly the same resultSteps to Reproduce
Provide a detailed set of steps to reproduce the bug.
Context (Environment)
Output of
iotedge check
I found out that if special
--dont-run
are missing, the results are quite confusing. E.g. if I removecontainer-engine-uri
then everything is clear.Device Information
Runtime Versions
iotedge version
]: 1.4.3docker version
]: 20.10.11+azure-2Note: when using Windows containers on Windows, run
docker -H npipe:////./pipe/iotedge_moby_engine version
instead