In 3.5.0 last image sync in the controller page is wrong

Bug #2058007 reported by Jacopo Rota
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Committed
High
Unassigned
3.5
Fix Committed
High
Unassigned
maas-ui
Fix Committed
High
Jones Ogolo

Bug Description

As per title the controllers page is showing the wrong information regarding the "last image sync" as it report "Never".

In 3.5.0 the racks are not doing any sync as they fetch and cache the images on demand.

Tags: ui
Revision history for this message
Jacopo Rota (r00ta) wrote :
no longer affects: maas-ui/3.5
Changed in maas:
milestone: 3.5.0 → 3.6.0
no longer affects: maas-ui
Changed in maas:
milestone: 3.6.0 → 3.5.0
no longer affects: maas-ui/3.5
Jones Ogolo (jonesogolo)
Changed in maas-ui:
assignee: nobody → Jones Ogolo (jonesogolo)
Revision history for this message
Peter Makowski (petermakowski) wrote :
Revision history for this message
Thorsten Merten (thorsten-merten) wrote :

Due to the change to a ring buffer kind of cache, we don't really sync images to the controller anymore. It would be good if we could at least report "cached" and "not cached" for every image.

We need to check if the controller offers a way to report this status and if not this requires a back-end change as well.

Can you elaborate Alexsander?

summary: - In 3.5.0 last image sync in the controllar page is wrong
+ In 3.5.0 last image sync in the controller page is wrong
Changed in maas:
assignee: nobody → Alexsander de Souza (alexsander-souza)
Revision history for this message
Alexsander de Souza (alexsander-souza) wrote :

No, currently the region has no clue about the status of the racks cache. Images are downloaded and evicted from the cache without region awareness.

This would need model and API changes to track what images each rack has.

no longer affects: maas-ui/3.5
Changed in maas:
milestone: 3.5.0 → 3.6.0
Changed in maas:
assignee: Alexsander de Souza (alexsander-souza) → nobody
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

In 3.5, the way images are synchronised is changed. An image that can be deployed must be synchronised between region controllers, if it's not synchronised it's not considered available and wouldn't be shown on the UI. Rack controllers download images from regions on demand and cache them, making synchronisation status irrelevant. The synchronisation status needs to be removed from the UI in MAAS 3.5+.

Changed in maas:
milestone: 3.6.0 → 3.6.x
Changed in maas-ui:
status: New → Triaged
milestone: none → 3.5.0
importance: Undecided → High
Changed in maas:
importance: Medium → High
milestone: 3.6.x → 3.6.0
Jones Ogolo (jonesogolo)
Changed in maas-ui:
status: Triaged → In Progress
Jones Ogolo (jonesogolo)
Changed in maas-ui:
status: In Progress → Fix Committed
Changed in maas:
assignee: nobody → Anton Troyanov (troyanov)
assignee: Anton Troyanov (troyanov) → nobody
status: Triaged → Fix Committed
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.