[Pkg-xen-devel] Bug#821254: systemd[1]: xendomains.service start operation timed out.

Andy Smith andy at strugglers.net
Sun Apr 17 01:21:17 UTC 2016


Package: xen-utils-common
Version: 4.4.1-9+deb8u4
Severity: normal

Dear Maintainer,

I have a server with a large number of domUs set to auto-start. For the
first time I have booted it with all of them needing to start from cold,
but the xendomains service only got part way through.

syslog showed nothing notable about the domains starting…

    Apr 16 14:57:45 snaps xendomains[4631]: Starting Xen domain lima (from /etc/xen/auto/010-lima.conf)...done.

…until…

    Apr 16 15:02:36 sierra xendomains[4631]: Starting Xen domain juliet (from /etc/xen/auto/627-juliet.conf)...done.
    Apr 16 15:02:37 sierra kernel: [  341.269174] xen-blkback:ring-ref 8, event-channel 15, protocol 2 (x86_32-abi)
    Apr 16 15:02:37 sierra kernel: [  341.367307] xen-blkback:ring-ref 9, event-channel 16, protocol 2 (x86_32-abi)
    Apr 16 15:02:38 sierra kernel: [  341.437187] vif vif-51-0 v-juliet: Guest Rx ready
    Apr 16 15:02:38 sierra kernel: [  341.437429] IPv6: ADDRCONF(NETDEV_CHANGE): v-juliet: link becomes ready
    Apr 16 15:02:40 sierra systemd[1]: xendomains.service start operation timed out. Terminating.
    Apr 16 15:02:40 sierra systemd[1]: Failed to start LSB: Start/stop secondary xen domains.
    Apr 16 15:02:40 sierra systemd[1]: Unit xendomains.service entered failed state.

That the 51st domain, around 60% of the way through the list of domains
it should have started.

Once I'd realised only some of the domains were started I reran "service
xendomains start" and it finished the job.

So, is there a built in timeout of ~5 minutes here that I need to
increase? 

I see that the generated /run/systemd/generator.late/xendomains.service
file contains:

    .
    .
    [Service]
    Type=forking
    Restart=no
    TimeoutSec=5min
    .
    .

So that's probably what is being hit, but I cannot work out how to make
the generator apply a longer timeout.

Any hints would be appreciated.

Cheers,
Andy

-- System Information:
Debian Release: 8.4
  APT prefers stable-updates
  APT policy: (500, 'stable-updates'), (500, 'stable')
Architecture: amd64 (x86_64)

Kernel: Linux 3.16.0-4-amd64 (SMP w/16 CPU cores)
Locale: LANG=en_GB.UTF-8, LC_CTYPE=en_GB.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/dash
Init: systemd (via /run/systemd/system)

Versions of packages xen-utils-common depends on:
ii  lsb-base        4.1+Debian13+nmu1
ii  python          2.7.9-1
ii  ucf             3.0030
ii  udev            215-17+deb8u4
ii  xenstore-utils  4.4.1-9+deb8u4

xen-utils-common recommends no packages.

xen-utils-common suggests no packages.

-- Configuration Files:
/etc/default/xendomains changed [not included]
/etc/xen/scripts/vif-route changed [not included]
/etc/xen/xl.conf changed [not included]

-- no debconf information



More information about the Pkg-xen-devel mailing list