[Bug 966944] Re: proxy support not fully working

2013-01-03 Thread Launchpad Bug Tracker
This bug was fixed in the package vm-builder - 0.12.4+bzr477-0ubuntu3

---
vm-builder (0.12.4+bzr477-0ubuntu3) precise-proposed; urgency=low

  [ Alex Dehnert ]
  * fix tmpfs unmounting failure (LP: #1008225)

vm-builder (0.12.4+bzr477-0ubuntu2) precise-proposed; urgency=low

  [ Yoann Dubreuil ]
  * Fix proxy support: set up apt proxies before writing sources.list.
(LP: #966944)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 06 Aug 2012 16:06:51 -0500

** Changed in: vm-builder (Ubuntu Precise)
   Status: Fix Committed = 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/966944

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-09-23 Thread Alan Pope
Tested with line in comment #5 against my local LAN proxy, worked fine.

alan@deep-thought:~$ sudo vmbuilder kvm ubuntu -o -v --tmpfs 1536 
--rootsize=4096M --swapsize=512M -d vm1 --proxy=http://192.168.1.2:3128
2012-09-23 21:37:16,702 INFO: Mounting tmpfs under /tmp/tmpyXTs9ntmpfs
2012-09-23 21:37:16,705 INFO: Calling hook: preflight_check
2012-09-23 21:37:16,708 INFO: Calling hook: set_defaults
2012-09-23 21:37:16,708 INFO: Calling hook: bootstrap
2012-09-23 21:58:07,557 INFO: Calling hook: configure_os
2012-09-23 22:00:21,739 INFO: 
2012-09-23 22:00:21,739 INFO: Current default time zone: 'Etc/UTC'
2012-09-23 22:00:21,740 INFO: Local time is now:  Sun Sep 23 21:00:21 
UTC 2012.
2012-09-23 22:00:21,740 INFO: Universal Time is now:  Sun Sep 23 21:00:21 
UTC 2012.
2012-09-23 22:00:21,740 INFO: 
Extracting templates from packages: 100%
2012-09-23 22:14:46,150 INFO: 
2012-09-23 22:14:46,151 INFO: Current default time zone: 'Etc/UTC'
2012-09-23 22:14:46,153 INFO: Local time is now:  Sun Sep 23 21:14:46 
UTC 2012.
2012-09-23 22:14:46,154 INFO: Universal Time is now:  Sun Sep 23 21:14:46 
UTC 2012.
2012-09-23 22:14:46,154 INFO: Run 'dpkg-reconfigure tzdata' if you wish to 
change it.
2012-09-23 22:14:46,154 INFO: 
2012-09-23 22:14:50,928 INFO: Updating certificates in /etc/ssl/certs... 
WARNING: Skipping duplicate certificate brasil.gov.br.pem
2012-09-23 22:14:50,928 INFO: 0 added, 1 removed; done.
2012-09-23 22:14:50,933 INFO: Running hooks in 
/etc/ca-certificates/update.ddone.
2012-09-23 22:14:51,816 INFO: 
2012-09-23 22:14:51,816 INFO: Warning: Fake initctl called, doing nothing
2012-09-23 22:15:13,523 INFO: Cleaning up
2012-09-23 22:15:13,523 INFO: Calling hook: preflight_check
2012-09-23 22:15:13,523 INFO: Calling hook: configure_networking
2012-09-23 22:15:13,533 INFO: Calling hook: configure_mounting
2012-09-23 22:15:13,538 INFO: Calling hook: mount_partitions
2012-09-23 22:15:13,539 INFO: Mounting target filesystems
2012-09-23 22:15:13,539 INFO: Creating disk image: /tmp/tmp83B_ke of 
size: 4608MB
2012-09-23 22:15:13,551 INFO: Adding partition table to disk image: 
/tmp/tmp83B_ke
2012-09-23 22:15:13,899 INFO: Adding type 4 partition to disk image: 
/tmp/tmp83B_ke
2012-09-23 22:15:13,899 INFO: Partition at beginning of disk - reserving 
first cylinder
2012-09-23 22:15:14,303 INFO: Adding type 3 partition to disk image: 
/tmp/tmp83B_ke
2012-09-23 22:15:14,313 INFO: [0] ../../libparted/filesys.c:148 
(ped_file_system_type_get): File system alias linux-swap(new) is deprecated
2012-09-23 22:15:14,607 INFO: Creating loop devices corresponding to the 
created partitions
2012-09-23 22:15:14,620 INFO: Creating file systems
2012-09-23 22:15:14,634 INFO: mke2fs 1.42 (29-Nov-2011)
2012-09-23 22:15:15,033 INFO: mkswap: /dev/mapper/loop0p2: warning: don't 
erase bootbits sectors
2012-09-23 22:15:15,033 INFO: on whole disk. Use -f to force.
2012-09-23 22:15:17,087 INFO: Calling hook: install_bootloader
2012-09-23 22:16:24,188 INFO: Searching for GRUB installation directory ... 
found: /boot/grub
2012-09-23 22:16:24,216 INFO: Searching for default file ... Generating 
/boot/grub/default file and setting the default boot entry to 0
2012-09-23 22:16:24,216 INFO: Searching for GRUB installation directory ... 
found: /boot/grub
2012-09-23 22:16:24,219 INFO: Testing for an existing GRUB menu.lst file 
... 
2012-09-23 22:16:24,220 INFO: 
2012-09-23 22:16:24,220 INFO: Could not find /boot/grub/menu.lst file. 
2012-09-23 22:16:24,220 INFO: Generating /boot/grub/menu.lst
2012-09-23 22:16:24,261 INFO: Searching for splash image ... none found, 
skipping ...
2012-09-23 22:16:24,360 INFO: grep: /boot/config*: No such file or directory
2012-09-23 22:16:24,419 INFO: Updating /boot/grub/menu.lst ... done
2012-09-23 22:16:24,420 INFO: 
2012-09-23 22:16:24,527 INFO: Searching for GRUB installation directory ... 
found: /boot/grub
2012-09-23 22:16:24,557 INFO: Searching for default file ... found: 
/boot/grub/default
2012-09-23 22:16:24,559 INFO: Testing for an existing GRUB menu.lst file 
... found: /boot/grub/menu.lst
2012-09-23 22:16:24,639 INFO: Searching for splash image ... none found, 
skipping ...
2012-09-23 22:16:24,656 INFO: grep: /boot/config*: No such file or directory
2012-09-23 22:16:24,708 INFO: Updating /boot/grub/menu.lst ... done
2012-09-23 22:16:24,708 INFO: 
2012-09-23 22:16:24,728 INFO: Searching for GRUB installation directory ... 
found: /boot/grub
2012-09-23 22:16:24,734 INFO: Calling hook: install_kernel
2012-09-23 22:25:39,037 INFO: Done.
2012-09-23 22:25:40,463 INFO: Running depmod.
2012-09-23 22:25:40,543 INFO: update-initramfs: Generating 
/boot/initrd.img-2.6.32-43-server
2012-09-23 22:25:42,385 INFO: Running postinst hook script 

[Bug 966944] Re: proxy support not fully working

2012-08-28 Thread Chris Halse Rogers
Hello Yoann, or anyone else affected,

Accepted vm-builder into precise-proposed. The package will build now
and be available at http://launchpad.net/ubuntu/+source/vm-
builder/0.12.4+bzr477-0ubuntu3 in a few hours, and then in the -proposed
repository.

Please help us by testing this new package.  See
https://wiki.ubuntu.com/Testing/EnableProposed for documentation how to
enable and use -proposed.  Your feedback will aid us getting this update
out to other Ubuntu users.

If this package fixes the bug for you, please change the bug tag from
verification-needed to verification-done.  If it does not, change the
tag to verification-failed.  In either case, details of your testing
will help us make a better decision.

Further information regarding the verification process can be found at
https://wiki.ubuntu.com/QATeam/PerformingSRUVerification .  Thank you in
advance!

** Changed in: vm-builder (Ubuntu Precise)
   Status: In Progress = 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/966944

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-08-06 Thread Serge Hallyn
Thanks for the patch.  This can definately be applied to quantal and
precise.

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

** Also affects: vm-builder (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: vm-builder (Ubuntu Quantal)
   Importance: Medium
   Status: Triaged

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

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-08-06 Thread Serge Hallyn
(Fix confirmed, the test case I'm using is:

sudo vmbuilder kvm ubuntu -o -v  --tmpfs 1536 --rootsize=4096M
--swapsize=512M  -d vm1 --proxy=http://localhost:3142

)

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

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-08-06 Thread Launchpad Bug Tracker
This bug was fixed in the package vm-builder - 0.12.4+bzr481-0ubuntu1

---
vm-builder (0.12.4+bzr481-0ubuntu1) quantal; urgency=low

  [ Yoann Dubreuil ]
  * Fix proxy support: set up apt proxies before writing sources.list.
(LP: #966944)
 -- Serge Hallyn serge.hal...@ubuntu.com   Mon, 06 Aug 2012 14:39:54 -0500

** Branch linked: lp:~vmbuilder-dev/vmbuilder/packaging

** Changed in: vm-builder (Ubuntu Quantal)
   Status: Triaged = 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/966944

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-08-06 Thread Serge Hallyn
** Description changed:

+ 
+ SRU Justification:
+ 1. impact: creating VMs using an apt proxy fails
+ 2. Development fix: set up apt proxies before creating sources.list
+ 3. Stable fix: same as development fix
+ 4. Test case:
+   sudo apt-get -y install apt-cacher-ng
+   sudo vmbuilder kvm ubuntu -o -v --tmpfs 1536 --rootsize=4096M 
--swapsize=512M -d vm1 --proxy=http://localhost:3142
+ 5. Regression potential: this should not introduce any regressions.
+ 
+ 
  Building a vm image behind a proxy doesn't work (in fact, it nearly
  works...). VMbuilder can't connect to the network while updating the apt
  sources.
  
  This command crashes :
  
  # vmbuilder vbox ubuntu -o -v \
-   --tmpfs 1536 --rootsize=4096M --swapsize=512M \
-   -c openstack.cfg -d target/ubuntu-vbox 
--proxy=http://apt-cacher-ng-host:3142
+  --tmpfs 1536 --rootsize=4096M --swapsize=512M \
+  -c openstack.cfg -d target/ubuntu-vbox --proxy=http://apt-cacher-ng-host:3142
  
  2012-03-28 10:44:47,213 INFO: Mounting tmpfs under /tmp/tmp6WoP31tmpfs
  2012-03-28 10:44:47,219 INFO: Calling hook: preflight_check
  2012-03-28 10:44:47,222 INFO: Calling hook: set_defaults
  2012-03-28 10:44:47,222 INFO: Calling hook: bootstrap
  2012-03-28 10:45:22,542 INFO: Calling hook: configure_os
  2012-03-28 10:46:25,850 INFO: W: Failed to fetch 
http://fr.archive.ubuntu.com/ubuntu/dists/precise/Release.gpg  Unable to 
connect to fr.archive.ubuntu.com:http:
- 2012-03-28 10:46:25,850 INFO: 
+ 2012-03-28 10:46:25,850 INFO:
  2012-03-28 10:46:25,851 INFO: W: Failed to fetch 
http://fr.archive.ubuntu.com/ubuntu/dists/precise-updates/Release.gpg  Unable 
to connect to fr.archive.ubuntu.com:http:
- 2012-03-28 10:46:25,851 INFO: 
+ 2012-03-28 10:46:25,851 INFO:
  2012-03-28 10:46:25,851 INFO: W: Failed to fetch 
http://fr.archive.ubuntu.com/ubuntu/dists/precise-security/Release.gpg  Unable 
to connect to fr.archive.ubuntu.com:http:
- 2012-03-28 10:46:25,851 INFO: 
+ 2012-03-28 10:46:25,851 INFO:
  2012-03-28 10:46:25,851 INFO: W: Failed to fetch 
http://fr.archive.ubuntu.com/ubuntu/dists/precise/universe/binary-amd64/Packages
  Unable to connect to fr.archive.ubuntu.com:http:
  
  The problem is at the beginning of the configure_os phase : the
  /etc/apt/apt.conf file containing the proxy configuration is created
  after updating the apt sources. The apt update cannot work without the
  proxy configuration. After swapping theses two actions, building an
  image works.
  
  So, here is a simple patch swapping theses two actions.
  
  Any chance to have this fix in precise ?
  
  Thanks,
  Yoann.

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

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

** Changed in: vm-builder (Ubuntu Precise)
   Status: Triaged = In Progress

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

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-08-06 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/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/966944

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-08-02 Thread cuc
thx for the fix... works for me now :)

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

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-08-02 Thread Launchpad Bug Tracker
Status changed to 'Confirmed' because the bug affects multiple users.

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

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

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-04-02 Thread James Page
** Changed in: vm-builder (Ubuntu)
   Importance: Undecided = Medium

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

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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 966944] Re: proxy support not fully working

2012-03-29 Thread Yoann Dubreuil
** Also affects: vm-builder (Ubuntu)
   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/966944

Title:
  proxy support not fully working

To manage notifications about this bug go to:
https://bugs.launchpad.net/vmbuilder/+bug/966944/+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