boot-resources start-import should re-start importing when changing boot-source configuration

Bug #1878895 reported by Gábor Mészáros
12
This bug affects 2 people
Affects Status Importance Assigned to Milestone
MAAS
Won't Fix
Medium
Unassigned

Bug Description

Following up on #1876161, I have been directed to file a bug for MaaS.

In FCE deployment, when changing the bootsources from the default "http://images.maas.io/ephemeral-v3/daily", it might still trying to fetch the bootsources from that url. And running that in an airgapped environment can have even worse consequences.

It should cancel import when changing (maas boot-resources stop-import), when changing the boot sources (eg. with maas boot-source update 1 url="http://offline.repo/maas/" and re-initiate it with the updated config.

Tags: sts
Revision history for this message
Gábor Mészáros (gabor.meszaros) wrote :
Felipe Reyes (freyes)
tags: added: sts
Revision history for this message
Alberto Donato (ack) wrote :

When updating boot resources configuration, a new importer run is scheduled, but current pending runs are not stopped, while they should.

Changed in maas:
status: New → Triaged
importance: Undecided → High
milestone: none → next
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

The workaround is for the user to manually stop import via the CLI or API. This issue will be picked up with MAAS image storage improvements, timeline unknown at the moment.

Changed in maas:
importance: High → Medium
milestone: next → none
Revision history for this message
Jerzy Husakowski (jhusakowski) wrote :

This issue is added to the internal backlog, to be taken up with MAAS image storage/distribution improvements (internal reference PF-3227). This issue is marked as "won't fix" because we are planning to overhaul the image storage and distribution subsystem, and this particular scenario is unlikely to occur there.

Changed in maas:
status: Triaged → Won't Fix
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.