[2.0,1.9] Empty boot-source-selections imports all available images

Bug #1588161 reported by John George
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Expired
Undecided
Unassigned
1.9
Won't Fix
Undecided
Unassigned
2.0
Won't Fix
Undecided
Unassigned
simplestreams
Incomplete
Undecided
Unassigned

Bug Description

An empty boot-source-selections list triggers an import of all available images.

maas _maas boot-source-selections read 1
Success.
Machine-readable output follows:
[]

Please see attached listings.

To recreate use maas cli 'boot-source-selection delete' to remove all selections, then trigger an import or wait for the hourly import.

Desired=Unknown/Install/Remove/Purge/Hold
| Status=Not/Inst/Conf-files/Unpacked/halF-conf/Half-inst/trig-aWait/Trig-pend
|/ Err?=(none)/Reinst-required (Status,Err: uppercase=bad)
||/ Name Version Architecture Description
+++-===================================-================================-============-===============================================================================
ii maas 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server all-in-one metapackage
ii maas-cli 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS command line API tool
ii maas-cluster-controller 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server cluster controller
ii maas-common 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server common files
ii maas-dhcp 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS DHCP server
ii maas-dns 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS DNS server
ii maas-enlist 0.4+bzr38-0ubuntu1 amd64 MAAS enlistment tool
ii maas-proxy 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS Caching Proxy
ii maas-region-controller 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server complete region controller
ii maas-region-controller-min 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS Server minimum region controller
ii python-django-maas 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server Django web framework
ii python-maas-client 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS python API client
ii python-maas-provisioningserver 1.9.3+bzr4577-0ubuntu1~trusty1 all MAAS server provisioning libraries

Revision history for this message
John George (jog) wrote :
Revision history for this message
John George (jog) wrote :
Revision history for this message
John George (jog) wrote :
summary: - Empty boot-source-selections imports all available images
+ [2.0,1.9] Empty boot-source-selections imports all available images
Revision history for this message
Andres Rodriguez (andreserl) wrote :

Hi Jon,

We use simplestreams to download the images. When you clear the selections, we also clear the selections told to simplestreams, but simplestreams, by default, downloads all images, which is what's causing your issue.

@Scott:

Is there a way to tell simplestreams to not import anything if no selections are provided? Or should we differntiate between 'all' and 'none' or is there a way to tell simplestreams 'none' ?

Changed in maas:
status: New → Incomplete
milestone: none → 2.0.0
milestone: 2.0.0 → none
tags: added: internal
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: Incomplete → Expired
Dan Watkins (oddbloke)
Changed in simplestreams:
status: New → Incomplete
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.