[2.4, websockets] Controllers tab is polling image status

Bug #1759081 reported by Lee Trager
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Invalid
Low
Unassigned

Bug Description

The controllers tab in the UI polls all rack controllers for their status every 30 seconds. This causes each web client on the controllers tab to cause an RPC and database call every 30 seconds. I see two options to fix this

1. Track image sync status in the database. This would remove the need for the RPC calls and possibly the database calls(if we store status on the node object). Triggers would update the UI as needed instead of having to wait 30 seconds. The risk with this is the user could manually delete the images on the rack and MAAS will think the images are in sync when they are not. The UI wouldn't updated until the rack syncs images which happens automatically every 15 minutes.
2. Just stop polling. The user will have to refresh the page manually to get image sync status.

Tags: performance
summary: - Controllers tab is polling image status
+ [2.4, websockets] Controllers tab is polling image status
Changed in maas:
milestone: 2.4.0beta2 → 2.4.0beta3
Changed in maas:
milestone: 2.4.0beta3 → 2.4.0beta4
Changed in maas:
milestone: 2.4.0beta4 → 2.4.x
Revision history for this message
Adam Collard (adam-collard) wrote :

This bug has not seen any activity in the last 6 months, so it is being automatically closed.

If you are still experiencing this issue, please feel free to re-open.

MAAS Team

Changed in maas:
status: Triaged → Invalid
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.