[Bug 1467882] [NEW] TypeError: 'NoneType' object has no attribute '__getitem__'
Hadmut Danisch
hadmut at danisch.de
Tue Jun 23 10:25:00 UTC 2015
Public bug reported:
Hi,
vmbuilder crashes in afterbuild cleanup when doing
vmbuilder vbox ubuntu --suite trusty --flavour virtual \
--arch i386 --mem 1024 --rootsize 8000 \
--dest /tmp/ubuntu-base --name ubuntu-base \
--hostname ubuntu-base --user danisch --pass blabla \
--addpkg acpid --addpkg linux-image-generic
last messages are (full output attached)
2015-06-23 12:19:40,022 INFO :
2015-06-23 12:19:40,194 INFO : Searching for GRUB installation directory ... found: /boot/grub
2015-06-23 12:19:40,245 INFO : Calling hook: install_kernel
2015-06-23 12:19:43,383 INFO : Calling hook: post_install
2015-06-23 12:19:43,385 INFO : Calling hook: unmount_partitions
2015-06-23 12:19:43,387 INFO : Unmounting target filesystem
2015-06-23 12:19:47,023 INFO : Calling hook: convert
2015-06-23 12:19:47,025 INFO : Converting /tmp/tmpR78GUJ to vdi, format /tmp/ubuntu-base/tmpR78GUJ.vdi
2015-06-23 12:19:47,567 INFO : Converting from raw image file="/tmp/tmpR78GUJ" to file="/tmp/ubuntu-base/tmpR78GUJ.vdi"...
2015-06-23 12:19:47,572 INFO : Creating dynamic image with size 9462349824 bytes (9024MB)...
2015-06-23 12:20:37,060 INFO : Calling hook: deploy
2015-06-23 12:20:37,249 INFO : Cleaning up
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in <module>
cli.main()
File "/usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py", line 232, in main
hypervisor.finalise(destdir)
File "/usr/lib/python2.7/dist-packages/VMBuilder/hypervisor.py", line 79, in finalise
self.call_hooks('deploy', destdir)
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 69, in call_hooks
self.cleanup()
File "/usr/lib/python2.7/dist-packages/VMBuilder/distro.py", line 44, in cleanup
self._cleanup_cbs.pop(0)()
File "/usr/lib/python2.7/dist-packages/VMBuilder/disk.py", line 129, in <lambda>
self.vm.add_clean_cb(lambda : self.unmap(ignore_fail=True))
File "/usr/lib/python2.7/dist-packages/VMBuilder/disk.py", line 194, in unmap
parted_oldmap=part.filename[len("/dev/mapper/"):-1]+"p"+part.filename[-1]
TypeError: 'NoneType' object has no attribute '__getitem__'
regards
Hadmut
ProblemType: Bug
DistroRelease: Ubuntu 14.04
Package: python-vm-builder 0.12.4+bzr489-0ubuntu2
ProcVersionSignature: Ubuntu 3.13.0-55.94-generic 3.13.11-ckt20
Uname: Linux 3.13.0-55-generic x86_64
NonfreeKernelModules: zfs zunicode zcommon znvpair zavl
ApportVersion: 2.14.1-0ubuntu3.11
Architecture: amd64
CurrentDesktop: XFCE
Date: Tue Jun 23 12:22:13 2015
PackageArchitecture: all
SourcePackage: vm-builder
UpgradeStatus: No upgrade log present (probably fresh install)
** Affects: vm-builder (Ubuntu)
Importance: Undecided
Status: New
** Tags: amd64 apport-bug third-party-packages trusty
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to vm-builder in Ubuntu.
https://bugs.launchpad.net/bugs/1467882
Title:
TypeError: 'NoneType' object has no attribute '__getitem__'
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1467882/+subscriptions
More information about the Ubuntu-server-bugs
mailing list