You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Probably due to some enhancements of mender, the "Current software" version is no more displayed on the Devices tab of the mender interface. See screenshot below.
The update of deployment api at #68 was intended to fix this, but it's not enough.
This issue need to be analyzed.
The text was updated successfully, but these errors were encountered:
@joelguittet The "Current software" information shown by the UI, both here in the devices table but also in the "Software" tab for the device pane (click on any device), is coming from the inventory.
Previously this was the "artifact_name", but this changed long time ago - I cannot tell exactly but for sure not in the last months.
Anyway, if you want to see here the information that you used to have, you can submit an inventory key value like "rootfs-image.version=something".
You were not that far off when suspecting the "provides" feature. For the Linux client, by default we ship an inventory script that calls "mender-update show-provides" (see source here). So in effect it is the same information but it is not saved from the deployments/next API call but submitted separately.
To experiment with this, I recommend that you just spin up a demo server with a virtual client (clone this repo, then ./demo --client up) and modify the inventory script to see how the UI will behave. Then you can implement the desired changes in the MCU client 👍
When implementing this, feel free to ping me in the PR 😃
@lluiscampos thanks so much for all those details!
I just tested a bit this, with rootfs-image.version I'm able to display the software version. I see rootfs-image.checksum can also be used.
For the moment I will simply ensure the display is correct so duplicating the information from the artifact_name value in the mender MCU client. I see my RaspberryPi device have rootfs-image.version = artifact_name.
Pull Request will be opened quickly, and thanks for your help on this topic :-) I really appreciate.
Probably due to some enhancements of mender, the "Current software" version is no more displayed on the Devices tab of the mender interface. See screenshot below.
The update of deployment api at #68 was intended to fix this, but it's not enough.
This issue need to be analyzed.
The text was updated successfully, but these errors were encountered: