[2.4, websockets] Controllers tab is polling image status

Bug #1759081 reported by Lee Trager on 2018-03-26
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
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.

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
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers