[Bug 1037607] Re: vmbuilder completely fails on Quantal due to kernel pae detection failure

2015-05-03 Thread Will Bryant
Huh, interesting - docs still say that the cloud images are *made* using
this tool, is that no longer true?  Is there some replacement?

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

Title:
  vmbuilder completely fails on Quantal due to kernel pae detection
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1037607/+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 1037607] Re: vmbuilder completely fails on Quantal due to kernel pae detection failure

2014-05-07 Thread Will Bryant
Me too.  Workaround still works, at least.

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

Title:
  vmbuilder completely fails on Quantal due to kernel pae detection
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1037607/+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 1113933] Re: bonding_err_ plugin needs a longer grep on 12.04

2014-03-13 Thread Will Bryant
Could this please be applied?  It's a a pretty trivial patch, just need
to change the one number.

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/1113933

Title:
  bonding_err_ plugin needs a longer grep on 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1113933/+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 1174148] Re: Can't build a raring VM

2013-07-11 Thread Will Bryant
Unfortunately I'd reset my test env so I couldn't go back and check, but
I just tried another VM rebuild using 0.12.4+bzr477-0ubuntu4 and it
worked fine.

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

Title:
  Can't build a raring VM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1174148/+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 517067] Re: Using virtio for block devices makes disks and partitions disappear in KVM/QEMU (using vmbuilder and libvirt)

2013-06-25 Thread Will Bryant
Yeah, UUID seems like a better idea.

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

Title:
  Using virtio for block devices makes disks and partitions disappear in
  KVM/QEMU (using vmbuilder and libvirt)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/517067/+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 994199] Re: vmbuilder and /etc/sudoers template missing "sudo" group support

2013-06-25 Thread Will Bryant
There hasn't been any activity on this bug for a while, and I suspect
it's not really a bug.  I think the file gets copied from the host, so
an out-of-date host will result in this behavior?

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

Title:
  vmbuilder and /etc/sudoers template missing "sudo" group support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/994199/+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 1174148] Re: Can't build a raring VM

2013-06-15 Thread Will Bryant
Ah, the above issue is LP #1037607, I'll comment there.

If I workaround using --addpkg linux-image-generic, the raring build
works with the proposed python-vm-builder version, so this version looks
good to release in the meantime.

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

Title:
  Can't build a raring VM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1174148/+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 1037607] Re: vmbuilder completely fails on Quantal due to kernel pae detection failure

2013-06-15 Thread Will Bryant
I hit this while building a raring VM to test out #1174148.

I was able to workaround by using --addpkg linux-image-generic.  The
patch above looks like a sensible solution to me though.

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

Title:
  vmbuilder completely fails on Quantal due to kernel pae detection
  failure

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1037607/+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 1174148] Re: Can't build a raring VM

2013-06-15 Thread Will Bryant
I've tried python-vm-builder 0.12.4+bzr477-0ubuntu3.  It has the
necessary files to build raring VMs and they look fine to me.

Actually building a raring VM didn't work on the host I was trying it
on.  I'm not sure if it's an issue with python-vm-builder, but I got the
following when it died:

 ** [out :: host-nwtn11] (Reading database ... 15293 files and directories 
currently installed.)
 ** [out :: host-nwtn11] Unpacking linux-image-3.8.0-25-generic (from 
.../linux-image-3.8.0-25-generic_3.8.0-25.37_amd64.deb) ...
 ** [out :: host-nwtn11] Selecting previously unselected package 
linux-image-virtual.
 ** [out :: host-nwtn11] Unpacking linux-image-virtual (from 
.../linux-image-virtual_3.8.0.25.43_amd64.deb) ...
 ** [out :: host-nwtn11] 
 ** [out :: host-nwtn11] , stderr: grep: /proc/cpuinfo: No such file or 
directory
 ** [out :: host-nwtn11] This kernel does not support a non-PAE CPU.
 ** [out :: host-nwtn11] dpkg: error processing 
/var/cache/apt/archives/linux-image-3.8.0-25-generic_3.8.0-25.37_amd64.deb 
(--unpack):

There were other errors earlier in the VM build that may or may not be
relevant (attached).


** Attachment added: "Failing VM build log"
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1174148/+attachment/3704759/+files/precise-proposed-raring-vm-build-failure.txt

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

Title:
  Can't build a raring VM

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1174148/+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 1037574] Re: Please implement Quantal guest support in Precise

2013-06-04 Thread Will Bryant
Anything I can do to help on this one?  Would be great to get it in.

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

Title:
  Please implement Quantal guest support in Precise

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/1037574/+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 1169404] Re: munin_stats fails due to being run as nobody

2013-04-16 Thread Will Bryant
Oops sorry - it must be being overwritten by one of our configuration
scripts.

My bad.  Thanks for your help!

** Changed in: munin (Ubuntu)
   Status: Incomplete => Opinion

** Changed in: munin (Ubuntu)
   Status: Opinion => Invalid

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/1169404

Title:
  munin_stats fails due to being run as nobody

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1169404/+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 1169404] [NEW] munin_stats fails due to being run as nobody

2013-04-15 Thread Will Bryant
Public bug reported:

The munin_stats plugin stopped working after upgrading from Lucid to
Precise, now giving these errors:

UNKNOWNs: munin update is unknown: Can’t open /var/log/munin/munin-
update.log for reading, munin graph is unknown: Can’t open
/var/log/munin/munin-graph.log for reading.

The root cause is that the /var/log/munin directory and its logfiles are
not other-readable, but the plugin is now by default run as nobody.

To fix could the following please be added to the default /etc/munin
/plugin-conf.d/munin-node:

[munin_stats]
user munin

** Affects: munin (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/1169404

Title:
  munin_stats fails due to being run as nobody

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1169404/+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 994199] Re: vmbuilder and /etc/sudoers template missing "sudo" group support

2013-03-16 Thread Will Bryant
Chris, could you check whether the sudoers file on the host has the sudo
group?

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

Title:
  vmbuilder and /etc/sudoers template missing "sudo" group support

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/994199/+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 556167] Re: vmbuilder uses parted to create disk images, which leads to broken sector counts (cannot use grub2 on disk images created by vmbuilder/parted)

2013-03-16 Thread Will Bryant
I could be misunderstanding the problem here, I think we've had trouble
with the 32/63 thing in other respects too, such as getting corrupted
disk images when someone uses something other than parted (or uses
parted but doesn't change the sector size) to resize the partitions.

Would it be worth fixing it both ways?

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

Title:
  vmbuilder uses parted to create disk images, which leads to broken
  sector counts (cannot use grub2 on disk images created by
  vmbuilder/parted)

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/parted/+bug/556167/+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 610652] Re: vmbuilder randomly fails to install grub

2013-03-16 Thread Will Bryant
Just found this one after posting on #946022.  I have the same problem.
For me it occurs around half the time.  Fails in the same way in grub:


 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,044 DEBUG : ['chroot', 
'/tmp/tmpgvQfyy', 'grub', '--device-map=/tmp/vmbuilder-grub/device.map', 
'--batch']
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,044 DEBUG : stdin was set and 
it was a string: root (hd0,0)
 ** [out :: host-nwtn1.nwtn] setup (hd0)
 ** [out :: host-nwtn1.nwtn] EOT
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,197 DEBUG :
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,197 DEBUG : [ Minimal 
BASH-like line editing is supported. For
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG : the first word, 
TAB lists possible command
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG : completions. 
Anywhere else TAB lists the possible
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG : completions of a 
device/filename. ]
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG : grub> root (hd0,0)
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG : grub> setup (hd0)
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG : Checking if 
"/boot/grub/stage1" exists... no
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG : Checking if 
"/grub/stage1" exists... no
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG :
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG : Error 15: File not 
found
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG : grub> EOT

My full failed & successful logs are attached to #946022.

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

Title:
  vmbuilder randomly fails to install grub

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/610652/+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 946022] Re: KVM Guest Hangs at Booting from hard disk

2013-03-16 Thread Will Bryant
Ah - this may be the same as bug #610652.

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

Title:
  KVM Guest Hangs at Booting from hard disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/946022/+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 946022] Re: KVM Guest Hangs at Booting from hard disk

2013-03-16 Thread Will Bryant
** Attachment added: "success.txt"
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/946022/+attachment/3578570/+files/success.txt

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

Title:
  KVM Guest Hangs at Booting from hard disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/946022/+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 946022] Re: KVM Guest Hangs at Booting from hard disk

2013-03-16 Thread Will Bryant
I have this problem too - it's happening on roughly half my slice
builds.

It seems to be due to the grub installation failing, here's what it
shows for a build that won't boot:

 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,044 DEBUG   : ['chroot', 
'/tmp/tmpgvQfyy', 'grub', '--device-map=/tmp/vmbuilder-grub/device.map', 
'--batch']
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,044 DEBUG   : stdin was set 
and it was a string: root (hd0,0)
 ** [out :: host-nwtn1.nwtn] setup (hd0)
 ** [out :: host-nwtn1.nwtn] EOT
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,197 DEBUG   :
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,197 DEBUG   :[ Minimal 
BASH-like line editing is supported.   For
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG   :  the   
first   word,  TAB  lists  possible  command
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG   :  
completions.  Anywhere else TAB lists the possible
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG   :  
completions of a device/filename. ]
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG   : grub> root 
(hd0,0)
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG   : grub> setup (hd0)
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,198 DEBUG   :  Checking if 
"/boot/grub/stage1" exists... no
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG   :  Checking if 
"/grub/stage1" exists... no
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG   :
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG   : Error 15: File 
not found
 ** [out :: host-nwtn1.nwtn] 2013-03-17 10:52:33,199 DEBUG   : grub> EOT

And here's what it shows for a build that does boot:

 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,423 DEBUG   : ['chroot', 
'/tmp/tmpnUU59C', 'grub', '--device-map=/tmp/vmbuilder-grub/device.map', 
'--batch']
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,424 DEBUG   : stdin was set 
and it was a string: root (hd0,0)
 ** [out :: host-nwtn1.nwtn] setup (hd0)
 ** [out :: host-nwtn1.nwtn] EOT
 ** [out :: host-nwtn1.nwtn] 
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,599 DEBUG   :
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,599 DEBUG   :[ Minimal 
BASH-like line editing is supported.   For
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,599 DEBUG   :  the   
first   word,  TAB  lists  possible  command
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,599 DEBUG   :  
completions.  Anywhere else TAB lists the possible
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,599 DEBUG   :  
completions of a device/filename. ]
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,599 DEBUG   : grub> root 
(hd0,0)
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   : grub> setup (hd0)
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   :  Checking if 
"/boot/grub/stage1" exists... yes
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   :  Checking if 
"/boot/grub/stage2" exists... yes
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   :  Checking if 
"/boot/grub/e2fs_stage1_5" exists... yes
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   :  Running "embed 
/boot/grub/e2fs_stage1_5 (hd0)"...  21 sectors are embedded.
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   : succeeded
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   :  Running 
"install /boot/grub/stage1 (hd0) (hd0)1+21 p (hd0,0)/boot/grub/stage2 
/boot/grub/menu.lst"... succeeded
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   : Done.
 ** [out :: host-nwtn1.nwtn] 2013-03-17 11:00:01,600 DEBUG   : grub> EOT


There are some other errors elsewhere in the process that may or may not be 
significant.  I've attached the full log for both the failed and successful 
builds.


** Attachment added: "failure.txt"
   
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/946022/+attachment/3578569/+files/failure.txt

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

Title:
  KVM Guest Hangs at Booting from hard disk

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/vm-builder/+bug/946022/+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 1113933] [NEW] bonding_err_ plugin needs a longer grep on 12.04

2013-02-02 Thread Will Bryant
Public bug reported:

The bonding_err_ plugin stopped working after upgrading 10.04 to 12.04.
The cause is this line in the plugin:

  grep -A 2 "^Slave Interface: ${if}" ${PROCDIR}/${BONDINGIF} | grep
"Link Failure Count:" | cut -d " " -f 4

This looks for a Link Failure Count line within 2 lines after the Slave
Interface line.

However on 12.04's 3.2-series kernel, the proc file looks like this:

Slave Interface: eth1
MII Status: up
Speed: 100 Mbps
Duplex: full
Link Failure Count: 0
Permanent HW addr: 00:21:5e:28:28:18
Slave queue ID: 0

Thus 2 lines is not sufficient.  The plugin needs to be changed to 4:

  grep -A 4 "^Slave Interface: ${if}" ${PROCDIR}/${BONDINGIF} | grep
"Link Failure Count:" | cut -d " " -f 4

** Affects: munin (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to munin in Ubuntu.
https://bugs.launchpad.net/bugs/1113933

Title:
  bonding_err_ plugin needs a longer grep on 12.04

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/munin/+bug/1113933/+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 765367] [NEW] xinetd fails to parse config files with comments when HUPped

2011-04-18 Thread Will Bryant
Public bug reported:

Binary package hint: xinetd

xinetd handles comments in service configuration files fine when it is
started/restarted.  However, when it reloads configuration files (on HUP
signal), it fails to parse the same files.  For example, given the
following (partial) configuration file:

disable = no
only_from   = 0.0.0.0/0 # recommended to put the IPs that need
# to connect exclusively (security purposes)
}

on reload the following errors would be seen in syslog, and the service
in question would be taken offline:

Apr 19 11:47:22 adbmaster xinetd[19231]: Reading included configuration file: 
/etc/xinetd.d/yourservice [file=/etc/xinetd.d/yourservice] [line=26]
Apr 19 11:47:22 adbmaster xinetd[19231]: failed to parse # 
[file=/etc/xinetd.d/yourservice] [line=13]
Apr 19 11:47:23 adbmaster xinetd[19231]: failed to parse recommended 
[file=/etc/xinetd.d/yourservice] [line=13]
Apr 19 11:47:23 adbmaster xinetd[19231]: failed to parse put 
[file=/etc/xinetd.d/yourservice] [line=13]
Apr 19 11:47:23 adbmaster xinetd[19231]: failed to parse the 
[file=/etc/xinetd.d/yourservice] [line=13]
Apr 19 11:47:23 adbmaster xinetd[19231]: failed to parse IPs 
[file=/etc/xinetd.d/yourservice] [line=13]
Apr 19 11:47:23 adbmaster xinetd[19231]: failed to parse that 
[file=/etc/xinetd.d/yourservice] [line=13]
Apr 19 11:47:23 adbmaster xinetd[19231]: failed to parse need 
[file=/etc/xinetd.d/yourservice] [line=13]

xinetd should parse configuration files the same way on reload that it
does on regular start.

We hit this surprising behavior when we upgraded an unrelated package
(postfix) which ran the update-inetd script, causing an xinetd reload.

** Affects: xinetd (Ubuntu)
 Importance: Undecided
 Status: New

-- 
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to xinetd in Ubuntu.
https://bugs.launchpad.net/bugs/765367

Title:
  xinetd fails to parse config files with comments when HUPped

-- 
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 365054] Re: [Jaunty] exception occured in vmbuilder

2011-04-03 Thread Will Bryant
*** This bug is a duplicate of bug 352568 ***
https://bugs.launchpad.net/bugs/352568

I get this on Lucid (and it doesn't seem related to #352568 to me).

I ran with debug, but it produced no more output in the actual bit that
fails:


2011-04-04 17:06:50,987 DEBUG   : Output from template 
'/etc/vmbuilder/ubuntu/timezone.tmpl': UTC

2011-04-04 17:06:50,987 DEBUG   : ['chroot', '/tmp/tmp0SkIqz', 
'dpkg-reconfigure', '-fnoninteractive', '-pcritical', 'tzdata']
2011-04-04 17:06:51,140 INFO:
2011-04-04 17:06:51,140 INFO: Current default time zone: 'Etc/UTC'
2011-04-04 17:06:51,143 INFO: Local time is now:  Mon Apr  4 05:06:51 
UTC 2011.
2011-04-04 17:06:51,144 INFO: Universal Time is now:  Mon Apr  4 05:06:51 
UTC 2011.
2011-04-04 17:06:51,144 INFO:
2011-04-04 17:06:51,173 DEBUG   : Output from template 
'/etc/vmbuilder/ubuntu/locale.tmpl': LANG="C"

2011-04-04 17:06:51,174 DEBUG   : ['chroot', '/tmp/tmp0SkIqz', 'locale-gen', 
'C']
2011-04-04 17:06:51,183 ERROR   : Process (['chroot', '/tmp/tmp0SkIqz', 
'locale-gen', 'C']) returned 1. stdout: , stderr:
Traceback (most recent call last):
File "/usr/bin/vmbuilder", line 24, in 
cli.main()
File "/usr/lib/python2.6/dist-packages/VMBuilder/contrib/cli.py", line 110, in 
main
distro.build_chroot()
File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 83, in 
build_chroot
self.call_hooks('configure_os')
File "/usr/lib/python2.6/dist-packages/VMBuilder/distro.py", line 66, in 
call_hooks
call_hooks(self, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 165, in 
call_hooks
getattr(context, func, log_no_such_method)(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/distro.py", 
line 156, in configure_os
self.suite.set_locale()
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", 
line 350, in set_locale
self.run_in_target('locale-gen', lang)
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/ubuntu/dapper.py", 
line 327, in run_in_target
return self.context.run_in_target(*args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/plugins/__init__.py", line 86, 
in run_in_target
return util.run_cmd('chroot', self.chroot_dir, *args, **kwargs)
File "/usr/lib/python2.6/dist-packages/VMBuilder/util.py", line 120, in run_cmd
raise VMBuilderException, "Process (%s) returned %d. stdout: %s, stderr: %s" % 
(args.__repr__(), status, mystdout.buf, mystderr.buf)
VMBuilder.exception.VMBuilderException: Process (['chroot', '/tmp/tmp0SkIqz', 
'locale-gen', 'C']) returned 1. stdout: , stderr:


To workaround, I ran vmbuilder under "LANG=en_US.utf8".

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

Title:
  [Jaunty] exception occured in vmbuilder

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