Open machine panel was problem to load nodes on version 2.9

Bug #1915166 reported by Djair Silva
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
Undecided
Unassigned
2.9
Fix Released
Medium
Unassigned
3.0
Fix Released
Undecided
Unassigned
maas-ui
Fix Released
Unknown

Bug Description

Version 2.9 has a bug when we try to load node information, if you have more than 2k nodes, you will receive a message 'no item with pk: machine_id', it is an intermittent issue, sometimes it works.
the API shows the machine information without a problem.
Looks like a limitation of the Maas and the number of nodes, no problem with the database as well.

Another issue is when we try to search the machines by the hostname if the hostname starts with a letter, it works, if begins with a number, the search fails.

Thanks,

Tags: sts ui
Revision history for this message
Huw Wilkins (huwshimi) wrote :

The fix for starting searches with a number is here: https://github.com/canonical-web-and-design/maas-ui/pull/2156

Huw Wilkins (huwshimi)
tags: added: ui
Changed in maas-ui:
importance: Undecided → Unknown
status: New → Fix Released
Changed in maas:
status: New → Fix Committed
Changed in maas:
milestone: none → 3.2.0-beta1
Changed in maas:
status: Fix Committed → Fix Released
tags: added: sts
Revision history for this message
Mauricio Faria de Oliveira (mfo) wrote :

Marking as 'Fix Released' on 3.0 (version 3.0.0) for documentation purposes.

$ git remote get-url origin
https://git.launchpad.net/maas

$ git checkout 3.0.0
$ git submodule update --init --recursive
Submodule path 'src/maas-offline-docs/src': checked out 'a18ff68fe6c6043a35d5a5620c111daa2c5926c4'
Submodule path 'src/maasui/src': checked out '545f41330490b1bbfe3dca0bf30ba637d883dbc0'

$ cd src/maasui/src/
$ git log --oneline | grep 'fix(ui): fix machine searches that start with a number'
f7eefc1ee569 fix(ui): fix machine searches that start with a number

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.