Uploaded image for project: 'Mender'
  1. Mender
  2. MEN-4343

inconsistency in the database regarding auth status

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Open
    • Priority: (None)
    • Resolution: Unresolved
    • Affects Version/s: None
    • Fix Version/s: None
    • Labels:
    • Days in progress:
      0

      Description

      Fabio Tranchitella wrote on slack:

      it was an inconsistency in the database: device in no auth with a device ID X, the same public key in auth_set with device ID Y. This is a dead end, backend will not add the pub key because it already exists, but with the wrong device ID, thus won't be visible anywhere (edited)

      in theory we could detect it and fix it (if auth set exists, but the device ID doesn't exist, remove the pubkey from the authsets and do "the right thing")

      What this leads to, is that even though you decommissioned a device, it does not come back to "Pending" state on connection attempts.

        Attachments

          Activity

            People

            • Assignee:
              Unassigned
              Reporter:
              mirzak Mirza Krak
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:

                Summary Panel