[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
yes you are right. delay was due to dhcp request. i saw incorrect path in the log : Feb 11 06:36:44 localhost dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: No such file or directory real path is /var/lib/dhcp -- 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/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+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 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
yes you are right. delay was due to dhcp request. i saw incorrect path in the log : Feb 11 06:36:44 localhost dhclient: can't create /var/lib/dhcp3/dhclient.eth0.leases: No such file or directory real path is /var/lib/dhcp -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
** Attachment added: strace https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+attachment/2729456/+files/strace.log -- 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/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+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 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
** Description changed: lxc starts very slowly. 'error: unexpectedly disconnected from boot status daemon' is printed. after that it works as expected. - - + root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: - Installed: 0.7.5-0ubuntu8.3 - Candidate: 0.7.5-0ubuntu8.3 - Version table: - *** 0.7.5-0ubuntu8.3 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages - 100 /var/lib/dpkg/status - 0.7.5-0ubuntu8 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages + Installed: 0.7.5-0ubuntu8.3 + Candidate: 0.7.5-0ubuntu8.3 + Version table: + *** 0.7.5-0ubuntu8.3 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages + 100 /var/lib/dpkg/status + 0.7.5-0ubuntu8 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages container was created via lxc-create. - - + 15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 15:52:22.339644 - 15:54:22.366554 - + root@relay1:~# lxc-start --name=sbc error: unexpectedly disconnected from boot status daemon Ubuntu 11.10 sbc /dev/console sbc login: root - Password: + Password: Last login: Sat Feb 4 18:40:33 UTC 2012 on console Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) - * Documentation: https://help.ubuntu.com/11.10/serverguide/C - root@sbc:~# - + * Documentation: https://help.ubuntu.com/11.10/serverguide/C + root@sbc:~# + ** Description changed: - lxc starts very slowly. 'error: unexpectedly disconnected from boot status daemon' is printed. - after that it works as expected. + lxc starts very slowly. 'error: unexpectedly disconnected from boot + status daemon' is printed. after that it works as expected. root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: Installed: 0.7.5-0ubuntu8.3 Candidate: 0.7.5-0ubuntu8.3 Version table: *** 0.7.5-0ubuntu8.3 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages 100 /var/lib/dpkg/status 0.7.5-0ubuntu8 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages container was created via lxc-create. 15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 15:52:22.339644 - 15:54:22.366554 root@relay1:~# lxc-start --name=sbc error: unexpectedly disconnected from boot status daemon Ubuntu 11.10 sbc /dev/console sbc login: root Password: Last login: Sat Feb 4 18:40:33 UTC 2012 on console Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) * Documentation: https://help.ubuntu.com/11.10/serverguide/C root@sbc:~# ** Description changed: lxc starts very slowly. 'error: unexpectedly disconnected from boot - status daemon' is printed. after that it works as expected. + status daemon' is printed. after load it works as expected. root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: Installed: 0.7.5-0ubuntu8.3 Candidate: 0.7.5-0ubuntu8.3 Version table: *** 0.7.5-0ubuntu8.3 0 500
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
** Description changed: lxc starts very slowly. 'error: unexpectedly disconnected from boot status daemon' is printed. after load it works as expected. container was created via lxc-create. + + hardware: HP DL380G6 root@relay1:~# lxc-start --name=sbc error: unexpectedly disconnected from boot status daemon Ubuntu 11.10 sbc /dev/console sbc login: root Password: Last login: Sat Feb 4 18:40:33 UTC 2012 on console Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) * Documentation: https://help.ubuntu.com/11.10/serverguide/C root@sbc:~# root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: Installed: 0.7.5-0ubuntu8.3 Candidate: 0.7.5-0ubuntu8.3 Version table: *** 0.7.5-0ubuntu8.3 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages 100 /var/lib/dpkg/status 0.7.5-0ubuntu8 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages 15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 15:52:22.339644 - 15:54:22.366554 full strace attached. -- 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/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+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 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
Thanks for taking the time to submit this bug. You say the containers start slowly, but the strace shows it took about 2 seconds. Can you tell us how long it actually takes? I suspect (because I don't see it) that it is fixed as a part of the upstart related fixes in precise. ** Changed in: lxc (Ubuntu) Importance: Undecided = Low ** Changed in: lxc (Ubuntu) Status: New = Incomplete -- 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/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+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 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 here after disconnect message it takes 2 minutes to continue loading container quickly. 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 -- 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/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+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 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
Thanks. I can't reproduce this on an oneiric vm. In the description you said container was created via lxc-create. What was the exact command you used? What are the contents of the lxc.conf you used? -- 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/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+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 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
As discussed in bug 930285 comment 9, in oneiric you must provide a configuration file at lxc-create. The comment explains the delay. I'll mark this bug invalid, but bug 930285 very much remains valid and worrying. Thanks for your reports! ** Changed in: lxc (Ubuntu) Status: Incomplete = Invalid -- 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/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+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 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
** Attachment added: strace https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+attachment/2729456/+files/strace.log -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
** Description changed: lxc starts very slowly. 'error: unexpectedly disconnected from boot status daemon' is printed. after that it works as expected. - - + root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: - Installed: 0.7.5-0ubuntu8.3 - Candidate: 0.7.5-0ubuntu8.3 - Version table: - *** 0.7.5-0ubuntu8.3 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages - 100 /var/lib/dpkg/status - 0.7.5-0ubuntu8 0 - 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages + Installed: 0.7.5-0ubuntu8.3 + Candidate: 0.7.5-0ubuntu8.3 + Version table: + *** 0.7.5-0ubuntu8.3 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages + 100 /var/lib/dpkg/status + 0.7.5-0ubuntu8 0 + 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages container was created via lxc-create. - - + 15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 15:52:22.339644 - 15:54:22.366554 - + root@relay1:~# lxc-start --name=sbc error: unexpectedly disconnected from boot status daemon Ubuntu 11.10 sbc /dev/console sbc login: root - Password: + Password: Last login: Sat Feb 4 18:40:33 UTC 2012 on console Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) - * Documentation: https://help.ubuntu.com/11.10/serverguide/C - root@sbc:~# - + * Documentation: https://help.ubuntu.com/11.10/serverguide/C + root@sbc:~# + ** Description changed: - lxc starts very slowly. 'error: unexpectedly disconnected from boot status daemon' is printed. - after that it works as expected. + lxc starts very slowly. 'error: unexpectedly disconnected from boot + status daemon' is printed. after that it works as expected. root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: Installed: 0.7.5-0ubuntu8.3 Candidate: 0.7.5-0ubuntu8.3 Version table: *** 0.7.5-0ubuntu8.3 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages 100 /var/lib/dpkg/status 0.7.5-0ubuntu8 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages container was created via lxc-create. 15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 15:52:22.339644 - 15:54:22.366554 root@relay1:~# lxc-start --name=sbc error: unexpectedly disconnected from boot status daemon Ubuntu 11.10 sbc /dev/console sbc login: root Password: Last login: Sat Feb 4 18:40:33 UTC 2012 on console Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) * Documentation: https://help.ubuntu.com/11.10/serverguide/C root@sbc:~# ** Description changed: lxc starts very slowly. 'error: unexpectedly disconnected from boot - status daemon' is printed. after that it works as expected. + status daemon' is printed. after load it works as expected. root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: Installed: 0.7.5-0ubuntu8.3 Candidate: 0.7.5-0ubuntu8.3 Version table: *** 0.7.5-0ubuntu8.3 0 500
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
** Description changed: lxc starts very slowly. 'error: unexpectedly disconnected from boot status daemon' is printed. after load it works as expected. container was created via lxc-create. + + hardware: HP DL380G6 root@relay1:~# lxc-start --name=sbc error: unexpectedly disconnected from boot status daemon Ubuntu 11.10 sbc /dev/console sbc login: root Password: Last login: Sat Feb 4 18:40:33 UTC 2012 on console Welcome to Ubuntu 11.10 (GNU/Linux 3.0.0-15-server x86_64) * Documentation: https://help.ubuntu.com/11.10/serverguide/C root@sbc:~# root@relay1:~# lsb_release -rd Description:Ubuntu 11.10 Release:11.10 root@relay1:~# apt-cache policy lxc lxc: Installed: 0.7.5-0ubuntu8.3 Candidate: 0.7.5-0ubuntu8.3 Version table: *** 0.7.5-0ubuntu8.3 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric-updates/universe amd64 Packages 100 /var/lib/dpkg/status 0.7.5-0ubuntu8 0 500 http://ru.archive.ubuntu.com/ubuntu/ oneiric/universe amd64 Packages 15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 15:52:22.339644 - 15:54:22.366554 full strace attached. -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
Thanks for taking the time to submit this bug. You say the containers start slowly, but the strace shows it took about 2 seconds. Can you tell us how long it actually takes? I suspect (because I don't see it) that it is fixed as a part of the upstart related fixes in precise. ** Changed in: lxc (Ubuntu) Importance: Undecided = Low ** Changed in: lxc (Ubuntu) Status: New = Incomplete -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
15:52:22.339392 read(11, error: unexpectedly disconnected..., 1024) = 58 15:52:22.339562 write(13, error: unexpectedly disconnected..., 58error: unexpectedly disconnected from boot status daemon) = 58 15:52:22.339644 epoll_wait(15, {{EPOLLIN, {u32=24231760, u64=24231760}}}, 10, 4294967295) = 1 here after disconnect message it takes 2 minutes to continue loading container quickly. 15:54:22.366554 ioctl(17, FIONREAD, [32]) = 0 -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
Thanks. I can't reproduce this on an oneiric vm. In the description you said container was created via lxc-create. What was the exact command you used? What are the contents of the lxc.conf you used? -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs
[Bug 930116] Re: lxc slow start unexpectedly disconnected from boot status daemon
As discussed in bug 930285 comment 9, in oneiric you must provide a configuration file at lxc-create. The comment explains the delay. I'll mark this bug invalid, but bug 930285 very much remains valid and worrying. Thanks for your reports! ** Changed in: lxc (Ubuntu) Status: Incomplete = Invalid -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/930116 Title: lxc slow start unexpectedly disconnected from boot status daemon To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/lxc/+bug/930116/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs