[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2014-12-03 Thread Rolf Leggewie
natty has seen the end of its life and is no longer receiving any
updates. Marking the natty task for this ticket as Won't Fix.

** Changed in: vm-builder (Ubuntu Natty)
   Status: Fix Committed = Won't Fix

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/784888/+subscriptions

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-30 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/natty-proposed/vm-builder

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-29 Thread Martin Pitt
Accepted vm-builder into natty-proposed, the package will build now and
be available in a few hours. Please test and give feedback here. See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed. Thank you in advance!

** Changed in: vm-builder (Ubuntu Natty)
   Status: New = Fix Committed

** Tags added: verification-needed

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-19 Thread Serge Hallyn
** Also affects: vm-builder (Ubuntu Natty)
   Importance: Undecided
   Status: New

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-19 Thread Serge Hallyn
** Description changed:

  Binary package hint: python-vm-builder
+ 
+ ==
+ SRU justification:
+ 1. Impact: using a partition file which doesn't container *optional* elements 
causes failure.
+ 2. How bug addressed: the code is patched to use a proper test for the 
presence of the optional elements.  (Existing check was simply wrong)
+ 3. Patch: See comment number 4
+ 4. To reproduce: 
+ cat  partfile  EOF
+ root 4000
+ swap 1000
+ EOF
+ vmbuilder xen ubuntu --part partfile
+ 5. Regression potential: If the patch were wrong, other bugs in the parsing 
of the partfile could be introduced.
+ ==
  
  In 11.04 with python-vm-builder 0.12.4+bzr464-0ubuntu1, when you have a file 
vmbuilder.partition with 2 lines:
  root 4000
  swap 1000
  
  and you run vmbuilder xen ubuntu --suite natty --flavour virtual --arch 
amd64 -o --ip 192.168.122.2 --hostname myvm --bridge virbr0 --part 
vmbuilder.partition --user user --name user --pass default it will crash with 
this error:
  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 222, 
in main
- self.set_disk_layout(hypervisor)
-   File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 351, 
in set_disk_layout
- if not elements[3]:
+   File /usr/bin/vmbuilder, line 24, in module
+ cli.main()
+   File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 222, 
in main
+ self.set_disk_layout(hypervisor)
+   File /usr/lib/python2.7/dist-packages/VMBuilder/contrib/cli.py, line 351, 
in set_disk_layout
+ if not elements[3]:
  IndexError: list index out of range
  
  This is fixed with the patch i included

** Attachment added: patch
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/784888/+attachment/2135542/+files/patch

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-18 Thread garo
** Patch added: check if there is a 3th element instead of checking if it's 
empty
   
https://bugs.launchpad.net/bugs/784888/+attachment/2134305/+files/fixIndexError.patch

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-18 Thread Serge Hallyn
Thanks for taking the time to report this bug and helping to make Ubuntu
better.

I will upload your patch (with one change - len(elements) check should
be  4, as elements[3] is the fourth option.  I'll push that to oneiric,
then SRU the fix to natty.

** Changed in: vm-builder (Ubuntu)
   Status: New = Confirmed

** Changed in: vm-builder (Ubuntu)
   Importance: Undecided = High

** Changed in: vm-builder (Ubuntu)
 Assignee: (unassigned) = Serge Hallyn (serge-hallyn)

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-18 Thread Launchpad Bug Tracker
** Branch linked: lp:~vmbuilder-dev/vmbuilder/packaging

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs


[Bug 784888] Re: indexerror in vmbuilder when partitionfile contains 2 columns or less

2011-05-18 Thread Launchpad Bug Tracker
This bug was fixed in the package vm-builder - 0.12.4+bzr466-0ubuntu1

---
vm-builder (0.12.4+bzr466-0ubuntu1) oneiric; urgency=low

  * Fix from garo: If you provide a .partition file whose lines have  4
elements, vmbuilder would incorrectly (since the 3d and 4th parameters
are optional) fail.  (LP: #784888)
 -- Serge Hallyn serge.hal...@ubuntu.com   Wed, 18 May 2011 18:10:20 -0500

** Changed in: vm-builder (Ubuntu)
   Status: Confirmed = Fix Released

-- 
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/784888

Title:
  indexerror in vmbuilder when partitionfile contains 2 columns or less

-- 
Ubuntu-server-bugs mailing list
Ubuntu-server-bugs@lists.ubuntu.com
Modify settings or unsubscribe at: 
https://lists.ubuntu.com/mailman/listinfo/ubuntu-server-bugs