[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-10 Thread Launchpad Bug Tracker
This bug was fixed in the package vm-builder - 0.10-0ubuntu2 --- vm-builder (0.10-0ubuntu2) jaunty; urgency=low * fix traceback due to kpartx failure (LP: #342359) - VMBuilder/disk.py: sleep a few seconds to give the loopback devices a chance to settle down, then try to un

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-10 Thread Jamie Strandboge
Attached is the debdiff used in the 0.10-0ubuntu2 upload. It also necessarily fixes bug #354849 ** Attachment added: "vm-builder_0.10-0ubuntu2.debdiff" http://launchpadlibrarian.net/25219296/vm-builder_0.10-0ubuntu2.debdiff -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-10 Thread Jamie Strandboge
** Changed in: vm-builder (Ubuntu Jaunty) Status: Confirmed => Fix Committed -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- u

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-10 Thread Jamie Strandboge
** Changed in: vm-builder (Ubuntu Jaunty) Assignee: Canonical Server Team (canonical-server) => Jamie Strandboge (jdstrand) -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are a member of Ubun

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-10 Thread Steve Langasek
** Also affects: vm-builder (Ubuntu Jaunty) Importance: Medium Assignee: Canonical Server Team (canonical-server) Status: Confirmed -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-09 Thread Brandon Konkle
I can confirm that I had this issue with the Jaunty Server Beta, also. After making jstrand's changes to disk.py, the creation of the VM went smoothly. Thanks, Jamie! -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notific

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-09 Thread Jamie Strandboge
IMO using the workaround in Jaunty at this point is preferable to the regression. Perhaps apply it now and remove it when a fix is found in Karmic? -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you ar

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-04-03 Thread Bryan McLellan
Building from jstrand's bzr branch works for me on jaunty (aside from separate build issues in Bug 354849). -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are a member of Ubuntu Bugs, which is subs

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-27 Thread Jamie Strandboge
Removed the two previous patches and added reference to my bzr branch with the final workaround. ** Attachment removed: "bug_342359.patch" http://launchpadlibrarian.net/24299179/bug_342359.patch ** Attachment removed: "bug_342359v2.patch" http://launchpadlibrarian.net/24307603/bug_342359v

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-24 Thread Jamie Strandboge
** Changed in: vm-builder (Ubuntu) Status: In Progress => Confirmed -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bug

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-24 Thread Jamie Strandboge
Here is an updated patch that does the retries at a lower level. This will likely help with bug #342239 as well. ** Attachment added: "bug_342359v2.patch" http://launchpadlibrarian.net/24307603/bug_342359v2.patch -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launch

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-23 Thread Jamie Strandboge
** Attachment removed: "bug_342359.patch" http://launchpadlibrarian.net/24298870/bug_342359.patch ** Attachment added: "bug_342359.patch" http://launchpadlibrarian.net/24299179/bug_342359.patch -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/3

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-23 Thread Jamie Strandboge
** Attachment added: "bug_342359.patch" http://launchpadlibrarian.net/24298870/bug_342359.patch -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed t

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-23 Thread Jamie Strandboge
Here is the correct patch. ** Attachment added: "bug_342359.patch" http://launchpadlibrarian.net/24298855/bug_342359.patch ** Attachment removed: "bug_342359.patch" http://launchpadlibrarian.net/24298855/bug_342359.patch -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https:

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-23 Thread Jamie Strandboge
Attached is a patch that should address this issue. Basically, it will try up to three times to unmount the disk, rather than failing on the first time. Example output from an attempt that would have previously failed: ... 2009-03-24 00:42:12,075 INFO Unmounting target filesystem 2009-03-24 0

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-23 Thread Steve Beattie
** Changed in: vm-builder (Ubuntu) Importance: Undecided => Medium Assignee: (unassigned) => Canonical Server Team (canonical-server) -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are a me

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-17 Thread Jamie Strandboge
I just tried to create a hardy VM and five times in a row got (same as attached traceback): Traceback (most recent call last): File "/usr/bin/ubuntu-vm-builder", line 29, in VMBuilder.run() File "/usr/lib/python2.6/dist-packages/VMBuilder/__init__.py", line 66, in run frontend.run()

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-17 Thread Marc Deslauriers
I'm seeing this: 2009-03-17 14:05:45,658 DEBUGloop deleted : /dev/loop0 2009-03-17 14:05:45,659 DEBUG['rmdir', '/home/mdeslaur/machines/foo-hardy-amd64'] 2009-03-17 14:05:45,662 DEBUG['rm', '-rf', '/tmp/vmbuilderID1u60'] Traceback (most recent call last): File "/usr/bin/ubuntu-vm-bu

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-13 Thread Jamie Strandboge
I noticed a bunch of loopback files were not removed after several runs: $ sudo losetup -a /dev/loop0: [0802]:1712191 (/tmp/vmbuilderoz9Ae3/disk0.img) /dev/loop1: [0802]:1712192 (/tmp/vmbuilderZ25Vlg/disk0.img) /dev/loop2: [0802]:1712199 (/tmp/vmbuilderMYw8D9/disk0.img) /dev/loop3: [0802]:1712202 (

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-13 Thread Jamie Strandboge
** Tags added: regression-potential -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu

[Bug 342359] Re: [jaunty] ubuntu-vm-builder crashed with ioctl in create()

2009-03-13 Thread Jamie Strandboge
This is not guest os specific-- I just had the same thing trying to create a Hardy guest with the same arguments. ** Visibility changed to: Public -- [jaunty] ubuntu-vm-builder crashed with ioctl in create() https://bugs.launchpad.net/bugs/342359 You received this bug notification because you ar