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

[mender] Update the inventory script to exclude Docker network interfaces

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: High
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.7.0
    • Labels:
    • Days in progress:
      2

      Description

      We need to update the Mender client to exclude docker-related network interfaces from the output of the default inventory script. We have cases where hundreds of devices are reported, bloating the inventory database.

      Examples:

      • "inventory-ipv4_br-584532edb1f0" : { "inventory-ipv4_br-584532edb1f0" : { "name" : "ipv4_br-584532edb1f0", "scope" : "inventory", "value" : "172.19.0.1/16" }
      • "inventory-ipv6_br-584532edb1f0" : { "inventory-ipv6_br-584532edb1f0" : { "name" : "ipv6_br-584532edb1f0", "scope" : "inventory", "value" : "fe80::42:11ff:fe8f:3d34/64" }
      • "inventory-mac_veth5f4a879" : { "inventory-mac_veth5f4a879" : { "name" : "mac_veth5f4a879", "scope" : "inventory", "value" : "3a:51:32:3e:77:dc" }
      • "inventory-ipv6_veth5f4a879" : { "name" : "ipv6_veth5f4a879", "scope" : "inventory", "value" : "fe80::3851:32ff:fe3e:77dc/64" }

      Acceptance criteria:

      • Docker network interfaces are excluded from the inventory script output 

        Attachments

          Activity

            People

            • Assignee:
              oleorhagen Ole Petter Orhagen
              Reporter:
              tranchitella Fabio Tranchitella
            • Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:

                Summary Panel