Univention Bugzilla – Bug 45815
EC2 image: large startup delays
Last modified: 2019-11-01 13:15:44 CET
Created attachment 9297 [details] systemd-analyze plot Starting an EC2 image is slow: - ucr set grub/rootdelay=0 - ucr set grub/timeout=0 - ucr set grub/append='initcall_blacklist=xenfb_init' journalctl -b0: # <https://github.com/coreos/bugs/issues/208> >Dez 04 07:11:55 master203 kernel: xenbus_probe_frontend: Waiting for devices to initialise: 25s...20s...15s...10s...5s...0s... >Dez 04 07:11:55 master203 kernel: >Dez 04 07:11:55 master203 kernel: xenbus_probe_frontend: Timeout connecting to device: device/vfb/0 (local state 3, remote state 1) >Dez 04 07:11:55 master203 kernel: xenbus_probe_frontend: Device with no driver: device/vbd/51712 >Dez 04 07:11:55 master203 kernel: xenbus_probe_frontend: Device with no driver: device/vbd/51728 >Dez 04 07:11:55 master203 kernel: xenbus_probe_frontend: Device with no driver: device/vif/0 - ucr set system/setup/boot/start=false # afterwards fix ucs-ec2-test to not wait for running firefox! - systemctl stop univention-system-setup-boot.service ; systemd-analyze plot >/var/www/vm.svg After: Startup finished in 40.385s (kernel) + 43.640s (userspace) = 1min 24.026s Before: Startup finished in 2.117s (kernel) + 16.899s (userspace) = 19.016s
(In reply to Philipp Hahn from comment #0) > Starting an EC2 image is slow: > - ucr set grub/rootdelay=0 > - ucr set grub/timeout=0 We already set them for a long time. > - ucr set grub/append='initcall_blacklist=xenfb_init' This is no longer an issue as EC2 provides a VGA controller now: $ lspci 00:02.0 VGA compatible controller: Cirrus Logic GD 5446 But "univention-system-setup-boot.service" is still flagged as failed: Bug #50441 Otherwise WORKS-FOR-ME