Openvz froze on reboot after container migration
Hi there, I'm building an OpenVZ network with 6 differents servers that have the same hardware. The issue is when I do test doing a migration from one to another node, the node where is move to the container; after the operation; if you issue reboot from console it froze the machine. Ok: Quote: [root@openvz-atom02 ~]# cat /proc/cpuinfo processor : 0 vendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz stepping : 10 cpu MHz : 1666.778 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 0 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3333.55 processor : 1 vendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz stepping : 10 cpu MHz : 1666.778 cache size : 512 KB physical id : 0 siblings : 4 core id : 0 cpu cores : 2 apicid : 1 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3333.38 processor : 2 vendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz stepping : 10 cpu MHz : 1666.778 cache size : 512 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 2 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3333.24 processor : 3 vendor_id : GenuineIntel cpu family : 6 model : 28 model name : Intel(R) Atom(TM) CPU D510 @ 1.66GHz stepping : 10 cpu MHz : 1666.778 cache size : 512 KB physical id : 0 siblings : 4 core id : 1 cpu cores : 2 apicid : 3 fdiv_bug : no hlt_bug : no f00f_bug : no coma_bug : no fpu : yes fpu_exception : yes cpuid level : 10 wp : yes flags : fpu vme de pse tsc msr pae mce cx8 apic sep mtrr pge mca cmov pat pse36 clflush dts acpi mmx fxsr sse sse2 ss ht tm pbe nx lm constant_tsc pni monitor ds_cpl tm2 ssse3 cx16 xtpr lahf_lm bogomips : 3333.33 [root@openvz-atom02 ~]# free -m total used free shared buffers cached Mem: 4031 465 3566 0 113 230 -/+ buffers/cache: 120 3910 Swap: 8189 0 8189 [root@openvz-atom02 ~]# uname -a Linux openvz-atom02.10mbps.com 2.6.18-164.15.1.el5.028stab068.9PAE #1 SMP Tue Mar 30 19:26:53 MSD 2010 i686 i686 i386 GNU/Linux [root@openvz-atom02 ~]# df -h Filesystem Size Used Avail Use% Mounted on /dev/md1 9.5G 1.4G 7.7G 15% / /dev/md2 434G 2.4G 410G 1% /vz tmpfs 2.0G 0 2.0G 0% /dev/shm [root@openvz-atom02 ~]# cat /proc/mdstat Personalities : [raid1] md0 : active raid1 sdb2[1] sda2[0] 8385856 blocks [2/2] [UU] md2 : active raid1 sdb3[1] sda3[0] 469756544 blocks [2/2] [UU] md1 : active raid1 sdb1[1] sda1[0] 10241280 blocks [2/2] [UU] unused devices: <none> [root@openvz-atom02 ~]#lspci 00:00.0 Host bridge: Intel Corporation Pineview DMI Bridge (rev 02) 00:02.0 VGA compatible controller: Intel Corporation Pineview Integrated Graphics Controller (rev 02) 00:1b.0 Audio device: Intel Corporation 82801G (ICH7 Family) High Definition Audio Controller (rev 01) 00:1c.0 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 1 (rev 01) 00:1c.1 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 2 (rev 01) 00:1c.2 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 3 (rev 01) 00:1c.3 PCI bridge: Intel Corporation 82801G (ICH7 Family) PCI Express Port 4 (rev 01) 00:1d.0 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #1 (rev 01) 00:1d.1 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #2 (rev 01) 00:1d.2 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #3 (rev 01) 00:1d.3 USB Controller: Intel Corporation 82801G (ICH7 Family) USB UHCI Controller #4 (rev 01) 00:1d.7 USB Controller: Intel Corporation 82801G (ICH7 Family) USB2 EHCI Controller (rev 01) 00:1e.0 PCI bridge: Intel Corporation 82801 Mobile PCI Bridge (rev e1) 00:1f.0 ISA bridge: Intel Corporation Tigerpoint LPC Controller (rev 01) 00:1f.2 IDE interface: Intel Corporation 82801GB/GR/GH (ICH7 Family) SATA IDE Controller (rev 01) 00:1f.3 SMBus: Intel Corporation 82801G (ICH7 Family) SMBus Controller (rev 01) 01:00.0 Ethernet controller: Realtek Semiconductor Co., Ltd. RTL8111/8168B PCI Express Gigabit Ethernet controller (rev 03) [root@openvz-atom02 ~]# See the log: Quote: Apr 16 00:59:01 openvz-atom02 shutdown[24743]: shutting down for system reboot Apr 16 00:59:01 openvz-atom02 init: Switching to runlevel: 6 Apr 16 00:59:03 openvz-atom02 smartd[8309]: smartd received signal 15: Terminated Apr 16 00:59:03 openvz-atom02 smartd[8309]: smartd is exiting (exit status 0) Apr 16 00:59:03 openvz-atom02 avahi-daemon[8255]: Got SIGTERM, quitting. Apr 16 00:59:03 openvz-atom02 avahi-daemon[8255]: Leaving mDNS multicast group on interface eth0.IPv6 with address fe80::227:eff:fe07:c520. Apr 16 00:59:03 openvz-atom02 avahi-daemon[8255]: Leaving mDNS multicast group on interface eth0.IPv4 with address 76.73.124.58. Apr 16 00:59:08 openvz-atom02 hcid[6752]: Got disconnected from the system message bus Apr 16 00:59:09 openvz-atom02 rpc.statd[6649]: Caught signal 15, un-registering and exiting. Apr 16 00:59:09 openvz-atom02 auditd[6527]: The audit daemon is exiting. Apr 16 00:59:09 openvz-atom02 kernel: audit(1271401149.424:743): audit_pid=0 old=6527 by auid=4294967295 Apr 16 00:59:09 openvz-atom02 kernel: Kernel logging (proc) stopped. Apr 16 00:59:09 openvz-atom02 kernel: Kernel log daemon terminating. Apr 16 00:59:10 openvz-atom02 exiting on signal 15 Apr 16 01:12:46 openvz-atom02 syslogd 1.4.1: restart. Apr 16 01:12:46 openvz-atom02 kernel: klogd 1.4.1, log source = /proc/kmsg started. Apr 16 01:12:46 openvz-atom02 kernel: Linux version 2.6.18-164.15.1.el5.028stab068.9PAE (root@rhel5-build-x32) (gcc version 4.1.2 20080704 (Red Hat 4.1.2-46)) #1 SMP T$ Apr 16 01:12:46 openvz-atom02 kernel: BIOS-provided physical RAM map: ... You can see at Apr 16 00:59:10 it keep on "exiting on signal 15" and it can be there for all the life until you issue a hand reboot. What I could do to fix this?
Re: Openvz froze on reboot after container migration
If I reboot using the next command it reboot without issues: reboot -n -n > Don't sync before reboot or halt. So, any idea why the sync froze the system?
I think this is related with http://bugzilla.openvz.org/show_bug.cgi?id=1379 Any idea about How I can fix it?
Nobody will answer me?
Now; I can confirm that we have this issue on 16 servers. It is not a big deal because we can issue the handreboot at any time and it boot ok, but it is a software issue. Still no reply from nobody...
Hello Larry, sorry for the late response. But once you have found that the issue in bug is exactly your case don't hesitate to write directly to bug. The bug is read mostly by developers so you have a chance to have the bug fixed.
Hello maratrus, so what should I do to get this fixed? Report it as bug?