maas mirror values are overwritten by cloud-init

Bug #1006966 reported by Scott Moser
8
This bug affects 1 person
Affects Status Importance Assigned to Milestone
MAAS
Fix Released
High
Scott Moser
cloud-init (Ubuntu)
Invalid
High
Unassigned

Bug Description

As described very well at [1], the user can modify snippets/maas_proxy and set the mirror used during install.
However, immediately upon first boot, cloud-init will overwrite the /etc/apt/sources.list with its own values.

maas needs to be able to tell cloud-init either:
 a.) do not update update sources.list
      cloud-config of 'apt_preserve_sources_list: true'
 b.) configure cloud-config to use/select the same mirror used in installation
     cloud-config of 'apt_mirror'
      (note bug 1006963 affects the viability of this option).

--
[1] http://askubuntu.com/questions/144393/how-to-let-maas-cloud-init-client-select-internal-mirror

Related bugs:
 * bug 1006963: sources.list configuration does not cover security

Tags: provisioning
Revision history for this message
Julian Edwards (julian-edwards) wrote :

This is on the roadmap for 12.10

Changed in maas:
status: New → Triaged
importance: Undecided → High
tags: added: provisioning
Revision history for this message
Scott Moser (smoser) wrote :

I guess, turning this bug report on its head, cloud-init could be expected to read the preseed values given to the installer, and possibly use those. I don't know tha tI like that though, because one is configuration of the installer system, and one is configuration of the "new instance". Which, in the most common case for cloud-init are separate things.

James Page (james-page)
Changed in cloud-init (Ubuntu):
status: New → Triaged
importance: Undecided → High
Revision history for this message
Scott Moser (smoser) wrote :
Changed in cloud-init (Ubuntu):
status: Triaged → Invalid
Changed in maas:
status: Triaged → Fix Released
assignee: nobody → Scott Moser (smoser)
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.