[Bug 1071910] Re: lxc stop will hang forever
Tim
iceczd at gmail.com
Wed Oct 31 17:15:36 UTC 2012
*** This bug is a duplicate of bug 1073238 ***
https://bugs.launchpad.net/bugs/1073238
I might try 3.7 later and see if I can get the memory cgroup working
again, but I'm not sure if I really need it.
3.6.3 is working with the memory cgroup disabled, I tested with over 400
iterations, I have a kernel bug post as well and posted this info there.
I'm going to try and fix the lvremove issue now, I believe it is caused
by this:
udevd[1562]: timeout: killing 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'' [1574]
udevd[1562]: 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange -a y'' [1574] terminated by signal 9 (Killed)
I tried adding --noudevsync as one user suggested to: /lib/udev/rules.d/85-lvm2.rules
but I still get the issue, and then LVM and lvremove hang
udevd[6757]: timeout: killing 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange --noudevsync -a y'' [7383]
udevd[6757]: 'watershed sh -c '/sbin/lvm vgscan; /sbin/lvm vgchange --noudevsync -a y'' [7383] terminated by signal 9 (Killed)
lvremove first outputs:
Using logical volume(s) on command line
Archiving volume group "vmg1" metadata (seqno 594).
Removing snapshot snap
Found volume group "vmg1"
Found volume group "vmg1"
Loading vmg1-vm table (252:0)
Loading vmg1-snap table (252:1)
/sbin/dmeventd: stat failed: No such file or directory
vmg1/snapshot0 already not monitored.
Suspending vmg1-vm (252:0) with device flush
Suspending vmg1-snap (252:1) with device flush
Suspending vmg1-vm-real (252:2) with device flush
Suspending vmg1-snap-cow (252:3) with device flush
Found volume group "vmg1"
Resuming vmg1-snap-cow (252:3)
Resuming vmg1-vm-real (252:2)
Resuming vmg1-snap (252:1)
Unable to deactivate open vmg1-snap-cow (252:3)
Failed to resume snap.
libdevmapper exiting with 1 device(s) still suspended.
And then my script calls it a second time which is when it hangs
--
You received this bug notification because you are a member of Ubuntu
Server Team, which is subscribed to lxc in Ubuntu.
https://bugs.launchpad.net/bugs/1071910
Title:
lxc stop will hang forever
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/1071910/+subscriptions
More information about the Ubuntu-server-bugs
mailing list