Boot delays with 4.15.0-24 based kernels in images

Bug #1779961 reported by Philip Roche
48
This bug affects 10 people
Affects Status Importance Assigned to Milestone
linux (Ubuntu)
Triaged
Undecided
Unassigned

Bug Description

We (Canonical CPC) are seeing an issue with today's build of the bionic minimal cloud images. Boot stops at "Starting Initial cloud-init job (metadata service crawler)..." for nearly 5 minutes (booting on scalingstack and locally with kvm) this is with a new kernel, but otherwise no changes over the prior image.

Image (manifest and logs) exhibiting this behaviour @ https://private-fileshare.canonical.com/~philroche/bionic-minimal-20180703/

With server teams's help we have narrowed it down to "Synchronized to time server 91.189.91.157:123 (ntp.ubuntu.com)." taking over 4 minutes.

On Kamal's instruction we also tried linux-kvm 4.15.0-1013.13 and bionic GA linux (4.15.0-24.26). Both of which also exhibit this regression.

For reference: Kamal noted on IRC that the problem was possibly introduced in the GA kernel and is not specific to the kvm kernel.

Revision history for this message
Ubuntu Kernel Bot (ubuntu-kernel-bot) wrote : Missing required logs.

This bug is missing log files that will aid in diagnosing the problem. While running an Ubuntu kernel (not a mainline or third-party kernel) please enter the following command in a terminal window:

apport-collect 1779961

and then change the status of the bug to 'Confirmed'.

If, due to the nature of the issue you have encountered, you are unable to run this command, please add a comment stating that fact and change the bug status to 'Confirmed'.

This change has been made by an automated script, maintained by the Ubuntu Kernel Team.

Changed in linux (Ubuntu):
status: New → Incomplete
tags: added: bionic
Revision history for this message
Kamal Mostafa (kamalmostafa) wrote : Re: Bionic minimal image boot hang with linux-image-4.15.0-1012-kvm kernel

Problem also occurs in bionic GA linux (4.15.0-24.26) per Odd_Bloke; apparently introduced in that release.

Changed in linux (Ubuntu):
status: Incomplete → Triaged
Revision history for this message
Michael Vogt (mvo) wrote :

I suspect this is entropy related, i.e. something in the entropy handling changed which causes things that use random numbers during the boot to slow down. The snapd team is also affected by this bug (snapd startup during boot became slow but when people press keys, move mouse things get better).

summary: - Bionic minimal image boot hang with linux-image-4.15.0-1012-kvm kernel
+ Boot delays with 4.15.0-24 based kernels
Michael Vogt (mvo)
summary: - Boot delays with 4.15.0-24 based kernels
+ Boot delays with 4.15.0-24 based kernels in cloud
summary: - Boot delays with 4.15.0-24 based kernels in cloud
+ Boot delays with 4.15.0-24 based kernels in images
tags: added: id-5b3c74850e2ffb0e30817d94
Revision history for this message
Marco (mqrco) wrote :

Same Problem on Asus Ultrabook. Kernel 4.15.0-23 runns o.k. Kernel 4.15.0-24 extreme boot delay

Revision history for this message
Philip Roche (philroche) wrote :

The meta-packages have been rolled back and the fix is in progress of being applied and uploaded.

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.