I'm running proxmox 5-2.1 on a production server with several containers.
I tried to stop a container (id 508;Ubuntu 18.04; two network interfaces) and start another one (id 501; Ubuntu 16.04), which would substitute its role. So I needed to do it in a very short interval. I shutdown the container, but the task wouldn't finish. I tried to attach (lxc-attach) to the container, but I couldn't, so I drew the conclusion that it was stopped. So I also started the new container. This error showed up on the GUI:
After a while all containers and icons on the respective server turned grey and I couldn't manage any of them.
I restarted the server completely and the first time it didn't boot up. I got the same error (above) which showed up 5-6 times. The server reboot by itself and after that eventually I started up. I've no idea why that is. I don't know why it happened the first time and I've no idea why it booted successfully afterwards.
This is part of /var/log/kern.log
I believe this is the last part of the failed boot process:
Aug 30 15:01:46 svorng10 kernel: [7273734.043208] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:01:48 svorng10 pve-guests[27771]: <root@pam> end task UPID:svorng10:00006C85:2B5AF24A:5B87DC9D:stopall::root@pam: OK
Aug 30 15:01:56 svorng10 kernel: [7273744.123110] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:06 svorng10 kernel: [7273754.202989] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:16 svorng10 kernel: [7273764.282879] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:26 svorng10 kernel: [7273774.362770] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:36 svorng10 kernel: [7273784.442649] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:46 svorng10 kernel: [7273794.522539] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:56 svorng10 kernel: [7273804.602426] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:03:06 svorng10 kernel: [7273814.682313] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:03:17 svorng10 kernel: [7273824.762181] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
And this is the start of the following boot after 4 minutes:
There's nothing in the last booting process that stands out.
Any ideas what could have happened?
I tried to stop a container (id 508;Ubuntu 18.04; two network interfaces) and start another one (id 501; Ubuntu 16.04), which would substitute its role. So I needed to do it in a very short interval. I shutdown the container, but the task wouldn't finish. I tried to attach (lxc-attach) to the container, but I couldn't, so I drew the conclusion that it was stopped. So I also started the new container. This error showed up on the GUI:
Code:
Eunregister_netdevice: waiting for eth0 to become free. Usage count = 1
I restarted the server completely and the first time it didn't boot up. I got the same error (above) which showed up 5-6 times. The server reboot by itself and after that eventually I started up. I've no idea why that is. I don't know why it happened the first time and I've no idea why it booted successfully afterwards.
This is part of /var/log/kern.log
Code:
Aug 30 14:57:01 svorng10 pvedaemon[24363]: <root@pam> end task UPID:svorng10:000063C1:2B5A73F7:5B87DB5A:vzshutdown:508:root@pam: unexpected status
Aug 30 14:57:07 svorng10 pvedaemon[29103]: <root@pam> starting task UPID:svorng10:000069FF:2B5A8A5A:5B87DB93:vzstop:508:root@pam:
Aug 30 14:58:03 svorng10 kernel: [7273511.453572] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 14:59:04 svorng10 kernel: [7273572.284942] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:01:33 svorng10 pve-guests[27771]: <root@pam> starting task UPID:svorng10:00006C85:2B5AF24A:5B87DC9D:stopall::root@pam:
Aug 30 15:01:33 svorng10 pve-guests[27781]: <root@pam> starting task UPID:svorng10:00006C87:2B5AF24B:5B87DC9D:vzshutdown:512:root@pam:
Aug 30 15:01:33 svorng10 pve-guests[27781]: <root@pam> starting task UPID:svorng10:00006C89:2B5AF24C:5B87DC9D:vzshutdown:509:root@pam:
Aug 30 15:01:34 svorng10 kernel: [7273721.971859] vmbr1: port 5(veth509i1) entered disabled state
Aug 30 15:01:43 svorng10 pve-guests[27781]: <root@pam> starting task UPID:svorng10:00006CFA:2B5AF635:5B87DCA7:vzshutdown:504:root@pam:
Aug 30 15:01:44 svorng10 pve-guests[27781]: <root@pam> starting task UPID:svorng10:00006CFC:2B5AF636:5B87DCA7:vzshutdown:503:root@pam:
Aug 30 15:01:44 svorng10 pve-guests[27781]: <root@pam> starting task UPID:svorng10:00006CFF:2B5AF638:5B87DCA8:vzshutdown:501:root@pam:
Aug 30 15:01:44 svorng10 pve-guests[27781]: <root@pam> starting task UPID:svorng10:00006D0B:2B5AF639:5B87DCA8:vzshutdown:500:root@pam:
I believe this is the last part of the failed boot process:
Aug 30 15:01:46 svorng10 kernel: [7273734.043208] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:01:48 svorng10 pve-guests[27771]: <root@pam> end task UPID:svorng10:00006C85:2B5AF24A:5B87DC9D:stopall::root@pam: OK
Aug 30 15:01:56 svorng10 kernel: [7273744.123110] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:06 svorng10 kernel: [7273754.202989] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:16 svorng10 kernel: [7273764.282879] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:26 svorng10 kernel: [7273774.362770] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:36 svorng10 kernel: [7273784.442649] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:46 svorng10 kernel: [7273794.522539] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:02:56 svorng10 kernel: [7273804.602426] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:03:06 svorng10 kernel: [7273814.682313] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
Aug 30 15:03:17 svorng10 kernel: [7273824.762181] unregister_netdevice: waiting for eth0 to become free. Usage count = 1
And this is the start of the following boot after 4 minutes:
Code:
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] Linux version 4.15.17-2-pve (tlamprecht@evita) (gcc version 6.3.0 20170516 (Debian 6.3.0-18+deb9u1)) #1 SMP PVE 4.15.17-10 (Tue, 22 May 2018 11:15:44 +0200) ()
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] Command line: BOOT_IMAGE=/boot/vmlinuz-4.15.17-2-pve root=/dev/mapper/pve-root ro quiet
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] KERNEL supported cpus:
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] Intel GenuineIntel
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] AMD AuthenticAMD
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] Centaur CentaurHauls
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] x86/fpu: Supporting XSAVE feature 0x001: 'x87 floating point registers'
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] x86/fpu: Supporting XSAVE feature 0x002: 'SSE registers'
Aug 30 15:07:46 svorng10 kernel: [ 0.000000] x86/fpu: Supporting XSAVE feature 0x004: 'AVX registers'
Any ideas what could have happened?