Fresh VM installs via preseeded oneiric isos sometimes fail with filesystem issues
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
qemu-kvm (Ubuntu) |
Fix Released
|
Critical
|
Serge Hallyn | ||
Quantal |
Fix Released
|
Critical
|
Serge Hallyn |
Bug Description
I am seeing filesystem corruption in guests when using qcow2 images via libvirt. For example, the security team, et al uses lp:ubuntu-qa-tools/vm-tools/uvt to create new VM images (using libvirt) by using an ISO, then updating it with preseed information so we may perform unattended VM installs. I seem to hit this fairly regularly with 11.10 amd64 installs: fails ~50% of the time before ubiquity finishes installation (out of ~10 installs).
I am using Ubuntu 3.5.0-10.10-generic 3.5.1 with qemu-kvm 1.1~rc+
I have checked smartctl on my drive on the host (both long and short tests) and there are no errors. There are no errors in the host's dmesg. I have not noticed any other anomalies on the host, only guest VMs.
If needed, here are the contents of preseed/
ubiquity languagechooser
ubiquity countrychooser/
ubiquity time/zone select America/Chicago
ubiquity debian-
ubiquity localechooser/
console-setup console-
console-setup console-
console-setup console-
console-setup console-
ubiquity partman-
ubiquity partman-auto/disk string /dev/vda
ubiquity partman-auto/method string regular
ubiquity partman-
ubiquity partman/
ubiquity partman/
ubiquity partman/confirm boolean true
ubiquity passwd/
user-setup passwd/
ubiquity passwd/username string REDACTED
user-setup passwd/username string REDACTED
ubiquity passwd/
ubiquity passwd/
user-setup passwd/
user-setup passwd/
d-i netcfg/get_hostname string vmtools
d-i netcfg/get_domain string defaultdomain
ubiquity migration-
ubiquity ubiquity/summary note
ubiquity ubiquity/reboot string true
d-i mirror/http/proxy string
ubiquity ubiquity/
ProblemType: Bug
DistroRelease: Ubuntu 11.10
Package: ubiquity 2.8.7
ProcVersionSign
Uname: Linux 3.0.0-12-generic x86_64
ApportVersion: 1.23-0ubuntu3
Architecture: amd64
CasperVersion: 1.287
Date: Wed Aug 22 06:49:51 2012
LiveMediaBuild: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
ProcEnviron:
LANGUAGE=
PATH=(custom, no user)
LANG=en_US.UTF-8
SourcePackage: ubiquity
UpgradeStatus: No upgrade log present (probably fresh install)
description: | updated |
description: | updated |
description: | updated |
tags: | removed: oneiric ubiquity-2.8.7 |
description: | updated |
description: | updated |
description: | updated |
Changed in qemu-kvm (Ubuntu Quantal): | |
status: | New → Triaged |
tags: | removed: rls-q-incoming |
This is in UbiquitySyslog.txt:
Aug 21 22:12:59 ubuntu ubiquity: dpkg: unrecoverable fatal error, aborting:
Aug 21 22:12:59 ubuntu ubiquity: files list file for package 'dnsmasq-base' is missing final newline
Aug 21 22:12:59 ubuntu ubiquity: Error in function:
Aug 21 22:12:59 ubuntu ubiquity:
Aug 21 22:12:59 ubuntu plugininstall.py: Exception during installation:
Aug 21 22:12:59 ubuntu plugininstall.py: SystemError: E:Sub-process /usr/bin/dpkg returned an error code (2)
Aug 21 22:12:59 ubuntu plugininstall.py:
It is odd that this sometimes doesn't fail