Awesome!
Mender assumes you pick a device identity scheme and use that
consistently, all the requirements are here:
https://docs.mender.io/1.6/client-configuration/identity
I would call this an edge case, as the demo device would not necessarily
use the same identity scheme as you decide on for your devices. So maybe
a quick fix is to use a real device if it exists and fall back to a demo
device if not?
On 26/09/18 06:45, 'Dell Green' via Mender List
mender.io wrote:
> many thanks, yep decommissioning the device sorted the problem. :)
>
> Given that one could have several/many different devices/products with
> different device identity attribute schemes, does it make sense to try
> and apply the custom device identity column globally?
> Maybe it makes more sense in groups of the same device identity scheme
> in device groups?
> Maybe a device group is auto-generated for each device identity
> attribute scheme?
>
>
>
> On Wednesday, 26 September 2018 13:59:45 UTC+1, Michael wrote:
>
> I think you might need to decommission the demo device, the UI is
> still picking it up from the rejected list.
>
> I've been thinking about this - even when improving this
> functionality in future in order to be more thorough about grabbing
> the available identity attributes, it will always have to offer for
> selection only the attributes devices have in common. Otherwise you
> could end up with blank device ID values.
> For example, demo device has /ID/ and /mac address/ and your new
> devices have /ID/, /mac address/ and /custom_id_attr. /If you
> selected /custom_id_attr /as the default device ID while the demo
> device was still in the system (even if rejected), the device
> identity column would be empty for this device and any others that
> don't have the /custom_id_attr /identity attribute.
>
> On Monday, September 24, 2018 at 3:46:11 PM UTC+2, Dell Green wrote:
>
> I don't have the demo device in my list, i rejected the qemu
> demo device, it is still listed in the rejected devices list.
> I have restarted server, is it cached internally that needs
> cleaning? or is it stilling picking it up from the demo device
> in the rejected list?
> Do i need to disable the client device docker service?
>
>
> On Monday, 24 September 2018 14:33:45 UTC+1, Michael wrote:
>
> Do you still have a demo/virtual device in the device list?
> If so could you try removing the demo device and test again?
>
> The reasoning - for this first iteration of the feature the
> UI takes the identity attributes for /one/ device, and
> > Groups "Mender List
mender.io <
http://mender.io>"
> <
https://groups.google.com/a/lists.mender.io/group/mender/>.
>
>
> --
>
> Eystein