vmbuilder fails with "device-mapper: remove ioctl failed: No such device or address" - Wrong device name loop0pp1
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
vm-builder (Ubuntu) |
Fix Released
|
High
|
Canonical Server | ||
Precise |
Fix Released
|
High
|
Canonical Server |
Bug Description
During cleanup vm-build tries to remove loop0ppN but the real name is loop0pN
TEST CASE:
1. In a terminal run the command:
ubuntu-vm-builder kvm oneiric
EXPECTED RESULT:
An oneiric VM
ACTUAL RESULT:
VM build fails with
File "/usr/bin/
uvb.main()
File "/usr/lib/
hypervisor.
File "/usr/lib/
self.
File "/usr/lib/
call_
File "/usr/lib/
getattr(
File "/usr/lib/
disk.unmap()
File "/usr/lib/
run_
File "/usr/lib/
raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % (args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.
Command failed
ProblemType: Bug
DistroRelease: Ubuntu 12.04
Package: python-vm-builder 0.12.4+
ProcVersionSign
Uname: Linux 3.2.0-7-generic x86_64
ApportVersion: 1.90-0ubuntu1
Architecture: amd64
Date: Wed Jan 4 12:14:48 2012
EcryptfsInUse: Yes
InstallationMedia: Ubuntu 11.10 "Oneiric Ocelot" - Release amd64 (20111012)
PackageArchitec
ProcEnviron:
PATH=(custom, user)
LANG=en_US.utf8
SHELL=/bin/bash
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)
Related branches
tags: | added: iso-testing |
output of ubuntu-vm-builder kvm oneiric