Comments (4)
Hi @Voxel07,
Thank you for your questions, please see our responses below-
- For 1 above, you are correct the current flow for the download, install and apply phases is shown here.. Any reason you need to skip the apply action?
- For 2 above, removing Files after the download action is a way of clearing the file list for the next deployment without consuming an additional IoT hub messages from your IoT Hub message quota. Today we have done this after download is complete, as you have observed. Is it a common scenario for your IoT device set up where you need to redownload the file after a reboot?
from iot-hub-device-update.
Thanks for the Answer.
- No, there is no reason to skip the apply step. But say for example, that the agent is running and for some reason the same update gets deployed again. Then there is no check in place to stop a new installation. That's the case I wanted to catch, maybe that's implemented in swUpdate, I don't know.
- It's not common or a planed workflow. I was just thinking of scenarios of what cold when go wrong. And if an Installation is interrupted, because the power to the device is cut for some reason, I can't do anything at the moment, but in my eye that's a scenario that the agent could recover from without human interaction.
But saving the File or the download URL in nonvolatile memory is not an option at the moment. That's why I am asking.
from iot-hub-device-update.
Is it possible to get some information on when the backend service will ignore a reported state?
Like for e.g. when I report an Installed update when the deployment directly in the download phase. Then the device keeps the in progress state.
Or if download succeeded is reported twice, the second time the service won't send the install action. And the device is stuck in this state.
from iot-hub-device-update.
Please refer to this document on the goal state deployment that Device Update uses in the after the public preview refresh release (Feb' 22): https://github.com/Azure/iot-hub-device-update/blob/main/docs/agent-reference/goal-state-support.md
from iot-hub-device-update.
Related Issues (20)
- Replacement workflow not working HOT 8
- JSON parser error with colon symbol HOT 7
- ScriptHandler crashs ADU HOT 3
- Question: How to make custom DTMI model private for ADU HOT 2
- Please provide `.deb` packages for Debian 11/12 armhf & arm64 HOT 6
- Device Update Agent attempting MQTT connection over TLSv1 HOT 2
- Device Update Free Edition HOT 1
- Device Update not applying due to lower case conversion of compat property HOT 7
- Device update group not created based on tags in DeviceTwin HOT 13
- Device not added in Azure Device Update Groups in IoT Hub HOT 5
- Cannot Install device update agent 1.0.3 beta version for Debian11 Arm64 on Debian 11.8 running on Raspberry Pi 4 HOT 1
- Configuration file deviceupdate-agent.service is marked executable HOT 7
- Yocto Rpi3 Device is restarting again and again in a loop HOT 2
- Failed parse of JSON file in Rpi4 device HOT 6
- /usr/bin/adu-swupdate.sh never runs (swupdate:2 never used even when registered?) HOT 7
- The packages deployed through device update are not reflecting in the device hosted on ubuntu 22.04 HOT 2
- Ignore duplicate deployment workflow not working as expected HOT 5
- Device reporting new Contract Name & ContractId after device update and stays inProgress in ADU HOT 9
- A/B Update Erases ADU Configuration on Yocto Kirkstone Raspberry Pi 4 - 64 bit Example HOT 2
- A/B Update Fails on Yocto Kirkstone Raspberry Pi 4 - 64 bit Example do to invalid update image HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from iot-hub-device-update.