[2.6b4] filtering is broken, count shows more than actually exist

Bug #1829225 reported by Andres Rodriguez
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Unassigned

Bug Description

The filtering for tags is broken, the count is showing incorrect numbers in comparison to actual machines available, and its super slow to interact with.

See the attached screenshot, there are 214 machines in this MAAS, for the 'virtual' tag only 199 are virtual, but the tag count shows 796.

To get the number in the backend I used:

ubuntu@autopkgtest:~$ maas admin tag machines virtual | grep resource_uri | grep machines | wc -l
199

The issue is not limited to tags, but also to other counts. See attached screenshots

Related branches

Revision history for this message
Andres Rodriguez (andreserl) wrote :
description: updated
Changed in maas:
importance: Undecided → High
status: New → Triaged
milestone: none → 2.6.0rc1
summary: - [2.6b4] tag filtering is broken, shows more machines
+ [2.6b4] filtering is broken, count shows more than actually exist
description: updated
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Owner shows 64, but the reality is that there's only 15 machines with an owner:

ubuntu@autopkgtest:~$ maas admin machines read | grep owner | grep admin | wc -l
15

Revision history for this message
Andres Rodriguez (andreserl) wrote :

Status is the same.. seems it affects most filters.

Changed in maas:
importance: High → Critical
importance: Critical → High
Changed in maas:
status: Triaged → Fix Committed
Changed in maas:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.