This happens while building a VMWare image of trusty (14.04) (vmbuilder
vmw6 ubuntu --suite=trusty). This happened repeatedly in the last 2
days.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879710
T
I'm seeing a bug that looks very similar in Ubuntu 14.04 (vmbuilder
0.12.4). In my case, umount is called from disk.py.
2017-02-09 04:15:57,625 INFO: Unmounting target filesystem
2017-02-09 04:15:57,645 INFO: umount: /tmp/tmpGsaKCo: device is busy.
2017-02-09 04:15:57,645 INFO:
I have even tried couple of days ago ... /usr/share/pyshared/VMBuilder/util.py
umount_cmd = ["umount", "-l", "-t", "tmpfs", mount_point ]
just tried added 'lazy umount option' - but no luck.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubun
I just wanted to bump this issue because we're now experiencing it in an
automated deployment system, and it's been open almost a year and half
with no resolution.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.
Well, that workaround did not help me.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879710
Title:
ubuntu-vm-builder crashes when trying to umount tmp directory.
To manage notifications about this
This bug duplicates https://bugs.launchpad.net/vmbuilder/+bug/966439 .
The workaround is to add "--removepkg=cron" to the vmbuilder command
line.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879710
T
Hi
Based on some of your comments I tried to find what was the issue with the
"umount"
The below command helped me to get the information who is holding the lock so
based on Serge Hallyn (serge-hallyn) request the error shows as follows, (lsof
didn't help me much here so I used fuser)
---
I added this corresponding line:
def unmount_dev(self):
self.context.cancel_cleanup(self.unmount_dev)
run_cmd('chroot', '%s' % self.context.chroot_dir,
'/etc/init.d/cron','stop') // <-- HERE
run_cmd('umount', '%s/dev' % self.context.chroot_dir)
That seems to be a tempo
I see this every time on one KVM host machine and never on my other KVM
host machine.
Good one is:
Fully patched 11.10 Server (no desktop) acting as KVM host using
vmbuilder to create guest instances of 11.10 server.
Bad one is:
Fully patched 11.10 Workstation with Virtualization packag
Wanted to add a note -- Resolved my own recurring issue by switching from lucid
to essentially any other release. Can confirm that both maverick and oneiric
work for me, having changed only the release in the call to vmbuilder.
.i.e:
sudo vmbuilder kvm ubuntu -v --debug --suite=maverick --flavo
Missed the attach, should be here.
** Attachment added: "vmbuilder_lsof_results_and_error_20120316.txt"
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/879710/+attachment/2881786/+files/vmbuilder_lsof_results_and_error_20120316.txt
--
You received this bug notification because you
I just wanted to bump this issue as I've been experiencing it without
fail for the last two days and the posted workaround has not resolved
the issue. Currently running 11.10 x64. My command line has been:
sudo vmbuilder kvm ubuntu -v --debug --suite=lucid --flavour=virtual
--rootsize=4096 --swaps
I will attach the debug log vmbuilder with --addpkg ubuntu-desktop and debug
lines:
run_cmd('lsof', '%s/proc' % self.context.chroot_dir)
run_cmd('lsof', '%s/dev/pts' % self.context.chroot_dir)
run_cmd('lsof', '%s/dev' % self.context.chroot_dir)
With run_cmd('ps', '-ef') or without --addpkg
Hm, thanks. It's also possible that the race is just so tight that the
1-2 seconds to run lsof and mount allowed it to proceed.
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879710
Title:
ubuntu-v
Ouch. I replaced the code with the new lines and ran vmbuilder twice.
"Unfortunately" everything worked fine this way and I couldn't reproduce
the problem again (obviosuly I removed the run_cmd('sleep', '10') fix
too).
I experienced something similar with another server, at first vmbuilder
crashed
Gah! Thanks. Unfortunately my snipped was bad. That was supposed to
read:
run_cmd('ps', '-ef');
run_cmd('lsof', '%s/dev' % self.context.chroot_dir)
run_cmd('mount')
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://b
Hey Serge, I can reproduce this and I'm using the same versions
mentioned in the bug description.
I added the three lines you suggested to /usr/lib/python2.7/dist-
packages/VMBuilder/plugins/ubuntu/dapper.py and this is what I got:
vmbuilder kvm ubuntu --suite=oneiric --flavour=virtual --arch=i38
Whoever is able to reproduce this, to figure out what is keeping the device
pinned, could you replace the
run_cmd('sleep', '10');
above with
run_cmd('ps', '-ef');
run_cmd('lsof', '%s/dev')
run_cmd('mount')
and post the results here?
--
You received this bug notification because yo
Added the fix and tested. Works great!
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879710
Title:
ubuntu-vm-builder crashes when trying to umount tmp directory.
To manage notifications about this
A simple workaround is simply add some sleep as follows.
def unmount_dev(self):
self.context.cancel_cleanup(self.unmount_dev)
run_cmd('sleep', '10'); // <--- add this line.
run_cmd('umount', '%s/dev' % self.context.chroot_dir)
Above
--
You received this bug notific
Confirmed, I was able to reproduce this error.
** Changed in: vm-builder (Ubuntu)
Importance: Undecided => Medium
** Changed in: vm-builder (Ubuntu)
Status: New => Confirmed
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
h
--
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/879710
Title:
ubuntu-vm-builder crashes when trying to umount tmp directory.
To manage notifications about this bug go to:
https://bugs.launchpad.net/ub
22 matches
Mail list logo