Public bug reported: [ problem description ]
sockfile_check_retries is first introduced by #1455608, for preventing the failure case of sockfile not ready, but it was default to a hard-coded value "5", it might be too short for a busy system boot, #1455608 - https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1455608 [ step to reproduce ] setup a clean install system (Ubuntu Server 14.04.4 LTS), boot up multiple guest instances, and set as start-at-boot, force shutdown host by pressing power-button for 3s ~ 5s, then power-on afterward, it may sometimes failed to get sockfile ready after in "post-start" script, with an line of error in /var/log/syslog, ==> Apr 16 21:02:09 host2 kernel: [ 313.059830] init: libvirt-bin post- start process (2430) terminated with status 1 [ possible solution ] extend the retry times for sockfile waiting <please see the patch file as attachment> [ sysinfo ] $ lsb_release -a No LSB modules are available. Distributor ID: Ubuntu Description: Ubuntu 14.04.4 LTS Release: 14.04 Codename: trusty $ uname -a Linux host2 4.2.0-35-generic #40~14.04.1-Ubuntu SMP Fri Mar 18 16:37:35 UTC 2016 x86_64 x86_64 x86_64 GNU/Linux [ related issue ] #1386465 - https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1386465 ** Affects: libvirt (Ubuntu) Importance: Undecided Status: New ** Patch added: "allow-change-sockfile_check_retries.diff" https://bugs.launchpad.net/bugs/1571209/+attachment/4638300/+files/allow-change-sockfile_check_retries.diff -- You received this bug notification because you are a member of Ubuntu Bugs, which is subscribed to Ubuntu. https://bugs.launchpad.net/bugs/1571209 Title: Sockfile check retries too short for a busy system boot To manage notifications about this bug go to: https://bugs.launchpad.net/ubuntu/+source/libvirt/+bug/1571209/+subscriptions -- ubuntu-bugs mailing list ubuntu-bugs@lists.ubuntu.com https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs