[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2013-01-29 Thread Serge Hallyn
(Due to upcoming 12.04.2 release on Feb 14, I've marked this to work on
it on Feb 15)

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2013-01-14 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 0.9.8-2ubuntu17.5

---
libvirt (0.9.8-2ubuntu17.5) precise-proposed; urgency=low

  * add patch Reduce-udevadm-settle-timeout-to-10-seconds.patch (copied from
Debian tree) to fix 3 minute hang during pool-refresh when using LVM
backed pools.  (LP: #1027987)
  * add upstream patch command-avoid-double-close-bugs toi avoid a race when
starting multiple VMs concurrently.  (LP: #1055658)
 -- Serge Hallyn serge.hal...@ubuntu.com   Wed, 03 Oct 2012 11:48:31 -0500

** Changed in: libvirt (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 libvirt in Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+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 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2013-01-14 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 0.9.8-2ubuntu17.5

---
libvirt (0.9.8-2ubuntu17.5) precise-proposed; urgency=low

  * add patch Reduce-udevadm-settle-timeout-to-10-seconds.patch (copied from
Debian tree) to fix 3 minute hang during pool-refresh when using LVM
backed pools.  (LP: #1027987)
  * add upstream patch command-avoid-double-close-bugs toi avoid a race when
starting multiple VMs concurrently.  (LP: #1055658)
 -- Serge Hallyn serge.hal...@ubuntu.com   Wed, 03 Oct 2012 11:48:31 -0500

** Changed in: libvirt (Ubuntu Precise)
   Status: Fix Committed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2013-01-11 Thread Brian Murray
Adam and I discussed this in #ubuntu-release and think that it is safe
to mark it as verification-done.

** Tags removed: verification-needed
** Tags added: verification-done

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2013-01-08 Thread Ryan Tandy
Well, I'm not exactly an advanced libvirt user; but libvirt
0.9.8-2ubuntu17.5 from proposed has been working well for all my use
cases, and I'm still not seeing the symptoms this bug was originally
reported about: virsh pool-refresh vg0 and udevadm settle finish
quickly. Fixed or at least invalidated, IMO.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2013-01-08 Thread Serge Hallyn
Thanks, Ryan.

Clint, based on comment #14 can I call this verification-done?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2013-01-02 Thread Serge Hallyn
Hi Ryan,

can you confirm that at least the version currently in -proposed doesn't
break anything for you?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-12-20 Thread Ryan Tandy
I can't seem to reproduce it now either. I installed a couple of older
revisions of both libvirt and udev but couldn't get it to happen. I
wonder if a change somewhere else has affected this.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-11-21 Thread Serge Hallyn
Ive tried to reproduce it today, but the bug wasn't happening with the
version in -updates.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-11-20 Thread Chris Halse Rogers
SRU team ping: this bug has been awaiting verification for a month now.
It is blocking the fix for bug #1055658 from going into precise-updates.

Could someone please verify that the package in precise-proposed fixes
this bug, so we may release this update?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-10-28 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/precise-proposed/libvirt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-10-18 Thread Brian Murray
Hello Andreas, or anyone else affected,

Accepted libvirt into precise-proposed. The package will build now and
be available at
http://launchpad.net/ubuntu/+source/libvirt/0.9.8-2ubuntu17.5 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: libvirt (Ubuntu Precise)
   Status: Triaged = Fix Committed

** Tags added: verification-needed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-10-03 Thread Serge Hallyn
** Description changed:

- This bug has already been reported in http://bugs.debian.org/cgi-
- bin/bugreport.cgi?bug=663931 but Libvirt 0.9.8 in Ubuntu Precise suffers
- from the same problem.
+ =
+ SRU Justification:
+ 1. Impact: starting libvirtd takes 2 minutes
+ 2. Development fix: in debian and quantal, this is fixed by explicitly 
+giving a shorter timeout when calling udevadm settle.
+ 3. Stable fix: same as development fix
+ 4. Test case: define an lvm based storage pool, then stop and start libvirt.
+ 5. Regression potential: we're lowering a timeout, so in theory the timing
+of some races could be changed.
+ =
+ This bug has already been reported in 
http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=663931 but Libvirt 0.9.8 in 
Ubuntu Precise suffers from the same problem.
  
  When an LVM-based storage pool is present libvirtd takes around three
  minutes to start up because a timeout occurs when libvirtd calls
  udevadm settle. In the Debian bug report this has been identified as a
  problem in Libvirt, additional info is found here:
  http://article.gmane.org/gmane.linux.hotplug.devel/17421
  
-  A local workaround is to issue service udev restart before starting
+  A local workaround is to issue service udev restart before starting
  libvirtd.
  
  The bug has been worked around in Debian's Libvirt 0.9.12 by reducing
  the udev settle timeout to ten seconds.
  
  Can we expect this workaround to somehow make it into Libvirt 0.9.8 and
  Ubuntu Precise?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-09-28 Thread Serge Hallyn
This will need to wait until the current package staged in precise-
proposed is promoted to precise-updates, but here is the debdiff for
precise.

** Patch added: libvirt-timeout.debdiff
   
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+attachment/3352663/+files/libvirt-timeout.debdiff

** Changed in: libvirt (Ubuntu Precise)
   Status: New = Triaged

** Changed in: libvirt (Ubuntu Precise)
   Importance: Undecided = Medium

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-09-20 Thread Andreas Ntaflos
Is this going to make it into 12.04.2?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-26 Thread Serge Hallyn
** Also affects: libvirt (Ubuntu Precise)
   Importance: Undecided
   Status: New

** Also affects: libvirt (Ubuntu Quantal)
   Importance: Medium
   Status: Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-26 Thread Launchpad Bug Tracker
This bug was fixed in the package libvirt - 0.9.13-0ubuntu5

---
libvirt (0.9.13-0ubuntu5) quantal; urgency=low

  * add patch Reduce-udevadm-settle-timeout-to-10-seconds.patch (copied from
Debian tree) to fix 3 minute hang during pool-refresh when using LVM
backed pools.  (LP: #1027987)
  * debian/control: add pm-utils to libvirt-bin Suggests.  (LP: #994476)
 -- Serge Hallyn serge.hal...@ubuntu.com   Thu, 26 Jul 2012 11:05:18 -0500

** Changed in: libvirt (Ubuntu Quantal)
   Status: Confirmed = Fix Released

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-26 Thread Launchpad Bug Tracker
** Branch linked: lp:ubuntu/libvirt

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-24 Thread Serge Hallyn
Thanks for reporting this bug.  Marking it confirmed based on separate
debian reports.

I see no commits in the libvirt git tree addressing this.  Do you know
whether it has been discussed on irc (or libvirt mailing list)?

** Changed in: libvirt (Ubuntu)
   Importance: Undecided = Medium

** Changed in: libvirt (Ubuntu)
   Status: New = Confirmed

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-24 Thread Andreas Ntaflos
Sorry, no idea where this commit is supposed to be. I was going off the
information in the last entry of the Debian bug report, which contains
this:

* [202939f] Reduce udevadm settle timeout to 10 seconds
 (Closes: #663931)

Maybe this is a Debian-only commit that didn't go back into Libvirt?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-24 Thread Ryan Tandy
Affected here on a fresh precise server install using lvm.  Nice timing
Andreas on creating this bug :)

My interpretation of the Debian bug is that they put that workaround in
their own package but were seeking a proper fix upstream (probably in
the kernel).

Strange thing is that I built a very similar server a couple of weeks
ago and I haven't noticed this issue.  Wondering whether that might
reflect a difference in startup order/timing, or... ??

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-24 Thread Ryan Tandy
Ah... the answer is because on the other server I forgot to define a
pool... the VMs are just referencing the LVs directly :) ... any idea
what I'm missing out on by not having the VG defined as a pool in
libvirt?

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs


[Bug 1027987] Re: Starting libvirtd takes too long because of udevadm settle timeout

2012-07-24 Thread Andreas Ntaflos
Ryan, what you are missing out on is Libvirt being able to create
volumes (LVs) in that pool (the VG) on command. I assume you create LVs
manually via lvcreate and then tell Libvirt to use them for VMs? If
Libvirt manages the pool you can use virt-manager, virsh or any of the
APIs/bindings to talk to Libvirt and command the creation of volumes for
VMs.

An interesting point you brought up: we have dozens of servers running
Ubuntu 12.04 for many weeks now where either this problem was not
present (or not as promiment) or I simply have not noticed it
consciously before. Unfortunately I can't test and experiment much since
most of these servers are in production. On the servers I can experiment
the problem is definitely present and noticeable.

-- 
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.
https://bugs.launchpad.net/bugs/1027987

Title:
  Starting libvirtd takes too long because of udevadm settle timeout

To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1027987/+subscriptions

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs