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

Device filtering does not work in demo and onprem mode

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Done
    • Priority: Higher
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.4.0
    • Labels:
    • Backlog:
      yes
    • Days in progress:
      0

      Description

      Affects at least the internal-v2020.02 tag.

      Steps to reproduce:

      1. Use demo script to launch an Enterprise instance:
        ./demo -f docker-compose.enterprise.yml up
        

        (Note that this fails in production mode too, the demo script is just fewer steps)

      2. Make an Enterprise tenant
        TENANT_ID=$(./demo -f docker-compose.enterprise.yml exec mender-tenantadm /usr/bin/tenantadm create-org --name=MyOrganization --username=myusername@host.com --password=mysecretpassword --plan enterprise | tr -d '\r') && (echo $TENANT_ID)
        TENANT_TOKEN=$(./demo -f docker-compose.enterprise.yml exec mender-tenantadm /usr/bin/tenantadm get-tenant --id $TENANT_ID | jq -r .tenant_token) && (echo $TENANT_TOKEN)
        
      3. Launch two clients
        docker run --network integration_mender -dti --privileged -e TENANT_TOKEN=$TENANT_TOKEN mendersoftware/mender-client-qemu
        docker run --network integration_mender -dti --privileged -e TENANT_TOKEN=$TENANT_TOKEN mendersoftware/mender-client-qemu
        
      4. Accept the devices and wait for inventory to be updated
      5. Go to the device list and try to use device filtering on the upper right side

      Result: Only one attribute is available, Device ID
      Expected outcome: All attributes from inventory should be available

      Reloading the page or switching browser does not seem to have any effect. I have not found any workaround that works.

        Attachments

          Activity

            People

            Assignee:
            Unassigned Unassigned
            Reporter:
            a10040 Kristian Amlie
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Dates

              Created:
              Updated:
              Resolved: