[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2017-02-09 Thread Stefan Puiu
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2017-02-09 Thread Stefan Puiu
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:

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2013-02-25 Thread martin suc
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2013-02-25 Thread Alex Gottschalk
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.

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2013-02-23 Thread martin suc
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2012-10-15 Thread lhotari
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2012-04-19 Thread Sylvester Rajasekaran
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) ---

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2012-03-16 Thread Beau Croteau
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

Re: [Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2012-03-16 Thread amcs
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2012-03-16 Thread Casey Hilliard
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2012-03-16 Thread Casey Hilliard
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2012-03-16 Thread Casey Hilliard
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-12-10 Thread Nobuto MURATA
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

Re: [Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-12-05 Thread Serge Hallyn
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-12-05 Thread alexis bellido
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-12-05 Thread Serge Hallyn
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-12-03 Thread alexis bellido
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-10-29 Thread Serge Hallyn
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-10-29 Thread Shane Harbour
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-10-28 Thread heechul yun
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-10-22 Thread Dave Walker
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

[Bug 879710] Re: ubuntu-vm-builder crashes when trying to umount tmp directory.

2011-10-21 Thread Shane Harbour
-- 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