Xenial installer hangs for a long time with "Setting up the clock" message on IPv6-only systems

Bug #1558166 reported by Frode Nordahl
38
This bug affects 7 people
Affects Status Importance Assigned to Milestone
debian-installer (Ubuntu)
Confirmed
Undecided
Unassigned

Bug Description

When installing on a IPv6-only system the installer hangs for a long time on "Setting up the clock" step with "Getting the time from a network time server...". Hitting "Cancel" have no effect.

Eventually the installer continues, I would guess after a hard timeout.

This is a regression and it has surfaced during the last few days.

Revision history for this message
Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in debian-installer (Ubuntu):
status: New → Confirmed
Revision history for this message
Saverio Proto (zioproto) wrote :

I confirm. I noticed that opening an alternate shell and giving commands will unlock immediately the operation.

Even if it makes no sense I can reproduce it.

The installation is blocked at "getting the time from a network time server " and typing return on the cancel button has no effect.

I do CTRL+ALT+F2. I click enter to activate a new console. As soon as I type a command there like "ps" or "ls" the installation immediately continues on the F1 console.

Note that my system is dual stack IPv4 and IPv6

Revision history for this message
PSalazar (ubuntu-5-psalazar) wrote :

Same here, the installer freezes at "Setting up the clock" with dual stack ipv4 / ipv6.
Activating a second console also seems to persuade the installer to resume the process.

Revision history for this message
Julian (digitalsy) wrote :

Confirmed here, having the same issue trying to build a VM from ubuntu-16.04.2-server-amd64.iso via cobbler.

Hangs at "setting up clock from network time server". Switching to an alternate console also magically unblocks this. Do we have a timeline for fixing this? This is preventing automation from working at my job.

Revision history for this message
rogue780 (shawn-haggard) wrote :

I'm also experiencing the same issue. Unfortunately, it's presenting during unattended preseed installations, which makes is more difficult to deal with.

Revision history for this message
Andreas Ntaflos (daff) wrote :

Definitely still a problem with 16.04, especially with unattended installs.

Revision history for this message
Steve Heckman (steve-heckman) wrote :

Confirmed here as well on unattended installs.

Revision history for this message
Andreas Ntaflos (daff) wrote :

We work around this problem by disabling the clock setup during installation:

d-i clock-setup/utc boolean true
d-i time/zone string Europe/Vienna
d-i clock-setup/ntp boolean false
d-i clock-setup/ntp-server string pool.ntp.org

And after installation Puppet ensures chrony or ntpd are running.

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.