cloud-init mangles sources.lists if mirror can't be found
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
cloud-init (Ubuntu) |
Fix Released
|
Medium
|
Unassigned | ||
Precise |
Fix Released
|
Low
|
Unassigned |
Bug Description
On freshly build non-EC2 boot the system came up with out a useable apt sources.list.
Mar 4 20:54:02 vhost0761 [CLOUDINIT] cc_apt_
Mar 4 20:54:02 vhost0761 [CLOUDINIT] __init__.py[DEBUG]: handling apt-update-upgrade with freq=None and args=[]
Mar 4 20:54:02 vhost0761 [CLOUDINIT] util.py[DEBUG]: Traceback (most recent call last):#012 File "/usr/lib/
Mar 4 20:54:02 vhost0761 [CLOUDINIT] cc_apt_
Mar 4 20:54:02 vhost0761 [CLOUDINIT] cc_apt_
Mar 4 20:54:02 vhost0761 [CLOUDINIT] __init_
Mar 4 20:54:02 vhost0761 [CLOUDINIT] __init__.py[ERROR]: config handling of apt-update-upgrade, None, [] failed
Mar 4 20:54:02 vhost0761 [CLOUDINIT] __init__.py[DEBUG]: handling landscape with freq=None and args=[]
Changed in cloud-init (Ubuntu): | |
status: | New → Fix Released |
Changed in cloud-init (Ubuntu Precise): | |
status: | New → Triaged |
importance: | Undecided → Low |
Changed in cloud-init (Ubuntu): | |
importance: | Undecided → Medium |
root@vhost0761: /etc/apt# ll
total 64
drwxr-xr-x 6 root root 4096 Mar 4 20:59 ./
drwxr-xr-x 87 root root 4096 Mar 4 20:53 ../
drwxr-xr-x 2 root root 4096 Mar 4 07:06 apt.conf.d/
drwxr-xr-x 2 root root 4096 Apr 20 2012 preferences.d/
-rw-r--r-- 1 root root 0 Mar 4 20:54 sources.list
drwxr-xr-x 2 root root 4096 Mar 4 19:38 sources.list.d/
-rw-r--r-- 1 root root 261 Mar 4 19:38 sources.list.save
-rw------- 1 root root 1200 Mar 4 07:04 trustdb.gpg
-rw-r--r-- 1 root root 12698 Mar 4 19:38 trusted.gpg
-rw-r--r-- 1 root root 12335 Mar 4 07:04 trusted.gpg~